2016-04-12 12:15 PM
Hi.
First, I would like to ask about page erase time. As stated in RM (for STM32F303) it should last min. 20 ms to max. 40 ms. But I checked it with ETM profiler and the whole process of erase took only around 100 us. Do you have any idea why it could be that short?Second, I would like to ask what happens, if reset occurs during page erase? Is it possible to say, how will this page look like after power on? Let say it was full of some data. After erase we know there are all FFs. But what, if reset occurs between that erase time.Thanks2016-04-12 12:40 PM
2016-04-12 12:54 PM
Yes, that does sound rather short. I guess I'd time it via a free-running timer outside of the debugger. The time tends to be a function of the supply voltage, into the charge-pump.
Not sure the exact performance of the array is discussed. In general terms I believe the array is set to zero, and then set uniformly to ones. I suspect if the process doesn't complete properly some cells may report as one, but not be fully erased.