English
Language : 

AMC0XXCFLKA Datasheet, PDF (12/42 Pages) Advanced Micro Devices – 1, 2, 4, or 10 Megabyte 5.0 V-only Flash Memory PC Card
device returns to the Read mode (D15 on the odd
byte). The system is not required to provide any control
or timing during these operations. A Reset command
after the device has begun execution will stop the de-
vice but the data in the operated segment will be unde-
fined. In that case, restart the erase on that sector and
allow it to complete.
When using the Embedded Erase algorithm, the erase
automatically terminates when adequate erase margin
has been achieved for the memory array (no erase ver-
ify command is required). The margin voltages are in-
ternally generated in the same manner as when the
standard erase verify command is used.
The Embedded Erase command sequence is a com-
mand only operation that stages the memory sector or
memory segment for automatic electrical erasure of all
bytes in the array. The automatic erase begins on the
rising edge of the WE and terminates when the data on
D7 of the memory sector or memory segment is “1”
(see “Write Operation Status” section) at which time
the device returns to the Read mode. Please note that
for the memory segment or memory sector erase oper-
ation, Data Polling may be performed at any address in
that segment or sector.
Figure 1 and Table 7 illustrate the Embedded Erase Al-
gorithm, a typical command string and bus operations.
Table 7. Embedded Erase Algorithm
Bus Operation
Command
Comments
Standby
Write
Wait for VCC ramp
Embedded Erase
command sequence
6 bus cycle
operation
Read
Data Polling to
verify erasure
Start
Write Embedded Erase
Command Sequence
(Table 3 and 4)
Data Poll from Device
(Figure 3)
Erasure Complete
18723C-2
Figure 1. Embedded Erase Algorithm
As described earlier, once the memory sector in a de-
vice or memory segment completes the Embedded
Erase operation it returns to the Read mode and ad-
dresses are no longer latched. Therefore, the device
requires that a valid address input to the device is sup-
plied by the system at this particular instant of time.
Otherwise, the system will never read a “1” on D7. A
system designer has two choices to implement the Em-
bedded Erase algorithm:
1. The system (CPU) keeps the sector address (within
any of the sectors being erased) valid during the en-
tire Embedded Erase operation, or
2. Once the system executes the Embedded Erase
command sequence, the CPU takes away the ad-
dress from the device and becomes free to do other
tasks. In this case, the CPU is required to keep track
of the valid sector address by loading it into a tem-
porary register. When the CPU comes back for per-
forming Data Polling, it should reassert the same
address.
Since the Embedded Erase operation takes a signifi-
cant amount of time (1.5–30 s), option 2 makes more
sense. However, the choice of these two options has
been left to the system designer.
Sector Erase
Sector erase is a six bus cycle operation. There are two
“unlock” write cycles. These are followed by writing the
“set-up” command. Two more “unlock” write cycles are
then followed by the sector erase command. The sector
address (any address location within the desired sec-
tor) is latched on the falling edge of WE, while the com-
mand (data) is latched on the rising edge of WE. A
time-out of 100 µs from the rising edge of the last sec-
tor erase command will initiate the sector erase
command(s).
Multiple sectors may be erased concurrently by writing
the six bus cycle operations as described above. This
sequence is followed with writes of the sector erase
command 30H to addresses in other sectors desired to
be concurrently erased. A time-out of 100 µs from the
rising edge of the WE pulse for the last sector erase
command will initiate the sector erase. If another sector
erase command is written within the 100 µs time-out
window the timer is reset. Any command other than
sector erase within the time-out window will reset the
device to the read mode, ignoring the previous com-
mand string (refer to “Write Operation Status” section
for Sector Erase Timer operation). Loading the sector
erase buffer may be done in any sequence and with
anysector number.
Sector erase does not require the user to program the
device prior to erase. The device automatically pro-
grams all memory locations in the sector(s) to be
erased prior to electrical erase. When erasing a sector
12
AmC0XXCFLKA
5/4/98