Am29F160D: Data Sheet
Am29F160D: Data Sheet
Data Sheet
July 2003 The following document specifies Spansion memory products that are now offered by both Advanced Micro Devices and Fujitsu. Although the document is marked with the name of the company that originally developed the specification, these products will be offered to customers of both AMD and Fujitsu.
Continuity of Specifications
There is no change to this datasheet as a result of offering the device as a Spansion product. Any changes that have been made are the result of normal datasheet improvement and are noted in the document revision summary, where supported. Future routine revisions will occur when appropriate, and changes will be noted in a revision summary.
Am29F160D
16 Megabit (2 M x 8-Bit/1 M x 16-Bit) CMOS 5.0 Volt-only, Boot Sector Flash Memory
DISTINCTIVE CHARACTERISTICS
s 5.0 Volt single power supply operation Minimizes system-level power requirements s High performance Access times as fast as 70 ns s Manufactured on 0.25 m process technology s CFI (Common Flash Interface) compliant Provides device-specific information to the system, allowing host software to easily reconfigure for different Flash devices s Ultra low power consumption (typical values at 5 MHz) 15 mA typical active read current 35 mA typical erase/program current 300 nA typical standby mode current s Flexible sector architecture One 16 Kbyte, two 8 Kbyte, one 32 Kbyte, and thirty-one 64 Kbyte sectors (byte mode) One 8 Kword, two 4 Kword, one 16 Kword, and thirty-one 32 Kword sectors (word mode) Supports full chip erase Sector Protection features: Hardware method of locking a sector to prevent program or erase operations within that sector Sectors can be locked in-system or via programming equipment Temporary Sector Unprotect feature allows code changes in previously locked sectors s Top boot or bottom boot configurations available s Minimum 1,000,000 write cycle guarantee per sector s 20-year data retention at 125C Reliable operation for the life of the system s Package options 48-pin TSOP s Compatibile with JEDEC standards Pinout and software compatible with singlepower supply Flash Superior inadvertent write protection s Embedded Algorithms Embedded Erase algorithm automatically preprograms and erases the entire chip or any combination of designated sectors Embedded Program algorithm automatically writes and verifies data at specified addresses s Erase Suspend/Erase Resume Suspends an erase operation to read data from, or program data to, a sector that is not being erased, then resumes the erase operation s Data# Polling and toggle bits Provides a software method of detecting program or erase operation completion s Unlock Bypass Program command Reduces overall programming time when issuing multiple program command sequences s Ready/Busy# pin (RY/BY#) Provides a hardware method of detecting program or erase cycle completion s Hardware reset pin (RESET#) Hardware method to reset the device for reading array data s WP# input pin At VIL, protects the 16 Kbyte boot sector, regardless of sector protect/unprotect status At VIH, allows removal of boot sector protection s Program and Erase Performance Sector erase time: 1 s typical for each 64 Kbyte sector Byte program time: 7 s typical
GENERAL DESCRIPTION
The Am29F160D is a 16 Mbit, 5.0 Volt-only Flash memory device organized as 2,097,152 bytes or 1,048,576 words. Data appears on DQ0-DQ7 or DQ0DQ15 depending on the data width selected. The device is designed to be programmed in-system with the standard system 5.0 volt VCC supply. A 12.0 volt VPP is not required for program or erase operations. The device can also be programmed in standard EPROM programmers. The device offers access times of 70, 90, and 120 ns, allowing high speed microprocessors to operate without wait states. The device is offered in a 48-pin TSOP package. To eliminate bus contention each device has separate chip enable (CE#), write enable (WE#) and output enable (OE#) controls. Each device requires only a single 5.0 volt power supply for both read and write functions. Internally generated and regulated voltages are provided for the program and erase operations. The device is entirely command set compatible with the JEDEC single-power-supply Flash standard. Commands are written to the command register using standard microprocessor write timing. Register contents serve as inputs to an internal state-machine that 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 other Flash or EPROM devices. Device programming occurs by executing the program command sequence. This initiates the Embedded Program algorithman internal algorithm that automatically times the program pulse widths and verifies proper cell margin. The Unlock Bypass mode facilitates faster programming times by requiring only two write cycles to program data instead of four. Device erasure occurs by executing the erase command sequence. This initiates the Embedded Erase algorithman internal algorithm that automatically preprograms the array (if it is not already programmed) before executing the erase operation. During erase, the device automatically times the erase pulse widths and verifies proper cell margin. The host system can detect whether a program or erase operation is complete by observing the RY/BY# pin, by reading the DQ7 (Data# Polling), or DQ6 (toggle) status bits. After a program or erase cycle has been completed, the device is ready to read array data or accept another command. The sector erase architecture allows memory sectors to be erased and reprogrammed without affecting the data contents of other sectors. The device is fully erased when shipped from the factory. Hardware data protection measures include a low VCC detector that automatically inhibits write operations during power transitions. The hardware sector protection feature disables both program and erase operations in any combination of sectors of memory. This can be achieved in-system or via programming equipment. The Write Protect (WP#) feature protects the 16 Kbyte boot sector by asserting a logic low on the WP# pin, whether or not the sector had been previously protected. The Erase Suspend/Erase Resume feature enables the user to put erase on hold for any period of time to read data from, or program data to, any sector that is not selected for erasure. True background erase can thus be achieved. The hardware RESET# pin terminates any operation in progress and resets the internal state machine to reading array data. The RESET# pin may be tied to the system reset circuitry. A system reset would thus also reset the device, enabling the system microprocessor to read boot-up firmware from the Flash memory device. The device offers a standby mode as a power-saving feature. Once the system places the device into the standby mode power consumption is greatly reduced. AMDs Flash technology combines years of Flash memory manufacturing experience to produce the highest levels of quality, reliability and cost effectiveness. The device electrically erases all bits within a sector simultaneously via Fowler-Nordheim tunnelling. The data is programmed using hot electron injection.
Am29F160D
TABLE OF CONTENTS
Product Selector Guide . . . . . . . . . . . . . . . . . . . . . Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connection Diagrams . . . . . . . . . . . . . . . . . . . . . . Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . Logic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ordering Information . . . . . . . . . . . . . . . . . . . . . . . Device Bus Operations . . . . . . . . . . . . . . . . . . . . . Word/Byte Configuration .......................................................... Requirements for Reading Array Data ..................................... Writing Commands/Command Sequences .............................. Program and Erase Operation Status ...................................... Standby Mode .......................................................................... Automatic Sleep Mode ............................................................. RESET#: Hardware Reset Pin ................................................. Output Disable Mode................................................................ 4 4 5 6 6 7 8 8 8 9 9 9 9 9 9
Figure 5. Data# Polling Algorithm .................................................. 23
RY/BY#: Ready/Busy#............................................................ DQ6: Toggle Bit I .................................................................... DQ2: Toggle Bit II ................................................................... Reading Toggle Bits DQ6/DQ2............................................... DQ5: Exceeded Timing Limits ................................................ DQ3: Sector Erase Timer .......................................................
24 24 24 24 25 25
Table 2. Am29F160DT Sector Address Table (Top Boot) .............. 10 Table 3. Am29F160DB Sector Address Table (Bottom Boot)......... 11
Operating Ranges . . . . . . . . . . . . . . . . . . . . . . . . . 27 DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . 28 TTL/NMOS Compatible .......................................................... 28 CMOS Compatible.................................................................. 29 Test Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 9. Test Setup....................................................................... 30 Table 11. Test Specifications ......................................................... 30
Autoselect Mode..................................................................... 12
Table 4. Am29F160D Autoselect Codes (High Voltage Method).... 12
Reading Array Data ................................................................ Reset Command..................................................................... Autoselect Command Sequence ............................................ Word/Byte Program Command Sequence .............................
18 18 19 19
Chip Erase Command Sequence ........................................... 20 Sector Erase Command Sequence ........................................ 20 Erase Suspend/Erase Resume Commands........................... 21
Figure 4. Erase Operation............................................................... 21
Latchup Characteristics . . . . . . . . . . . . . . . . . . . . 42 TSOP and SO Pin Capacitance . . . . . . . . . . . . . . 42 Data Retention. . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Physical Dimensions . . . . . . . . . . . . . . . . . . . . . . 43 TSR04848-Pin Reverse Thin Small Outline Package......... 44 Revision Summary . . . . . . . . . . . . . . . . . . . . . . . . 45 Revision A (January 1999) ..................................................... 45 Revision B (June 14, 1999) .................................................... 45 Revision B+1 (July 7, 1999).................................................... 45 Revision B+2 (July 14, 1999).................................................. 45 Revision B+3 (July 30, 1999).................................................. 45 Revision B+4 (September 10, 1999) ...................................... 45 Revision C (November 16, 1999) ........................................... 45 Revision D (December 4, 2000) ............................................. 45
Am29F160D
BLOCK DIAGRAM
RY/BY# VCC VSS RESET# Erase Voltage Generator Input/Output Buffers Sector Switches DQ0DQ15 (A-1)
PGM Voltage Generator Chip Enable Output Enable Logic STB Data Latch
CE# OE#
Y-Decoder
Y-Gating
X-Decoder
Cell Matrix
A0A19
Am29F160D
CONNECTION DIAGRAMS
A15 A14 A13 A12 A11 A10 A9 A8 A19 NC WE# RESET# NC WP# RY/BY# A18 A17 A7 A6 A5 A4 A3 A2 A1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25
A16 BYTE# VSS DQ15/A-1 DQ7 DQ14 DQ6 DQ13 DQ5 DQ12 DQ4 VCC DQ11 DQ3 DQ10 DQ2 DQ9 DQ1 DQ8 DQ0 OE# VSS CE# A0
A16 BYTE# VSS DQ15/A-1 DQ7 DQ14 DQ6 DQ13 DQ5 DQ12 DQ4 VCC DQ11 DQ3 DQ10 DQ2 DQ9 DQ1 DQ8 DQ0 OE# VSS CE# A0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25
A15 A14 A13 A12 A11 A10 A9 A8 A19 NC WE# RESET# NC WP# RY/BY# A18 A17 A7 A6 A5 A4 A3 A2 A1
Am29F160D
PIN CONFIGURATION
A0A19 = 20 address inputs DQ0DQ14 = 15 data inputs/outputs DQ15/A-1 BYTE# CE# OE# WE# WP# RESET# RY/BY# VCC = DQ15 (data input/output, word mode), A-1 (LSB address input, byte mode) = Select input for 8-bit or 16-bit mode = Chip Enable input = Output Enable input = Write Enable input = Write Protect input = Hardware reset input = Ready/Busy# output = +5.0 V single power supply (see Product Selector Guide for device speed ratings and voltage supply tolerances) = Device ground = Pin not connected internally
LOGIC SYMBOL
20 A0A19 DQ0DQ15 (A-1) CE# OE# WE# WP# RESET# BYTE# RY/BY# 16 or 8
VSS NC
Am29F160D
Am29F160D 16 Megabit (2 M x 8-Bit/1 M x 16-Bit) CMOS Boot Sector Flash Memory 5.0 Volt-only Read, Program and Erase
Valid Combinations Order Number AM29F160DT75, AM29F160DB75 AM29F160DT90, AM29F160DB90 AM29F160DT120, AM29F160DB120 EC, EI, FC, FI
Valid Combinations
Speed (ns) 70
90
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.
5.0 V 10%
120
Am29F160D
Table 1.
Operation Read Write Standby Output Disable Reset Sector Protect (Note 2) Sector Unprotect (Note 2) Temporary Sector Unprotect
OE# WE# L H X H X H H L X H X L
L X
H X
L X
X (Note 3)
VID VID
DIN DIN
X DIN
X High-Z
Legend: L = Logic Low = VIL, H = Logic High = VIH, VID = 12.0 0.5 V, X = Dont Care, AIN = Address In, DIN = Data In, DOUT = Data Out Notes: 1. Addresses are A19:A0 in word mode (BYTE# = VIH), A19:A-1 in byte mode (BYTE# = VIL). 2. The sector protect and sector unprotect functions may also be implemented via programming equipment. See the Sector Protection/Unprotection section. 3. The 16 Kbyte boot sector is protected when WP# = VIL. 4. In CMOS mode, WP# must be at VCC0.5 V or left floating.
Word/Byte Configuration
The BYTE# pin controls whether the device data I/O pins DQ15DQ0 operate in the byte or word configuration. If the BYTE# pin is set at logic 1, the device is in word configuration, DQ15DQ0 are active and controlled by CE# and OE#. If the BYTE# pin is set at logic 0, the device is in byte configuration, and only data I/O pins DQ0DQ7 are active and controlled by CE# and OE#. The data I/O pins DQ8DQ14 are tri-stated, and the DQ15 pin is used as an input for the LSB (A-1) address function.
control and selects the device. OE# is the output control and gates array data to the output pins. WE# should remain at VIH. The internal state machine is set for reading array data upon device power-up, or after a hardware reset. This ensures that no spurious alteration of the memory content occurs during the power transition. No command is necessary in this mode to obtain array data. Standard microprocessor read cycles that assert valid addresses on the device address inputs produce valid data on the device data outputs. The device remains enabled for read access until the command register contents are altered. See Reading Array Data for more information. Refer to the AC Read Operations table for timing specifica-
Am29F160D
tions and to the Read Operations Timings diagram for the timing waveforms. ICC1 in the DC Characteristics table represents the active current specification for reading array data.
The device also enters the standby mode when the RESET# pin is driven low. Refer to the next section, RESET#: Hardware Reset Pin. If the device is deselected during erasure or programming, the device draws active current until the operation is completed. In the DC Characteristics tables, ICC3 represents the standby current specification.
Standby Mode
When the system is not reading or writing to the device, it can place the device in the standby mode. In this mode, current consumption is greatly reduced, and the outputs are placed in the high impedance state, independent of the OE# input. The device enters the CMOS standby mode when the CE# and RESET# are held at VCC 0.5 V. (Note that this is a more restricted voltage range than VIH.) WP# must also either be held at VCC 0.5 V or left floating. The device enters the TTL standby mode when CE# and RESET# pins are both held at VIH. The device requires standard access time (tCE) for read access when the device is in either of these standby modes, before it is ready to read data.
Am29F160D
Table 2.
Sector SA0 SA1 SA2 SA3 SA4 SA5 SA6 SA7 SA8 SA9 SA10 SA11 SA12 SA13 SA14 SA15 SA16 SA17 SA18 SA19 SA20 SA21 SA22 SA23 SA24 SA25 SA26 SA27 SA28 SA29 SA30 SA31 SA32 SA33 SA34
A19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
A18 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1
A17 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1
A16 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 1 1 1
A15 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1
A14 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 0 1 1 1
A13 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 0 0 1
A12 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 0 1 X
Note: Address range is A19:A-1 in byte mode and A19:A0 in word mode. See Word/Byte Configuration section.
10
Am29F160D
Table 3.
Sector SA0 SA1 SA2 SA3 SA4 SA5 SA6 SA7 SA8 SA9 SA10 SA11 SA12 SA13 SA14 SA15 SA16 SA17 SA18 SA19 SA20 SA21 SA22 SA23 SA24 SA25 SA26 SA27 SA28 SA29 SA30 SA31 SA32 SA33 SA34
A19 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
A18 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
A17 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
A16 0 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
A15 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
A14 0 0 0 1 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
A13 0 1 1 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
A12 X 0 1 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
Note: Address range is A19:A-1 in byte mode and A19:A0 in word mode. See the Word/Byte Configuration section.
Am29F160D
11
Autoselect Mode
The autoselect mode provides manufacturer and device identification, and sector protection verification, through identifier codes output on DQ7DQ0. This mode is primarily intended for programming equipment to automatically match a device to be programmed with its corresponding programming algorithm. However, the autoselect codes can also be accessed in-system through the command register. When using programming equipment, the autoselect mode requires VID (11.5 V to 12.5 V) on address pin A9. Address pins A6, A1, and A0 must be as shown in Autoselect Codes (High Voltage Method) table. In addition, when verifying sector protection, the sector address must appear on the appropriate highest order address bits. Refer to the corresponding Sector Address Tables. The Command Definitions table shows the remaining address bits that are dont care. When all necessary bits have been set as required, the programming equipment may then read the corresponding identifier code on DQ7DQ0. To access the autoselect codes in-system, the host system can issue the autoselect command via the command register, as shown in the Command Definitions table. This method does not require VID. See Command Definitions for details on using the autoselect mode.
Table 4.
Description
Mode
CE# L
OE# L L L L L
WE# H H H H H
A9 VID
A6 L
A1 L
A0 L
Manufacturer ID: AMD Device ID: Am29F160D (Top Boot Block) Device ID: Am29F160D (Bottom Boot Block) Word Byte Word Byte
L L L L
SA
VID
L X
L = Logic Low = VIL, H = Logic High = VIH, SA = Sector Address, X = Dont care.
Sector Protection/Unprotection
The hardware sector protection feature disables both program and erase operations in any sector. The hardware sector unprotection feature re-enables both program and erase operations in previously protected sectors. The device is shipped with all sectors unprotected. AMD offers the option of programming and protecting sectors at its factory prior to shipping the device through AMDs ExpressFlash Service. Contact an AMD representative for details. It is possible to determine whether a sector is protected or unprotected. See Autoselect Mode for details. Sector protection/unprotection can be implemented via two methods.
The primary method requires VID on the RESET# pin only, and can be implemented either in-system or via programming equipment. Figure 2 shows the algorithms and Figure 20 shows the timing diagram. This method uses standard microprocessor bus cycle timing. For sector unprotect, all unprotected sectors must first be protected prior to the first sector unprotect write cycle. The alternate method intended only for programming equipment requires VID on address pin A9 and OE#. This method is compatible with programmer routines written for earlier 5.0 volt-only AMD flash devices. Details on this method are provided in a supplement, publication number 22289. Contact an AMD representative to request a copy.
12
Am29F160D
RESET# = VIH
Notes: 1. All protected sectors unprotected. Boot sector remains protected if WP# is low. 2. All previously protected sectors are protected once again.
Figure 1.
Am29F160D
13
START PLSCNT = 1 RESET# = VID Wait 1 s Protect all sectors: The indicated portion of the sector protect algorithm must be performed for all unprotected sectors prior to issuing the first sector unprotect address
No
First Write Cycle = 60h? Yes Set up sector address Sector Protect: Write 60h to sector address with A6 = 0, A1 = 1, A0 = 0 Wait 150 s Verify Sector Protect: Write 40h to sector address with A6 = 0, A1 = 1, A0 = 0 Read from sector address with A6 = 0, A1 = 1, A0 = 0 No
No First Write Cycle = 60h? Yes All sectors protected? Yes Set up first sector address Sector Unprotect: Write 60h to sector address with A6 = 1, A1 = 1, A0 = 0
Increment PLSCNT
Reset PLSCNT = 1
Increment PLSCNT
Yes
No Yes No
Device failed
No
Figure 2.
14
Am29F160D
The system can read CFI information at the addresses given in Tables 58. In word mode, the upper address bits (A7MSB) must be all zeros. To terminate reading CFI data, the system must write the reset command. The system can also write the CFI query command when the device is in the autoselect mode. The device enters the CFI query mode, and the system can read CFI data at the addresses given in Tables 58. The system must write the reset command to return the device to the autoselect mode. For further information, please refer to the CFI Specification and CFI Publication 100, available via the World Wide Web at http://www.amd.com/products/nvd/overview/cfi.html. Alternatively, contact an AMD representative for copies of these documents.
Table 5.
Addresses (Word Mode) 10h 11h 12h 13h 14h 15h 16h 17h 18h 19h 1Ah Addresses (Byte Mode) 20h 22h 24h 26h 28h 2Ah 2Ch 2Eh 30h 32h 34h Data 0051h 0052h 0059h 0002h 0000h 0040h 0000h 0000h 0000h 0000h 0000h
Primary OEM Command Set Address for Primary Extended Table Alternate OEM Command Set (00h = none exists) Address for Alternate OEM Extended Table (00h = none exists)
Am29F160D
15
Table 6.
Addresses (Word Mode) 1Bh 1Ch 1Dh 1Eh 1Fh 20h 21h 22h 23h 24h 25h 26h Addresses (Byte Mode) 36h 38h 3Ah 3Ch 3Eh 40h 42h 44h 46h 48h 4Ah 4Ch Data 0045h 0055h 0000h 0000h 0004h 0000h 000Ah 0000h 0005h 0000h 0004h 0000h
Table 7.
Addresses (Word Mode) 27h 28h 29h 2Ah 2Bh 2Ch 2Dh 2Eh 2Fh 30h 31h 32h 33h 34h 35h 36h 37h 38h 39h 3Ah 3Bh 3Ch Addresses (Byte Mode) 4Eh 50h 52h 54h 56h 58h 5Ah 5Ch 5Eh 60h 62h 64h 66h 68h 6Ah 6Ch 6Eh 70h 72h 74h 76h 78h Data 0015h 0002h 0000h 0000h 0000h 0004h 0000h 0000h 0040h 0000h 0001h 0000h 0020h 0000h 0000h 0000h 0080h 0000h 001Eh 0000h 0000h 0001h
16
Am29F160D
Table 8.
Addresses (Word Mode) 40h 41h 42h 43h 44h 45h 46h 47h 48h Addresses (Byte Mode) 80h 82h 84h 86h 88h 8Ah 8Ch 8Eh 90h
49h
92h
0004h
Am29F160D
17
proper signals to the control pins to prevent unintentional writes when VCC is greater than VLKO. Write Pulse Glitch Protection Noise pulses of less than 5 ns (typical) on OE#, CE# or WE# do not initiate a write cycle. Logical Inhibit Write cycles are inhibited by holding any one of OE# = VIL, CE# = VIH or WE# = VIH. To initiate a write cycle, CE# and WE# must be a logical zero while OE# is a logical one. Power-Up Write Inhibit If WE# = CE# = VIL and OE# = VIH during power up, the device does not accept commands on the rising edge of WE#. The internal state machine is automatically reset to reading array data on power-up.
COMMAND DEFINITIONS
Writing specific address and data commands or sequences into the command register initiates device operations. The Command Definitions table defines the valid register command sequences. Writing incorrect address and data values or writing them in the improper sequence resets the device to reading array data. All addresses are latched on the falling edge of WE# or CE#, whichever happens later. All data is latched on the rising edge of WE# or CE#, whichever happens first. Refer to the appropriate timing diagrams in the AC Characteristics section. See also Requirements for Reading Array Data in the Device Bus Operations section for more information. The Read Operations table provides the read parameters, and Read Operation Timings diagram shows the timing diagram.
Reset Command
Writing the reset command to the device resets the device to reading array data. Address bits are dont care for this command. The reset command may be written between the sequence cycles in an erase command sequence before erasing begins. This resets the device to reading array data. Once erasure begins, however, the device ignores reset commands until the operation is complete. The reset command may be written between the sequence cycles in a program command sequence before programming begins. This resets the device to reading array data (also applies to programming in Erase Suspend mode). Once programming begins, however, the device ignores reset commands until the operation is complete. The reset command may be written between the sequence cycles in an autoselect command sequence. Once in the autoselect mode, the reset command must be written to return to reading array data (also applies to autoselect during Erase Suspend). If DQ5 goes high during a program or erase operation, writing the reset command returns the device to reading array data (also applies during Erase Suspend).
18
Am29F160D
margin. The Command Definitions take shows the address and data requirements for the byte program command sequence. When the Embedded Program algorithm is complete, the device then returns to reading array data and addresses are no longer latched. The system can determine the status of the program operation by using DQ7, DQ6, or RY/BY#. See Write Operation Status for information on these status bits. Any commands written to the device during the Embedded Program Algorithm are ignored. Note that a hardware reset immediately terminates the programming operation. The program command sequence should be reinitiated once the device has reset to reading array data, to ensure data integrity. Programming is allowed in any sequence and across sector boundaries. A bit cannot be programmed from a 0 back to a 1. Attempting to do so may halt the operation and set DQ5 to 1, or cause the Data# Polling algorithm to indicate the operation was successful. However, a succeeding read will show that the data is still 0. Only erase operations can convert a 0 to a 1. Unlock Bypass Command Sequence The unlock bypass feature allows the system to program words to the device faster than using the standard program command sequence. The unlock bypass command sequence is initiated by first writing two unlock cycles. This is followed by a third write cycle containing the unlock bypass command, 20h. The device then enters the unlock bypass mode. A two-cycle unlock bypass program command sequence is all that is required to program in this mode. The first cycle in this sequence contains the unlock bypass program command, A0h; the second cycle contains the program address and data. Additional data is programmed in the same manner. This mode dispenses with the initial two unlock cycles required in the standard program command sequence, resulting in faster total programming time. Table 9 shows the requirements for the command sequence. During the unlock bypass mode, only the Unlock Bypass Program and Unlock Bypass Reset commands are valid. To exit the unlock bypass mode, the system must issue the two-cycle unlock bypass reset command sequence. The first cycle must contain the data 90h. The second cycle must contain the data 00h. The device then returns to the read mode.
The system must write the reset command to exit the autoselect mode and return to reading array data.
Am29F160D
19
START
The system can determine the status of the erase operation 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 no longer latched. Figure 4 illustrates the algorithm for the erase operation. See the Erase/Program Operations tables in AC Characteristics for parameters, and to the Chip/Sector Erase Operation Timings for timing waveforms.
Verify Data?
No
Yes No
Increment Address
Last Address?
Note: See the appropriate Command Definitions table for program command sequence.
Figure 3.
Program Operation
20
Am29F160D
be reinitiated once the device has returned to reading array data, to ensure data integrity. When the Embedded Erase algorithm is complete, the device returns to reading array data and addresses are no longer latched. The system can determine the status of the erase operation by using DQ7, DQ6, DQ2, or RY/BY#. Refer to Write Operation Status for information on these status bits. Figure 4 illustrates the algorithm for the erase operation. Refer to the Erase/Program Operations tables in the AC Characteristics section for parameters, and to the Sector Erase Operations Timing diagram for timing waveforms.
the status of the program operation using the DQ7 or DQ6 status bits, just as in the standard program operation. See Write Operation Status for more information. The system may also write the autoselect command sequence when the device is in the Erase Suspend mode. The device allows reading autoselect codes even at addresses within erasing sectors, since the codes are not stored in the memory array. When the device exits the autoselect mode, the device reverts to the Erase Suspend mode, and is ready for another valid operation. See Autoselect Command Sequence for more information. The system must write the Erase Resume command (address bits are dont care) to exit the erase suspend mode and continue the sector erase operation. Further writes of the Resume command are ignored. Another Erase Suspend command can be written after the device has resumed erasing.
START
No
Data = FFh?
1. See the appropriate Command Definitions table for erase command sequence. 2. See DQ3: Sector Erase Timer for more information.
Figure 4.
Erase Operation
Am29F160D
21
Command Definitions
Table 9.
Command Sequence (Note 1)
Read (Note 6) Reset (Note 7) Manufacturer ID Word Byte Word Byte Word Byte Word Sector Protect Verify (Note 9) Byte CFI Query (Note 10) Program Unlock Bypass Word Byte Word Byte Word Byte 4 AAA
Cycles
First Addr
RA XXX 555 AAA 555 AAA 555 AAA 555
Third Addr
Data
1 1 4 4 4
Autoselect (Note 8)
Device ID, Top Boot Block Device ID, Bottom Boot Block
1
4
555 AAA 555 AAA 555 AAA XXX XXX 555 AAA 555 AAA XXX XXX
3
2 2
Unlock Bypass Program (Note 11) Unlock Bypass Reset (Note 12) Chip Erase Sector Erase Erase Suspend (Note 13) Erase Resume (Note 14) Word Byte Word Byte
6 6 1 1
Legend: X = Dont care RA = Address of the memory location to be read. RD = Data read from location RA during read operation. PA = Address of the memory location to be programmed. Addresses latch on the falling edge of the WE# or CE# pulse, whichever happens later. PD = Data to be programmed at location PA. Data latches on the rising edge of WE# or CE# pulse, whichever happens first. SA = Address of the sector to be verified (in autoselect mode) or erased. Address bits A19A12 uniquely select any sector.
Notes: 1. See Table 1 for description of bus operations. 2. All values are in hexadecimal. 3. Except when reading array or autoselect data, all bus cycles are write operations. 4. Data bits DQ15DQ8 are dont cares for unlock and command cycles. 5. Address bits A19A11 are dont cares for unlock and command cycles, unless SA or PA required. 6. No unlock or command cycles required when reading array data. 7. The Reset command is required to return to reading array data when device is in the autoselect mode, CFI query mode, or if DQ5 goes high (while the device is providing status data). 8. The fourth cycle of the autoselect command sequence is a read cycle.
9. The data is 00h for an unprotected sector and 01h for a protected sector. See Autoselect Command Sequence for more information. 10. Command is valid when device is ready to read array data or when device is in autoselect mode. 11. The Unlock Bypass command is required prior to the Unlock Bypass Program command. 12. The Unlock Bypass Reset command is required to return to reading array data when the device is in the unlock bypass mode. 13. The system may read and program in non-erasing sectors, or enter the autoselect mode, when in the Erase Suspend mode. The Erase Suspend command is valid only during a sector erase operation.
14. The Erase Resume command is valid only during the Erase Suspend mode.
22
Am29F160D
START
DQ7 = Data?
Yes
No No
DQ5 = 1?
DQ7 = Data?
Yes
No FAIL PASS
Notes: 1. VA = Valid address for programming. During a sector erase operation, a valid address is an address within any sector selected for erasure. During chip erase, a valid address is any non-protected sector address. 2. DQ7 should be rechecked even if DQ5 = 1 because DQ7 may change simultaneously with DQ5.
Figure 5.
Am29F160D
23
RY/BY#: Ready/Busy#
The RY/BY# is a dedicated, open-drain output pin that indicates whether an Embedded Algorithm is in progress or complete. The RY/BY# status is valid after the rising edge of the final WE# pulse in the command sequence. Since RY/BY# is an open-drain output, several RY/BY# pins can be tied together in parallel with a pull-up resistor to VCC. If the output is low (Busy), the device is actively erasing or programming. (This includes programming in the Erase Suspend mode.) If the output is high (Ready), the device is ready to read array data (including during the Erase Suspend mode), or is in the standby mode. Table 10 shows the outputs for RY/BY#. The timing diagrams for read, reset, program, and erase shows the relationship of RY/BY# to other signals.
The Write Operation Status table shows the outputs for Toggle Bit I on DQ6. Refer to Figure 6 for the toggle bit algorithm, and to the Toggle Bit Timings figure in the AC Characteristics section for the timing diagram. The DQ2 vs. DQ6 figure shows the differences between DQ2 and DQ6 in graphical form. See also the subsection on DQ2: Toggle Bit II.
24
Am29F160D
the system must write the reset command to return to reading array data. The remaining scenario is that the system initially determines that the toggle bit is toggling and DQ5 has not gone high. The system may continue to monitor the toggle bit and DQ5 through successive read cycles, determining the status as described in the previous paragraph. Alternatively, it may choose to perform other system tasks. In this case, the system must start at the beginning of the algorithm when it returns to determine the status of the operation (top of Figure 6).
of DQ3 prior to and following each subsequent sector erase command. If DQ3 is high on the second status check, the last command might not have been accepted. Table 10 shows the outputs for DQ3.
START
Read DQ7DQ0
No
DQ5 = 1?
Yes
No
Yes Program/Erase Operation Not Complete, Write Reset Command Program/Erase Operation Complete
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.
Figure 6.
Am29F160D
25
Table 10.
Operation Standard Mode Erase Suspend Mode Embedded Program Algorithm Embedded Erase Algorithm Reading within Erase Suspended Sector Reading within Non-Erase Suspended Sector Erase-Suspend-Program
Notes: 1. DQ7 and DQ2 require a valid address when reading status information. Refer to the appropriate subsection for further details. 2. 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.
26
Am29F160D
20 ns
OPERATING RANGES
Commercial (C) Devices Ambient Temperature (TA) . . . . . . . . . . . 0C to +70C Industrial (I) Devices Ambient Temperature (TA) . . . . . . . . . 40C to +85C Extended (E) Devices Ambient Temperature (TA) . . . . . . . . 55C to +125C VCC Supply Voltages VCC for 5% devices . . . . . . . . . . .+4.75 V to +5.25 V VCC for 10% devices . . . . . . . . . . . .+4.5 V to +5.5 V
Note: Operating ranges define those limits between which the functionality of the device is guaranteed.
Am29F160D
27
ICC1
15
50
mA
35 0.4
mA mA V V V V V
4.2
Notes: 1. The ICC current listed is typically less than 2 mA/MHz, with OE# at VIH. 2. Maximum ICC specifcations are tested with VCC = VCCmax 3. ICC active while Embedded Erase or Embedded Program is in progress. 4. Not 100% tested. 5. ICC3 = 20 A max at extended temperature (>+85C)
28
Am29F160D
40
mA
ICC1
15
50
mA
ICC2
VCC Active Write Current (Notes 1, 2, 3) VCC Standby Current (Note 2) Input Low Voltage Input High Voltage Voltage for Autoselect and Temporary Sector Unprotect Output Low Voltage Output High Voltage
35
50
mA
0.3
A V V V V V V V
Notes: 1. ICC active while Embedded Erase or Embedded Program is in progress. 2. Maximum ICC specifcations are tested with VCC = VCCmax 3. Not 100% tested.
Am29F160D
29
TEST CONDITIONS
Table 11.
5.0 V Test Condition Device Under Test CL 6.2 k 2.7 k Output Load Output Load Capacitance, CL (including jig capacitance) Input Rise and Fall Times Input Pulse Levels Input timing measurement reference levels 30 5 0.03.0 1.5 1.5 75 90, 120 1 TTL gate 100 20 0.452.4 0.8, 2.0 0.8, 2.0 pF ns V V V Unit
Test Specifications
Figure 9.
Test Setup
30
Am29F160D
tOEH
tAXQX
tOH
Output Hold Time From Addresses, CE# or OE#, Whichever Occurs First (Note 1)
Notes: 1. Not 100% tested. 2. See Figure 9 and Table 11 for test specifications.
tRC Addresses CE# tOE tOEH WE# HIGH Z Outputs Output Valid tCE tOH HIGH Z tDF Addresses Stable tACC
OE#
Figure 10.
Am29F160D
31
RY/BY#
RESET# tRP
Figure 11.
RESET# Timings
32
Am29F160D
CE#
OE#
DQ15/A-1
DQ0DQ14
DQ15/A-1
Figure 12.
BYTE#
tSET (tAS)
tHOLD (tAH)
Note: Refer to the Erase/Program Operations table for tAS and tAH specifications.
Figure 13.
Am29F160D
33
Notes: 1. Not 100% tested. 2. See the Erase and Programming Performance section for more information.
34
Am29F160D
AC CHARACTERISTICS
Program Command Sequence (last two cycles) tAS tWC Addresses 555h PA tAH CE# OE# tWP WE# tCS tDS Data tDH PD tBUSY RY/BY# tVCS VCC Status DOUT tRB tWPH tWHWH1 Read Status Data (last two cycles)
PA
PA
tCH
A0h
Notes: 1. PA = program address, PD = program data, DOUT is the true data at the program address. 2. Illustration shows device in word mode.
Figure 14.
Am29F160D
35
AC CHARACTERISTICS
Erase Command Sequence (last two cycles) tWC Addresses 2AAh tAS SA
555h for chip erase
VA tAH
VA
CE#
tCH
tWPH
tWHWH2
tRB
Notes: 1. SA = sector address (for Sector Erase), VA = Valid Address for reading status data (see Write Operation Status). 2. Illustration shows device in word mode.
Figure 15.
36
Am29F160D
AC CHARACTERISTICS
tRC Addresses VA tACC tCE CE# tCH OE# tOEH WE# tOH DQ7
High Z
VA
VA
tOE tDF
Complement
Complement
True
Valid Data
High Z
Status Data
Status Data
True
Valid Data
Note: VA = Valid address. Illustration shows first status cycle after command sequence, last status read cycle, and array data read cycle.
Figure 16.
tRC Addresses VA tACC tCE CE# tCH OE# tOEH WE# tOH DQ6/DQ2 tBUSY RY/BY#
High Z
VA
VA
VA
tOE tDF
Valid Data
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.
Figure 17.
Am29F160D
37
AC CHARACTERISTICS
Enter Embedded Erasing WE# Erase Suspend Erase Enter Erase Suspend Program Erase Suspend Program Erase Resume Erase Suspend Read Erase Erase Complete
DQ6
DQ2
Note: The system may use OE# or CE# to toggle DQ2 and DQ6. DQ2 toggles only when read at an address within the erase-suspended sector.
Figure 18.
12 V
Figure 19.
38
Am29F160D
AC CHARACTERISTICS
VID VIH
RESET#
Valid*
Data 1 s CE#
60h
60h
Status
WE#
OE#
Figure 20.
Am29F160D
39
Notes: 1. Not 100% tested. 2. See the Erase and Programming Performance section for more information.
40
Am29F160D
AC CHARACTERISTICS
555 for program 2AA for erase PA for program SA for sector erase 555 for chip erase
Data# Polling PA
Addresses tWC tWH WE# tGHEL OE# tCP CE# tWS tCPH tDS tDH Data tRH
A0 for program 55 for erase PD for program 30 for sector erase 10 for chip erase
tAS tAH
tWHWH1 or 2
tBUSY
DQ7#
DOUT
RESET#
RY/BY#
Notes: 1. PA = Program Address, PD = Program Data, SA = Sector Address, DQ7# = Complement of Data Input, DOUT = Array Data. 2. Figure indicates the last two bus cycles of the command sequence, with the device in word mode.
Figure 21.
Am29F160D
41
Notes: 1. Typical program and erase times assume the following conditions: 25C, 5.0 V VCC, 1,000,000 cycles. Additionally, programming typicals assume checkerboard pattern. 2. Under worst case conditions of 90C, VCC = 4.5 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 9 for further information on command definitions. 6. The device has a guaranteed minimum erase and program cycle endurance of 1,000,000 cycles.
LATCHUP CHARACTERISTICS
Description Input voltage with respect to VSS on all pins except I/O pins (including A9, OE#, and RESET#) Input voltage with respect to VSS on all I/O pins VCC Current Min 1.0 V 1.0 V 100 mA Max 12.5 V VCC + 1.0 V +100 mA
Includes all pins except VCC. Test conditions: VCC = 5.0 V, one pin at a time.
Notes: 1. Sampled, not 100% tested. 2. Test conditions TA = 25C, f = 1.0 MHz.
DATA RETENTION
Parameter Minimum Pattern Data Retention Time Test Conditions 150C 125C Min 10 20 Unit Years Years
42
Am29F160D
Am29F160D
43
44
Am29F160D
TTL/NMOS Compatible table: Changed the maximum current specification for ICC2 to 50 mA.
Autoselect Command Sequence: Added text and table explaining effect of WP# input on autoselect code output for 16 Kbyte boot sector.
Trademarks Copyright 2000 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.
Am29F160D
45