Resolved! The NOLOAD section variable initializes with garbage value on hard reset.
Hi ST team,I want to define a new section in the ld script so I can use that for variables that have to keep their values in case of soft resets.I have made some changes in the script as follows, .noinit (NOLOAD): { . = ALIGN(4); _noinit = .; ...