Part Number: TMS320F2800137
Hello everyone,
I am working on a custom bootloader for the Texas Instruments TMS320F2800137 microcontroller.
Currently, I have created two separate application projects:
-
APP1 located at address 0x082000
-
APP2 located at address 0x090000
My goal is to implement a bootloader located at 0x080000 that can jump to either of these applications (APP1 or APP2) and execute them.
So far:
-
I am able to successfully flash the applications at their respective addresses.
-
When I run the code directly from Code Composer Studio, the applications execute correctly.
-
After reset, the MCU starts execution from 0x080000, which is where the bootloader should reside.
What I need help with is:
-
Writing the bootloader code that can jump to either APP1 or APP2.
-
Ensuring the stack pointer and interrupt vectors are correctly set before jumping to the selected application.
For reference, I am also attaching the custom linker command (.cmd) file for APP1 that defines its memory location.
If anyone has implemented something similar on this device or other C2000 MCUs, guidance or example code would be greatly appreciated.
Thank you.