February 20, 2007 S29NS-P_00_A1
S29NS-P MirrorBit
TM
Flash Family
47
D a t a
S h e e t
( A d v a n c e
I n f o r m a t i o n )
Figure 6.5
Write Operation Status Flowchart
DQ6: Toggle Bit I
Toggle Bit I on DQ6 indicates whether an Embedded Program or Erase algorithm is in progress or complete,
or whether the device has entered the Erase Suspend mode. Toggle Bit I may be read at any address in the
same bank, and is valid after the rising edge of the final WE# pulse in the command sequence (prior to the
program or erase operation), and during the sector erase time-out.
During an Embedded Program or Erase algorithm operation, successive read cycles to any address cause
DQ6 to toggle. When the operation is complete, DQ6 stops toggling.
After an erase command sequence is written, if all sectors selected for erasing are protected, DQ6 toggles for
approximately t
ASP
[all sectors protected toggle time], then returns to reading array data. If not all selected
sectors are protected, the Embedded Erase algorithm erases the unprotected sectors, and ignores the
selected sectors that are protected.
START
Read 1
DQ7=valid
data
YES
NO
Read 1
DQ5=1
YES
NO
Write Buffer
Programming
YES
NO
Device BUSY,
Re-Poll
Read3
DQ1=1
YES
NO
Read 2
Read 3
Read 2
Read 3
Read 2
Read 3
Read3 DQ1=1
AND DQ7
Valid Data
YES
NO
(Note 4)
Write Buffer
Operation Failed
DQ6
toggling
YES
NO
TIMEOUT
(Note 1)
(Note 3)
Programming
Operation
DQ6
toggling
YES
NO
YES
NO
DQ2
toggling
YES
NO
Erase
Operation
Complete
Device in
Erase/Suspend
Mode
Program
Operation
Failed
DEVICE
ERROR
Erase
Operation
Complete
Read3= valid
data
YES
NO
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.
8) It can fail if one tries to program DQ7 from '0' to '1'
Device BUSY,
Re-Poll
Device BUSY,
Re-Poll
Device BUSY,
Re-Poll
(Note 1)
(Note 2)
(Note 6)
(Note 5)