Save data to No init RAM on STM32F7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-19 3: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.
- Labels:
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-19 6: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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-19 6: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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-20 7:44 PM
Many thanks, TDK
