
28
S29WSxxxN_00_F0 October 29, 2004
Pr e l i m i n a r y
7.5 Program/Erase Operations
These devices are capable of several modes of programming and or erase operations which
are described in details during the following sections. However, prior to any programming and
or erase operation, devices must be setup appropriately as outlined in
Table 6.4.During a synchronous write operation, to write a command or command sequence (which in-
cludes programming data to the device and erasing sectors of memory), the system must
drive AVD# and CE# to VIL, and OE# to VIH when providing an address to the device, and
drive WE# and CE# to VIL, and OE# to VIH when writing commands or data.
During an asynchronous write operation, the system must drive CE# and WE# to VIL and OE#
to VIH when providing an address, command, and data. Addresses are latched on the last fall-
ing edge of WE# or CE#, while data is latched on the 1st rising edge of WE# or CE#.
Note the following:
When the Embedded Program algorithm is complete, the device then returns to the read
mode.
The system can determine the status of the program operation by using DQ7 or DQ6.
Refer to the Write Operation Status section for information on these status bits.
A “0” cannot be programmed back to a “1.” Attempting to do so will cause the device to
set DQ5 = 1 (halting any further operation and requiring a reset command). A succeeding
read will show that the data is still “0.”
Only erase operations can convert a “0” to a “1.”
Any commands written to the device during the Embedded Program Algorithm are ig-
nored except the Program Suspend command.
SecSi Sector, Autoselect, and CFI functions are unavailable when a program operation is
in progress.
A hardware reset immediately terminates the program operation and the program com-
mand sequence should be reinitiated once the device has returned to the read mode, to
ensure data integrity.
Programming is allowed in any sequence and across sector boundaries for single word
programming operation.
Programming to the same word address multiple times without intervening erases is lim-
ited. For such application requirements, please contact your local Spansion representa-
tive.
7.5.1. Single Word Programming
Single word programming mode is the simplest method of programming. In this mode, four
Flash command write cycles are used to program an individual Flash address. The data for
this programming operation could be 8-, 16- or 32-bits wide. While this method is supported
by all Spansion devices, in general it is not recommended for devices that support Write
flowchart.
When the Embedded Program algorithm is complete, the device then returns to the read
mode and addresses are no longer latched. The system can determine the status of the pro-
gram operation by using DQ7 or DQ6. Refer to the Write Operation Status section for
information on these status bits.
During programming, any command (except the Suspend Program command) is ignored.
The SecSi Sector, Autoselect, and CFI functions are unavailable when a program opera-
tion is in progress.