AnsweredAssumed Answered

Storing block of memory (struct data) on microcontrollers non-volatile memory (STM32F103)

Question asked by lemoussel.christian on Nov 4, 2014
Latest reply on Nov 5, 2014 by lemoussel.christian
I want to be able to store values in a non-volatile memory so that the microcontroller can load these settings at start up.
These settings might change at run-time and it is important for the systems functionality that these settings are stored.

I know the only non-volatile memory on the STM32F103 is the flash and it is possible to save values on flash(emulated as EEPROM for ease of use) according to this Appnote "EEPROM emulation in STM32F101xx and STM32F103xx microcontrollers (AN2594)"(http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/LN1734/PF257846)

How can I store block of memory (struct data) in flash memory?
One idea is to write this struct into flash half word by half word. Bad idea?

Thanks a lot for your answers ;)

Outcomes