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.

TMS320F28P650DK: Memory allocation in GSRAM is different for CPu1 and CPU2

Part Number: TMS320F28P650DK
Other Parts Discussed in Thread: TMS320F28375D

Tool/software:

Hello guys,

We are facing issue in memory allocation for GSRAM. We are using GS0, GS1 and GS4 RAM for CPU1 and GS2 and GS3 for CPU2. We are using 28p65x_cla_ls8_9_flash_lnk_cpu1.cmd for CPU1 and 28p65x_flash_lnk_shared_cpu2.cmd for CPU2 as a linker file. We have define a structure at CPU2 side. We have written pragma for structure in header file and included this header file in both CPUs. But when we have compiled the program for both CPUs, the memory is allocated by CPU1 for this structure. But if we have used any single variable from this structure in CPU1, then memory is allocated by compiler for CPu1 in GSRAM. We are facing this issue for every structure of our program. We have to used minimum one variable from each structure in both CPU. We want know the reason, Because this not valid solution and also in TMS320F28375D this is not happening.

  • Hi,

    We have a RAM Management dual core Example present in our SDK for F28P65x  device, can you please have a look at it where we have an array defined with pragma defines.

    Have you made any changes to the linker cmd file? Are you able to run the example in F2837xd device without any issues?

    Is it possible to share the example for further analysis of the issue.

    Thanks

    Aswin