Part Number: TMS570LS1227
Tool/software: Code Composer Studio
Hi, team,
As the title mentioned, do we have code example of achieving the function to copy program running in RAM as C2000.? thanks.
Best Regards,
Curry Huang
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.
Part Number: TMS570LS1227
Tool/software: Code Composer Studio
Hi, team,
As the title mentioned, do we have code example of achieving the function to copy program running in RAM as C2000.? thanks.
Best Regards,
Curry Huang
This can be done by creating "relocatable sections" using the linker. See
for more information.
You can look at any of the bootloader examples we have created to see how to use this mechanism. These bootloader examples are available here:
https://git.ti.com/cgit/hercules_examples/hercules_examples/tree/Bootloaders/SafetyMCU_Bootloaders