m28w320bb STMicroelectronics, m28w320bb Datasheet - Page 39

no-image

m28w320bb

Manufacturer Part Number
m28w320bb
Description
32 Mbit 2mb X16, Boot Block 3v Supply Flash Memory
Manufacturer
STMicroelectronics
Datasheet
Figure 18. Program Suspend & Resume Flowchart and Pseudo Code
Program Continues
another address
Read data from
Read Status
Write FFh
Write D0h
Write 70h
Write B0h
Register
b7 = 1
b2 = 1
Start
YES
YES
NO
NO
Program Complete
Read Data
Write FFh
program_suspend_command ( ) {
if (status_register.b2==0) /*program completed */
else
}
do {
writeToFlash (any_address, 0xB0) ;
writeToFlash (any_address, 0x70) ;
/* read status register to check if
program has already completed */
{ writeToFlash (any_address, 0xFF) ;
{ writeToFlash (any_address, 0xFF) ;
status_register=readFlash (any_address) ;
/* E or G must be toggled*/
} while (status_register.b7== 0) ;
}
}
read_data ( ) ; /*read data from another block*/
/*The device returns to Read Array
(as if program/erase suspend was not issued).*/
read_data ( ); /*read data from another address*/
writeToFlash (any_address, 0xD0) ;
/*write 0xD0 to resume program*/
M28W320BT, M28W320BB
AI03540b
39/43

Related parts for m28w320bb