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.

TMS320F28P659DK-Q1: DxRAM Memory Combination as sysmem heap allocation fails

Part Number: TMS320F28P659DK-Q1
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello,

I'm trying to use a DxRAM 2-5 combination as the heap for CPU2, but malloc is returning a null pointer every time.

In the sysconfig/MEMCFG for CPU1 I have Dx RAM 2-5 configured to have CPU2 as the controller for the section, in the sysconfig/CMD for CPU2 I have a DxRAM memory combination of DxRAM 2-5 called DATA and sysmem Load Memory of DATA.

The MCUCNF1 register for CPU1 is set to 0x3C, but on CPU2 it is set to 0x00.

I get the same result if I use a memory combination of just D2RAM called cpu2Heap and declare this sysmem Load Memory, so it seems that the issue is with the memory combination.

Are there any configuration steps I've missed, or are memory combinations not able to be used in this way?

Thanks,
Alex