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.
Hi expert,
We are using F280049 and has spared the first flash sector for customer "boot loader". This part of software will determin if a upgrade of firmware is needed and judge instructions from CAN to finally jump to the "APP" and run it (whether upgraded or not).
My concern is how to correctly initialize those global and static variables used in "APP"? For this part, there will not be a C startup routine and how can we do that? Manually?
Thanks
Sheldon
Hi,
The initialization is taken part of c_int00.
Please add the first instruction in "APP" to branch to the c-startup (c_int00)
Please refer any example from c2000ware. Most of them have an assembly file called codestartbranch that includes the redirection branch. This is linked into the BEGIN section in the linker command file.
Refer https://e2e.ti.com/support/microcontrollers/c2000/f/171/p/118169/422100
Thanks,
Katta