Skip to main content
Visitor II
January 27, 2025
Question

X-CUBE-EEPROM page erase on startup

  • January 27, 2025
  • 1 reply
  • 459 views

Hi,
I am trying to us X-CUBE-EEPROM to store a few variables.
I would like to perform memory cleanup on startup. It is the only time I can reliably do that, since the operation is blocking read of instructions from flash.

Is there any way I can tell the cleanup should be triggered? I need to know before writing new data. Only way I can see in documentation(AN4894) is to try to write and see if I get EE_CLEANUP_REQUIRED returncode.


 

    This topic has been closed for replies.

    1 reply

    ST Employee
    May 15, 2025

    Hello @Tadeas_Pilar,

    I recommend checking out this post: Issues with X-CUBE-EEPROM

    Additionally, you can explore the application available with STM32CubeF0: EEPROM_Emulation

    Both resources could provide valuable insights and solutions for your application.

    I hope this information is helpful. If it resolves your query, please mark this topic as the solution to assist others in finding the answer more quickly. Thank you for your contribution.

    Best Regards,

    Dor_RH