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.

TMS320F28388D: TMS320F28388D: use global shared RAM as heap on CPU2

Part Number: TMS320F28388D

Tool/software:

Hello,

My plan is to use the GS-RAM-Blocks of the F2838x as heap. To achieve this, I simply added this to the linker command file of CPU2:

and

I am aware that I need to set up the memory ownership before using the new operator. This is how I did that:

I have configured GS-RAM blocks 8 to 15 to belong to CPU2. On CPU1, I assign the GS-RAM blocks like this:

After that, on CPU2, I wait that I get access to the GS-RAM-Blocks using this:

After these lines, when I use the new operator, all I get back is a null-pointer. Hence the memory allocation does not work. What is missing in my workflow?

Thanks,

Flurin