| 전자부품 데이터시트 검색엔진 |
|
M58PR512LE 데이터시트(PDF) 106 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M58PR512LE 데이터시트(HTML) 106 Page - STMicroelectronics |
|
106 / 119 page ![]() Flowcharts and pseudocodes M58PR256LE, M58PR512LE, M58PR001LE 106/119 Figure 24. Erase suspend and resume flowchart and pseudocode 1. The Read Status Register command (Write 70h) can be issued just before or just after the Erase Resume command. Write 70h AI10116c Read Status Register YES NO SR7 = 1 YES NO SR6 = 1 Erase continues with bank in Read Status Register mode Write D0h Read data from another block or Program/Set Configuration Register or Block Lock/Unlock/Lock-Down Start Write B0h Erase Complete Write FFh Read Data Write FFh erase_suspend_command ( ) { writeToFlash (bank_address, 0xB0) ; writeToFlash (bank_address, 0x70) ; /* read status register to check if erase has already completed */ do { status_register=readFlash (bank_address) ; /* E or G must be toggled*/ } while (status_register.SR7== 0) ; if (status_register.SR6==0) /*erase completed */ { writeToFlash (bank_address, 0xFF) ; read_data ( ) ; /*The device returns to Read Array (as if program/erase suspend was not issued).*/ } else { writeToFlash (bank_address, 0xFF) ; read_program_data ( ); /*read or program data from another block*/ writeToFlash (bank_address, 0xD0) ; /*write 0xD0 to resume erase*/ writeToFlash (bank_address, 0x70) ; /*read status register to check if erase has completed */ } } Write 70h(1) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |