Skip to main content
ebommer
Associate III
May 9, 2014
Question

Question about the mass erase feature

  • May 9, 2014
  • 1 reply
  • 463 views
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
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    May 9, 2014
    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 VenmoUp vote any posts that you find helpful, it shows what's working..