RM0091
Embedded Flash memory
Figure 3.
Flash memory Page Erase procedure
Read LOCK bit in
FLASH_CR
Yes
Perform unlock sequence
LOCK bit in FLASH_CR
=1
No
Write PER bit in FLASH_CR
Write into FAR an address
within the page to erase
Write STRT bit in FLASH_CR
to 1
Yes
BSY bit in FLASH_SR
= 1
No
Check the page is erased by
reading all the addresses in
the page
MS19221V1
Doc ID 018940 Rev 1
47/742
Need help?
Do you have a question about the STM32F05 series and is the answer not in the manual?
Questions and answers