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.
Hello, Experts
I'm trying to migrate a CM application configured to run directly from on-chip flash to a RAM-based linker configuration.
In other words, I'd like to load the whole program including .text, .bss, and .data from on-chip flash to RAM and then execute from RAM.
I'd thought that simply modifying to execute all the funtions and data in the RAM section such as .TI.ramfunc would suffice, but it did't actuaaly work as exepected.
Please give me some guides about loading the program from flash to RAM and execute from it.
Thanks.
Hi Seunghan,
Please have a look at the CM based examples for F2838D device in the C2000Ware SDK folder - C2000Ware\driverlib\f2838x\examples\c28x_cm\led.
You can change the build configuration to either in CM_FLASH or CM_RAM.
Based on the build configuration you should be able to find the linker configuration for it in the imported project.
You can try this LED example project provided in the SDK and you can take reference from it to make necessary changes in your application.
Thanks
Aswin