— Uniform sectors of 64 Kbytes each
— Any combination of sectors can be erased.
Also supports full chip erase.
■
Sector protection
— Hardware method that disables any combination
of sectors from write or erase operations
■
Embedded Erase Algorithms
— Automatically preprograms and erases the chip
or any combination of sectors
■
Embedded Program Algorithms
— Automatically programs and verifies data at
specified address
■
Data
Polling and T oggle Bit f eature for detection
of program or erase cycle completion
■
Erase suspend/resume
— Supports reading data from a sector not being
erased
■
Low power consumption
— 20 mA typical active read current
— 30 mA typical program/erase current
■
Enhanced power management for standby
mode
— <1 µA typical standby current
— Standard access time from standby mode
GENERAL DESCRIPTION
The Am29F040 is a 4 Mbit, 5.0 Volt-only Flash memory
organized as 512 Kbytes of 8 bits each. The Am29F040
is offered in a 32-pin package. This device is designed
to be programmed in-system with the standard system
5.0 V VCC supply. A 12.0 V VPP is not required for
write or erase operations. The device can also be
reprogrammed in standard EPROM programmers .
The standard Am29F040 offers access times between
55 ns and 150 ns, allowing operation of high-speed
microprocessors without wait states. To eliminate bus
contention the device has separate chip enable (CE
write enable (WE
The Am29F040 is entirely command set compatible
with the JEDEC single-power-supply Flash standard.
Commands are written to the command register using
standard microprocessor write timings. Register contents serve as input to an internal state machine
) and output enable (OE) controls.
which controls the erase and programming circuitry.
Write cycles also internally latch addresses and data
needed for the programming and erase operations.
Reading data out of the device is similar to reading
from 12.0 Volt Flash or EPROM devices.
The Am29F040 is programmed by executing the program command sequence. This will inv oke the Embedded Program Algorithm which is an internal algorithm
that automatically times the program pulse widths and
verifies proper cell margin. Typically, each sector can
be programmed and verified in less than one second.
),
Erase is accomplished by executing the erase command sequence. This will invoke the Embedded Erase
Algorithm which is an internal algorithm that automatically preprograms the array if it is not already programmed before e x ecuting the er ase operation. During
erase, the device automatically times the erase pulse
widths and verifies proper cell margin.
Publication# 17113 Rev: E Amendment/0
Issue Date: November 1996
Any individual sector is typically erased and verified in
1.0 seconds (if already completely preprogrammed).
This device also features a sector erase architecture.
The sector mode allows for 64K byte b loc ks of memory
to be erased and reprogrammed without affecting
other blocks. The Am29F040 is erased when shipped
from the factory.
The device features single 5.0 V power supply operation for both read and write functions. Internally generated and regulated voltages are provided for the
program and erase operations. A low VCC detector
automatically inhibits write operations on the loss of
power . The end of progr am or erase is detected by Data
Polling of DQ7 or by the Toggle Bit feature on DQ6.
Once the end of a program or erase cycle has been
completed, the device internally resets to the read
mode.
AMD’s Flash technology combines years of EPROM
2
and E
PROM experience to produce the highest lev els
of quality, reliability and cost effectiveness. The
Am29F040 memory electrically erases the entire chip
or all bits within a sector simultaneously via FowlerNordheim tunneling. The bytes are programmed one
byte at a time using the EPROM programming
mechanism of hot electron injection.
Flexible Sector-Erase Architecture
■
Eight 64 Kbyte sectors
■
Individual-sector, multiple-sector, or bulk-erase
capability
■
Individual or multiple-sector protection is user
definable
7FFFFh
6FFFFh
64 Kbytes per Sector
5FFFFh
4FFFFh
3FFFFh
2FFFFh
1FFFFh
0FFFFh
00000h
17113E-1
2Am29F040
PRODUCT SELECTOR GUIDE
Family Part No:Am29F040
Ordering Part No: VCC = 5.0 V ± 5%
VCC = 5.0 V ± 10%
Max Access Time (ns)557090120150
(E) Access (ns)557090120150
CE
OE (G) Access (ns)2530355055
-55
-70-90-120-150
BLOCK DIAGRAM
DQ0–DQ7
V
CC
V
SS
Erase V oltage
Generator
Input/Output
Buffers
A0–A18
WE
CE
OE
State
Control
Command
Register
V
Detector
CC
PGM V oltage
Generator
Timer
Chip Enable
Output Enable
STB
Logic
Y-Decoder
Address Latch
STB
Data Latch
Y-Gating
Cell MatrixX-Decoder
17113E-2
Am29F0403
CONNECTION DIAGRAMS
PDIPPLCC
A18
A16
A15
A12
DQ0
DQ1
DQ2
V
A11
A9
A8
A13
A14
A17
WE
V
CC
A18
A16
A15
A12
A7
A6
A5
A4
A7
A6
A5
A4
A3
A2
A1
A0
SS
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
V
CC
WE
A17
A14
A13
A8
A9
A11
OE
A10
CE
DQ7
DQ6
DQ5
DQ4
DQ3
Valid Combinations list configurations planned to be supported in volume for this device. Consult the local AMD sales
office to confirm availability of specific valid combinations and
to check on newly released combinations.
L = Logic 0, H = Logic 1, X = Don’t Care. See DC Characteristics for voltage levels.
Notes:
1. Manufacturer and device codes may also be accessed via a command register write sequence. Refer to Tables 2 and 4.
2. Refer to Table 3 for valid PD (Program Data) during a write operation.
3. Refer to the section on Sector Protection.
4. WE can be VIL if OE is VIL, OE at VIH initiates the write operations.
Read Mode
The Am29F040 has two control functions which must
be satisfied in order to obtain data at the outputs. CE
the power control and should be used for de vice selection. OE is the output control and should be used to
gate data to the output pins if a device is selected.
Address access time (t
) is equal to the delay from
ACC
stable addresses to valid output data. The chip enable
access time (tCE) is the delay from stable addresses and
stable CE
to valid data at the output pins. The output enable access time is the delay from the f alling edge of OE
to valid data at the output pins (assuming the addresses
have been stable for at least t
ACC–tOE
time).
Standby Mode
The Am29F040 has two standby modes, a CMOS
standby mode (CE
input held at V
current consumed is less than 5 µA; and a TTL standb y
mode (CE
is held at V
) when the current required is
IH
reduced to approximately 1 mA. In the standby mode
the outputs are in a high impedance state, independent
of the OE
input.
If the device is deselected during erasure or programming, the device will draw active current until the
operation is completed.
± 0.5 V), when the
CC
OEWEA0A1A6A9I/O
ID
ID
ID
Output Disable
is
With the OE
input at a logic high level (V
the device is disabled. This will cause the output pins to
be in a high impedance state.
), output from
IH
Autoselect
The autoselect mode allows the reading out of a binary
code from the device and will identify its manufacturer
and type. This mode is intended for use b y programming
equipment for the purpose of automatically matching the
device to be programmed with its corresponding programming algorithm. This mode is functional over the
entire temperature range of the device.
To activate this mode, the programming equipment
must force VID
Two identifier bytes may then be sequenced from the
device outputs by toggling address A0 from VIL to VIH.
All addresses are don’t cares except A0, A1, and A6.
The manufacturer and device codes may also be read
via the command register, for instances when the
Am29F040 is erased or programmed in a system without access to high voltage on the A9 pin. The command
sequence is illustrated in Table 4 (refer to Autoselect
Command section).
Byte 0 (A0 = VIL) represents the manufacturer’s code
(11.5 V to 12.5 V) on address pin A9.
Code
Code
Code
(AMD = 01H) and byte 1 (A0 = VIH) the device identifier
code (Am29F040 = A4H). All identifiers for manufacturer and device exhibit odd parity with the MSB (DQ7)
defined as the parity bit. See Table 2.
Device erasure and programming are accomplished
via the command register. The contents of the register
serve as inputs to the internal state machine. The state
machine outputs dictate the function of the device.
The command register itself does not occupy any
addressable memory location. The register is a latch
used to store the commands, along with the address
and data information needed to execute the command.
The command register is written by bringing WE
while CE
is at V
latched on the falling edge of WE
and OE
IL
is at V
. Addresses are
IH
or CE, whichever
happens later; while data is latched on the rising edge
of WE or CE, whichever happens first. Standard
microprocessor write timings are used.
Refer to AC Write Characteristics and the Erase/
Programming W av eforms for specific timing par ameters.
to V
IL
Sector Protection
The Am29F040 features hardware sector protection.
This feature will disable both program and erase
operations in any number of sectors (0 through 8). The
sector protect feature is enabled using programming
equipment at the user’s site. The device is shipped with
all sectors unprotected. Alternatively, AMD may program and protect sectors in the factory prior to shipping
the device (AMD’s ExpressFlash™ Service).
It is also possible to determine if a sector is protected
in the system by writing an Autoselect command.
Performing a read operation at the address location
XX02H, where the higher order addresses (A16,
A17, and A18) are used to select the desired sector.
The device produces a logical “1” at DQ0 for a protected sector and a logical “0” for an unprotected
sector. See Table 2 for Autoselect codes.
Sector Unprotect
The Am29F040 also features a sector unprotect mode
so that a protected sector may be unprotected to
incorporate any changes in the code. The sector unprotect is enabled using programming equipment at the
user’s site.
,
Command Definitions
Device operations are selected by writing specific address and data sequences into the command register.
Writing incorrect address and data values or writing
them in the improper sequence will reset the device to
read mode. Table 4 defines the valid register command
sequences. Note that the Erase Suspend (B0) and
Erase Resume (30) commands are valid only while the
Sector Erase operation is in progress. Either of the two
reset commands will reset the device (when applicable).
Byte Program45555HAAH 2AAAH 55H 5555H A0HPAPD
Chip Erase65555HAAH 2AAAH 55H 5555H 80H 5555HAAH2AAAH 55H 5555H 10H
Sector Erase65555HAAH 2AAAH 55H 5555H 80H 5555HAAH2AAAH 55HSA30H
Sector Erase SuspendErase can be suspended during sector erase with Addr (don’t care), Data (B0H)
Sector Erase ResumeErase can be resumed after suspend with Addr (don’t care), Data (30H)
Notes:
1. Address bits A15, A16, A17, and A18 = X = Don’t Care for all address commands except for Program Address (PA), Sector
Address (SA), Read Address (RA), and autoselect sector protect verify.
2. Bus operations are defined in Table 1.
3. RA = Address of the memory location to be read.
PA = Address of the memory location to be programmed. Addresses are latched on the falling edge of the WE pulse.
SA = Address of the sector to be erased. The combination of A18, A17, A16 will uniquely select any sector (see Table 3).
4. RD = Data read from location RA during read operation.
PD = Data to be programmed at location PA. Data is latched on the rising edge of WE
5. Read from non-erasing sectors is allowed in the Erase Suspend mode.
Write
Cycles
Req’ d
First Bus
Write Cycle
AddrDataAddrDataAddrDataAddrDataAddrDataAddrData
Second Bus
Write Cycle
Third Bus
Write Cycle
Fourth Bus
Read/Write
Cycle
00H01H
01HA4H
.
Fifth Bus
Write Cycle
Sixth Bus
Write Cycle
Read/Reset Command
The read or reset operation is initiated by writing the
read/reset command sequence into the command register. Microprocessor read cycles retr ieve array data
from the memory. The device remains enabled for
reads until the command register contents are altered.
The device will automatically power-up in the read/
reset state. In this case, a command sequence is not
required to read data. Standard microprocessor read
cycles will retrieve array data. This default value ensures that no spurious alteration of the memory content
occurs during the power transition. Refer to the AC
Read Characteristics and Waveforms for the specific
timing parameters.
Autoselect Command
Flash memories are intended for use in applications
where the local CPU alters memory contents. As such,
manufacture and device codes must be accessible
while the device resides in the target system. PROM
programmers typically access the signature codes by
raising A9 to a high voltage. Howev er , multiple xing high
voltage onto the address lines is not generally desired
system design practice.
The device contains a command autoselect operation
to supplement traditional PROM programming methodology. The operation is initiated by writing the autoselect command sequence into the command register.
Following the command write, a read cycle from address XX00H retrieves the manuf acture code of 01H. A
read cycle from address XX01H returns the device
code A4H (see Table 2). All manufacturer and device
codes will exhibit odd parity with the MSB (DQ7)
defined as the parity bit.
Scanning the sector addresses (A16, A17, A18) while
(A6, A1, A0) = (0, 1, 0) will produce a logical “1” at
device output DQ0 for a protected sector.
To ter minate the operation, it is necessar y to wr ite the
read/reset command sequence into the register.
Byte Programming
The device is programmed on a byte-by-byte basis.
Programming is a four bus cycle operation. There are
two “unlock” write cycles. These are followed by the
program setup command and data write cycles. Addresses are latched on the falling edge of CE or WE,
whichever happens later and the data is latched on the
rising edge of CE or WE, whichever happens first. The
Am29F0409
rising edge of CE or WE (whichever happens first)
begins programming. Upon executing the Embedded
Program Algorithm command sequence the system is
not
required to provide further controls or timings. The
device will automatically provide adequate internally
generated program pulses and verify the programmed
cell margin.
The automatic programming operation is completed
when the data on DQ7 is equivalent to data written to
this bit (see Write Operation Status section) at which
time the device returns to the read mode and addresses are no longer latched. Therefore, the device
requires that a valid address to the device be supplied
by the system at this particular instance of time. Hence,
Polling must be perf ormed at the memory location
Data
which is being programmed.
Any commands written to the chip during this period
will be ignored.
Programming is allowed in any sequence and across
sector boundaries. Beware that a data “0” cannot be
programmed back to a “1”. Attempting to do so may
cause the device to exceed programming time limits
(DQ5 = 1) or result in an apparent success, according
to the data polling algorithm, but a read from reset/read
mode will show that the data is still “0”. Only erase
operations can convert “0”s to “1”s.
Figure 1 illustrates the Embedded Programming Algorithm
using typical command strings and bus operations.
Chip Erase
Chip erase is a six bus cycle operation. There are two
“unlock” write cycles. These are followed by writing the
“setup” command. Two more “unlock” write cycles are
then followed by the chip erase command.
Chip erase does
device prior to erase. Upon executing the Embedded
Erase Algorithm command sequence the device automatically will program and verify the entire memory for
an all zero data pattern prior to electrical erase. The
chip erase is performed sequentially one sector at a
time. The system is not required to provide any controls
or timings during these operations.
The automatic erase begins on the rising edge of the
last WE pulse in the command sequence and terminates when the data on DQ7 is “1” (see Write Operation
Status section) at which time the device returns to read
the mode.
Figure 2 illustrates the Embedded Erase Algorithm
using typical command strings and bus operations.
not
require the user to program the
Sector Erase
Sector erase is a six bus cycle operation. There are two
“unlock” write cycles. These are followed by writing the
“setup” command. Two more “unlock” write cycles are
then followed b y the sector erase command. The sector
address (any address location within the desired sector)
is latched on the falling edge of WE , while the command
(data) is latched on the rising edge of WE. A time-out
of 80 µs from the rising edge of the last sector erase
command will initiate the sector erase command(s).
Multiple sectors may be erased concurrently by writing
the six bus cycle operations as described above. This
sequence is followed with writes of the Sector Erase
command to addresses in other sectors desired to be
concurrently erased. The time between wr ites must be
less than 80 µs, otherwise that command will not be accepted. It is recommended that processor interrupts be
disabled during this time to guarantee this condition.
The interrupts can be re-enabled after the last Sector
Erase command is written. A time-out of 80 µs from the
rising edge of the last WE
the Sector Erase command(s). If another f alling edge of
the WE occurs within the 80 µs time-out window the
timer is reset. (Monitor DQ3 to determine if the sector
erase window is still open, see section DQ3, Sector
Erase Timer.) Any command other than Sector Erase
or Erase Suspend during this period resets the device
to read mode, ignoring the previous command string. In
that case, restart the erase on those sectors and allow
them to complete. (Refer to the Write Operation Status
section for Sector Erase Timer operation.) Loading the
sector erase buffer may be done in any sequence and
with any number of sectors (1 to 8).
Sector erase does
device prior to erase. The device automatically
programs all memory locations in the sector(s) to be
erased prior to electrical erase. When erasing a sector
or sectors the remaining unselected sectors are not
affected. The system is
controls or timings during these operations.
The automatic sector erase begins after the 80 µs time
out from the rising edge of the WE pulse for the last
sector erase command pulse and terminates when the
data on DQ7 is “1" (see Write Operation Status section)
at which time the device returns to read mode.
the execution of the Sector Erase command, only the
Erase Suspend and Erase Resume commands are
allowed. All other commands will be ignored.
ing must be performed at an address within any of the
sectors being erased.
Figure 2 illustrates the Embedded Erase Algorithm
using typical command strings and bus operations.
will initiate the execution of
not
require the user to program the
not
required to provide any
Data poll-
During
10Am29F040
Loading...
+ 23 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.