simple test EEPROM emulation for STM32F401 (STM algorithm described in the application notes: AN4061, AN3969, AN2594, AN3390, AN4056).
https://developer.mbed.org/questions/69101/Is-there-a-way-to-store-variables-in-a-n/#answer10369?compage=1#c24579
Versions for microcontrollers with smaller flash pages (using several flash pages for each virtual page):
Import program00_eeprom_emulation_f030
EEPROM emulation (STM algorithm described in the application notes: AN4061, AN3969, AN2594, AN3390, AN4056) with added multipage possibility. For Nucleo-F030 and others boards with similar microcontrolers.
Import program00_eeprom_emulation_f091
simple test EEPROM emulation (STM algorithm described in the application notes: AN4061, AN3969, AN2594, AN3390, AN4056) for STM32F091
History
bug fix in EE_VerifyPageFullyErased
2016-09-27, by mega64 [Tue, 27 Sep 2016 20:36:44 +0000] rev 1
bug fix in EE_VerifyPageFullyErased
Protect flash area of EEPROM simulation in case a larger code (dummy variable)
2016-09-22, by mega64 [Thu, 22 Sep 2016 03:54:18 +0000] rev 0
Protect flash area of EEPROM simulation in case a larger code (dummy variable)