m58bw032bb STMicroelectronics, m58bw032bb Datasheet - Page 48

no-image

m58bw032bb

Manufacturer Part Number
m58bw032bb
Description
32 Mbit 1mb X32, Boot Block, Burst 3.3v Supply Flash Memory
Manufacturer
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 m58bw032bb