5/4/98 AmC0XXCFLKA 13
or sectors the remaining unselected sectors are not af-
fe cted. Th e system is no t required to provide any con-
trols or timings during these operations. A Reset
command after the device has begun execution will
stop the device but the data in the operated segment
will be undefined. In that case, restart the erase on that
sector and allow it to complete.
The automatic sector erase begins after the 100 µs
time out from the rising edge of the WE pulse for the
last sector erase command pulse and terminates when
the data on D7 is “1” (see “Write Operation Status” sec-
tion) at which time the device returns to read mode.
Data Polling must be performed at an address within
any of the sectors being erased.
Figure 1 illustrates the Embedded Erase Algorithm
using typical command strings and bus operations.
Embedded Program™ Algorithm
The Embedd ed Pr ogram Setup is a four bus cycle op-
eration that stages the addressed memor y sector or
memory segment for automatic programming.
Once th e Embedded Pro gram Setup operation i s per-
f ormed, the next WE pulse causes a transition to an ac-
tive programming operation. Addresses are internally
latched on the falling edge of the WE pulse. Data is in-
ternally latched on the rising edge of the WE pulse . The
rising edge of WE also begins the programming opera-
tion. The system is not required to provide further con-
trol or timi ng. The device will automati cally provide an
adequate internally generated write pulse and verify
margin. The automatic programming operation is com-
pleted whe n th e da ta o n D7 of the a ddr es sed memory
sector or memory segment is equivalent to data written
to this bit (see Write Operation Status section) at which
time the device returns to the Read mode (no write ver-
ify command is required).
Addresses are latched on the falling edge of WE during
the Embedded Program command execution and
hence the system is not required to keep the addresses
stable dur ing the entire Programmin g operation. How-
ever, once the device completes the Embedded Pro-
gram operation, it returns to the Read mode and
addresses are no longer latched. Therefore, the device
requires that a valid address input to the device is sup-
plied by the system at this par ticular instant of time.
Otherwise, the system will never read a valid data on
D7. A system designer has two choices to implement
the Embedded Programming algorithm:
1. The system (CPU) keeps the address valid during
the entire Embedded Programming operation, or
2. Once the system ex ecutes the Embedded Program-
ming command sequence, the CPU takes away the
address from the device and becomes free to do
other tasks. In this case, the CPU is required to
keep track of the valid address by loading it into a
temporar y reg ister. When t he CPU come s back for
performing Data P olling, it should reassert the same
address.
Howe ver, since the Embedded Programming operation
takes only 16 µs typically, it may be easier f or the CPU
to keep the address stable during the entire Embedded
Programming operation instead of reasserting the valid
address during Data P oll ing. An yw ay, this has been lef t
to the sy stem desi gner’s choice to g o for either opera-
tion. Any commands written to the segment during this
period will be ignored.
Figure 2 and Table 8 illustrate the Embedded Program
Algorit hm, a typica l command string , and bus o perat ion.
Reset Command
The Reset command initializes the sector or segment
to the read mode. Please ref er to Tables 3 and 4, “Byte
Command Def initions,” and Table 5, “Word Comman d
Definitions” for the Reset command operation. The
sector or segment rema ins enabled for reads unti l the
command register contents are altered. There is a 6 µs
Write Recovery Time before Read for the first read
after a write.
The Reset command will safely reset the segment
memor y to the Read mode. Memor y contents are not
altered. F ollowing any other command, write the Reset
command once to the segment. This will safely abort
any operation and reset the device to the Read mode.
The Reset is needed to terminate the auto select oper-
ation. It can be used to terminate an Erase or Sector
Erase op eration, but the d ata in the s ec tor or seg men t
being erased would then be undefined.
Write Opera tion Stat us
Data Polling—D7 (D15 on Odd Byte)
The Flash Memory PC Card features Data Polling as a
method to indicate to the host system that the Embed-
ded algorithms are either in progress or completed.
While t he Embedd ed Programming algor ithm is i n op-
eration, an attemp t to r ead th e device will prod uce th e
complement of expected valid data on D7 of the ad-
dressed memory sector or memory segment. Upon
Table 8. Embedded Program Algorithm
Bus Operation Command Comments
Standby Wait for VCC ramp
Write Embedded Program
comma nd sequence 3 bus cycle
operation
Write Program
Address/Data 1 bus cycle
operation
Read Data Polling to
verify program