Skip to main content
RLeva.1
Visitor II
July 28, 2022
Question

STM32L476 EEPROM Emulation

  • July 28, 2022
  • 2 replies
  • 4162 views

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?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
July 28, 2022

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Senior
March 26, 2024

just install my library and enjoy

https://github.com/nimaltd/ee