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 did not find an answer to this rather simple question: Does a warm reset also erase/purge/null RAM? Are the values stored in RAM retained after a warm boot?
The SPNU515C (page 440/2030 12.2.1 - Reset Behavior) is not clear on that point. It just says which registers retain their values, which is useful for figuring out what the exact reason for the warm reset was.
The SPNU550B (page 21/128 Figure 6.) says that t warm boot mode resets digital logic and enables the CPU. The CPU begins executing software from Flash memory and software initialization of the device can begin...
Another post on the E2E forum says that the values remain in RAM (Cold reset vs. warm reset and IQmath - C2000 microcontrollers forum - C2000™︎ microcontrollers - TI E2E...
Thank you in advance!
Mihail
Hello Mihail,
The SRAM content will be preserved if auto-init is not enabled for the RAM.
The local variables are placed in .stack and are initialized after reset.