cancel
Showing results for 
Search instead for 
Did you mean: 

Storing variables in standby mode

NZama.1
Associate III

Can anyone please help me with this problem. I want to store some values while the processor is in Standby mode. As, when it wakes up all the variables are reset. How can i make the variables static in case of standby mode. Any help will be appreciated. Thank you.

5 REPLIES 5
Javier1
Principal

which processor?

we dont need to firmware by ourselves, lets talk

It's STM32F407VGT6 Discovery board

STANDBY mode is only ended by aka reset MCU , then your code reinit all, but you can read about RTC backup registers ... This way only under power MCU hold values.

If you need store somethink after power lost , you need EEPROM external or emulated in flash...

as @MM..1​ said, it looks like you need to use reset-permeable memories as Flash memory

we dont need to firmware by ourselves, lets talk

I am using Flash memory of the controller but same issue resides.