Part Number: TMS320F280039C
Tool/software:
Hi Team,
Bcakground & Prerequisites: The first version of code is the most basic code;
The second version of code adds two variables A and B on the basis of the first version, and adds them to the cmd file according to the update attribute set in the file. TI.update section; initialize during __TI_auto_init_warm() (refer to the key steps in section 3.5.7 in Live Firmware Update Reference Design with C2000 Real-Time MCUs (Rev. D) for all steps)
In the third version of the code, two variables C and D should be added on the basis of the second version of the code (the variables A and B maintain the original update property), and the update attribute should be set according to the file, which has been defined in the cmd file. TI.update;
My questions are:
Q1: Are the A and B variables in version 2 preserve or update for version 3 code? If the compilation is completed according to item 1.1, whether the two variables A and B can still maintain the original address and value after the compilation of version 3 is completed;
Q2: Version 3 and Version 2 are available in the cmd file. TI.update section, whether it will affect the RAM address allocation of variables C and D;
Q3: 1.2.3 Version 3 code also needs to initialize C.D during __TI_auto_init_warm(), variables A and B are not new variables in version 3 and do not need to be initialized,
There is a key question here: how do you initialize a new variable?
1> "Initialize during __TI_auto_init_warm()"—What exactly does this mean?
Q3.1 Write a new variable in this function to initialize the assignment code ??
__TI_auto_init_warm() has been defined in the FAPI_F28003x_EABI_v1.58.00.LIB file, and the content of this function cannot be rewritten in code, but can only be called.
Q3.2 If the initial value is defined at the same time as the update attribute of the new variable, the compilation error is reported:
Error code #10472-D SECTION spliting not support for LFU output section "TI,update"
So what is the specific operation of the sentence "initialize during __TI_auto_init_warm()"?
Best Regards,
Zane









