D at a
S hee t
Figure 7.6
Write Operation Status Flowchart
START
Read 1
(Note 6)
DQ7=valid
data?
NO
YES
Erase
Operation
Complete
Read 1
DQ5=1?
NO
YES
Read 2
YES
Read3=
valid data?
NO
YES
Write Buffer
Programming?
Read 2
Read 3
Program
Operation
Failed
YES
Programming
Operation?
NO
Read 3
Device BUSY,
Re-Poll
NO
(Note 3)
(Note 1)
DQ6
toggling?
YES
TIMEOUT
(Note 1)
DQ6
toggling?
NO
(Note 2)
Device BUSY,
Re-Poll
Read 2
DQ2
toggling?
NO
YES
DEVICE
ERROR
(Note 5)
(Note 4)
Read3
DQ1=1?
YES
NO
NO
YES
Device BUSY,
Re-Poll
Erase
Operation
Complete
Device in
Erase/Suspend
Mode
Read 3
Read3
DQ1=1
AND DQ7
≠
Valid Data?
YES
Write Buffer
Operation
Failed
NO
Device BUSY,
Re-Poll
Notes:
1. DQ6 is toggling if Read2 DQ6 does not equal Read3 DQ6.
2. DQ2 is toggling if Read2 DQ2 does not equal Read3 DQ2.
3. May be due to an attempt to program a 0 to 1. Use the RESET command to exit operation.
4. Write buffer error if DQ1 of last read =1.
5. Invalid state, use RESET command to exit operation.
6. Valid data is the data that is intended to be programmed or all 1's for an erase operation.
7. Data polling algorithm valid for all operations except advanced sector protection.
48
S29WS-P
S29WS-P_00_A11 September 28, 2007