2011-08-04 11:30 AM
First question:
If anyone has a simple C program for reading/writing internal EEPROM, I would appreciate it. Second question: The bootloader function doesn't work, according to the errata. Does anyone know when STM will release a fix for this? #eeprom2012-05-08 10:19 AM
This
post
is
old
but it
interests me
too.
I
do not know if
you found
an example
for
the eeprom
but I seek
the same thing
.If anyone can
help me
I will appreciate
.thx
2012-05-08 11:01 AM
/* To unlock Flash data */
DATA_EEPROM_Unlock();
/* To store the value in E²Prom */
DATA_EEPROM_FastProgramByte(0x08080000, 0x12) ;
/* To lock Flash data */
DATA_EEPROM_Lock();
printf(''%02
X'', *((unsigned char *)0x08080000) );
Wouldn't something like this suffice?
2012-05-08 06:06 PM
The EEPROM API is available inside stm32l1xx_flash.c of the STM32L firmware library
2012-05-09 10:46 PM
Thank you very much
this is exactly
what I was looking