2020-08-19 03:23 AM
Hello, I'm using STM32F7.
I want to save data on F7 memory, where is not delete after reset.
My data may has 1-2KB size.
Anyone can tell me how to do that?
I read and found that i can do with no init ram, but I can not find any tutorial or documents related it.
Many thanks,
Hieu
Solved! Go to Solution.
2020-08-19 06:00 AM
You need to create a separate linker section that doesn't get initialized on startup, and locate the variable in that section.
https://atadiat.com/en/e-how-to-preserve-a-variable-in-ram-between-software-resets/
2020-08-19 06:00 AM
You need to create a separate linker section that doesn't get initialized on startup, and locate the variable in that section.
https://atadiat.com/en/e-how-to-preserve-a-variable-in-ram-between-software-resets/
2020-08-20 07:44 PM
Many thanks, TDK