Hello,
I am using TM4C129. Does TI-RTOS support keeping current data after reset (warm boot) and how? The data I would like to keep includes bss, data and heap sections.
Thanks & regards,
Benson
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,
I am using TM4C129. Does TI-RTOS support keeping current data after reset (warm boot) and how? The data I would like to keep includes bss, data and heap sections.
Thanks & regards,
Benson
Hi Ashish,
"The application registers a resetFxn (see rtsc.eclipse.org/.../Reset.html) that gets called when TI-RTOS starts up i.e. before bss/data have been initialized. "
After the resetFxn, the restored data will be overwritten by the BIOS, right?
Thanks,
Benson
Hi Benson
Benson Lo said:"The application registers a resetFxn (see rtsc.eclipse.org/.../Reset.html) that gets called when TI-RTOS starts up i.e. before bss/data have been initialized. "
After the resetFxn, the restored data will be overwritten by the BIOS, right?
Yes, that is true only if resetFxn returns. If you read my original post, I mentioned that the resetFxn needs to determine if it was called because of a cold reset or warm reset. In case of a warm reset, it can restore the bss/data and then load the old state into the CPU registers. Loading the old state would take the execution back to the same point where "WFI" was called and the CPU was put to sleep.
Best,
Ashish