cancel
Showing results for 
Search instead for 
Did you mean: 

Page erase time

machinist
Associate III

Hello,

a page erase on STM32F103 with 1k size usually takes some 22 ms with busywait. Now I started the erase and instead of waiting I reset the STM after 1 ms after the start instruction using a output pin and a second micro. The strange thing is that the page is correctly erased. How can this be explained? Also, is the page erased one byte at a time from the start to end or is the entire page erased at once?

Edit: Done some more testing. At 100 µs the page was still erased. At 50 µs there were some artifacts in the erased page. Is the 22 ms just to make sure that everything is truly erased? What is the process of erasing the flash?

1 REPLY 1
machinist
Associate III

deleted