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
Hi PH1,
the section name you want to preserve must start with with .bss for example in your case rename the section .ramapi to .bss.ramapi
Thanks for you help. The hint worked. I found the Link thats explains your hint.
https://developer.arm.com/documentation/ka003046/latest