EEPROM ,Worcking

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

User avatar
Chudik
Posts: 152
Joined: Fri Jan 16, 2015 7:51 am
Has thanked: 7 times
Been thanked: 1 time

Re: EEPROM ,Worcking

Post by Chudik »

ulikoehler wrote: Google, for example, for "STM32F1 EEPROM emulation library".

Do you mean this: http://www.st.com/web/en/resource/techn ... 165693.pdf ?
Reading. Hopefully find useful information. However, for the real Data EEPROM need to work with some registers. May be write a driver.
ulikoehler
Posts: 71
Joined: Tue Mar 17, 2015 2:32 am
Been thanked: 3 times

Re: EEPROM ,Worcking

Post by ulikoehler »

Yes, that's the description, but they also offer source code for this which is almost ready to be used.

I believe it is integrated into STM32Fx Cube now.

With a real EEPROM you have a totally different architecture, most only support page aligned writes with page sizes varying by EEPROM model etc. There is a 3rd party GPL-licensed driver somewhere on Github for the 24AA256 and similar. I have also written my own driver which works quite well for my application - when I get around to it, I might be able to share it under Apache 2.0 license.

Best regards
Post Reply