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.

MCU-PLUS-SDK-AM243X: LP AM243x Reconfiguring Memory (MSRAM & USER_SHM_MEM)

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

My application uses two cores (cores R50_0 and R51_0), transferring data between them via IPC and a shared memory region. Both are running FreeRTOS.

The application was working with the default USER_SHM_MEM space. In order to gain additional shared memory space, I changed the address space for MSRAM (both cores) and USER_SHM_MEM via sysconfig (below).

Now when I look at the shared memory region via the debugger, one core (R51_0) sees writes but the other (R50_0) still sees the initialized memory of all 0's. Debug print statements also output all 0's (vs. the data written by the other core). 

R50_0 Memory

R51_0 Memory

I went down the rabbit hole of Wx/Rx protection, but it seems set correctly and I am now at a loss. 

Question(s):

1) Did I miss a step in reconfiguring memory allocation?

2) Are additional steps required beyond simply updating sysconfig ->Memory Configurator->Memory Region?

2) Is there documentation that outlines that steps to reconfigure memory space for MSRAM and USER_SHM_MEM?

  • Hello Brian,

    What version of MCU+ SDK are you using? I'm assuming it's 9.1 or later since you have the Memory Configurator tool.

    Did you make sure to create the R5F cores in the same system project? Or are you trying to set this up with two single core projects?

    The memory configurator tool doesn't really work unless you have both cores in the same system project.

    Regards,

    Nick