cancel
Showing results for 
Search instead for 
Did you mean: 

Is X-Cube-EEPROM available on STM32CubeIDE ?

JKing.3
Associate II

I can see various X-CUBE additional software packages on my STM32CubeIDE, but not the EEPROM emulation. Is this available, do I just need to download it somehow?

Thanks

2 REPLIES 2
Pavel A.
Evangelist III

You can borrow it from examples for various boards, for example this:

https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32446E-Nucleo/Applications/EEPROM/EEPROM_Emulation

Maybe STM32F4 is not the best example because it has a complicated flash structure (erase blocks with different sizes) but the code is simple and quite generic.

You can also borrow from other vendors, for example Silicon Labs EFR32/EFM32 have a nice API for configuration storage, with data size > 16 bits.

-- pa

JKing.3
Associate II

Thanks for your help.