EasyManuals Logo

ST STM32F103xx series User Manual

ST STM32F103xx series
31 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #15 background imageLoading...
Page #15 background image
PM0075 Reading/programming the embedded Flash memory
Doc ID 17863 Rev 1 15/31
Figure 2. Flash memory Page Erase procedure
Mass Erase
The Mass Erase command can be used to completely erase the user pages of the Flash
memory. The information block is unaffected by this procedure. The following sequence is
recommended:
Check that no Flash memory operation is ongoing by checking the BSY bit in the
FLASH_SR register
Set the MER bit in the FLASH_CR register
Set the STRT bit in the FLASH_CR register
Wait for the BSY bit to be reset
Read all the pages and verify
2EAD&,!3(?#2?,/#+
&,!3(?#2?,/#+

9E S
.O
9E S
.O
0ERFORMUNLOCKSEQUENCY
7RITEINTO&!2ANADDRESS
WITHINTHEPAGETOERASE
7RITE&,!3(?#2?0%2TO
7RITE&,!3(?#2?3424TO
&,!3(?32?"39

#HECKTHEPAGEISERASEDBY
READINGALLTHEADDRESSESIN
THEPAGE
AIC

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F103xx series and is the answer not in the manual?

ST STM32F103xx series Specifications

General IconGeneral
BrandST
ModelSTM32F103xx series
CategoryController
LanguageEnglish

Related product manuals