M28W320FSU STMICROELECTRONICS [STMicroelectronics], M28W320FSU Datasheet - Page 43

no-image

M28W320FSU

Manufacturer Part Number
M28W320FSU
Description
32Mbit (2Mb x16) and 64Mbit (4Mb x16) 3V Supply, Uniform Block, Secure Flash Memories
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M28W320FSU-70ZA6
Manufacturer:
ST
0
Part Number:
M28W320FSU702A6
Manufacturer:
ST
0
Part Number:
M28W320FSU70ZA6
Manufacturer:
ST
Quantity:
8 545
Part Number:
M28W320FSU70ZA6
Manufacturer:
ST
Quantity:
5 510
Part Number:
M28W320FSU70ZA6
Manufacturer:
ST
0
Part Number:
M28W320FSU70ZA6
Manufacturer:
ST
Quantity:
20 000
Part Number:
M28W320FSU70ZA6E
Manufacturer:
ST
0
Part Number:
M28W320FSU70ZA6F
Manufacturer:
ST
0
Figure 18. Erase Flowchart and Pseudo Code
Note: If an error is found, the Status Register must be cleared before further Program/Erase operations.
Address & D0h
Read Status
Write Block
b4, b5 = 1
Write 20h
Register
b7 = 1
b3 = 0
b5 = 0
b1 = 0
Start
End
YES
YES
NO
YES
YES
NO
NO
YES
NO
NO
Sequence Error (1)
Erase to Protected
Erase Error (1)
Block Error (1)
V PP Invalid
Command
Error (1)
if ( (status_register.b5==1) )
/* erase error */
erase_command ( blockToErase ) {
if ( (status_register.b4==1) && (status_register.b5==1) )
/* command sequence error */
if (status_register.b1==1) /*program to protect block error */
if (status_register.b3==1) /*VPP invalid error */
}
do {
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
writeToFlash (any_address, 0x20) ;
writeToFlash (blockToErase, 0xD0) ;
/* only A12-A20 are significannt */
/* Memory enters read status state after
the Erase Command */
} while (status_register.b7== 0) ;
status_register=readFlash (any_address) ;
/* E or G must be toggled*/
M28W320FSU, M28W640FSU
AI03541b
43/49

Related parts for M28W320FSU