| Electronic Components Datasheet Search |
|
M58LT128GS Datasheet(PDF) 87 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M58LT128GS Datasheet(HTML) 87 Page - STMicroelectronics |
|
87 / 98 page ![]() M58LT128GST, M58LT128GSB 13 Part Numbering 87/98 Figure 23. Erase Suspend & Resume Flowchart and Pseudo Code 1. The Read Status Register command (Write 70h) can be issued just before or just after the Erase Resume command. Write 70h AI10116 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 Start Write B0h Erase Complete Write FFh Read Status Register 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 ( ) ; /*read data from another block*/ /*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 address*/ 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) |
|
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 |