24
Am29LV160M
25974B5 January31,2007
D a t a S h e e t
programming begins, however, the device ignores reset commands until the op-
eration is complete.
The reset command may be written between the sequence cycles in an autoselect
command sequence. Once in the autoselect mode, the reset command
must
be
written to return to reading array data (also applies to autoselect during Erase
Suspend).
If DQ5 goes high during a program or erase operation, writing the reset command
returns the device to reading array data (also applies during Erase Suspend).
Autoselect Command Sequence
The autoselect command sequence allows the host system to access the manu-
facturer and devices codes, and determine whether or not a sector is protected.
Table 10, on page 31
and
Table 11, on page 32
show the address and data re-
quirements. This method is an alternative to that shown in
Table 4, on page 15
,
which is intended for PROM programmers and requires V
ID
on address bit A9.
The autoselect command sequence is initiated by writing two unlock cycles, fol-
lowed by the autoselect command. The device then enters the autoselect mode,
and the system may read at any address any number of times, without initiating
another command sequence.
A read cycle at address XX00h retrieves the manufacturer code. A read cycle at
address XX01h returns the device code. A read cycle containing a sector address
(SA) and the address XX02h in word mode (or XX04h in byte mode) returns
XX01h if that sector is protected, or 00h if it is unprotected. Refer to
Table 2, on
page 13
and
Table 3, on page 14
for valid sector addresses.
The system must write the reset command to exit the autoselect mode and return
to reading array data.
Word/Byte Program Command Sequence
The system may program the device by word or byte, depending on the state
of the BYTE# pin. Programming is a four-bus-cycle operation. The program
command sequence is initiated by writing two unlock write cycles, followed by
the program set-up command. The program address and data are written next,
which in turn initiate the Embedded Program algorithm. The system is
not
re-
quired to provide further controls or timings. The device automatically
generates the program pulses and verifies the programmed cell margin.
Table 10, on page 31
and
Table 11, on page 32
show the address and data re-
quirements for the byte program command sequence.
Note that the Secured
Silicon Sector, autoselect, and CFI functions are unavailable when a program
operation is in progress.
When the Embedded Program algorithm is complete, the device then returns to
reading array data and addresses are no longer latched. The system can deter-
mine the status of the program operation by using DQ7, DQ6, or RY/BY#. See
“Write Operation Status” on page 33
for information on these status bits.
Any commands written to the device during the Embedded Program Algorithm
are ignored. Note that a
hardw are reset
immediately terminates the program-
ming operation. The Byte Program command sequence should be reinitiated once
the device resets to reading array data, to ensure data integrity.
Programming is allowed in any sequence and across sector boundaries.
A bit
cannot be programmed from a “ 0” back to a “ 1” .
Attempting to do so may
halt the operation and set DQ5 to “1,” or cause the Data# Polling algorithm to