cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-EEPROM page erase on startup

Tadeas_Pilar
Associate II

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.


 

1 REPLY 1
Dor_RH
ST Employee

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