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.

Trying to debug concerto shared memory with 2 cores

Hi,

I'm trying to share memory between my m3 and c28. This memory is owned by m3, and read by c28. I followed the example RAM_management code, #pragma DATA_SECTION( mySharedData, SHARERAMS0" )  and in my m3 link cmd file I have

S0 (RWX)     : origin = 0x20008000, length = 0x00004000

 , and in the SECTIONS, I have 

SHARERAMS0 : > S0.  Similarly, in the c28 link file, I have

    S0 (RWX)     : origin = 0x20008000, length = 0x00004000

 SHARERAMS0  : > S0

In my c28 code I have

#pragma DATA_SECTION( mySharedData, "SHARERAMS0" );

I verified that the m3 could see and write that data at 0x20008000, and I want to verify that the c28 can see it also

I followed this procedure to run the 2 cores:

Loaded m3 flash by debugging, then after seeing the erase and load of flash and debugger comes up, exited. loaded C28 flash by debugging the same way.I disconnected and connected to m3, reset it, then connected to c28, and reset it.  Then I ran the debugger, connected to M3, loaded symbols, and ran it.  Presumably it runs to the IPCMtoBootControlSystem( bootmode from flash) line and is waiting for the C28 to run. I then connect to the C28, load symbols, and run. Then I suspend the c28, and use the watch window to try to inspect my shared data, but while the debugger shows signs of knowing about the mySharedData stucture name and address, I'm getting "Error: Memory map prevented reading of target memory at 0x20008000@Data"

Does the c28 not have that data?

Does anyone know what I've done wrong?

Thanks,

Larry
"