This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
I am using CCS 8.2. It was possible to compile and download the PRU code (I think) but I can´t see any variable values. the error message is: "memory map prevented reading 0x000100EE@Data_Memory"
Is this how it is supposed to be?
Looks like the shared PRUSS_DATA_RAM2 is mapped into the I/O space of the PRU.
GEL_MapAdd(0x00010000,2,0x8000,1,1); /* Shared RAM */
That's probably not ok. Could you change that line in file 'AM57xx_PRU_ICSS_local.gel' to
GEL_MapAdd(0x00010000,1,0x8000,1,1); /* Shared RAM */
and check if that fixes your problem?
Hi,
I don't see this issue. Check below with some variables defined in the local RAM and others in the Shared Memory.
What do you see if you select the menu Tools --> Memory Map? If the memory map is correctly set, it should match the bottom right corner of my screen.
I send attached the project I am using, where I declare near and far global variables both at Data and I/O memory pages. See if you can get the same results as I.
Hope this helps,
Rafael
I don´t see the problem anymore. I don´t even know how it got solved. The debug process is kind of unstable. It seems it requires different steps to take whenever I start the CodeComposer. It is possible I was not even connected to the PRU, or not correctly connected, when it happend.