cancel
Showing results for 
Search instead for 
Did you mean: 

Hello every one: I have a question about eeprom emulation in stm32F4

mick
Associate II

I work on project using F407-DISC1 and i want to store data in eeprom and read it in another time.

I do not want to use external eeprom, but i do not know how to add X-CUBE EEPROM to CUBEMX to 

use it in my project.

I hope my question is clear 

Thanks for any help.

3 REPLIES 3

If it is a structured block of data you can use FLASH. The smaller 16KB blocks toward the front are more manageable in terms of speed. You need the first block to boot, but the others can be carved out

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

See answers here:

https://community.st.com/t5/stm32cubemx-mcus/how-can-i-install-and-use-x-cube-eeprom-middleware-in/m-p/122931

If you feel a post has answered your question, please click "Accept as Solution".

This topic has been discussed here many times, e.g. https://community.st.com/t5/stm32cubemx-mcus/how-to-install-x-cube-eeprom-on-stm32cube/td-p/78773 .

You either jump through hoops to get this working as it is; or just pretend it does not exist and implement data storage in FLASH from scratch, which is quite likely to work better for your particular application.

JW