This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RAM data delete after Soft RESET

Hi,

I have a problem with the SRAM. I use a stm32f303CCT and Keil 5.33.0.0. I write  a value in the SRAM memory. (0x20000000 - 0x20000008) However, after a soft reset, the SRAM value will be deleted. How can this be prevented so that the data is preserved?

The data is stored as shown in the image below.

After soft reset the SRAM is deleted.

What do I need to change in the Scattter File or the startup File so that the data is not lost?

Thank you for help

Parents Reply Children