cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L476 EEPROM Emulation

RLeva.1
Associate

I have followed the eeprom emulation described in X-CUBE-EEPROM expansion

https://www.st.com/en/embedded-software/x-cube-eeprom.html

But the solution was written using the old STM32 standard API.

Does somebody knows about an EEPROM Emulation solution that can be used directly out of the box in an existing STM32CubeIde Project?

2 REPLIES 2

The X-CUBE-EEPROM uses the SPL? That would surprise me.

The basic method is to journal data over a pair of flash sectors, in the L476 I think two at the end of memory space.

If you have your configuration or calibration data in a simple/clean structure this shouldn't be too complicated for an embedded engineer to implement, robustly, using flash methods which do have examples within the CubeL4 package/repository.

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

just install my library and enjoy

https://github.com/nimaltd/ee