m28w640fcb STMicroelectronics, m28w640fcb Datasheet - Page 69
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
m28w640fcb
Manufacturer Part Number
m28w640fcb
Description
64 Mbit 4mb X16, Boot Block 3v Supply Flash Memory
Manufacturer
STMicroelectronics
Datasheet
1.M28W640FCB.pdf
(77 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
m28w640fcb70N6
Manufacturer:
ST
Quantity:
8 570
Part Number:
m28w640fcb70N6E
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
m28w640fcb70ZB6E
Manufacturer:
ST
Quantity:
474
M28W640FCT, M28W640FCB
Figure 21. Erase Suspend & Resume flowchart and pseudo code
Block Protect/Unprotect/Lock
Program/Protection Program
Erase Continues
Read data from
another block
Read Status
Write D0h
Write B0h
Write 70h
Write FFh
Register
b7 = 1
b6 = 1
Start
or
or
YES
YES
NO
NO
Erase Complete
Read Data
Write FFh
erase_suspend_command ( ) {
if (status_register.b6==0) /*erase completed */
else
}
do {
writeToFlash (any_address, 0xB0) ;
writeToFlash (any_address, 0x70) ;
/* read status register to check if
erase has already completed */
{ writeToFlash (any_address, 0xFF) ;
{ writeToFlash (any_address, 0xFF) ;
} while (status_register.b7== 0) ;
}
}
status_register=readFlash (any_address) ;
/* E or G must be toggled*/
read_data ( ) ;
/*read data from another block*/
/*The device returns to Read Array
(as if program/erase suspend was not issued).*/
read_program_data ( );
/*read or program data from another address*/
writeToFlash (any_address, 0xD0) ;
/*write 0xD0 to resume erase*/
Flowcharts and pseudo codes
AI03542b
69/77