Вы находитесь на странице: 1из 38

PRELIMINARY

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

PRODUCT SELECTOR GUIDE


Family Part Number Am29LV008B

Regulated Voltage Range: VCC =3.0–3.6 V -70R


Speed Options
Full Voltage Range: VCC = 2.7–3.6 V -80 -90 -120

Max access time, ns (tACC) 70 80 90 120

Max CE# access time, ns (tCE) 70 80 90 120

Max OE# access time, ns (tOE) 30 30 35 50

Note: See “AC Characteristics” for full specifications.

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

VCC Detector Timer

X-Decoder Cell Matrix

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

PIN CONFIGURATION LOGIC SYMBOL


A0–A19 = 20 addresses
20
DQ0–DQ7 = 8 data inputs/outputs A0–A19 8
CE# = Chip enable DQ0–DQ7
OE# = Output enable
WE# = Write enable CE#

RESET# = Hardware reset pin, active low OE#

RY/BY# = Ready/Busy# output WE#

VCC = 3.0 volt-only single power supply RESET#


(see Product Selector Guide for speed RY/BY#
options and voltage supply tolerances)
VSS = Device ground
NC = Pin not connected internally 21524B-3

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

BOOT CODE SECTOR ARCHITECTURE


T = Top Sector
B = Bottom Sector

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

DEVICE BUS OPERATIONS


This section describes the requirements and use of the register serve as inputs to the internal state machine.
device bus operations, which are initiated through the The state machine outputs dictate the function of the
internal command register. The command register itself device. Table 1 lists the device bus operations, the
does not occupy any addressable memory location. inputs and control levels they require, and the resulting
The register is composed of latches that store the com- output. The following subsections describe each of
mands, along with the address and data information these operations in further detail.
needed to execute the command. The contents of the

Table 1. Am29LV008B Device Bus Operations


Operation CE# OE# WE# RESET# Addresses (Note 1) DQ0–DQ7
Read L L H H AIN DOUT
Write L H L H AIN DIN
VCC ± VCC ±
Standby X X X High-Z
0.3 V 0.3 V
Output Disable L H H H X High-Z
Reset X X X L X High-Z
Sector Address, A6 = L,
Sector Protect (Note 2) L H L VID DIN, DOUT
A1 = H, A0 = L
Sector Address, A6 = H,
Sector Unprotect (Note 2) L H L VID DIN, DOUT
A1 = H, A0 = L
Temporary Sector Unprotect X X X VID AIN DIN

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.

Requirements for Reading Array Data Writing Commands/Command Sequences


To read array data from the outputs, the system must To write a command or command sequence (which
drive the CE# and OE# pins to VIL. CE# is the power includes programming data to the device and erasing
control and selects the device. OE# is the output sectors of memory), the system must drive WE# and
control and gates array data to the output pins. WE# CE# to VIL, and OE# to VIH.
should remain at VIH.
The Am29LV008B is manufactured on AMD’s new 0.35
The internal state machine is set for reading array data µm process technology and offers an Unlock Bypass
upon device power-up, or after a hardware reset. This mode to facilitate faster programming. Once the device
ensures that no spurious alteration of the memory enters the Unlock Bypass mode, only two write cycles
content occurs during the power transition. No are required to program a byte, instead of four. Devices
command is necessary in this mode to obtain array manufactured on AMD’s 0.5 µm process technology re-
data. Standard microprocessor read cycles that assert quire a four-bus-cycle command sequence for each byte
valid addresses on the device address inputs produce programmed. The “Byte Program Command Sequence”
valid data on the device data outputs. The device section has details on programming data to the device
remains enabled for read access until the command using both standard and Unlock Bypass command se-
register contents are altered. quences.
See “Reading Array Data” for more information. Refer An erase operation can erase one sector, multiple sec-
to the AC Read Operations table for timing specifica- tors, or the entire device. Tables 2 and 3 indicate the
tions and to Figure 13 for the timing waveforms. ICC1 in address space that each sector occupies. A “sector
the DC Characteristics table represents the active address” consists of the address bits required to
current specification for reading array data. uniquely select a sector. The “Command Definitions”

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

Table 2. Am29LV008BT Top Boot Block Sector Address Table


Sector Size Address Range
Sector A19 A18 A17 A16 A15 A14 A13 (Kbytes) (in hexadecimal)
SA0 0 0 0 0 X X X 64 00000h–0FFFFh
SA1 0 0 0 1 X X X 64 10000h–1FFFFh
SA2 0 0 1 0 X X X 64 20000h–2FFFFh
SA3 0 0 1 1 X X X 64 30000h–3FFFFh
SA4 0 1 0 0 X X X 64 40000h–4FFFFh
SA5 0 1 0 1 X X X 64 50000h–5FFFFh
SA6 0 1 1 0 X X X 64 60000h–6FFFFh
SA7 0 1 1 1 X X X 64 70000h–7FFFFh
SA8 1 0 0 0 X X X 64 80000h–8FFFFh
SA9 1 0 0 1 X X X 64 90000h–9FFFFh
SA10 1 0 1 0 X X X 64 A0000h–AFFFFh
SA11 1 0 1 1 X X X 64 B0000h–BFFFFh
SA12 1 1 0 0 X X X 64 C0000h–CFFFFh
SA13 1 1 0 1 X X X 64 D0000h–DFFFFh
SA14 1 1 1 0 X X X 64 E0000h–EFFFFh
SA15 1 1 1 1 0 X X 32 F0000h–F7FFFh
SA16 1 1 1 1 1 0 0 8 F8000h–F9FFFh
SA17 1 1 1 1 1 0 1 8 FA000h–FBFFFh
SA18 1 1 1 1 1 1 X 16 FC000h–FFFFFh

Table 3. Am29LV008BB Bottom Boot Block Sector Address Table


Sector Size Address Range
Sector A19 A18 A17 A16 A15 A14 A13 (Kbytes) (in hexadecimal)
SA0 0 0 0 0 0 0 X 16 00000h-03FFFh
SA1 0 0 0 0 0 1 0 8 04000h-05FFFh
SA2 0 0 0 0 0 1 1 8 06000h-07FFFh
SA3 0 0 0 0 1 X X 32 08000h-0FFFFh
SA4 0 0 0 1 X X X 64 10000h-1FFFFh
SA5 0 0 1 0 X X X 64 20000h-2FFFFh
SA6 0 0 1 1 X X X 64 30000h-3FFFFh
SA7 0 1 0 0 X X X 64 40000h-4FFFFh
SA8 0 1 0 1 X X X 64 50000h-5FFFFh
SA9 0 1 1 0 X X X 64 60000h-6FFFFh
SA10 0 1 1 1 X X X 64 70000h-7FFFFh
SA11 1 0 0 0 X X X 64 80000h-8FFFFh
SA12 1 0 0 1 X X X 64 90000h-9FFFFh
SA13 1 0 1 0 X X X 64 A0000h-AFFFFh
SA14 1 0 1 1 X X X 64 B0000h-BFFFFh
SA15 1 1 0 0 X X X 64 C0000h-CFFFFh
SA16 1 1 0 1 X X X 64 D0000h-DFFFFh
SA17 1 1 1 0 X X X 64 E0000h-EFFFFh
SA18 1 1 1 1 X X X 64 F0000h-FFFFFh

Am29LV008B 9
P R E L I M I N A R Y

Autoselect Mode Table 4. In addition, when verifying sector protection,


the sector address must appear on the appropriate
The autoselect mode provides manufacturer and
highest order address bits (see Tables 2 and 3). Table
device identification, and sector protection verification,
4 shows the remaining address bits that are don’t care.
through identifier codes output on DQ7–DQ0. This
When all necessary bits have been set as required, the
mode is primarily intended for programming equipment
programming equipment may then read the corre-
to automatically match a device to be programmed with
sponding identifier code on DQ7–DQ0.
its corresponding programming algorithm. However,
the autoselect codes can also be accessed in-system To access the autoselect codes in-system, the host
through the command register. system can issue the autoselect command via the
command register, as shown in Table 5. This method
When using programming equipment, the autoselect
does not require VID. See “Command Definitions” for
mode requires VID (11.5 V to 12.5 V) on address pin
details on using the autoselect mode.
A9. Address pins A6, A1, and A0 must be as shown in

Table 4. Am29LV008B Autoselect Codes (High Voltage Method)


A19 A12 A8 A5 DQ7
to to to to to
Description CE# OE# WE# A13 A10 A9 A7 A6 A2 A1 A0 DQ0

Manufacturer ID: AMD L L H X X VID X L X L L 01h

Device ID: Am29LV008BT


L L H X X VID X L X L H 3Eh
(Top Boot Block)

Device ID: Am29LV008BB


L L H X X VID X L X L H 37h
(Bottom Boot Block)

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

Protect all sectors:


PLSCNT = 1 The indicated portion PLSCNT = 1
of the sector protect
RESET# = VID algorithm must be RESET# = VID
performed for all
unprotected sectors
Wait 1 µs Wait 1 µs
prior to issuing the
first sector
unprotect address
No First Write No
Temporary Sector First Write Temporary Sector
Unprotect Mode Cycle = 60h? Cycle = 60h? Unprotect Mode

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#

Algorithm complete Algorithm


Write reset
command

Sector Unprotect
complete 21524B-4

Figure 1. In-System Sector Protect/Unprotect Algorithms

Am29LV008B 11
P R E L I M I N A R Y

Temporary Sector Unprotect sectors can be programmed or erased by selecting the


sector addresses. Once VID is removed from the RE-
This feature allows temporary unprotection of previ-
SET# pin, all the previously protected sectors are
ously protected sectors to change data in-system. The
protected again. Figure 2 shows the algorithm, and
Sector Unprotect mode is activated by setting the RE-
Figure 20 shows the timing diagrams, for this feature.
SET# pin to VID. During this mode, formerly protected

against inadvertent writes (refer to Table 5 for com-


mand definitions). In addition, the following hardware
START data protection measures prevent accidental erasure
or programming, which might otherwise be caused by
spurious system level signals during VCC power-up
RESET# = VID and power-down transitions, or from system noise.
(Note 1)
Low VCC Write Inhibit
Perform Erase or When VCC is less than VLKO, the device does not ac-
Program Operations cept any write cycles. This protects data during VCC
power-up and power-down. The command register and
all internal program/erase circuits are disabled, and the
RESET# = VIH device resets. Subsequent writes are ignored until VCC
is greater than VLKO. The system must provide the
proper signals to the control pins to prevent uninten-
Temporary Sector tional writes when VCC is greater than VLKO.
Unprotect Completed Write Pulse “Glitch” Protection
(Note 2)
Noise pulses of less than 5 ns (typical) on OE#, CE# or
WE# do not initiate a write cycle.
21524B-5 Logical Inhibit
Notes:
Write cycles are inhibited by holding any one of OE# =
1. All protected sectors unprotected. VIL, CE# = VIH or WE# = VIH. To initiate a write cycle,
2. All previously protected sectors are protected once CE# and WE# must be a logical zero while OE# is a
again. logical one.

Figure 2. Temporary Sector Unprotect Operation Power-Up Write Inhibit


If WE# = CE# = VIL and OE# = VIH during power up, the
Hardware Data Protection device does not accept commands on the rising edge
The command sequence requirement of unlock cycles of WE#. The internal state machine is automatically
for programming or erasing provides data protection reset to reading array data on power-up.

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

Table 5. Am29LV008B Command Definitions


Bus Cycles (Notes 2-4)

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

WRITE OPERATION STATUS


The device provides several bits to determine the sta- Table 6 shows the outputs for Data# Polling on DQ7.
tus of a write operation: DQ2, DQ3, DQ5, DQ6, DQ7, Figure 5 shows the Data# Polling algorithm.
and RY/BY#. Table 6 and the following subsections de-
scribe the functions of these bits. DQ7, RY/BY#, and
DQ6 each offer a method for determining whether a
program or erase operation is complete or in progress. START
These three bits are discussed first.

DQ7: Data# Polling


The Data# Polling bit, DQ7, indicates to the host system Read DQ7–DQ0
whether an Embedded Algorithm is in progress or com- Addr = VA
pleted, or whether the device is in Erase Suspend.
Data# Polling is valid after the rising edge of the final
WE# pulse in the program or erase command se-
quence. Yes
DQ7 = Data?
During the Embedded Program algorithm, the device
outputs on DQ7 the complement of the datum pro-
grammed to DQ7. This DQ7 status also applies to pro- No
gramming during Erase Suspend. When the
Embedded Program algorithm is complete, the device
outputs the datum programmed to DQ7. The system No DQ5 = 1?
must provide the program address to read valid status
information on DQ7. If a program address falls within a
protected sector, Data# Polling on DQ7 is active for ap- Yes
proximately 1 µs, then the device returns to reading
array data.
Read DQ7–DQ0
During the Embedded Erase algorithm, Data# Polling Addr = VA
produces a “0” on DQ7. When the Embedded Erase al-
gorithm is complete, or if the device enters the Erase
Suspend mode, Data# Polling produces a “1” on DQ7.
This is analogous to the complement/true datum output
described for the Embedded Program algorithm: the Yes
DQ7 = Data?
erase function changes all the bits in a sector to “1”;
prior to this, the device outputs the “complement,” or
“0.” The system must provide an address within any of No
the sectors selected for erasure to read valid status in-
formation on DQ7.
FAIL PASS
After an erase command sequence is written, if all sec-
tors selected for erasing are protected, Data# Polling
Notes:
on DQ7 is active for approximately 100 µs, then the de-
1. VA = Valid address for programming. During a sector
vice returns to reading array data. If not all selected
erase operation, a valid address is an address within any
sectors are protected, the Embedded Erase algorithm sector selected for erasure. During chip erase, a valid
erases the unprotected sectors, and ignores the se- address is any non-protected sector address.
lected sectors that are protected.
2. DQ7 should be rechecked even if DQ5 = “1” because
When the system detects DQ7 has changed from the DQ7 may change simultaneously with DQ5.
complement to true data, it can read valid data at DQ7–
DQ0 on the following read cycles. This is because DQ7 21524B-8
may change asynchronously with DQ0–DQ6 while
Figure 5. Data# Polling Algorithm
Output Enable (OE#) is asserted low. Figure 17, Data#
Polling Timings (During Embedded Algorithms), in the
“AC Characteristics” section illustrates this.

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

Table 6. Write Operation Status


DQ7 DQ5 DQ2
Operation (Note 2) DQ6 (Note 1) DQ3 (Note 2) RY/BY#
Standard Embedded Program Algorithm DQ7# Toggle 0 N/A No toggle 0
Mode Embedded Erase Algorithm 0 Toggle 0 1 Toggle 0
Reading within Erase
1 No toggle 0 N/A Toggle 1
Erase Suspended Sector
Suspend Reading within Non-Erase
Data Data Data Data Data 1
Mode Suspended Sector
Erase-Suspend-Program DQ7# Toggle 0 N/A N/A 0
Notes:
1. DQ5 switches to ‘1’ when an Embedded Program or Embedded Erase operation has exceeded the maximum timing limits.
See “DQ5: Exceeded Timing Limits” for more information.
2. DQ7 and DQ2 require a valid address when reading status information. Refer to the appropriate subsection for further details.

20 Am29LV008B
P R E L I M I N A R Y

ABSOLUTE MAXIMUM RATINGS


Storage Temperature
Plastic Packages . . . . . . . . . . . . . . . –65°C to +150°C 20 ns 20 ns
Ambient Temperature +0.8 V
with Power Applied. . . . . . . . . . . . . . –65°C to +125°C
Voltage with Respect to Ground –0.5 V

VCC (Note 1) . . . . . . . . . . . . . . . .–0.5 V to +4.0 V –2.0 V


A9, OE#, and
RESET# (Note 2). . . . . . . . . . . . –0.5 V to +12.5 V 20 ns
All other pins (Note 1) . . . . . –0.5 V to VCC+0.5 V
Output Short Circuit Current (Note 3) . . . . . . 200 mA 21524B-10
Notes:
1. Minimum DC voltage on input or I/O pins is –0.5 V. During Figure 7. Maximum Negative Overshoot
voltage transitions, input or I/O pins may undershoot VSS Waveform
to –2.0 V for periods of up to 20 ns. See Figure 7.
Maximum DC voltage on input or I/O pins is VCC +0.5 V.
During voltage transitions, input or I/O pins may overshoot
to VCC +2.0 V for periods up to 20 ns. See Figure 8.
2. Minimum DC input voltage on pins A9, OE#, and RESET# 20 ns
is –0.5 V. During voltage transitions, A9, OE#, and
RESET# may undershoot VSS to –2.0 V for periods of up VCC
to 20 ns. See Figure 7. Maximum DC input voltage on pin +2.0 V
A9 is +12.5 V which may overshoot to 14.0 V for periods VCC
up to 20 ns. +0.5 V
3. No more than one output may be shorted to ground at a 2.0 V
time. Duration of the short circuit should not be greater
than one second. 20 ns 20 ns
Stresses above those listed under “Absolute Maximum
Ratings” may cause permanent damage to the device. This is
21524B-11
a stress rating only; functional operation of the device at
these or any other conditions above those indicated in the
operational sections of this data sheet is not implied. Figure 8. Maximum Positive Overshoot
Exposure of the device to absolute maximum rating Waveform
conditions for extended periods may affect device reliability.

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

VIN = VSS to VCC,


ILI Input Load Current ±1.0 µA
VCC = VCC max

ILIT A9 Input Load Current VCC = VCC max; A9 = 12.5 V 35 µA

VOUT = VSS to VCC,


ILO Output Leakage Current ±1.0 µA
VCC = VCC max

VCC Active Read Current 5 MHz 7 12


ICC1 CE# = VIL, OE# = VIH mA
(Note 1) 1 MHz 2 4

VCC Active Write Current


ICC2 CE# = VIL, OE# = VIH 15 30 mA
(Notes 2 and 4)

VCC = VCC max;


ICC3 VCC Standby Current 0.2 5 µA
CE#, RESET# = VCC±0.3 V

VCC = VCC max;


ICC4 VCC Standby Current During Reset 0.2 5 µA
RESET# = VSS ± 0.3 V

VIH = VCC ± 0.3 V;


ICC5 Automatic Sleep Mode (Note 3) 0.2 5 µA
VIL = VSS ± 0.3 V

VIL Input Low Voltage –0.5 0.8 V

VIH Input High Voltage 0.7 x VCC VCC + 0.3 V

Voltage for Autoselect and


VID VCC = 3.3 V 11.5 12.5 V
Temporary Sector Unprotect

VOL Output Low Voltage IOL = 4.0 mA, VCC = VCC min 0.45 V

VOH1 IOH = –2.0 mA, VCC = VCC min 0.85 VCC V


Output High Voltage
VOH2 IOH = –100 µA, VCC = VCC min VCC–0.4

VLKO Low VCC Lock-Out Voltage (Note 4) 2.3 2.5 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

Note: Addresses are switching at 1 MHz


21524B-12

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

Figure 10. Typical ICC1 vs. Frequency

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

Input Pulse Levels 0.0–3.0 V

Input timing measurement


1.5 V
reference levels
Note: Diodes are IN3064 or equivalent
Output timing measurement
1.5 V
21524B-14 reference levels
Figure 11. Test Setup

KEY TO SWITCHING WAVEFORMS

WAVEFORM INPUTS OUTPUTS

Steady

Changing from H to L

Changing from L to H

Don’t Care, Any Change Permitted Changing, State Unknown

Does Not Apply Center Line is High Impedance State (High Z)

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

tAVAV tRC Read Cycle Time (Note 1) Min 70 80 90 120 ns

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

tGLQV tOE Output Enable to Output Delay Max 30 30 35 50 ns

tEHQZ tDF Chip Enable to Output High Z (Note 1) Max 25 25 30 30 ns

tGHQZ tDF Output Enable to Output High Z (Note 1) Max 25 25 30 30 ns

Read Min 0 ns
Output Enable
tOEH Toggle and
Hold Time (Note 1) Min 10 ns
Data# Polling

Output Hold Time From Addresses, CE# or


tAXQX tOH Min 0 ns
OE#, Whichever Occurs First (Note 1)

Notes:
1. Not 100% tested.
2. See Figure 11 and Table 7 for test specifications.

tRC

Addresses Addresses Stable


tACC
CE#

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

JEDEC Std Description Test Setup All Speed Options Unit

RESET# Pin Low (During Embedded


tREADY Max 20 µs
Algorithms) to Read or Write (See Note)

RESET# Pin Low (NOT During Embedded


tREADY Max 500 ns
Algorithms) to Read or Write (See Note)

tRP RESET# Pulse Width Min 500 ns

tRH RESET# High Time Before Read (See Note) Min 50 ns

tRPD RESET# Low to Standby Mode Min 20 µs

tRB RY/BY# Recovery Time Min 0 ns

Note: Not 100% tested.

RY/BY#

CE#, OE#
tRH

RESET#

tRP
tReady

Reset Timings NOT during Embedded Algorithms

Reset Timings during Embedded Algorithms

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

JEDEC Std Description -70R -80 -90 -120 Unit

tAVAV tWC Write Cycle Time (Note 1) Min 70 80 90 120 ns

tAVWL tAS Address Setup Time Min 0 ns

tWLAX tAH Address Hold Time Min 45 45 45 50 ns

tDVWH tDS Data Setup Time Min 35 35 45 50 ns

tWHDX tDH Data Hold Time Min 0 ns

tOES Output Enable Setup Time Min 0 ns

Read Recovery Time Before Write


tGHWL tGHWL Min 0 ns
(OE# High to WE# Low)

tELWL tCS CE# Setup Time Min 0 ns

tWHEH tCH CE# Hold Time Min 0 ns

tWLWH tWP Write Pulse Width Min 35 35 35 50 ns

tWHWL tWPH Write Pulse Width High Min 30 ns

tWHWH1 tWHWH1 Programming Operation (Note 2) Typ 9 µs

tWHWH2 tWHWH2 Sector Erase Operation (Note 2) Typ 0.7 sec

tVCS VCC Setup Time (Note 1) Min 50 µs

tRB Recovery Time from RY/BY# Min 0 ns

tBUSY Program/Erase Valid to RY/BY# Delay Min 90 ns

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

Data A0h PD Status DOUT

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

10 for Chip Erase

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

WE# Erase Erase Suspend Erase Erase Suspend Erase Erase


Read Suspend Read Complete
Program

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

Temporary Sector Unprotect


Parameter

JEDEC Std Description All Speed Options Unit

tVIDR VID Rise and Fall Time (See Note) Min 500 ns

RESET# Setup Time for Temporary Sector


tRSP Min 4 µs
Unprotect

Note: Not 100% tested.

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

Data 60h 60h 40h Status

Sector Protect: 100 µs


1 µs Sector Unprotect: 10 ms

CE#

WE#

OE#

* For sector protect, A6 = 0, A1 = 1, A0 = 0. For sector unprotect, A6 = 1, A1 = 1, A0 = 0.


21524B-24
Figure 21. Sector Protect/Unprotect Timing Diagram

32 Am29LV008B
P R E L I M I N A R Y

AC CHARACTERISTICS
Alternate CE# Controlled Erase/Program Operations
Parameter

JEDEC Std Description 70R 80 90 120 Unit

tAVAV tWC Write Cycle Time (Note 1) Min 70 80 90 120 ns

tAVEL tAS Address Setup Time Min 0 ns

tELAX tAH Address Hold Time Min 45 45 45 50 ns

tDVEH tDS Data Setup Time Min 35 35 45 50 ns

tEHDX tDH Data Hold Time Min 0 ns

tOES Output Enable Setup Time Min 0 ns

Read Recovery Time Before Write


tGHEL tGHEL Min 0 ns
(OE# High to WE# Low)

tWLEL tWS WE# Setup Time Min 0 ns

tEHWH tWH WE# Hold Time Min 0 ns

tELEH tCP CE# Pulse Width Min 35 35 35 50 ns

tEHEL tCPH CE# Pulse Width High Min 30 ns

Programming Operation
tWHWH1 tWHWH1 Typ 9 µs
(Note 2)

tWHWH2 tWHWH2 Sector Erase Operation (Note 2) Typ 0.7 sec

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

ERASE AND PROGRAMMING PERFORMANCE


Parameter Typ (Note 1) Max (Note 2) Unit Comments

Sector Erase Time 0.7 15 s Excludes 00h programming


Chip Erase Time 14 s prior to erasure (Note 4)

Byte Programming Time 9 300 µs


Excludes system level
Chip Programming Time overhead (Note 5)
9 27 s
(Note 3)

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

VCC Current –100 mA +100 mA

Includes all pins except VCC. Test conditions: VCC = 3.0 V, one pin at a time.

TSOP PIN CAPACITANCE


Parameter
Symbol Parameter Description Test Setup Typ Max Unit

CIN Input Capacitance VIN = 0 6 7.5 pF

COUT Output Capacitance VOUT = 0 8.5 12 pF

CIN2 Control Pin Capacitance VIN = 0 7.5 9 pF

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.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.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

REVISION SUMMARY FOR AM29LV008B


Revision B Revision B+1
Distinctive Characteristics Figure 1, In-System Sector Protect/Unprotect
Changed typical read and program/erase current spec- Algorithms
ifications. In the sector protect algorithm, added a “Reset
PLSCNT=1” box in the path from “Protect another sec-
Device now has a guaranteed minimum endurance of
tor?” back to setting up the next sector address.
1,000,000 write cycles.
DC Characteristics
Figure 1, In-System Sector Protect/Unprotect
Algorithm Changed Note 1 to indicate that OE# is at VIH for the
listed current.
Corrected A6 to 0, Changed wait specification to 150
µs on sector protect and 15 ms on sector unprotect. AC Characteristics:
DC Characteristics Erase/Program Operations; Alternate CE# Controlled
Erase/Program Operations: Corrected the notes refer-
Changed typical read and program/erase current spec-
ence for tWHWH1 and tWHWH2. These parameters are
ifications.
100% tested. Corrected the note reference for tVCS.
AC Characteristics This parameter is not 100% tested.
Alternate CE# Controlled Erase/Program Operations: Temporary Sector Unprotect Table
Changed t CP to 35 ns for 70R, 80, and 90 speed
Added note reference for tVIDR. This parameter is not
options.
100% tested.
Erase and Programming Performance
Figure 21, Sector Protect/Unprotect Timing
Device now has a guaranteed minimum endurance of Diagram
1,000,000 write cycles.
A valid address is not required for the first write cycle;
only the data 60h.
Erase and Programming Performance
In Note 2, the worst case endurance is now 1 million cy-
cles.

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

Вам также может понравиться