Flowcharts
M58BW016DT, M58BW016DB, M58BW016FT, M58BW016FB
Figure 23. Program suspend & resume flowchart and pseudocode
Start
Write B0h
Program/Erase Suspend Command:
– write B0h
– write 70h
Write 70h
do:
Read Status
Register
– read status register
NO
NO
b7 = 1
YES
while b7 = 0
If b2 = 0, Program completed
b2 = 1
YES
Program Complete
Read Memory Array Command:
– write FFh
Write FFh
– one or more data reads
from other blocks
Read data from
another block
Program Erase Resume Command:
– write D0h
to resume erasure
– if the program operation completed
then this is not necessary. The device
returns to Read Array as normal
(as if the Program/Erase Suspend
command was not issued).
Write D0h
Write FFh
Read Data
Program Continues
AI00612b
60/70