Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0116 Datasheet(PDF) 2 Page - STMicroelectronics

Part # UM0116
Description  STR7 family Flash programming
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0116 Datasheet(HTML) 2 Page - STMicroelectronics

  UM0116 Datasheet HTML 1Page - STMicroelectronics UM0116 Datasheet HTML 2Page - STMicroelectronics UM0116 Datasheet HTML 3Page - STMicroelectronics UM0116 Datasheet HTML 4Page - STMicroelectronics UM0116 Datasheet HTML 5Page - STMicroelectronics UM0116 Datasheet HTML 6Page - STMicroelectronics UM0116 Datasheet HTML 7Page - STMicroelectronics UM0116 Datasheet HTML 8Page - STMicroelectronics UM0116 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 27 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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