Question
EEPROM emulation in STM32F103 (using CoIDE)
Posted on September 13, 2015 at 16:52
Hello World!
I need an EEPROM memory on my device and there is no I2C pin free to use AT24Cxx. So, i should use EEPROM Emulation (as said in AN2594
http://www.st.com/web/en/catalog/tools/PF257846#
).I tried the example (from above link), writing on FLASH is OK, but i can't read it!!!
My code:
/* Unlock the Flash Program Erase controller */
FLASH_Unlock();
/* EEPROM Init */
EE_Init();
for
(VarValue = 0; VarValue < 10; VarValue++)
EE_WriteVariable(VirtAddVarTab[0], VarValue);
for
(VarValue = 0; VarValue < 10; VarValue++)
jCounter = EE_ReadVariable(VirtAddVarTab[0],&iCounter);
is there anyone used EEPROM Emulation via CoIDE on STM32F103?
tanx
#stm32-eeprom-emulation-flash