Skip to main content
HPham.1590
Associate III
August 19, 2020
Solved

Save data to No init RAM on STM32F7

  • August 19, 2020
  • 1 reply
  • 2368 views

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

This topic has been closed for replies.
Best answer by TDK

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/

1 reply

TDK
TDKBest answer
August 19, 2020

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/

"If you feel a post has answered your question, please click ""Accept as Solution""."
HPham.1590
Associate III
August 21, 2020

Many thanks, TDK