cancel
Showing results for 
Search instead for 
Did you mean: 

When does FLASH lose data

qli.3
Associate

在我的使用中,一些�?�数是在�?�片机(STM32F446ZET6)的闪存中�?置的,但在未知情况下�?�数丢失。在断电之�?,有断电和通电�?作。请问这是什么原因造�?的?解决方案是什么?

2 REPLIES 2
Amelie ACKERMANN
Community manager
Community manager

Hello @qli.3​ ,

Thank you for your question!

To ensure a timely response, I recommend posting questions in English which is the main working language across teams at ST.

To support you in your request, I translated your question via google translate. Please feel free to double check if it is correct and make necessary adjustments by commenting:

"In my use, some parameters are configured in the flash memory of the microcontroller (STM32F446ZET6), but the parameters are lost in unknown situations. There is a power off and power on operation before the power off. What is the cause of this, please? What is the solution?"

It's a process

It requires voltage and current to generate charge

If you try to erase or write flash into a collapsing supply you are prone to find the failure window.

>>What's the solution?

Use Journalled writing of data

Use Integrity checking

Use Redundancy, store data in more than one place

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..