cancel
Showing results for 
Search instead for 
Did you mean: 

Question about the mass erase feature

ebommer
Associate II
Posted on May 09, 2014 at 19:14

I have been reading the ''PM0075'' Programing manual STM32F10xxx Flash memory micro-controllers and I am trying to understand the mass erase feature.  In the manual it states:

''Bit 2 MER: Mass erase

Erase of all user pages

chosen

.''

I don't understand how the user pages are selected.  I keep reading the descriptions for the different registers and I don't see any where to select such a feature.  The only possibility for page exclusion I see is setting the Write protection bits as a way to determine what pages are

NOT

to be erased.

Also does any one know the time difference between erasing a single page and doing a mass erase.  I have read a 1k block will take 20mSec but I have not found any description of a mass erase.

#stm32
1 REPLY 1
Posted on May 09, 2014 at 22:55

I have read a 1k block will take 20mSec but I have not found any description of a mass erase.

The DATA SHEET says 1KB Page and Mass Erase take between 20-40 ms, presumably dependent on voltage, temperature, and age.

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