| Motore di ricerca datesheet componenti elettronici |
|
M58LR128HT Scheda tecnica(PDF) 96 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M58LR128HT Scheda tecnica(HTML) 96 Page - STMicroelectronics |
|
96 / 112 page ![]() Flowcharts and pseudocodes M58LR128HT, M58LR128HB 96/112 Figure 22. Program Suspend & Resume flowchart and pseudocode 1. The Read Status Register command (Write 70h) can be issued just before or just after the Program Resume command. Write 70h AI10117b Read Status Register YES NO SR7 = 1 YES NO SR2 = 1 Write D0h Read data from another address Start Write B0h Program Complete Write FFh program_suspend_command ( ) { writeToFlash (any_address, 0xB0) ; writeToFlash (bank_address, 0x70) ; /* read status register to check if program has already completed */ do { status_register=readFlash (bank_address) ; /* E or G must be toggled*/ } while (status_register.SR7== 0) ; if (status_register.SR2==0) /*program 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_data ( ); /*read data from another address*/ writeToFlash (any_address, 0xD0) ; /*write 0xD0 to resume program*/ writeToFlash (bank_address, 0x70) ; /*read status register to check if program has completed */ } } Write FFh Program Continues with Bank in Read Status Register Mode Read Data Write 70h(1) |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |