2020-05-05 08:29 AM
I'm using the STM32H747 and is interested in storing some variables containing configuration data even after reset.
Is there a simple way of doing this?
I basically would like to map a variable to be stored in SRAM or EEPROM instead of RAM.
Best regards
Johan
2020-05-05 08:50 AM
If you do not require the data to survive a power cycle, simple leave in in RAM but do not initialize is when booting. If the variable is to survive a power cycle, put write it some protocolize way into one flash sector. there are examples to do so out there.
2020-05-06 05:01 AM
Since it's configuration data which the user don't want to rewrite after every power cycle, it need to survive a power cycle.