cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F401RCT6 EEPROM Emulation

omeraydin
Associate

Hi,

I need to use EEPROM Emulation for my project's needs. I'm using STM32F401RCT6. I tried to use EEPROM emulation in STM32F40x/STM32F41x microcontrollers (AN3969) but after several tries, I only got errors as screenshot at below:

omeraydin_0-1694421990342.png

Any help would be appreciated, thanks.

 

4 REPLIES 4
Issamos
Lead II

Hello @omeraydin 

I suggest you to use on of those exemples :

Best regards.

II

FBL
ST Employee

Hello @omeraydin,

Perhaps you are using different implementation of xx_hal_flash.h file maybe for a different product. You need to pay attention to the driver being used.

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

MGogr.1
Associate III

please check the library used for eeprom and your function implemention.

may be your "NbPages" or "PageAddress" should be "NbSectors"/"Sectors".

Do check your flashstruct

nimaltd
Senior

install my library 

https://github.com/nimaltd/ee

and enjoy