M58BW032BB45T3T STMICROELECTRONICS [STMicroelectronics], M58BW032BB45T3T Datasheet - Page 48

no-image

M58BW032BB45T3T

Manufacturer Part Number
M58BW032BB45T3T
Description
32 Mbit (1Mb x32, Boot Block, Burst) 3.3V Supply Flash Memory
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
M58BW032BT, M58BW032BB, M58BW032DT, M58BW032DB
Figure 22. Block Erase Flowchart and Pseudo Code
Note: 1. If an error is found, the Status Register must be cleared before further P/E operations.
48/60
Write Block Address
Read Status
b4 and b5
Write 20h
Register
& D0h
b7 = 1
b3 = 0
b5 = 0
b1 = 0
Start
End
= 1
YES
YES
NO
YES
YES
NO
NO
YES
NO
NO
Suspend
Erase to Protected
Sequence Error
V PEN Invalid
Block Error
Command
NO
Error (1)
Error (1)
Erase
YES
Suspend
Loop
Erase Command:
– write 20h, Address 55h
– write Block Address
(memory enters read status
state after the Erase command)
do:
– read status register
if Erase command given execute
suspend erase loop
while b7 = 1
If b3 = 1, V PEN invalid error:
– error handler
If b4, b5 = 1, Command Sequence error:
– error handler
If b5 = 1, Erase error:
– error handler
If b1 = 1, Erase to Protected Block Error:
– error handler
(A11-A19) & D0h
(E or G must be toggled)
AI08623c

Related parts for M58BW032BB45T3T