| Electronic Components Datasheet Search |
|
UM0116 Datasheet(PDF) 2 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0116 Datasheet(HTML) 2 Page - STMicroelectronics |
|
2 / 27 page ![]() Contents UM0116 2/27 Contents 1 Flash module organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 Read/program the STR7 embedded Flash . . . . . . . . . . . . . . . . . . . . . . . 6 2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.2 Read operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.3 Write operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.3.1 Executing the first Write operation from RAM . . . . . . . . . . . . . . . . . . . . . 6 2.3.2 Generic Write Operation Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.3.3 Erase Operation Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3.4 Word Program Operation Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3.5 Double Word Program operation description . . . . . . . . . . . . . . . . . . . . . . 8 2.3.6 Suspend Operation Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3.7 Errors during Write Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.8 Interrupted Write Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.9 Write Operation Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4 Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4.1 Flash Control Register 0 (FLASH_CR0) . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4.2 Flash Control Register 1 (FLASH_CR1) . . . . . . . . . . . . . . . . . . . . . . . . 14 2.4.3 Flash Data Registers (FLASH_DR1-DR0) . . . . . . . . . . . . . . . . . . . . . . . 15 2.4.4 Flash Address Register (FLASH_AR) . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.4.5 Flash Error Register (FLASH_ER) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.5 Write Operation Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.5.1 Word Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.5.2 Double Word Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.5.3 Sector Erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.5.4 Suspend and Resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.5.5 Erase Suspend, Program and Resume . . . . . . . . . . . . . . . . . . . . . . . . . 18 3 Flash memory protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.1 Write protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.2 Debug/Readout protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.3 Unprotection strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3.1 Temporary unprotection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3.2 Permanent unprotection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 |
|
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 |