DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

M58WR064F-ZBE View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
M58WR064F-ZBE Datasheet PDF : 87 Pages
First Prev 71 72 73 74 75 76 77 78 79 80 Next Last
M58WR064FT, M58WR064FB
Figure 27. Erase Suspend & Resume Flowchart and Pseudo Code
Start
Write B0h
Write 70h
erase_suspend_command ( ) {
writeToFlash (bank_address, 0xB0) ;
writeToFlash (bank_address, 0x70) ;
/* read status register to check if
erase has already completed */
Read Status
Register
do {
status_register=readFlash (bank_address) ;
/* E or G must be toggled*/
NO
SR7 = 1
} while (status_register.SR7== 0) ;
YES
NO
SR6 = 1
Erase Complete
Write FFh
if (status_register.SR6==0) /*erase completed */
{ writeToFlash (bank_address, 0xFF) ;
YES
Write FFh
Read Data
Read data from another block
or
Program/Protection Register Program
or
Block Lock/Unlock/Lock-Down
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*/
Write D0h
writeToFlash (bank_address, 0xD0) ;
/*write 0xD0 to resume erase*/
Write 70h(1)
Erase Continues with
Bank in Read Status
Register Mode
writeToFlash (bank_address, 0x70) ;
/*read status register to check if erase has completed */
}
}
AI10116b
Note: The Read Status Register command (Write 70h) can be issued just before or just after the Erase Resume command.
75/87

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]