Part Number: TMS320F28027
For example, I have bootloader project and app1 project on the device, and would like to upgrade the app project to app2 project.
In main.c of app1 project, there are code below:
int a=1;//global variables
main{}
In main.c of app2 project, there are code below:
int a=1;//global variables
float b=0.5;//global variables
main{}
1. After I upgrade the app project, the app2 project is on flash, the initial value of global variables are on the flash of the device, but how about the global variables "a and b" themselves?
2. I know that the initial value of global variables are copied to the global variables in the function c_int00, but after upgrade the app project, I can not run to c_int00 to initialize the global variables because c_int00 will finally run to main() function(bootloader project), but i would like to run into the app code, how can I initialize the global variables after upgrading the app project and also run to app code?
Thanks.