English
Language : 

HY29F400A Datasheet, PDF (12/40 Pages) Hynix Semiconductor – 4 Megabit (512Kx8/256Kx16) 5 Volt-only Flash Memory
HY29F400A
In a Sector Erase or Chip Erase command se-
quence, the Read/Reset command may be
written at any time before erasing actually be-
gins, including, for the Sector Erase command,
between the cycles that specify the sectors to
be erased (see Sector Erase command de-
scription). This aborts the command and re-
sets the device to the Read mode. Once era-
sure begins, however, the device ignores Read/
Reset commands until the operation is com-
plete.
In a Program command sequence, the Read/
Reset command may be written between the
sequence cycles before programming actually
begins. This aborts the command and resets
the device to the Read mode, or to the Erase
Suspend mode if the Program command se-
quence is written while the device is in the
Erase Suspend mode. Once programming
begins, however, the device ignores Read/Re-
set commands until the operation is complete.
The Read/Reset command may be written be-
tween the cycles in an Electronic ID command
sequence to abort that command. As described
above, once in the Electronic ID mode, the
Read/Reset command must be written to re-
turn to the Read mode.
Byte/Word Program Command
The host processor programs the device a byte or
word at a time by issuing the Program command
sequence shown in Table 5. The sequence be-
gins by writing two unlock cycles, followed by the
Program setup command and, lastly, a data cycle
specifying the program address and data. This
initiates the Automatic Programming algorithm,
which provides internally generated program
pulses and verifies the programmed cell margin.
The host is not required to provide further controls
or timings during this operation. When the Auto-
matic Programming algorithm is complete, the
device returns to the Read mode. Several meth-
ods are provided to allow the host to determine
the status of the programming operation, as de-
scribed in the Write Operation Status section.
Commands written to the device during execution
of the Automatic Programming algorithm are ig-
nored. Note that a hardware reset immediately
terminates the programming operation. To ensure
data integrity, the aborted program command se-
12
quence should be reinitiated once the reset op-
eration is complete.
Programming is allowed in any sequence. Only
erase operations can convert a stored “0” to a “1”.
Thus, a bit cannot be programmed from a “0” back
to a “1”. Attempting to do so will set DQ[5] to “1”,
and the Data# Polling algorithm will indicate that
the operation was not successful. A Read/Reset
command or a hardware reset is required to exit
this state, and a succeeding read will show that
the data is still “0”.
Figure 4 illustrates the procedure for the Byte/Word
Program operation.
Chip Erase Command
The Chip Erase command sequence consists of
two unlock cycles, followed by the erase command,
two additional unlock cycles and then the chip
erase data cycle. During chip erase, all sectors of
the device are erased except protected sectors.
The command sequence starts the Automatic
Erase algorithm, which preprograms and verifies
the entire memory, except for protected sectors,
for an all zero data pattern prior to electrical erase.
The device then provides the required number of
internally generated erase pulses and verifies cell
erasure within the proper cell margins. The host
system is not required to provide any controls or
timings during these operations.
START
Issue PROGRAM
Command Sequence:
Last cycle contains
program Address/Data
Check Programming Status
(See Write Operation Status
Section)
Normal Exit
DQ[5] Error Exit
NO
Last Word/Byte
Done?
YES
PROGRAMMING
COMPLETE
GO TO
ERROR RECOVERY
Figure 4. Programming Procedure
Rev. 1.0/Jan. 02