M29W128GH, M29W128GL
Flowcharts
Appendix D
Flowcharts
Figure 28. Write to Buffer Program flowchart and pseudocode
Start
Write to Buffer
command,
block address
(1)
Write n
,
First three cycles of the
Write to Buffer and Program command
block address
Write Buffer Data,
start address
X=n
YES
YES
X = 0
NO
Write to a different
block address
Abort Write
to Buffer
NO
Write to Buffer and
Program Aborted
Write Next Data,
Program Address Pair
(3)
(2)
X = X-1
Write to Buffer Program
Confirm, block address
Read Status Register
(DQ1, DQ5, DQ7) at
last loaded address
YES
DQ7 = Data
NO
NO
NO
DQ1 = 1
YES
DQ5 = 1
YES
Check Status Register
(DQ5, DQ7) at
last loaded address
YES
DQ7 = Data
(4)
NO
(5)
END
FAIL OR ABORT
AI08968b
1. n+1 is the number of addresses to be programmed.
89/94