Академический Документы
Профессиональный Документы
Культура Документы
Am29LV008B
8 Megabit (1 M x 8-Bit)
CMOS 3.0 Volt-only Boot Sector Flash Memory
DISTINCTIVE CHARACTERISTICS
■ Single power supply operation ■ Unlock Bypass Program Command
— Full voltage range: 2.7 to 3.6 volt read and write — Reduces overall programming time when
operations for battery-powered applications issuing multiple program command sequences
— Regulated voltage range: 3.0 to 3.6 volt read ■ Top or bottom boot block configurations
and write operations and for compatibility with available
high performance 3.3 volt microprocessors
■ Embedded Algorithms
■ Manufactured on 0.35 µm process technology
— Embedded Erase algorithm automatically
— Compatible with 0.5 µm Am29LV008 device preprograms and erases the entire chip or any
■ High performance combination of designated sectors
— Full voltage range: access times as fast as 80 ns — Embedded Program algorithm automatically
writes and verifies data at specified addresses
— Regulated voltage range: access times as fast
as 70 ns ■ Minimum 1,000,000 write cycle guarantee per
sector
■ Ultra low power consumption (typical values at
5 MHz) ■ Package option
— 200 nA Automatic Sleep mode current — 40-pin TSOP
— 200 nA standby mode current ■ Compatibility with JEDEC standards
— 7 mA read current — Pinout and software compatible with single-
— 15 mA program/erase current power supply Flash
— Superior inadvertent write protection
■ Flexible sector architecture
— One 16 Kbyte, two 8 Kbyte, one 32 Kbyte, and ■ Data# Polling and toggle bits
fifteen 64 Kbyte sectors — Provides a software method of detecting
— Supports full chip erase program or erase operation completion
— Sector Protection features: ■ Ready/Busy# pin (RY/BY#)
A hardware method of locking a sector to — Provides a hardware method of detecting
prevent any program or erase operations within program or erase cycle completion
that sector
■ Erase Suspend/Erase Resume
Sectors can be locked in-system or via
— Suspends an erase operation to read data from,
programming equipment
or program data to, a sector that is not being
Temporary Sector Unprotect feature allows code erased, then resumes the erase operation
changes in previously locked sectors
■ Hardware reset pin (RESET#)
— Hardware method to reset the device to reading
array data
This document contains information on a product under development at Advanced Micro Devices. The information Publication# 21524 Rev: B Amendment/+1
is intended to help you evaluate this product. AMD reserves the right to change or discontinue work on this proposed Issue Date: March 1998
product without notice.
Refer to AMD’s Website (www.amd.com) for the latest information.
P R E L I M I N A R Y
GENERAL DESCRIPTION
The Am29LV008B is an 8 Mbit, 3.0 volt-only Flash executing the erase operation. During erase, the device
memory organized as 1,048,576 bytes. The device is automatically times the erase pulse widths and verifies
offered in a 40-pin TSOP package. The byte-wide (x8) proper cell margin.
data appears on DQ7–DQ0. This device requires only
The host system can detect whether a program or
a single, 3.0 volt VCC supply to perform read, program,
erase operation is complete by observing the RY/BY#
and erase operations. A standard EPROM pro-
pin, or by reading the DQ7 (Data# Polling) and DQ6
grammer can also be used to program and erase the
(toggle) status bits. After a program or erase cycle
device.
has been completed, the device is ready to read array
This device is manufactured using AMD’s 0.35 µm data or accept another command.
process technology, and offers all the features and
The sector erase architecture allows memory sectors
benefits of the Am29LV008, which was manufactured
to be erased and reprogrammed without affecting the
using 0.5 µm process technology. In addition, the
data contents of other sectors. The device is fully
Am29LV008B features unlock bypass programming
erased when shipped from the factory.
and in-system sector protection/unprotection.
Hardware data protection measures include a low
The standard device offers access times of 70, 80, 90,
VCC detector that automatically inhibits write opera-
and 120 ns, allowing high speed microprocessors to
tions during power transitions. The hardware sector
operate without wait states. To eliminate bus conten-
protection feature disables both program and erase
tion the device has separate chip enable (CE#), write
operations in any combination of the sectors of mem-
enable (WE#) and output enable (OE#) controls.
ory. This can be achieved in-system or via program-
The device requires only a single 3.0 volt power sup- ming equipment.
ply for both read and write functions. Internally gener-
The Erase Suspend feature enables the user to put
ated and regulated voltages are provided for the
program and erase operations. erase on hold for any period of time to read data from,
or program data to, any sector that is not selected for
The device is entirely command set compatible with the erasure. True background erase can thus be achieved.
JEDEC single-power-supply Flash standard. Com-
mands are written to the command register using The hardware RESET# pin terminates any operation
standard microprocessor write timings. Register con- in progress and resets the internal state machine to
tents serve as input to an internal state-machine that reading array data. The RESET# pin may be tied to the
controls the erase and programming circuitry. Write system reset circuitry. A system reset would thus also
cycles also internally latch addresses and data needed reset the device, enabling the system microprocessor
for the programming and erase operations. Reading to read the boot-up firmware from the Flash memory.
data out of the device is similar to reading from other The device offers two power-saving features. When
Flash or EPROM devices. addresses have been stable for a specified amount of
Device programming occurs by executing the program time, the device enters the automatic sleep mode.
command sequence. This initiates the Embedded The system can also place the device into the standby
Program algorithm—an internal algorithm that auto- mode. Power consumption is greatly reduced in both
matically times the program pulse widths and verifies these modes.
proper cell margin. The Unlock Bypass mode facili- AMD’s Flash technology combines years of Flash
tates faster programming times by requiring only two memory manufacturing experience to produce the
write cycles to program data instead of four. highest levels of quality, reliability and cost effective-
Device erasure occurs by executing the erase command ness. The device electrically erases all bits within
sequence. This initiates the Embedded Erase algo- a sector simultaneously via Fowler-Nordheim tun-
rithm—an internal algorithm that automatically prepro- neling. The data is programmed using hot electron
grams the array (if it is not already programmed) before injection.
2 Am29LV008B
P R E L I M I N A R Y
BLOCK DIAGRAM
RY/BY# DQ0–DQ7
VCC
Sector Switches
VSS
Erase Voltage Input/Output
RESET# Generator Buffers
WE# State
Control
Command
Register PGM Voltage
Generator
Chip Enable Data
Output Enable STB Latch
CE#
OE# Logic
Y-Decoder Y-Gating
STB
Address Latch
A0–A19
21524B-1
Am29LV008B 3
P R E L I M I N A R Y
CONNECTION DIAGRAMS
A16 1 40 A17
A15 2 39 VSS
A14 3 38 NC
A13 4 37 A19
A12 5 36 A10
A11 6 35 DQ7
A9 7 34 DQ6
A8 8 33 DQ5
WE# 9 32 DQ4
RESET# 10 31 VCC
NC 11 Standard TSOP 30 VCC
RY/BY# 12 29 NC
A18 13 28 DQ3
A7 14 27 DQ2
A6 15 26 DQ1
A5 16 25 DQ0
A4 17 24 OE#
A3 18 23 VSS
A2 19 22 CE#
A1 20 21 A0
A17 1 40 A16
VSS 2 39 A15
NC 3 38 A14
A19 4 37 A13
A10 5 36 A12
DQ7 6 35 A11
DQ6 7 34 A9
DQ5 8 33 A8
DQ4 9 32 WE#
VCC 10 Reverse TSOP 31 RESET#
VCC 11 30 NC
NC 12 29 RY/BY#
DQ3 13 28 A18
DQ2 14 27 A7
DQ1 15 26 A6
DQ0 16 25 A5
CE# 17 24 A4
VSS 18 23 A3
CE# 19 22 A2
A0 20 21 A1
21524B-2
4 Am29LV008B
P R E L I M I N A R Y
Am29LV008B 5
P R E L I M I N A R Y
ORDERING INFORMATION
Standard Products
AMD standard products are available in several packages and operating ranges. The order number (Valid Combi-
nation) is formed by a combination of the elements below.
Am29LV008B T -70R E C
OPTIONAL PROCESSING
Blank = Standard Processing
B = Burn-in
(Contact an AMD representative for more information)
TEMPERATURE RANGE
C = Commercial (0°C to +70°C)
I = Industrial (–40°C to +85°C)
E = Extended (–55°C to +125°C)
PACKAGE TYPE
E = 40-Pin Thin Small Outline Package (TSOP)
Standard Pinout (TS 040)
F = 40-Pin Thin Small Outline Package (TSOP)
Reverse Pinout (TSR040)
SPEED OPTION
See Product Selector Guide and Valid Combinations
DEVICE NUMBER/DESCRIPTION
Am29LV008B
8 Megabit (1 M x 8-Bit) CMOS Flash Memory
3.0 Volt-only Read, Program, and Erase
Valid Combinations
Valid Combinations list configurations planned to be sup-
Valid Combinations ported in volume for this device. Consult the local AMD sales
Am29LV008BT-70R, office to confirm availability of specific valid combinations and
EC, EI, FC, FI to check on newly released combinations.
Am29LV008BB-70R
Am29LV008BT-80,
Am29LV008BB-80
Am29LV008BT-90,
EC, EI, EE, FC, FI, FE
Am29LV008BB-90
Am29LV008BT-120,
Am29LV008BB-120
6 Am29LV008B
P R E L I M I N A R Y
Legend:
L = Logic Low = VIL, H = Logic High = VIH, VID = 12.0 ± 0.5 V, X = Don’t Care, AIN = Address In, DIN = Data In, DOUT = Data Out
Notes:
1. Addresses are A19–A0.
2. The sector protect and sector unprotect functions may also be implemented via programming equipment. See the “Sector
Protection/Unprotection” section.
Am29LV008B 7
P R E L I M I N A R Y
section has details on erasing a sector or the entire enables this mode when addresses remain stable for
chip, or suspending/resuming the erase operation. t ACC + 30 ns. The automatic sleep mode is inde-
pendent of the CE#, WE#, and OE# control signals.
After the system writes the autoselect command
Standard address access timings provide new data
sequence, the device enters the autoselect mode. The
when addresses are changed. While in sleep mode,
system can then read autoselect codes from the
output data is latched and always available to the
internal register (which is separate from the memory
system. ICC5 in the DC Characteristics table represents
array) on DQ7–DQ0. Standard read cycle timings
the automatic sleep mode current specification.
apply in this mode. Refer to the Autoselect Mode and
Autoselect Command Sequence sections for more
RESET#: Hardware Reset Pin
information.
The RESET# pin provides a hardware method of reset-
ICC2 in the DC Characteristics table represents the ting the device to reading array data. When the
active current specification for the write mode. The “AC RESET# pin is driven low for at least a period of tRP, the
Characteristics” section contains timing specification device immediately terminates any operation in
tables and timing diagrams for write operations. progress, tristates all output pins, and ignores all
read/write commands for the duration of the RESET#
Program and Erase Operation Status pulse. The device also resets the internal state
During an erase or program operation, the system may machine to reading array data. The operation that was
check the status of the operation by reading the status interrupted should be reinitiated once the device is
bits on DQ7–DQ0. Standard read cycle timings and ICC ready to accept another command sequence, to
read specifications apply. Refer to “Write Operation ensure data integrity.
Status” for more information, and to “AC Characteris-
Current is reduced for the duration of the RESET#
tics” for timing diagrams.
pulse. When RESET# is held at VSS±0.3 V, the device
draws CMOS standby current (ICC4). If RESET# is held
Standby Mode
at VIL but not within VSS±0.3 V, the standby current will
When the system is not reading or writing to the device, be greater.
it can place the device in the standby mode. In this
mode, current consumption is greatly reduced, and the The RESET# pin may be tied to the system reset cir-
outputs are placed in the high impedance state, inde- cuitry. A system reset would thus also reset the Flash
pendent of the OE# input. memory, enabling the system to read the boot-up
firmware from the Flash memory.
The device enters the CMOS standby mode when the
CE# and RESET# pins are both held at VCC ± 0.3 V. If RESET# is asserted during a program or erase oper-
(Note that this is a more restricted voltage range than ation, the RY/BY# pin remains a “0” (busy) until the
VIH.) If CE# and RESET# are held at VIH, but not within internal reset operation is complete, which requires a
VCC ± 0.3 V, the device will be in the standby mode, but time of tREADY (during Embedded Algorithms). The
the standby current will be greater. The device requires system can thus monitor RY/BY# to determine whether
standard access time (tCE) for read access when the the reset operation is complete. If RESET# is asserted
device is in either of these standby modes, before it is when a program or erase operation is not executing
ready to read data. (RY/BY# pin is “1”), the reset operation is completed
within a time of tREADY (not during Embedded Algo-
If the device is deselected during erasure or program- rithms). The system can read data t RH after the
ming, the device draws active current until the RESET# pin returns to VIH.
operation is completed.
Refer to the AC Characteristics tables for RESET# pa-
In the DC Characteristics table, ICC3 and ICC4 repre- rameters and to Figure 14 for the timing diagram.
sents the standby current specification.
Output Disable Mode
Automatic Sleep Mode
When the OE# input is at VIH, output from the device is
The automatic sleep mode minimizes Flash device disabled. The output pins are placed in the high imped-
energy consumption. The device automatically ance state.
8 Am29LV008B
P R E L I M I N A R Y
Am29LV008B 9
P R E L I M I N A R Y
01h
(protected)
Sector Protection Verification L L H SA X VID X L X H L
00h
(unprotected)
L = Logic Low = VIL, H = Logic High = VIH, SA = Sector Address, X = Don’t care.
Sector Protection/Unprotection The primary method requires VID on the RESET# pin
only, and can be implemented either in-system or via
The hardware sector protection feature disables both
programming equipment. Figure 2 shows the algo-
program and erase operations in any sector. The hard-
rithms and Figure 21 shows the waveform. This
ware sector unprotection feature re-enables both
method uses standard microprocessor bus cycle
program and erase operations in previously protected
timing. For sector unprotect, all unprotected sectors
sectors.
must first be protected prior to the first sector unprotect
The device is shipped with all sectors unprotected. write cycle.
AMD offers the option of programming and protecting
The alternate method intended only for programming
sectors at its factory prior to shipping the device
equipment requires VID on address pin A9 and OE#.
through AMD’s ExpressFlash™ Service. Contact an
This method is compatible with programmer routines
AMD representative for details.
written for earlier 3.0 volt-only AMD flash devices.
It is possible to determine whether a sector is protected Details on this method are provided in a supplement,
or unprotected. See “Autoselect Mode” for details. publication number 20875. Contact an AMD represent-
ative to request a copy.
Sector protection/unprotection can be implemented via
two methods.
10 Am29LV008B
P R E L I M I N A R Y
START START
Yes Yes
Set up sector
No All sectors
address
protected?
Sector Protect:
Yes
Write 60h to sector
address with Set up first sector
A6 = 0, A1 = 1, address
A0 = 0
Sector Unprotect:
Wait 150 µs
Write 60h to sector
address with
Verify Sector A6 = 1, A1 = 1,
Protect: Write 40h A0 = 0
to sector address Reset
Increment with A6 = 0, PLSCNT = 1 Wait 15 ms
PLSCNT A1 = 1, A0 = 0
Verify Sector
Read from
Unprotect: Write
sector address
40h to sector
with A6 = 0,
address with
A1 = 1, A0 = 0 Increment A6 = 1, A1 = 1,
No PLSCNT A0 = 0
No
PLSCNT Data = 01h? Read from
= 25? sector address
with A6 = 1,
Yes A1 = 1, A0 = 0
Yes No
Set up
next sector
Yes No
PLSCNT address
Protect another Data = 00h?
Device failed = 1000?
sector?
No Yes Yes
Remove VID
from RESET# Last sector No
Device failed verified?
Write reset
Yes
command
Remove VID
Sector Protect Sector Protect
Sector Unprotect from RESET#
Sector Unprotect
complete 21524B-4
Am29LV008B 11
P R E L I M I N A R Y
COMMAND DEFINITIONS
Writing specific address and data commands or data after completing an Embedded Program or
sequences into the command register initiates device Embedded Erase algorithm.
operations. Table 5 defines the valid register command
After the device accepts an Erase Suspend command,
sequences. Writing incorrect address and data
the device enters the Erase Suspend mode. The
values or writing them in the improper sequence
system can read array data using the standard read
resets the device to reading array data.
timings, except that if it reads at an address within
All addresses are latched on the falling edge of WE# or erase-suspended sectors, the device outputs status
CE#, whichever happens later. All data is latched on data. After completing a programming operation in the
the rising edge of WE# or CE#, whichever happens Erase Suspend mode, the system may once again
first. Refer to the appropriate timing diagrams in the read array data with the same exception. See “Erase
“AC Characteristics” section. Suspend/Erase Resume Commands” for more infor-
mation on this mode.
Reading Array Data
The system must issue the reset command to re-
The device is automatically set to reading array data enable the device for reading array data if DQ5 goes
after device power-up. No commands are required to high, or while in the autoselect mode. See the “Reset
retrieve data. The device is also ready to read array Command” section, next.
12 Am29LV008B
P R E L I M I N A R Y
See also “Requirements for Reading Array Data” in the The system must write the reset command to exit the
“Device Bus Operations” section for more information. autoselect mode and return to reading array data.
The Read Operations table provides the read parame-
ters, and Figure 13 shows the timing diagram. Byte Program Command Sequence
Programming is a four-bus-cycle operation. The pro-
Reset Command gram command sequence is initiated by writing two un-
Writing the reset command to the device resets the de- lock write cycles, followed by the program set-up
vice to reading array data. Address bits are don’t care command. The program address and data are written
for this command. next, which in turn initiate the Embedded Program al-
gorithm. The system is not required to provide further
The reset command may be written between the se-
controls or timings. The device automatically provides
quence cycles in an erase command sequence before
internally generated program pulses and verifies the
erasing begins. This resets the device to reading array
programmed cell margin. Table 5 shows the address
data. Once erasure begins, however, the device ig-
and data requirements for the byte program command
nores reset commands until the operation is complete.
sequence.
The reset command may be written between the se-
When the Embedded Program algorithm is complete,
quence cycles in a program command sequence be-
the device then returns to reading array data and ad-
fore programming begins. This resets the device to
dresses are no longer latched. The system can deter-
reading array data (also applies to programming in
mine the status of the program operation by using
Erase Suspend mode). Once programming begins,
DQ7, DQ6, or RY/BY#. See “Write Operation Status”
however, the device ignores reset commands until the
for information on these status bits.
operation is complete.
Any commands written to the device during the
The reset command may be written between the
Embedded Program Algorithm are ignored. Note that a
sequence cycles in an autoselect command sequence.
hardware reset immediately terminates the program-
Once in the autoselect mode, the reset command must
m i n g o pe rat io n. T h e B y te Pr o gra m c om m a n d
be written to return to reading array data (also applies
sequence should be reinitiated once the device has
to autoselect during Erase Suspend).
reset to reading array data, to ensure data integrity.
If DQ5 goes high during a program or erase operation,
Programming is allowed in any sequence and across
writing the reset command returns the device to
sector boundaries. A bit cannot be programmed
reading array data (also applies during Erase Sus-
from a “0” back to a “1”. Attempting to do so may halt
pend).
the operation and set DQ5 to “1”, or cause the Data#
See the applicable “AC Characteristics” for parameters, Polling algorithm to indicate the operation was suc-
and to Figure 14 for the timing wavrforms. cessful. However, a succeeding read will show that the
data is still “0”. Only erase operations can convert a “0”
Autoselect Command Sequence to a “1”.
The autoselect command sequence allows the host Unlock Bypass Command Sequence
system to access the manufacturer and devices codes,
The unlock bypass feature allows the system to pro-
and determine whether or not a sector is protected.
gram bytes or words to the device faster than using the
Table 5 shows the address and data requirements. This
standard program command sequence. The unlock by-
method is an alternative to that shown in Table 4, which
pass command sequence is initiated by first writing two
is intended for PROM programmers and requires VID
unlock cycles. This is followed by a third write cycle
on address bit A9.
containing the unlock bypass command, 20h. The de-
The autoselect command sequence is initiated by vice then enters the unlock bypass mode. A two-cycle
writing two unlock cycles, followed by the autoselect unlock bypass program command sequence is all that
command. The device then enters the autoselect is required to program in this mode. The first cycle in
mode, and the system may read at any address any this sequence contains the unlock bypass program
number of times, without initiating another command command, A0h; the second cycle contains the program
sequence. address and data. Additional data is programmed in
the same manner. This mode dispenses with the initial
A read cycle at address XX00h retrieves the manufac-
two unlock cycles required in the standard program
turer code. A read cycle at address XX01h returns the
command sequence, resulting in faster total program-
device code. A read cycle containing a sector address
ming time. The Command Definitions table shows the
(SA) and the address 02h returns 01h if that sector is
requirements for the command sequence.
protected, or 00h if it is unprotected. Refer to Tables 2
and 3 for valid sector addresses. During the unlock bypass mode, only the Unlock By-
pass Program and Unlock Bypass Reset commands
are valid. To exit the unlock bypass mode, the system
Am29LV008B 13
P R E L I M I N A R Y
must issue the two-cycle unlock bypass reset com- trols or timings during these operations. Table 5 shows
mand sequence. The first cycle must contain the data the address and data requirements for the chip erase
90h; the second cycle the data 00h. Addresses are command sequence.
don’t care for both cycles. The device then returns to
Any com mand s wr i tten to th e chip d ur ing th e
reading array data.
Embedded Erase algorithm are ignored. Note that a
Figure 3 illustrates the algorithm for the program oper- hardware reset during the chip erase operation imme-
ation. See the Erase/Program Operations table in “AC diately terminates the operation. The Chip Erase
Characteristics” for parameters, and Figure 15 for tim- command sequence should be reinitiated once the
ing diagrams. device has returned to reading array data, to ensure
data integrity.
The system can determine the status of the erase oper-
START ation by using DQ7, DQ6, DQ2, or RY/BY#. See “Write
Operation Status” for information on these status bits.
When the Embedded Erase algorithm is complete, the
device returns to reading array data and addresses are
Write Program no longer latched.
Command Sequence
Figure 4 illustrates the algorithm for the erase opera-
tion. See the Erase/Program Operations tables in “AC
Characteristics” for parameters, and to Figure 16 for
Data Poll timing diagrams.
from System
Embedded
Program Sector Erase Command Sequence
algorithm Sector erase is a six bus cycle operation. The sector
in progress erase command sequence is initiated by writing two
Verify Data? unlock cycles, followed by a set-up command. Two
No
additional unlock write cycles are then followed by the
address of the sector to be erased, and the sector
Yes erase command. Table 5 shows the address and data
requirements for the sector erase command sequence.
No The device does not require the system to preprogram
Increment Address Last Address?
the memory prior to erase. The Embedded Erase algo-
rithm automatically programs and verifies the sector for
Yes an all zero data pattern prior to electrical erase. The
system is not required to provide any controls or
Programming timings during these operations.
Completed
After the command sequence is written, a sector erase
time-out of 50 µs begins. During the time-out period,
21524B-6 additional sector addresses and sector erase com-
mands may be written. Loading the sector erase buffer
Note: See Table 5 for program command sequence. may be done in any sequence, and the number of
sectors may be from one sector to all sectors. The time
Figure 3. Program Operation
between these additional cycles must be less than 50
µs, otherwise the last address and command might not
be accepted, and erasure may begin. It is recom-
Chip Erase Command Sequence mended that processor interrupts be disabled during
Chip erase is a six bus cycle operation. The chip erase this time to ensure all commands are accepted. The
command sequence is initiated by writing two unlock interrupts can be re-enabled after the last Sector Erase
cycles, followed by a set-up command. Two additional command is written. If the time between additional
unlock write cycles are then followed by the chip erase sector erase commands can be assumed to be less
command, which in turn invokes the Embedded Erase than 50 µs, the system need not monitor DQ3. Any
algorithm. The device does not require the system to command other than Sector Erase or Erase
preprogram prior to erase. The Embedded Erase algo- Suspend during the time-out period resets the
rithm automatically preprograms and verifies the entire device to reading array data. The system must
memory for an all zero data pattern prior to electrical rewrite the command sequence and any additional
erase. The system is not required to provide any con- sector addresses and commands.
14 Am29LV008B
P R E L I M I N A R Y
The system can monitor DQ3 to determine if the sector pended. See “Write Operation Status” for information
erase timer has timed out. (See the “DQ3: Sector Erase on these status bits.
Timer” section.) The time-out begins from the rising
After an erase-suspended program operation is com-
edge of the final WE# pulse in the command sequence.
plete, the system can once again read array data within
Once the sector erase operation has begun, only the non-suspended sectors. The system can determine the
Erase Suspend command is valid. All other commands status of the program operation using the DQ7 or DQ6
are ignored. Note that a hardware reset during the status bits, just as in the standard program operation.
sector erase operation immediately terminates the See “Write Operation Status” for more information.
operation. The Sector Erase command sequence
The system may also write the autoselect command
should be reinitiated once the device has returned to
sequence when the device is in the Erase Suspend
reading array data, to ensure data integrity.
mode. The device allows reading autoselect codes
When the Embedded Erase algorithm is complete, the even at addresses within erasing sectors, since the
device returns to reading array data and addresses are codes are not stored in the memory array. When the
no longer latched. The system can determine the device exits the autoselect mode, the device reverts to
status of the erase operation by using DQ7, DQ6, DQ2, the Erase Suspend mode, and is ready for another
or RY/BY#. Refer to “Write Operation Status” for infor- valid operation. See “Autoselect Command Sequence”
mation on these status bits. for more information.
Figure 4 illustrates the algorithm for the erase opera- The system must write the Erase Resume command
tion. Refer to the Erase/Program Operations tables in (address bits are “don’t care”) to exit the erase suspend
the “AC Characteristics” section for parameters, and to mode and continue the sector erase operation. Further
Figure 16 for timing waveforms. writes of the Resume command are ignored. Another
Erase Suspend command can be written after the
Erase Suspend/Erase Resume Commands device has resumed erasing.
The Erase Suspend command allows the system to
interrupt a sector erase operation and then read data
from, or program data to, any sector not selected for
START
erasure. This command is valid only during the sector
erase operation, including the 50 µs time-out period
during the sector erase command sequence. The
Erase Suspend command is ignored if written during
Write Erase
the chip erase operation or Embedded Program algo- Command Sequence
rithm. Writing the Erase Suspend command during the
Sector Erase time-out immediately terminates the
time-out period and suspends the erase operation.
Addresses are “don’t-cares” when writing the Erase Data Poll
Suspend command. from System
Embedded
When the Erase Suspend command is written during a Erase
sector erase operation, the device requires a maximum algorithm
of 20 µs to suspend the erase operation. However, in progress
when the Erase Suspend command is written during No
Data = FFh?
the sector erase time-out, the device immediately ter-
minates the time-out period and suspends the erase
operation. Yes
After the erase operation has been suspended, the
system can read array data from or program data to Erasure Completed
any sector not selected for erasure. (The device “erase
suspends” all sectors selected for erasure.) Normal 21524B-7
read and write timings and command definitions apply. Notes:
Reading at any address within erase-suspended 1. See Table 5 for erase command sequence.
sectors produces status data on DQ7–DQ0. The
2. See “DQ3: Sector Erase Timer” for more information.
system can use DQ7, or DQ6 and DQ2 together, to
determine if a sector is actively erasing or is erase-sus- Figure 4. Erase Operation
Am29LV008B 15
P R E L I M I N A R Y
Cycles
Command
Sequence First Second Third Fourth Fifth Sixth
(Note 1) Addr Data Addr Data Addr Data Addr Data Addr Data Addr Data
Read (Note 5) 1 RA RD
Reset (Note 6) 1 XXX F0
Manufacturer ID 4 555 AA 2AA 55 555 90 X00 01
Auto- Device ID, Top Boot Block 4 555 AA 2AA 55 555 90 X01 3E
select Device ID, Bottom Boot Block 4 555 AA 2AA 55 555 90 X01 37
(Note 7) 00
Sector Protect Verify (SA)
4 555 AA 2AA 55 555 90
(Note 8) X02 01
Program 4 555 AA 2AA 55 555 A0 PA PD
Unlock Bypass 3 555 AA 2AA 55 555 20
Unlock Bypass Program (Note 9) 2 XXX A0 PA PD
Unlock Bypass Reset (Note 10) 2 XXX 90 XXX 00
Chip Erase 6 555 AA 2AA 55 555 80 555 AA 2AA 55 555 10
Sector Erase 6 555 AA 2AA 55 555 80 555 AA 2AA 55 SA 30
Erase Suspend (Note 11) 1 XXX B0
Erase Resume (Note 12) 1 XXX 30
Legend:
X = Don’t care PD = Data to be programmed at location PA. Data latches on the
RA = Address of the memory location to be read. rising edge of WE# or CE# pulse, whichever happens first.
RD = Data read from location RA during read operation. SA = Address of the sector to be verified (in autoselect mode) or
erased. Address bits A19–A13 uniquely select any sector.
PA = Address of the memory location to be programmed.
Addresses latch on the falling edge of the WE# or CE# pulse,
whichever happens later.
Notes:
1. See Table 1 for description of bus operations. 8. The data is 00h for an unprotected sector and 01h for a
2. All values are in hexadecimal. protected sector. See “Autoselect Command Sequence” for
more information.
3. Except when reading array or autoselect data, all bus cycles
are write operations. 9. The Unlock Bypass command is required prior to the Unlock
Bypass Program command.
4. Address bits A19–A11 are don’t cares for unlock and
command cycles. 10. The Unlock Bypass Reset command is required to return to
reading array data when the device is in the unlock bypass
5. No unlock or command cycles required when reading array mode.
data.
11. The system may read and program in non-erasing sectors, or
6. The Reset command is required to return to reading array enter the autoselect mode, when in the Erase Suspend
data when device is in the autoselect mode, or if DQ5 goes mode. The Erase Suspend command is valid only during a
high (while the device is providing status data). sector erase operation.
7. The fourth cycle of the autoselect command sequence is a 12. The Erase Resume command is valid only during the Erase
read cycle. Suspend mode.
16 Am29LV008B
P R E L I M I N A R Y
Am29LV008B 17
P R E L I M I N A R Y
RY/BY#: Ready/Busy# Table 6 shows the outputs for Toggle Bit I on DQ6.
Refer to Figure 6 shows the toggle bit algorithm and to
The RY/BY# is a dedicated, open-drain output pin that
Figure 18 in the “AC Characteristics” section for the
indicates whether an Embedded Algorithm is in
timing diagrams. Figure 19 shows the differences be-
progress or complete. The RY/BY# status is valid after
tween DQ2 and DQ6 in graphical form. See also the
the rising edge of the final WE# pulse in the command
subsection on “DQ2: Toggle Bit II”.
sequence. Since RY/BY# is an open-drain output, sev-
eral RY/BY# pins can be tied together in parallel with a
DQ2: Toggle Bit II
pull-up resistor to VCC.
The “Toggle Bit II” on DQ2, when used with DQ6, indi-
If the output is low (Busy), the device is actively erasing cates whether a particular sector is actively erasing
or programming. (This includes programming in the (that is, the Embedded Erase algorithm is in progress),
Erase Suspend mode.) If the output is high (Ready), or whether that sector is erase-suspended. Toggle Bit
the device is ready to read array data (including during II is valid after the rising edge of the final WE# pulse in
the Erase Suspend mode), or is in the standby mode. the command sequence.
Table 6 shows the outputs for RY/BY#. Figures 13, 14, DQ2 toggles when the system reads at addresses
15 and 16 shows RY/BY# for read, reset, program, and within those sectors that have been selected for eras-
erase operations, respectively. ure. (The system may use either OE# or CE# to control
the read cycles.) But DQ2 cannot distinguish whether
DQ6: Toggle Bit I the sector is actively erasing or is erase-suspended.
Toggle Bit I on DQ6 indicates whether an Embedded DQ6, by comparison, indicates whether the device is
Program or Erase algorithm is in progress or complete, actively erasing, or is in Erase Suspend, but cannot
or whether the device has entered the Erase Suspend distinguish which sectors are selected for erasure.
mode. Toggle Bit I may be read at any address, and is Thus, both status bits are required for sector and mode
valid after the rising edge of the final WE# pulse in the information. Refer to Table 6 to compare outputs for
command sequence (prior to the program or erase op- DQ2 and DQ6.
eration), and during the sector erase time-out.
Figure 6 shows the toggle bit algorithm in flowchart
During an Embedded Program or Erase algorithm op- form, and the section “DQ2: Toggle Bit II” explains the
eration, successive read cycles to any address cause algorithm. See also the DQ6: Toggle Bit I subsection.
DQ6 to toggle. (The system may use either OE# or Refer to Figure 18 for the toggle bit timing diagram. Fig-
CE# to control the read cycles.) When the operation is ure 19 shows the differences between DQ2 and DQ6 in
complete, DQ6 stops toggling. graphical form.
After an erase command sequence is written, if all sec-
Reading Toggle Bits DQ6/DQ2
tors selected for erasing are protected, DQ6 toggles for
approximately 100 µs, then returns to reading array Refer to Figure 6 for the following discussion. Whenever
data. If not all selected sectors are protected, the Em- the system initially begins reading toggle bit status, it
bedded Erase algorithm erases the unprotected sec- must read DQ7–DQ0 at least twice in a row to determine
tors, and ignores the selected sectors that are whether a toggle bit is toggling. Typically, the system
protected. would note and store the value of the toggle bit after the
first read. After the second read, the system would com-
The system can use DQ6 and DQ2 together to deter- pare the new value of the toggle bit with the first. If the
mine whether a sector is actively erasing or is erase- toggle bit is not toggling, the device has completed the
suspended. When the device is actively erasing (that program or erase operation. The system can read array
is, the Embedded Erase algorithm is in progress), DQ6 data on DQ7–DQ0 on the following read cycle.
toggles. When the device enters the Erase Suspend
mode, DQ6 stops toggling. However, the system must However, if after the initial two read cycles, the system
also use DQ2 to determine which sectors are erasing determines that the toggle bit is still toggling, the sys-
or erase-suspended. Alternatively, the system can use tem also should note whether the value of DQ5 is high
DQ7 (see the subsection on DQ7: Data# Polling). (see the section on DQ5). If it is, the system should
then determine again whether the toggle bit is toggling,
If a program address falls within a protected sector, since the toggle bit may have stopped toggling just as
DQ6 toggles for approximately 1 µs after the program DQ5 went high. If the toggle bit is no longer toggling,
command sequence is written, then returns to reading the device has successfully completed the program or
array data. erase operation. If it is still toggling, the device did not
DQ6 also toggles during the erase-suspend-program completed the operation successfully, and the system
mode, and stops toggling once the Embedded Pro- must write the reset command to return to reading
gram algorithm is complete. array data.
18 Am29LV008B
P R E L I M I N A R Y
The remaining scenario is that the system initially de- DQ5: Exceeded Timing Limits
termines that the toggle bit is toggling and DQ5 has not
DQ5 indicates whether the program or erase time has
gone high. The system may continue to monitor the
exceeded a specified internal pulse count limit. Under
toggle bit and DQ5 through successive read cycles, de-
these conditions DQ5 produces a “1.” This is a failure
termining the status as described in the previous para-
condition that indicates the program or erase cycle was
graph. Alternatively, it may choose to perform other
not successfully completed.
system tasks. In this case, the system must start at the
beginning of the algorithm when it returns to determine The DQ5 failure condition may appear if the system
the status of the operation (top of Figure 6). tries to program a “1” to a location that is previously
programmed to “0.” Only an erase operation can
change a “0” back to a “1.” Under this condition, the
START device halts the operation, and when the operation has
exceeded the timing limits, DQ5 produces a “1.”
Under both these conditions, the system must issue
Read DQ7–DQ0 the reset command to return the device to reading
array data.
(Note 1)
DQ3: Sector Erase Timer
Read DQ7–DQ0 After writing a sector erase command sequence, the
system may read DQ3 to determine whether or not an
erase operation has begun. (The sector erase timer
does not apply to the chip erase command.) If additional
Toggle Bit No sectors are selected for erasure, the entire time-out also
= Toggle? applies after each additional sector erase command.
When the time-out is complete, DQ3 switches from “0”
Yes to “1.” The system may ignore DQ3 if the system can
guarantee that the time between additional sector
erase commands will always be less than 50 µs. See
No also the “Sector Erase Command Sequence” section.
DQ5 = 1?
After the sector erase command sequence is written,
the system should read the status on DQ7 (Data# Poll-
Yes ing) or DQ6 (Toggle Bit I) to ensure the device has ac-
cepted the command sequence, and then read DQ3. If
Read DQ7–DQ0 (Notes DQ3 is “1”, the internally controlled erase cycle has be-
Twice 1, 2) gun; all further commands (other than Erase Suspend)
are ignored until the erase operation is complete. If
DQ3 is “0”, the device will accept additional sector
erase commands. To ensure the command has been
Toggle Bit No accepted, the system software should check the status
= Toggle? of DQ3 prior to and following each subsequent sector
erase command. If DQ3 is high on the second status
Yes
check, the last command might not have been ac-
cepted. Table 6 shows the outputs for DQ3.
Program/Erase
Operation Not Program/Erase
Complete, Write Operation Complete
Reset Command
Notes:
1. Read toggle bit twice to determine whether or not it is
toggling. See text.
2. Recheck toggle bit because it may stop toggling as DQ5
changes to “1” . See text.
21524B-9
Figure 6. Toggle Bit Algorithm
Am29LV008B 19
P R E L I M I N A R Y
20 Am29LV008B
P R E L I M I N A R Y
OPERATING RANGES
Commercial (C) Devices
Ambient Temperature (TA) . . . . . . . . . . . 0°C to +70°C
Industrial (I) Devices
Ambient Temperature (TA) . . . . . . . . . –40°C to +85°C
Extended (E) Devices
Ambient Temperature (TA) . . . . . . . . –55°C to +125°C
VCC Supply Voltages
VCC for regulated voltage range. . . . .+3.0 V to +3.6 V
VCC for full voltage range . . . . . . . . . .+2.7 V to +3.6 V
Operating ranges define those limits between which the func-
tionality of the device is guaranteed.
Am29LV008B 21
P R E L I M I N A R Y
DC CHARACTERISTICS
CMOS Compatible
Parameter Description Test Conditions Min Typ Max Unit
VOL Output Low Voltage IOL = 4.0 mA, VCC = VCC min 0.45 V
Notes:
1. The ICC current listed is typically less than 2 mA/MHz, with OE# at VIH. Typical VCC is 3.0 V.
2. ICC active while Embedded Erase or Embedded Program is in progress.
3. Automatic sleep mode enables the low power mode when addresses remain stable for tACC + 30 ns.
4. Not 100% tested.
22 Am29LV008B
P R E L I M I N A R Y
DC CHARACTERISTICS (Continued)
Zero Power Flash
20
Supply Current in mA
15
10
0
0 500 1000 1500 2000 2500 3000 3500 4000
Time in ns
Figure 9. ICC1 Current vs. Time (Showing Active and Automatic Sleep Currents)
10
8
Supply Current in mA
3.6 V
6
2.7 V
0
1 2 3 4 5
Frequency in MHz
Note: T = 25 °C
21524B-13
Am29LV008B 23
P R E L I M I N A R Y
TEST CONDITIONS
Table 7. Test Specifications
3.3 V
-70R, -90,
Test Condition -80 -120 Unit
2.7 kΩ
Device Output Load 1 TTL gate
Under
Test Output Load Capacitance, CL
30 100 pF
(including jig capacitance)
CL 6.2 kΩ
Input Rise and Fall Times 5 ns
Steady
Changing from H to L
Changing from L to H
KS000010-PAL
3.0 V
Input 1.5 V Measurement Level 1.5 V Output
0.0 V
21524B-15
Figure 12. Input Waveforms and Measurement Levels
24 Am29LV008B
P R E L I M I N A R Y
AC CHARACTERISTICS
Read Operations
Parameter Speed Option
JEDEC Std Description Test Setup -70R -80 -90 -120 Unit
CE# = VIL
tAVQV tACC Address to Output Delay Max 70 80 90 120 ns
OE# = VIL
tELQV tCE Chip Enable to Output Delay OE# = VIL Max 70 80 90 120 ns
Read Min 0 ns
Output Enable
tOEH Toggle and
Hold Time (Note 1) Min 10 ns
Data# Polling
Notes:
1. Not 100% tested.
2. See Figure 11 and Table 7 for test specifications.
tRC
tDF
tOE
OE#
tOEH
WE# tCE
tOH
HIGH Z HIGH Z
Outputs Output Valid
RESET#
RY/BY#
0V
21524B-16
Figure 13. Read Operations Timings
Am29LV008B 25
P R E L I M I N A R Y
AC CHARACTERISTICS
Hardware Reset (RESET#)
Parameter
RY/BY#
CE#, OE#
tRH
RESET#
tRP
tReady
tReady
RY/BY#
tRB
CE#, OE#
RESET#
tRP
21524B-17
Figure 14. RESET# Timings
26 Am29LV008B
P R E L I M I N A R Y
AC CHARACTERISTICS
Erase/Program Operations
Parameter
Notes:
1. Not 100% tested.
2. See the “Erase and Programming Performance” section for more information.
Am29LV008B 27
P R E L I M I N A R Y
AC CHARACTERISTICS
Program Command Sequence (last two cycles) Read Status Data (last two cycles)
tWC tAS
Addresses 555h PA PA PA
tAH
CE#
tCH
tGHWL
OE#
tWP tWHWH1
WE#
tWPH
tCS
tDS
tDH
tBUSY tRB
RY/BY#
VCC
tVCS
Note: PA = program address, PD = program data, DOUT is the true data at the program address.
21524B-18
Figure 15. Program Operation Timings
28 Am29LV008B
P R E L I M I N A R Y
AC CHARACTERISTICS
Erase Command Sequence (last two cycles) Read Status Data
tWC tAS
Addresses 2AAh SA VA VA
555h for chip erase
tAH
CE#
tGHWL
OE# tCH
tWP
WE#
tWPH tWHWH2
tCS
tDS
tDH
In
Data 55h 30h Progress Complete
tBUSY tRB
RY/BY#
tVCS
VCC
Note: SA = sector address (for Sector Erase), VA = Valid Address for reading status data (see “Write Operation Status”).
21524B-19
Figure 16. Chip/Sector Erase Operation Timings
Am29LV008B 29
P R E L I M I N A R Y
AC CHARACTERISTICS
tRC
Addresses VA VA VA
tACC
tCE
CE#
tCH
tOE
OE#
tOEH tDF
WE#
tOH
High Z
DQ7 Complement Complement True Valid Data
High Z
DQ0–DQ6 Status Data Status Data True Valid Data
tBUSY
RY/BY#
Note: VA = Valid address. Illustration shows first status cycle after command sequence, last status read cycle, and array data
read cycle.
21524B-20
Figure 17. Data# Polling Timings (During Embedded Algorithms)
tRC
Addresses VA VA VA VA
tACC
tCE
CE#
tCH
tOE
OE#
tOEH tDF
WE#
tOH
High Z
DQ6/DQ2 Valid Status Valid Status Valid Status Valid Data
(first read) (second read) (stops toggling)
tBUSY
RY/BY#
Note: VA = Valid address; not required for DQ6. Illustration shows first two status cycle after command sequence, last status read
cycle, and array data read cycle.
21524B-21
Figure 18. Toggle Bit Timings (During Embedded Algorithms)
30 Am29LV008B
P R E L I M I N A R Y
AC CHARACTERISTICS
Enter
Embedded Erase Enter Erase Erase
Erasing Suspend Suspend Program Resume
DQ6
DQ2
Note: The system may use CE# or OE# to toggle DQ2 and DQ6. DQ2 toggles only when read at an address within an
erase-suspended sector.
21524B-22
Figure 19. DQ2 vs. DQ6
tVIDR VID Rise and Fall Time (See Note) Min 500 ns
12 V
RESET#
0 or 3 V 0 or 3 V
tVIDR tVIDR
Program or Erase Command Sequence
CE#
WE#
tRSP
RY/BY#
21524B-23
Figure 20. Temporary Sector Unprotect Timing Diagram
Am29LV008B 31
P R E L I M I N A R Y
AC CHARACTERISTICS
VID
VIH
RESET#
SA, A6,
Valid* Valid* Valid*
A1, A0
Sector Protect/Unprotect Verify
CE#
WE#
OE#
32 Am29LV008B
P R E L I M I N A R Y
AC CHARACTERISTICS
Alternate CE# Controlled Erase/Program Operations
Parameter
Programming Operation
tWHWH1 tWHWH1 Typ 9 µs
(Note 2)
Notes:
1. Not 100% tested.
2. See the “Erase and Programming Performance” section for more information.
Am29LV008B 33
P R E L I M I N A R Y
AC CHARACTERISTICS
555 for program PA for program
2AA for erase SA for sector erase
555 for chip erase
Data# Polling
Addresses PA
tWC tAS
tAH
tWH
WE#
tGHEL
OE#
tCP tWHWH1 or 2
CE#
tWS tCPH
tBUSY
tDS
tDH
DQ7# DOUT
Data
tRH A0 for program PD for program
55 for erase 30 for sector erase
10 for chip erase
RESET#
RY/BY#
Notes:
1. PA = Program Address, PD = Program Data, DQ7# = complement of the data written to the device, DOUT is the data written
to the device.
2. Figure indicates the last two bus cycles of the command sequence.
21524B-25
Figure 22. Alternate CE# Controlled Write Operation Timings
34 Am29LV008B
P R E L I M I N A R Y
Notes:
1. Typical program and erase times assume the following conditions: 25°C, 3.0 V VCC, 1,000,000 cycles. Additionally,
programming typicals assume checkerboard pattern.
2. Under worst case conditions of 90°C, VCC = 2.7 V, 1,000,000 cycles.
3. The typical chip programming time is considerably less than the maximum chip programming time listed, since most bytes
program faster than the maximum program times listed.
4. In the pre-programming step of the Embedded Erase algorithm, all bytes are programmed to 00h before erasure.
5. System-level overhead is the time required to execute the four-bus-cycle sequence for the program command. See Table 5
for further information on command definitions.
6. The device has a minimum erase and program cycle endurance of 1,000,000 cycles.
LATCHUP CHARACTERISTICS
Description Min Max
Input voltage with respect to VSS on all pins except I/O pins
–1.0 V 12.5 V
(including A9, OE#, and RESET#)
Input voltage with respect to VSS on all I/O pins –1.0 V VCC + 1.0 V
Includes all pins except VCC. Test conditions: VCC = 3.0 V, one pin at a time.
Notes:
1. Sampled, not 100% tested.
2. Test conditions TA = 25°C, f = 1.0 MHz.
DATA RETENTION
Parameter Test Conditions Min Unit
150°C 10 Years
Minimum Pattern Data Retention Time
125°C 20 Years
Am29LV008B 35
P R E L I M I N A R Y
PHYSICAL DIMENSIONS*
TS 040—40-Pin Standard TSOP (measured in millimeters)
0.95
1.05
Pin 1 I.D.
1 40
9.90
10.10
0.50 BSC
20 21
0.05
18.30
0.15
18.50
19.80
20.20
0.08
1.20 0.20
MAX 0.10
0.21
0˚
5˚
0.50
0.70 16-038-TSOP-1_AE
TS 040
2-27-97 lv
* For reference only. BSC is an ANSI standard for Basic Space Centering.
36 Am29LV008B
P R E L I M I N A R Y
PHYSICAL DIMENSIONS
TSR040—40-Pin Reverse TSOP (measured in millimeters)
0.95
1.05
Pin 1 I.D.
1 40
9.90
10.10
0.50 BSC
20 21
0.05
18.30
0.15
18.50
19.80
20.20
0.08
1.20 0.20
MAX 0.10
0.21
0˚
5˚
0.50
0.70 16-038-TSOP-1_AE
TSR040
2-27-97 lv
* For reference only. BSC is an ANSI standard for Basic Space Centering.
Am29LV008B 37
P R E L I M I N A R Y
Trademarks
Copyright © 1998 Advanced Micro Devices, Inc. All rights reserved.
AMD, the AMD logo, and combinations thereof are registered trademarks of Advanced Micro Devices, Inc.
ExpressFlash is a trademark of Advanced Micro Devices, Inc.
Product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
38 Am29LV008B