Skip to main content
JKing.3
Associate II
October 15, 2019
Question

Is X-Cube-EEPROM available on STM32CubeIDE ?

  • October 15, 2019
  • 2 replies
  • 690 views

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

This topic has been closed for replies.

2 replies

Pavel A.
Super User
October 15, 2019

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
JKing.3Author
Associate II
December 20, 2019

Thanks for your help.