English
Language : 

M28W640HCT Datasheet, PDF (62/72 Pages) Numonyx B.V – 64 Mbit (4 Mb x 16, boot block) 3 V supply Flash memory
Flowcharts and pseudocodes
M28W640HCT, M28W640HCB
Figure 18. Program Suspend & Resume flowchart and pseudocode
Start
Write B0h
Write 70h
Read Status
Register
program_suspend_command ( ) {
writeToFlash (any_address, 0xB0) ;
writeToFlash (any_address, 0x70) ;
/* read status register to check if
program has already completed */
do {
status_register=readFlash (any_address) ;
/* E or G must be toggled*/
NO
b7 = 1
YES
NO
b2 = 1
YES
Write FFh
Program Complete
} while (status_register.b7== 0) ;
if (status_register.b2==0) /*program completed */
{ writeToFlash (any_address, 0xFF) ;
read_data ( ) ; /*read data from another block*/
/*The device returns to Read Array
(as if program/erase suspend was not issued).*/
Read data from
another address
Write D0h
Program Continues
Write FFh
Read Data
}
else
{ writeToFlash (any_address, 0xFF) ;
read_data ( ); /*read data from another address*/
writeToFlash (any_address, 0xD0) ;
/*write 0xD0 to resume program*/
}
}
AI03540b
62/72