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.

TMS320F28379D: Global Variable Assignment Error

Part Number: TMS320F28379D

I use 2 cpu cores, for cpu2 code I defined global integer variables and in my code there are assignments to them. But assignments are not successful. After execution of assignment instruction value of  variables not changed. What can it be related?

  • Hi,
    Can you check in .map file the memory location in which this variable is getting allocated? Also please share your cmd file used for CPU2.

    Thanks
    Vasudha
  • Please make sure you are not using the GSxRAM for global variables because by default these RAMs are allocated to CPU1 and CPU2 will not have write permission. So it's better to use M0/M1 RAM for the same. If you have to use GSxRAM for this then you need to change the mater selection for these to CPU2 in CPU1 code and after that only let CPU2 run the code.

    Regards,

    Vivek Singh