| Electronic Components Datasheet Search |
|
PM0063 Datasheet(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0063 Datasheet(HTML) 15 Page - STMicroelectronics |
|
15 / 30 page ![]() PM0063 Reading/programming the STM32F100xx embedded Flash memory Doc ID 16211 Rev 2 15/30 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 Read FLASH_CR_LOCK FLASH_CR_LOCK = 1 Yes No Yes No Perform unlock sequency Write into FAR an address within the page to erase Write FLASH_CR_PER to 1 Write FLASH_CR_STRT to 1 FLASH_SR_BSY = 1 Check the page is erased by reading all the addresses in the page ai14305c |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |