Am29BDD160G Data Sheet For new designs, S29CD016G supersedes Am29BDD160G and is the factory-recommended migration path for this device. Please refer to the S29CD016G datasheet for specifications and ordering information. 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. Continuity of Ordering Part Numbers AMD and Fujitsu continue to support existing part numbers beginning with “Am” and “MBM”. To order these products, please use only the Ordering Part Numbers listed in this document. For More Information Please contact your local AMD or Fujitsu sales office for additional information about Spansion memory solutions. Publication Number 24960 Revision D Amendment 3 Issue Date February 2, 2005 THIS PAGE LEFT INTENTIONALLY BLANK. DATA SHEET Am29BDD160G 16 Megabit (1 M x 16-bit/512 K x 32-Bit), CMOS 2.5 Volt-only Burst Mode, Dual Boot, Simultaneous Read/Write Flash Memory DISTINCTIVE CHARACTERISTICS ARCHITECTURAL ADVANTAGES ■ Simultaneous Read/Write operations — Data can be continuously read from one bank while executing erase/program functions in other bank. (–40°C to 85°C, 56 MHz and below only) — Zero latency between read and write operations — Two bank architecture: 75%/25% ■ User-Defined x16 or x32 Data Bus — Burst Mode Read: 90 mA @ 66 MHz max — Program/Erase: 50 mA max — Standby mode: CMOS: 60 µA max ■ Minimum 1 million write cycles guaranteed per sector ■ 20 year data retention at 125°C ■ Versatile I/OTM control — Device generates data output voltages and tol- erates data input voltages as determined by the voltage on the VIO pin — 1.65 V to 2.75 V compatible I/O signals SOFTWARE FEATURES ■ Dual Boot Block — Top and bottom boot in the same device ■ Flexible sector architecture — Eight 8 Kbytes, thirty 64 Kbytes, and eight 8 Kbytes sectors ■ Manufactured on 0.17 µm process technology ■ SecSi (Secured Silicon) Sector (256 Bytes) — Current version of device has 64 Kbytes; future versions will have 256 bytes — Factory locked and identifiable: 16 bytes for secure, random factory Electronic Serial Number; remainder may be customer data programmed by AMD — Customer lockable: Can be read, programmed, or erased just like other sectors. Once locked, data cannot be changed ■ Programmable Burst interface — Interface to any high performance processor — Modes of Burst Read Operation: Linear Burst: 4 double words (x32), 8 words (x16) and double words (x32), and 32 words (x16) with wrap around ■ Single power supply operation — Optimized for 2.5 to 2.75 volt read, erase, and program operations ■ Compatible with JEDEC standards (JC42.4) — Pinout and software compatible with single-power-supply flash standard PERFORMANCE CHARACTERISTICS ■ High performance read access — Initial/random access time as fast as 54 ns — Burst access time as fast as 9 ns for ball grid array package ■ Ultra low power consumption ■ Persistent Sector Protection — A command sector protection method to lock combinations of individual sectors and sector groups to prevent program or erase operations within that sector (requires only VCC levels) ■ Password Sector Protection — A sophisticated sector protection method to lock combinations of individual sectors and sector groups to prevent program or erase operations within that sector using a user-definable 64-bit password ■ Supports Common Flash Interface (CFI) ■ Unlock Bypass Program Command — Reduces overall programming time when issuing multiple program command sequences ■ Data# Polling and toggle bits — Provides a software method of detecting program or erase operation completion HARDWARE FEATURES ■ Program Suspend/Resume & Erase Suspend/Resume — Suspends program or erase operations to allow reading, programming, or erasing in same bank ■ Hardware Reset (RESET#), Ready/Busy# (RY/BY#), and Write Protect (WP#) inputs ■ ACC input — Accelerates programming time for higher throughput during system production ■ Package options — 80-pin PQFP — 80-ball Fortified BGA Publication# 24960 Rev: D Amendment/+3 Issue Date: February 2, 2005 Refer to AMD’s Website (www.amd.com) for the latesst information. 1 GENERAL DESCRIPTION The Am29BDD160 is a 16 Megabit, 2.5 Volt-only single power supply burst mode flash memory device. The device can be configured for either 1,048,576 words in 16-bit mode or 524,288 double words in 32-bit mode. The device can also be programmed in standard EPROM programmers. The device offers a configurable burst interface to 16/32-bit microprocessors and microcontrollers. To eliminate bus contention, each device has separate chip enable (CE#), write enable (WE#) and output enable (OE#) controls. Additional control inputs are required for synchronous burst operations: Load Burst Address Valid (ADV#), and Clock (CLK). Each device requires only a single 2.5 or 2.6 Volt power supply (2.5 V to 2.75 V) for both read and write functions. A 12.0-volt VPP is not required for program or erase operations, although an acceleration pin is available if faster programming performance is required. The device is entirely command set compatible with the JEDEC single-power-supply Flash standard. The software command set is compatible with the command sets of the 5 V Am29F and 3 V Am29LV Flash families. 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. The Unlock Bypass mode facilitates faster programming times by requiring only two write cycles to program data instead of four. The Simultaneous Read/Write architecture provides simultaneous operation by dividing the memory space into two banks. The device can begin programming or erasing in one bank, and then simultaneously read from the other bank, with zero latency. This releases the system from waiting for the completion of program or erase operations. See Simultaneous Read/Write Operations Overview and Restrictions on page 13. The device provides a 256-byte SecSi™ (Secured Silicon) Sector with an one-time-programmable (OTP) mechanism. In addition, the device features several levels of sector protection, which can disable both the program and erase operations in certain sectors or sector groups: Persistent Sector Protection is a command sector protection method that replaces the old 12 V controlled protection method; Password Sector Protection is a highly sophisticated protection method that requires a password before changes to certain sectors or sector groups are permitted; WP# Hardware Protection prevents program or erase in 2 the two outermost 8 Kbytes sectors of the larger bank. The device defaults to the Persistent Sector Protection mode. The customer must then choose if the Standard or Password Protection method is most desirable. The WP# Hardware Protection feature is always available, independent of the other protection method chosen. The Versatile I/O™ (VCCQ) feature allows the output voltage generated on the device to be determined based on the VIO level. This feature allows this device to operate in the 1.8 V I/O environment, driving and receiving signals to and from other 1.8 V devices on the same bus. In addition, inputs and I/Os that are driven externally are capable of handling 3.6 V. 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 V CC detector that automatically inhibits write operations during power transitions. The password and software sector protection feature disables both program and erase operations in any combination of sectors of memory. This can be achieved in-system at VCC level. The Program/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 device offers two power-saving features. When addresses have been stable for a specified amount of time, the device enters the automatic sleep mode. The system can also place the device into the standby mode. Power consumption is greatly reduced in both these modes. AMD’s 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. Am29BDD160G TABLE OF CONTENTS Product Selector Guide. . . . . . . . . . . . . . . . . . . . . . BLOCK DIAGRAM . . . . . . . . . . . . . . . . . . . . . . . . . BLOCK DIAGRAM OF SIMULTANEOUS OPERATION CIRCUIT . . . . . . . . . . . . . . . . . . . . . Connection Diagram . . . . . . . . . . . . . . . . . . . . . . . . 80-Ball Fortified BGA . . . . . . . . . . . . . . . . . . . . . . . 3 3 Table 10. Configuration Register After Device Reset ............ 20 Initial Access Delay Configuration ................................................. 20 4 5 6 Sector and Sector Groups ................................................................20 Persistent Sector Protection ........................................................... 20 Password Sector Protection ............................................................ 20 WP# Hardware Protection .............................................................. 20 Special Package Handling Instructions ............................................ 6 Pin Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . 7 LOGIC SYMBOLS ...................................................................... 7 X16 Mode ...................................................................................................7 X32 Mode ...................................................................................................7 Ordering Information ................................................................8 Device Bus Operations . . . . . . . . . . . . . . . . . . . . . . 9 Table 1. Device Bus Operation ......................................................10 Versatile I/O™ (VIO) Control .................................................11 Word/Double Word Configuration ................................................ 11 Requirements for Reading Array Data ........................................... 11 Simultaneous Read/Write Operations Overview and Restrictions .........................................................................11 Restrictions ............................................................................................. 11 Table 2. Table 2. Bank Assignment for Boot Bank Sector Devices ................................. 11 Simultaneous Read/Write Operations With Zero Latency ...............................................................................11 Table 3. Top Boot Bank Select ..................... 12 Table 4. Bottom Boot Bank Select .................. 12 Writing Commands/Command Sequences ......................12 Accelerated Program and Erase Operations ................................ 12 Autoselect Functions ........................................................................... 12 Automatic Sleep Mode (ASM) ..............................................12 Standby Mode ............................................................................12 RESET#: Hardware Reset Pin ...............................................13 Output Disable Mode ..............................................................13 Autoselect Mode ......................................................................13 Table 5. Am29BDD160 Autoselect Codes (High Voltage Method) ................................................................................. 14 Asynchronous Read Operation (Non-Burst) ................. 14 Figure 1. Asynchronous Read Operation ................................... 14 Synchronous (Burst) Read Operation .................................15 Linear Burst Read Operations ..............................................15 Table 6. 16-Bit and 32-Bit Linear and Burst Data Order ....... 15 CE# Control in Linear Mode ............................................................ 16 ADV# Control In Linear Mode ........................................................ 16 RESET# Control in Linear Mode ..................................................... 16 OE# Control in Linear Mode ........................................................... 16 IND/WAIT# Operation in Linear Mode ....................................... 16 Table 7. Valid Configuration Register Bit Definition for IND/ WAIT# .................................................................................................. 17 Figure 2. End of Burst Indicator (IND/WAIT#) Timing for Linear 8-Word Burst Operation .......................................... 17 Burst Access Timing Control ................................................ 18 Initial Burst Access Delay Control ................................................. 18 Table 8. Burst Initial Access Delay ............................................... 18 Figure 3. Initial Burst Delay Control ........................................... 18 SECTOR PROTECTION ..................................................... 20 Persistent Sector Protection ................................................ 21 Persistent Protection Bit (PPB) ........................................................ 21 Persistent Protection Bit Lock (PPB Lock) ................................... 21 Dynamic Protection Bit (DYB) ........................................................ 21 Table 11. Sector Protection Schemes .......................................... 22 Persistent Sector Protection Mode Locking Bit ............ 22 Password Protection Mode ................................................. 22 Password and Password Mode Locking Bit .................... 22 64-bit Password ................................................................................... 23 Write Protect (WP#) .............................................................23 SecSi™ (Secured Silicon) Sector Protection .....................23 SecSi Sector Protection Bit ...................................................23 Persistent Protection Bit Lock ............................................ 24 Hardware Data Protection .................................................. 24 Low VCC Write Inhibit ..................................................................... 24 Write Pulse “Glitch” Protection .................................................... 24 Logical Inhibit ........................................................................................ 24 Power-Up Write Inhibit .................................................................... 24 VCC and VIO Power-up And Power-down Sequencing ......... 24 Table 12. Sector Addressees for Top Boot Sector Devices ................................................................................................. 24 Table 13. Sector Addresses for Bottom Boot Sector Devices ................................................................................................. 26 Common Flash Memory Interface (CFI). . . . . . . 28 Table 14. CFI Query Identification String ................................... 28 Table 15. CFI System Interface String ..........................................28 Table 16. CFI Device Geometry Definition ............................... 29 Table 17. CFI Primary Vendor-Specific Extended Query ................................................................................................... 29 Command Definitions ...............................................................31 Reading Array Data in Non-burst Mode ...........................31 Reading Array Data in Burst Mode .....................................31 Read/Reset Command ...........................................................32 Autoselect Command ............................................................32 Program Command Sequence .............................................32 Accelerated Program Command ........................................32 Unlock Bypass Command Sequence ..................................33 Figure 4. Program Operation ....................................................... 33 Unlock Bypass Entry Command ..........................................33 Unlock Bypass Program Command ...................................33 Unlock Bypass Chip Erase Command ........................................... 34 Unlock Bypass CFI Command ......................................................... 34 Chip Erase Command ............................................................34 Sector Erase Command .........................................................34 Figure 5. Erase Operation ............................................................. 35 Burst CLK Edge Data Delivery ............................................. 19 Sector Erase and Program Suspend Command .............35 Sector Erase and Program Suspend Operation Mechanics ...................................................................................35 Burst Data Hold Control ................................................................... 19 Asserting RESET# During A Burst Access ................................... 19 Table 18. Allowed Operations During Erase/Program Suspend .................................................................................................35 Configuration Register ........................................................... 19 Sector Erase and Program Resume Command ..............36 Configuration Register Read Command ..........................36 Table 9. Configuration Register Definitions .............................. 19 Am29BDD160G 3 Configuration Register Write Command ........................36 Common Flash Interface (CFI) Command ......................36 SecSi Sector Entry Command ...............................................38 Password Program Command .............................................38 Password Verify Command ..................................................38 Password Protection Mode Locking Bit Program Command ..................................................................................38 Persistent Sector Protection Mode Locking Bit Program Command ................................................................39 SecSi Sector Protection Bit Program Command ...........39 PPB Lock Bit Set Command .................................................39 DYB Write Command ...........................................................39 Password Unlock Command ...............................................39 PPB Program Command ....................................................... 40 DYB Write ............................................................................... 40 PPB Lock Bit Set ..................................................................... 40 DYB Status ................................................................................ 40 PPB Lock Bit Status ................................................................ 40 Non-volatile Protection Bit Program And Erase Flow ............................................................................................ 40 Table 19. Memory Array Command Definitions (x32 Mode) ................................................................... 42 Table 20. Sector Protection Command Definitions (x32 Mode) ................................................................... 43 Table 21. Memory Array Command Definitions (x16 Mode) .................................................................... 45 Table 22. Sector Protection Command Definitions (x16 Mode) .................................................................... 47 Write Operation Status . . . . . . . . . . . . . . . . . . . . 49 DQ7: Data# Polling ................................................................ 49 RY/BY#: Ready/Busy# ........................................................... 49 Figure 6. Data# Polling Algorithm .............................................. 50 DQ6: Toggle Bit I ................................................................... 50 DQ2: Toggle Bit II .................................................................. 50 Reading Toggle Bits DQ6/DQ2 ............................................51 DQ5: Exceeded Timing Limits ..............................................51 Figure 7. Toggle Bit Algorithm ...................................................... 51 Table 23. Write Operation Status ............................................... 52 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . 53 Figure 8. Maximum Negative Overshoot Waveform ............ 53 Figure 9. Maximum Positive Overshoot Waveform............... 53 OPERATING RANGES ...........................................................53 DC CHARACTERISTICS . . . . . . . . . . . . . . . . . . . 54 Table 24. CMOS Compatible ........................................................ 54 DC CHARACTERISTICS (Continued) . . . . . . . . 55 Zero Power Flash ....................................................................55 Figure 11. Typical Icc1 vs. Frequency ............................................. 55 Test Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Figure 12. Test Setup ....................................................................... 56 Table 25. Test Specifications ......................................................... 56 KEY TO SWITCHING WAVEFORMS .............................56 SWITCHING WAVEFORMS ...............................................56 Figure 13. Input Waveforms and Measurement Levels .................................................................................................... 56 AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . 57 VCC and VIO Power Up ........................................................57 Figure 14. VCC and VIO Power-up Diagram............................ 57 Asynchronous Read Operations ........................................ 58 Burst Mode Read .....................................................................59 Figure 15. Conventional Read Operations Timings................. 60 Figure 16. Burst Mode Read (x32 Mode).................................... 60 Figure 17. Asynchronous Command Write Timing.................. 61 Figure 18. Synchronous Command Write/Read Timing ......... 61 Hardware Reset (RESET#) ................................................... 62 Figure 19. Reset Timing.................................................................... 63 Figure 20. WP# Timing ................................................................... 63 Erase/Program Operations Alternate CE# Controlled Erase/Program Operations ................................................................................. 69 Figure 29. Alternate CE# Controlled Write Operation Timings ................................................................................................. 70 Erase and Programming Performance . . . . . . . . . 71 LATCHUP CHARACTERISTICS .........................................71 PQFP AND FORTIFIED BGA PIN CAPACITANCE ....71 DATA RETENTION ................................................................71 Physical Dimensions . . . . . . . . . . . . . . . . . . . . . . . 72 PQR080-80-Lead Plastic Quad Flat Package ....................72 Physical Dimensions . . . . . . . . . . . . . . . . . . . . . . . 73 LAA 080-80-ball Fortified Ball Grid Array (13 x 11 mm) .....................................................................73 Revision Summary. . . . . . . . . . . . . . . . . . . . . . . . . 74 Figure 10. ICC1 Current vs. Time (Showing Active and Automatic Sleep Currents) .................. 55 4 .................... 64 Figure 21. Program Operation Timings ..................................... 65 Figure 22. Chip/Sector Erase Operation Timings ................... 65 Figure 23. Back-to-Back Cycle Timing ........................................ 66 Figure 24. Data# Polling Timings (During Embedded Algorithms) ........................................................................................ 66 Figure 25. Toggle Bit Timings (During Embedded Algorithms) ......................................................................................... 67 Figure 26. DQ2 vs. DQ6 for Erase and Erase Suspend Operations .......................................................................................... 67 Figure 27. Synchronous Data Polling Timing/Toggle Bit Timing............................................................................................. 68 Figure 28. Sector Protect/Unprotect Timing Diagram.......... 68 Am29BDD160G PRODUCT SELECTOR GUIDE Part Number Am29BDD160G Standard Voltage Range: VCC = 2.5 – 2.75 V Speed Option (Clock Rate) Synchronous/Burst or Asynchronous 54D (66 MHz) 64C (56 MHz) 65A (40 MHz) 54 64 67 9 FBGA/9.5 PQFP 10 FBGA/10 PQFP 17 66 56 40 3 3 2 58 69 71 Max Initial/Asynchronous Access Time, ns (tACC) Max Burst Access Delay (ns) Max Clock Rate (MHz) Min Initial Clock Delay (clock cycles) Max CE# Access, ns (tCE) Max OE# Access, ns (tOE) 20 28 Note: The 54D, 64C, and 65A speed options are tested and guaranteed to operate only at the 66 MHz, 56MHz, and 40MHz frequencies respectively. Operation and other frequencies is not warranted. BLOCK DIAGRAM Am29BDD160G 5 BLOCK DIAGRAM OF SIMULTANEOUS OPERATION CIRCUIT 6 Am29BDD160G CONNECTION DIAGRAM Am29BDD160G 7 80-BALL FORTIFIED BGA Special Package Handling Instructions Special handling is required for Flash Memory products in molded packages (BGA). The package and/or data integrity may be compromised if the package body is exposed to temperatures above 150°C for pro-longed periods of time. 8 Am29BDD160G PIN CONFIGURATION A–1 = Least significant address bit for the 16bit data bus, and selects between the high and low word. A –1 is not used for the 32-bit mode (WORD# = VIH). A0–A18 = 19-bit address bus for 16 Mb device. A9 supports 12 V autoselect inputs. DQ0–DQ31 = 32-bit data inputs/outputs/float = Selects 16-bit or 32-bit mode. When WORD# = VIH, data is output on DQ31–DQ0. When WORD# = VIL, data is output on DQ15–DQ0. WORD# = Chip Enable Input. This signal is asynchronous relative to CLK for the burst mode. = Output Enable Input. This signal is asynchronous relative to CLK for the burst mode. WE# = Write enable. This signal is asynchronous relative to CLK for the burst mode. VSS = Device ground NC = Pin not connected internally = Ready/Busy output and open drain. When RY/BY# = VIH, the device is ready to accept read operations and commands. When RY/BY# = VOL, the device is either executing an embedded algorithm or the device is executing a hardware reset operation. CE# OE# RY/BY# CLK = Clock Input that can be tied to the system or microprocessor clock provides the fundamental timing and internal operating frequency. ADV# = Load Burst Address input. Indicates that the valid address is present on the address inputs. IND# = End of burst indicator for finite bursts only. IND is low when the last word in the burst sequence is at the data outputs. WAIT# = Provides data valid feedback only when the burst length is set to continuous. = Write Protect input. When WP# = VOL, the two outermost boot block sector in the 75% bank are write protected regardless of other sector protection configurations. ACC = Acceleration input. When taken to 12 V, program and erase operations are accelerated. When not used for acceleration, ACC = VSS to VCC. VIO (VCCQ) = Output Buffer Power Supply (1.65 V to 2.75 V) VCC = Chip Power Supply (2.5 V to 2.75 V) RESET# = Hardware reset input WP# LOGIC SYMBOLS X32 Mode X16 Mode Am29BDD160G 9 Ordering Information The order number (Valid Combination) is formed by the following: Am29BDD160 G T 54 D PB E TEMPERATURE RANGE I = Industrial (–40°C to +85°C) F E K = = = Industrial (–40°C to +85°C) with Pb-Free Package Extended (-40°C to +125°C) Extended (-40°C to +125°C) with Pb-Free Package PACKAGE TYPE K PB = = 80-Pin Plastic Quad Flat Package (PQFP) PQR080 80-Ball Fortified Ball Grid Array (Fortified BGA) 1.0 mm pitch, 13 x 11 mm package (LAA080) CLOCK RATE A C D = = = 40 MHz 56 MHz 66 MHz SPEED OPTION See Product Selector Guide and Valid Combinations BOOT CODE SECTOR ARCHITECTURE T B = = Top sector Bottom sector PROCESS TECHNOLOGY G = 0.17 µm DEVICE NUMBER/DESCRIPTION Am29BDD160 16 Megabit (2 M x 16-Bit/512 K x 32-Bit) CMOS 2.5 Volt-only Burst Mode Dual Boot, Simultaneous Operation Flash Memory Valid Combinations for PQFP Packages Order Number Am29BDD160GT54D Am29BDD160GB54D Am29BDD160GT64C Am29BDD160GB64C Am29BDD160GT65A Am29BDD160GB65A Valid Combinations for Fortified BGA Packages Package Marking Am29BDD160GT54D BD160GT54D KI, KE, Am29BDD160GB54D BD160GB54D KF, KK Am29BDD160GT64C Am29BDD160GB64C PBI, PBE BD160GT64C BD160GB64C Am29BDD160GT65A BD160GT65A Am29BDD160GB65A BD160GB65A I, E, F, K Valid Combinations 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. 10 Am29BDD160G DEVICE BUS OPERATIONS This section describes the requirements and use of the device bus operations, which are initiated through the internal command register. The command register itself does not occupy any addressable memory location. The register is composed of latches that store the commands, along with the address and data information needed to execute the command. The contents of the register serve as inputs to the internal state machine. The state machine outputs dictate the function of the device. Table 1 lists the device bus operations, the inputs and control levels they require, and the resulting output. The following subsections describe each of these operations in further detail. Am29BDD160G 11 Table 1. Device Bus Operation Addresses (Note 1) Data (DQ0-DQ31 X A9=VID, A6=L, A1=L, A0=L 0000001h X X A9=VID, A6=L, A1=L, A0=H 000007Eh X X CE# OE# WE# RESET# CLK ADV# Autoselect Manufacturer Code L L H H X Read Cycle 1 L L H H Read Cycle 2 L L H H Autoselect Device Code Operations A9=VID, A7-A0=0Eh (Note 2) (Note 2) 0000008h Top Boot Block Read Cycle 3 L L H H X X A9=VID, A7-A0=0Fh 0000000h Bottom Boot Block 0000001h Read L H L H X X AIN DOUT Write L H L H X X AIN DIN Standby (CE#) L X X H X X X HIGH Z Output Disable L H H H X X HIGH Z HIGH Z Reset X X X L X X X HIGH Z 00000001h PPB Protection Status (Note 4) Sector Address, L L H H X X A9=VID A7-A0=02h (protected) A6 = H 00000000h (unprotect) A6 = L Burst Read Operations Load Starting Burst Address L X H H Advance Burst to next address with appropriate Data presented on the Data bus L L H H Terminate Current Burst Read Cycle H X H H Terminate Current Burst Read Cycle with RESET# X X H L Terminate Current Burst Read Cycle; Start New Burst Read Cycle L H H H X AIN X H X Burst Data Out X X HIGH Z X X HIGH Z AIN X Legend: L = Logic Low = VIL, H = Logic High = VIH, X = Don’t care. Note: 1. DQ31–DQ16 are HIGH Z when WORD# = VIL 2. When WORD# = VIL, DQ31-DQ16 are floating 3. WP# controls the two outermost sectors of the top boot block or the two outermost sectors of the bottom boot block. 4. DQ0 reflects the sector PPB (or sector group PPB) and DQ1 reflects the DYB 5. Addresses are A0:A18 for the x32 mode and A–1:A18 for x16 mode. 12 Am29BDD160G Versatile I/O™ (VIO) Control The Versatile I/O (VIO) control allows the host system to set the voltage levels that the device generates at its data outputs and the voltages tolerated at its data inputs to the same voltage level that is asserted on the VIO pin. The output voltage generated on the device is determined based on the VIO (VCCQ) level. A VIO of 1.65–1.95 volts is targeted to provide for I/O tolerance at the 1.8 volt level. A VCC and VIO of 2.5–2.75 volts makes the device appear as 2.5 volt-only. Address/Control signals are 3.6 V tolerant with the exception of CLK. Word/Double Word Configuration The WORD# pin controls whether the device data I/ O pins operate in the word or double word configuration. If the WORD# pin is set at VIH, the device is in double word configuration, DQ31–DQ0 are active and controlled by CE# and OE#. If the WORD# pin is set at V , the device is in word IL configuration, and only data I/O pins DQ15–DQ0 are active and controlled by CE# and OE#. The data I/O pins DQ31–DQ16 are tri-stated. Requirements for Reading Array Data To read array data from the outputs, the system must drive the CE# and OE# pins to VIL. CE# is the power 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. Address access time (tACC) is the delay from 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 (tOE) is the delay from the falling edge of OE# to valid data at the output pins (assuming the addresses have been stable for at least t ACC–t OE time and CE# has been asserted for at least tCE–tOE time). See “Reading Array Data” for more information. Refer to the AC Read Operations table for timing specifications and to Figure 15 for the timing diagram. ICC1 in the DC Characteristics table represents the active current specification for reading array data. Simultaneous Read/Write Operations Overview and Restrictions Overview Simultaneous Operation is an advances functionality providing enhanced speed and flexibility with minimum overhead. Simultaneous Operation does this by allowing an operation to be executed (embedded operation) in a bank (busy bank), then going to the other bank (non-busy bank) and performing desired operations. The BDD160’s Simultaneous Operation has been optimized for applications that could most benefit from this capability. These applications store code in the big bank, while storing data in the small bank. The best example of this is when a Sector Erase Operation (as an embedded operation) in the small (busy) bank, while performing a Burst/synchronous Read Operation in the big (non-busy) bank. Restrictions The BDD160’s Simultaneous Operation is tested by executing an embedded operation in the small (busy) bank while performing other operations in the big (non-busy) bank. However, the opposite case is neither tested nor valid. That is, it is not tested by executing an embedded operation in the big (busy) bank while performing other operations in the small (non-busy) bank. See Table 2 Bank assignment for Boot Bank Sector Devices. Table 2. Bank Assignment for Boot Bank Sector Devices Top Boot Sector Devices Bottom Boot Sector Devices Bank 1 Small Bank Big Bank Bank 2 Big Bank Small Bank Also see Table 18, “Allowed Operations During Erase/ Program Suspend,” on page 38. Also see Table 12, “Sector Addresses for Top Boot Sector Devices,” on page 29 and see Table 13, “Sector Addresses for Bottom Boot Sector Devices,” on page 30. Simultaneous Read/Write Operations With Zero Latency The device is capable of reading data from one bank of memory while programming or erasing in the other bank of memory. An erase operation may also be suspended to read from or program to another location within the same bank (except the sector being erased). Refer to the DC Characteristics table for Simultaneous read/write operations are valid for both the main Flash memory array and the SecSi OTP sector. Simultaneous operation is disabled during the CFI and Password Program/Verify operations. PPB Am29BDD160G 13 Pro-gram/Erase operations and the Password Unlock operation permit reading data from the large (75%) bank while reading the operation status of these commands from the small (25%) bank. Table 3. Top Boot Bank Select Bank A18:A17 Bank 1 00 Bank 2 01, 1X Table 4. Bottom Boot Bank Select Bank A18 Bank 1 0X, 10 Bank 2 11 The device offers accelerated program/erase operations through the ACC pin. When the system asserts VHH (12V) on the ACC pin, the device automatically enters the Unlock Bypass mode. The system may then write the two-cycle Unlock Bypass program command sequence to do accelerated programming. The device uses the higher voltage on the ACC pin to accelerate the operation. A sector that is being protected with the WP# pin will still be protect during accelerated program or Erase. Note that the ACC pin must not be at VHH during any operation other than accelerated programming, or device damage may result. Autoselect Functions Writing Commands/Command Sequences To write a command or command sequence (which includes programming data to the device and erasing sectors of memory), the system must drive WE# and CE# to V IL , and OE# to VIH. For program operations, in the x32-mode the device accepts program data in 32-bit words and in the x16 mode the device accepts program data in 16-bit words. The device features an Unlock Bypass mode to facilitate faster programming. Once the device enters the Unlock Bypass mode, only two write cycles are required to program a word or byte, instead of four. The Sector Erase and Program Suspend Command section has details on programming data to the dev ic e u s in g bot h st an d a rd an d Un l oc k B y pa s s command sequences. An erase operation can erase one sector, multiple sectors, or the entire device. Tables 12 and 13 indicate the address space that each sector occupies. A “sector address” consists of the address bits required to uniquely select a sector. The “Command Definitions” section has details on erasing a sector or the entire chip, or suspending/resuming the erase operation. After the system writes the autoselect command sequence, the device enters the autoselect mode. The system can then read autoselect codes from the internal register (which is separate from the memory array) on DQ7–DQ0. Standard read cycle timing applies in this mode. Refer to the “Autoselect Mode” section for more information. ICC2 in the DC Characteristics table represents the active current specification for erase or program modes. The AC Characteristics section contains timing specification tables and timing diagrams for erase or program operations. 14 Accelerated Program and Erase Operations If the system writes the autoselect command sequence, the device enters the autoselect mode. The system can then read autoselect codes from the internal register (which is separate from the memory array) on DQ7–DQ0. Standard read cycle timings apply in this mode. Refer to the Autoselect Mode and Autoselect Command Sequence sections for more information. Automatic Sleep Mode (ASM) The automatic sleep mode minimizes Flash device energy consumption. While in asynchronous mode, the device automatically enables this mode when addr es s e s r em a in s ta bl e f or t A C C + 6 0 n s. T h e automatic sleep mode is independent of the CE#, WE# and OE# control signals. Standard address access timings provide new data when addresses are changed. While in sleep mode, output data is latched and always available to the system. While in synchronous mode, the device automatically enables this mode when either the first active CLK level is greater than t or the CLK runs slower than 5 MHz. ACC Note that a new burst operation is required to provide new data. I in the “DC Characteristics” section of page 53 CC8 represents the automatic sleep mode current specification. Standby Mode When the system is not responding 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# inputs are both held at Vcc ± 0.2 V. The device requires standard access time (t ) for CE read access, before it is ready to read data. If the device is deselected during erasure or programming, the device draws active current until the operation is completed. I in the “DC Characteristics” section on page 53 CC5 represents the standby current specification. Am29BDD160G Caution: entering the standby mode via the RESET# pin also resets the device to the read mode and floats the data I/O pins. Furthermore, entering ICC7 during a program or erase operation will leave erroneous data in the address locations being operated on at the time of the RESET# pulse. These locations require updating after the device resumes standard operations. Refer to the “RESET#: Hardware Reset Pin” section for further discussion of the RESET# pin and its functions. RESET#: Hardware Reset Pin The RESET# pin is an active low signal that is used to reset the device under any circumstances. A logic “0” on this pin forces the device out of any mode that is currently executing back to the reset state. The RESET# pin may be tied to the system reset circuitry. A system reset would thus also reset the device. To avoid a potential bus contention during a system reset, the device is isolated from the DQ data bus by tri-stating the data output pins for the duration of the RESET pulse. All pins are “don’t care” during the reset operation. If RESET# is asserted during a program or erase operation, the RY/BY# pin remains low until the reset operation is internally complete. This action requires between 1 µs and 7µs for either Chip Erase or Sector Erase. The RY/BY# pin can be used to determine when the reset operation is complete. Otherwise, allow for the maximum reset time of 11 µs. If RESET# is asserted when a program or erase operation is not executing (RY/BY# = “1”), the reset operation will complete within 500 ns. Since the Am29BDD160 is a Simultaneous Operation device the user may read a bank after 500 ns if the bank was in the read/ reset mode at the time RESET# was asserted. If one of the banks was in the middle of either a program or erase operation when RESET# was asserted, the user must wait 11 µs before accessing that bank. operation is complete. See Figure 19 for timing specifications. Asserting RESET# active during VCC a nd VIO powerup is required to guarantee proper device initialization until V and V have reached their steady CC IO state voltages. Output Disable Mode See Table 1 Device Bus Operation for OE# Operation in Output Disable Mode. Autoselect Mode The autoselect mode provides manufacturer and device identification, and sector protection verification, through identifier codes output on DQ7–DQ0. This mode is primarily intended for programming equipm e n t t o a u to m a t i c a l l y m a tc h a d ev i c e t o b e 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 on address pin A9. Address pins A6, A1, and A0 must be as shown in Table 12 (top boot devices) or Table 13 (bottom boot devices). In addition, when verifying sector protection, the sector address must appear on the appropriate highest order address bits (see Tables 11 and 12). See Table 5 shows the remaining address bits that are don’t care. When all necessary bits have been set as required, the programming equipment may then read the corresponding identifier code on DQ7– DQ0. To access the autoselect codes in-system, the host system can issue the autoselect command via the command. This method does not require V I D . See “Command Definitions” for details on using the autoselect mode. Asserting RESET# during a program or erase operation leaves erroneous data stored in the address locations being operated on at the time of device reset. These locations need updating after the reset Am29BDD160G 15 Table 5. CE# OE# WE# A18 to A11 L L H X X VIO X X L X X X L L 0001h Read Cycle 1 L L H X X VIO X L L X L L L H 007Eh Read Cycle 2 L L H X X VIO X L L L H H H L 0008h Description Manufacturer ID: AMD Autoselect Device Code Am29BDD160 Autoselect Codes (High Voltage Method) A10 A9 A8 A7 A6 A5 to A4 A3 A2 A1 A0 DQ7 to DQ0 0000h (top boot block) Read Cycle 3 PPB Protection Status L L L L H H X SA X X VIO VIO X X L L L L L L H L H L H H H L 0001h (bottom boot block) 0000h (unprotected) 0001h (protected) L = Logic Low = VIL, H = Logic High = VIH, SA = Sector Address, X = Don’t care. Note: The autoselect codes may also be accessed in-system via command sequences. See Tables 18 and 20. Asynchronous Read Operation (NonBurst) The device has two control functions which must be satisfied in order to obtain data at the outputs. CE# is the power control and should be used for device selection. OE# is the output control and should be used to gate data to the output pins if the device is selected. The device is power-up in an asynchronous read mode. In the asynchronous mode the device has two control functions which must be satisfied in order to obtain data at the outputs. CE# is the power control and should be used for device selection. OE# is the output control and should be used to gate data to the output pins if the device is selected. Address access time (tACC) is equal to the delay from stable addresses to valid output data. The chip enable access time (t ) is the delay from the stable CE addresses and stable CE# to valid data at the output pins. The output enable access time is the delay from the falling edge of OE# to valid data at the output pins (assuming the addresses have been stable for at least tACC–tOEtime). CE# CLK ADV# A0-A18 DQ0-DQ31 OE# WE# IND/WAIT# 6. Note: Operation is shown for the 32-bit data bus. For the 16-bit data bus, A-1 is required. Figure 1. Asynchronous Read Operation 16 Am29BDD160G Synchronous (Burst) Read Operation The Am29BDD160 is capable of performing burst read operations to improve total system data throughput. The device is available in three burst modes of operation: linear and burst mode. 2, 4 and 8 double word (x32) and 4 and 8 word (x16) accesses are configurable as either sequential burst accesses. 16 and 32 word (x16) accesses are only configurable as linear burst accesses. Additional options for all burst modes include initial access delay configurations (2–16 CLKs) Device configuration for burst mode operation is accomplished by writing the Configuration Register with the desired burst configuration information. Once the Configuration Register is written to enable burst mode operation, all subsequent reads from the array are returned using the burst mode protocols. Like the main memory access, the SecSi Sector memory is accessed with the same burst or asynchronous timing as defined in the Conf ig u ra t io n Re g i s t e r. H ow e v e r, t h e u s e r m u s t recognize that continuous burst operations past the 256 byte SecSi boundary returns invalid data. Burst read operations occur only to the main flash memory arrays. The Configuration Register and protection bits are treated as single cycle reads, even when burst mode is enabled. Read operations to these locations results in the data remaining valid while OE# is at VIL, regardless of the number of CLK cycles applied to the device. Linear Burst Read Operations Linear burst read mode reads either 4, 8, 16, or 32 words (1 word = 16 bits), depending upon the Configuration Register option. If the device is configured with a 32 bit interface (WORD# = VIH), the burst access is comprised of 4 clocked reads for 8 words and 16 clocked reads for 32 words (See Table 6 for all valid burst output sequences). The number of clocked reads is doubled when the device is configured in the 16-bit data bus mode (WORD# = V ). IL The IND/WAIT# pin transitions active (VIL ) during the last transfer of data during a linear burst read before a wrap around, indicating that the system should initiate another ADV# to start the next burst access. If the system continues to clock the device, the next access wraps around to the starting address of the previous burst access. The IND/WAIT# signal remains inactive (floating) when not active. See Table 6 for a complete 32 and 16 bit data bus interface order. 16 and 32 word options are restricted to sequential burst accesses, only. Table 6. 16-Bit and 32-Bit Linear and Burst Data Order (Sheet 1 of 2) Data Transfer Sequence (Independent of the WORD# pin) Output Data Sequence (Initial Access Address) (x16) Two Linear Data Transfers, 0-1 (A0 = 0) (x32 only) 1-0 (A0 = 1) 0-1-2-3 (A0:A-1/A1-A0 = 00) Four Linear Data Transfers 1-2-3-0 (A0:A-1/A1-A0 = 01) 2-3-0-1 (A:A-1/A1-A0 = 10) 3-0-1-2 (A0:A-1/A1-A0 = 11) 0-1-2-3-4-5-6-7 (A1:A-1A2-A0 = 000) 1-2-3-4-5-6-7-0 (A1:A-1/A2-A0 = 001) 2-3-4-5-6-7-0-1 (A1:A-1/A2-A0 = 010) Eight Linear Data Transfers 3-4-5-6-7-0-1-2 (A1:A-1/A2-A0 = 011) 4-5-6-7-0-1-2-3 (A1:A-1/A2-A0 = 100) 5-6-7-0-1-2-3-4 (A1:A-1/A2-A0 = 101) 6-7-0-1-2-3-4-5 (A1:A-1/A2-A0 = 110) 7-0-1-2-3-4-5-6 (A1:A-1/A2-A0 = 111) Am29BDD160G 17 Table 6. 16-Bit and 32-Bit Linear and Burst Data Order (Sheet 2 of 2) 0-1-2-3-4-5-6-7-8-9-A-B-C-D-E-F (A2:A-1/ A3-A0 = 0000) 1-2-3-4-5-6-7-8-9-A-B-C-D-E-F-0 (A2:A-1/ A3-A0 = 0001) 2-3-4-5-6-7-8-9-A-B-C-D-E-F-0-1 (A2:A-1/ A3-A0 = 0010) 3-4-5-6-7-8-9-A-B-C-D-E-F-0-1-2 (A2:A-1/ A3-A0 = 0011) 4-5-6-7-8-9-A-B-C-D-E-F-0-1-2-3 (A:A-1/ A3-A0 = 0100) 5-6-7-8-9-A-B-C-D-E-F-0-1-2-3-4 (A2:A-1/ A3-A0 = 0101) 6-7-8-9-A-B-C-D-E-F-0-1-2-3-4-5 (A2:A-1/ A3-A0 = 0110) 7-8-9-A-B-C-D-E-F-0-1-2-3-4-5-6 (A2:A-1/ A3-A0 = 0111) Sixteen Linear Data Transfers (X16 Only) 8-9-A-B-C-D-E-F-0-1-2-3-4-5-6-7 (A2:A-1/ A3-A0 = 1000) 9-A-B-C-D-E-F-0-1-2-3-4-5-6-7-8 (A2:A-1/ A3-A0 = 1001) A-B-C-D-E-F-0-1-2-3-4-5-6-7-8-9 (A2:A-1/ A3-A0 = 1010) B-C-D-E-F-0-1-2-3-4-5-6-7-8-9-A (A2:A-1/ A3-A0 = 1011) C-D-E-F-0-1-2-3-4-5-6-7-8-9-A-B (A2:A-1/ A3-A0 = 1100) D-E-F-0-1-2-3-4-5-6-7-8-9-A-B-C (A2:A-1/ A3-A0 = 1101) E-F-0-1-2-3-4-5-6-7-8-9-A-B-C-D (A2:A-1/ A3-A0 = 1110) F-0-1-2-3-4-5-6-7-8-9-A-B-C-D-E (A2:A-1/ A3-A0 = 1111) Thirty-Two Linear Data Transfers 0-1-2-3-4-5-6-7-8-9-A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V (A3:A-1 = 00000) 1-2-3-4-5-6-7-8-9-A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-0 (A3:A-1 = 00001) : U-V-0-1-2-3-4-5-6-7-8-9-A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T (A3:A-1 = 11110) V-0-1-2-3-4-5-6-7-8-9-A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U (A3:A-1 = 11111) CE# Control in Linear Mode OE# Control in Linear Mode The CE# (Chip Enable) pin enables the Am29BDD160 during read mode operations. CE# must meet the required burst read setup times for burst cycle initiation. If CE# is taken to V at any IH time during the burst linear or burst cycle, the device immediately exits the burst sequence and floats the DQ bus and IND/WAIT# signal. Restarting a burst cycle is accomplished by taking CE# and ADV# to VIL. The OE# (Output Enable) pin is used to enable the linear burst data on the DQ data bus and the IND/ WAIT# pin. De-asserting the OE# pin to VIH during a burst operation floats the data bus and the IND/ WAIT# pin. However, the device will continue to operate internally as if the burst sequence continues until the linear burst is complete. The OE# pin does not halt the burst sequence, this is accomplished by either taking CE# to VIH or re-issuing a new ADV# pulse. The DQ bus and IND/WAIT# signal remain in the float state until OE# is taken to V . ADV# Control In Linear Mode The ADV# (Address Valid) pin is used to initiate a linear burst cycle at the clock edge when CE# and ADV# are at V and the device is configured for eiIL ther linear burst mode operation. A burst access is initiated and the address is latched on the first rising CLK edge when ADV# is active or upon a rising ADV# edge, whichever occurs first. If the ADV# signal is taken to VIL prior to the end of a linear burst sequence, the previous address is discarded and subsequent burst transfers are invalid until ADV# transitions to VIH before a clock edge, which initiates a new burst sequence. RESET# Control in Linear Mode The RESET# pin immediately halts the linear burst access when taken to V . The D Q data bus an d IL IND/WAIT# signal float. Additionally, the Configuration Register contents are reset back to the default condition where the device is placed in asynchronous access mode. 18 IL IND/WAIT# Operation in Linear Mode The IND/WAIT#, or End of Burst Indicator signal (when in linear modes), informs the system that the last address of a burst sequence is on the DQ data bus. For example, if a 4-word linear burst access is enabled using a 16-bit DQ bus (WORD# = V ), the IL IND/WAIT# signal transitions active on the fourth access. If the same scenario is used, but instead the 32-bit DQ bus is enabled, the IND/WAIT# signal transitions active on the second access. The IND/ WAIT# signal has the same delay and setup timing as the DQ pins. Also, the IND/WAIT# signal is controlled by the OE# signal. If OE# is at VIH, the IND/ WAIT# signal floats and is not driven. If OE# is at V , the IND/WAIT# signal is driven at V until it IL IH transitions to V IL indicating the end of burst sequence. The IND/WAIT# signal timing and duration is (See “Configuration Register” for more information). The following table lists the valid combinations of the Configuration Register bits that impact the IND/WAIT# timing. Am29BDD160G Table 7. Valid Configuration Register Bit Definition for IND/WAIT# DOC WC CC Definition 0 0 1 IND/WAIT# = VIL for 1-CLK cycle, Active on last transfer, Driven on rising CLK edge 0 1 1 IND/WAIT# = VIL for 1-CLK cycle, Active on second to last transfer, Driven on rising CLK edge Note: Operation is shown for the 32-bit data bus. For a 16-bit data bus, A-1 is required. Figure shown with 3-CLK initial access delay configuration, linear address, 4-doubleword burst, output on rising CLK edge, data hold for 1-CLK, IND/WAIT# asserted on the last transfer before wrap-around. Figure 2. End of Burst Indicator (IND/WAIT#) Timing for Linear 8-Word Burst Operation Am29BDD160G 19 Burst Access Timing Control In addition to the IND/WAIT# signal control, burst controls exist in the Control Register for initial access delay, delivery of data on the CLK edge, and the length of time data is held. ting withe the exception that data is valid after the falling edge. Table 8. Burst Initial Access Delay Initial Burst Access (CLK cycles) Initial Burst Access Delay Control The Am29BDD160 contains options for initial access delay of a burst access. The initial access delay has no effect on asynchronous read operations. Burst Initial Access Delay is defined as the number of clock cycles that must elapse from the first valid clock edge after ADV# assertion (or the rising edge of ADV#) until the first valid CLK edge when the data is valid. The burst access is initiated and the address is latched on the first rising CLK edge when ADV# is active or upon a rising ADV# edge, whichever comes first. (See Table 8 describes the initial access delay configurations.) If the Clock Configuration bit in the Control Register is set to falling edge (CR6 = 0), the definition remains the same for the initial delay set- CR13 CR12 CR11 CR10 54D, 64C, 65A 0 0 0 0 2 0 0 0 1 3 0 0 1 0 4 0 0 1 1 5 0 1 0 0 6 0 1 0 1 7 0 1 1 0 8 0 1 1 1 9 Figure 3. Initial Burst Delay Control Notes: 1. Burst access starts with a rising CLK edge and when ADV# is active. 2. Configurations register 6 is set to 1 (CR6 = 1). Burst starts and data outputs on the rising CLK edge. 3. CR [13-10] = 1 or three clock cycles 4. CR [13-10] = 2 or four clock cycles 5. CR [13-10] = 3 or Five clock cycles 20 Am29BDD160G Burst CLK Edge Data Delivery The Am29BDD160 is capable of delivering data on either the rising or falling edge of CLK. To deliver data on the rising edge of CLK, bit 6 in the Control Register (CR6) is set to 1. To deliver data on the falling edge of CLK, bit 6 in the Control Register is cleared to 0. The default configuration is set to the rising edge. Burst Data Hold Control The device is capable of holding data for one CLKs. The default configuration is to hold data for one CLK and is the only valid state. Asserting RESET# During A Burst Access If RESET# is asserted low during a burst access, the burst access is immediately terminated and the device defaults back to asynchronous read mode. Refer to RESET#: Hardware Reset Pin for more information on the RESET# function. Configuration Register The Am29BDD160 contains a Configuration Register for configuring read accesses. The Configuration Register is accessed by the Configuration Register Read and the Configuration Register Write commands. The Configuration Register does not occupy Table 9. any addressable memory location, but rather, is accessed by the Configuration Register commands. The Configuration Register is readable any time, however, writing the Configuration Register is restricted to times when the Embedded Algorithm™ is not active. If the user attempts to write the Configuration Register while the Embedded Algorithm™ is active, the write operation is ignored and the contents of the Configuration Register remain unchanged. The Configuration Register is a 16 bit data field which is accessed by DQ15–DQ0. Data on DQ31–DQ16 is ignored during a write operation when WORD# = VIL. During a read operation, DQ31–DQ16 returns all zeroes. Table 9 shows the Configuration Register. Also, Configuration Register reads operate the same as Autoselect command reads. When the command is issued, the bank address is latched along with the command. Reads operations to the bank that was specified during the Configuration Register read command return Configuration Register contents. Read operations to the other bank return flash memory data. Either bank address is permitted when writing the Configuration Register read command. Configuration Register Definitions CR15 CR14 CR13 CR12 CR11 CR10 CR9 CR8 RM Reserved IAD3 IAD2 IAD1 IAD0 DOC WC CR7 CR6 CR5 CR4 CR3 CR2 CR1 CR0 BS CC Reserved Reserved Reserved BL2 BL1 BL0 Configuration Register CR15 = Read Mode (RM) 0 = Synchronous Burst Reads Enabled 1 = Asynchronous Reads Enabled (Default) CR14 = Reserved for Future Enhancements These bits are reserved for future use. Set these bits to “0”. CR13–CR10 = Initial Burst Access Delay Configuration (IAD3-IAD0) Speed Options 54D, 64C, 65A: 0000 = 2 CLK cycle initial burst access delay 0001 = 3 CLK cycle initial burst access delay 0010 = 4 CLK cycle initial burst access delay 0011 = 5 CLK cycle initial burst access delay 0100 = 6 CLK cycle initial burst access delay 0101 = 7 CLK cycle initial burst access delay 0110 = 8 CLK cycle initial burst access delay 0111 = 9 CLK cycle initial burst access delay—Default CR9 = Data Output Configuration (DOC) 0 = Hold Data for 1-CLK cycle—Default 1 = Reserved Am29BDD160G 21 CR8 = IND/WAIT# Configuration (WC) 0 = IND/WAIT# Asserted During Delay—Default 1 = IND/WAIT# Asserted One Data Cycle Before Delay CR7 = Burst Sequence (BS) 0 = Reserved 1 = Linear Burst Order—Default CR6 = Clock Configuration (CC) 0 = Reserved 1 = Burst Starts and Data Output on Rising Clock Edge—Default CR5–CR3 = Reserved For Future Enhancements (R) These bits are reserved for future use. Set these bits to “0.” CR2–CR0 = Burst Length (BL2–BL0) 000 = Reserved, burst accesses disabled (asynchronous reads only) 001 = 64 bit (8-byte) Burst Data Transfer - x16 and x32 Linear 010 = 128 bit (16-byte) Burst Data Transfer - x16 and x32 Linear 011 = 256 bit (32-byte) Burst Data Transfer - x16 Linear Only and x32 Linear 100 = 512 bit (64-byte) Burst Data Transfer - x16 Linear Only - Default 101 = Reserved, burst accesses disabled (asynchronous reads only) 110 = Reserved, burst accesses disabled (asynchronous reads only) 111 = Reserved Table 10. Configuration Register After Device Reset CR15 CR14 CR13 CR12 CR11 CR10 CR9 CR8 RM Reserve IAD3 IAD2 IAD1 IAD0 DOC WC 1 0 0 1 1 1 0 0 CR7 CR6 CR5 CR4 CR3 CR2 CR1 CR0 BS CC Reserve Reserve Reserve BL2 BL1 BL0 1 1 0 0 0 1 0 0 Initial Access Delay Configuration The frequency configuration informs the device of the number of clocks that must elapse after ADV# is driven active before data is available. This value is determined by the input frequency. SECTOR PROTECTION WP# Hardware Protection The Am29BDD160 features several levels of sector protection, which can disable both the program and erase operations in certain sectors or sector groups A write protect pin that can prevent program or erase to the two outermost 8 Kbytes sectors in the 75% bank Sector and Sector Groups The distinction between sectors and sector groups is fundamental to sector protection. Sector are individual sectors that can be individually sector protected/ un-protected. These are the outermost 4 kword boot sectors, that is, SA0 to SA7 and SA38 to SA45. See tables 11 and 12. Sector groups are a collection of three or four adjacent 32 kword sectors. For example, sector group SG8 is comprised of sector SA8 to SA10. When any sector in a sector group is protected/unprotected, every sector in that group is protection/unprotected. See Tables 11 and 12. Persistent Sector Protection A command sector protection method that replaces the old 12 V controlled protection method. Password Sector Protection A highly sophisticated protection method that requires a password before changes to certain sectors or sector groups are permitted 22 All parts default to operate in the Persistent Sector Protection mode. The customer must then choose if the Persistent or Password Protection method is most desirable. There are two one-time programmable non -volatile bits th at define which sector protection method will be used. If the customer decides to contin ue u sing th e Persistent Sector Protection method, driven active before data will be available. This value is determined by the input clock frequency. They must set the Persistent Sector Protection Mode Locking Bit. This will permanently set the part to operate only using Persistent Sector Protection. If the customer decides to use the password method, they must set the Password Mode Locking Bit. This will permanently set the part to operate only using password sector protection. It is important to remember that setting either the Persistent Sector Protection Mode Locking Bit or the Password Mode Locking Bit permanently selects the protection mode. It is not possible to switch between the two methods once a locking bit has been set. It is important that one mode is explicitly selected when the device is first pro- Am29BDD160G grammed, rather than relying on the default mode alone. This is so that it is not possible for a system program or virus to later set the Password Mode Locking Bit, which would cause an unexpected shift from the default Persistent Sector Protection Mode into the Password Protection Mode. The WP# Hardware Protection feature is always available, independent of the software managed protection method chosen. Persistent Sector Protection The Persistent Sector Protection method replaces the old 12 V controlled protection method while at the same time enhancing flexibility by providing three different sector protection states: ■ Persistently Locked—A sector is protected and cannot be changed. ■ Dynamically Locked—The sector is protected and can be changed by a simple command ■ Unlocked—The sector is unprotected and can be changed by a simple command Persistent Protection Bit (PPB) A single Persistent (non-volatile) Protection Bit is assigned to a maximum of four sectors (see the sector address tables for specific sector protection groupings). All 8 Kbyte boot-block sectors have individual sector Persistent Protection Bits (PPBs) for greater flexibility. Each PPB is individually modifiable through the PPB Write Command. Note: If a PPB requires erasure, all of the sector PPBs must first be preprogrammed prior to PPB erasing. All PPBs erase in parallel, unlike programming where individual PPBs are programmable. It is the responsibility of the user to perform the preprogramming operation. Otherwise, an already erased sector PPBs has the potential of being over-erased. There is no hardware mechanism to prevent sector PPBs over-erasure. Persistent Protection Bit Lock (PPB Lock) A global volatile bit. When set to “1”, the PPBs cannot be changed. When cleared (“0”), the PPBs are changeable. There is only one PPB Lock bit per device. The PPB Lock is cleared after power-up or hardware reset. There is no command sequence to unlock the PPB Lock. Dynamic Protection Bit (DYB) A volatile protection bit is assigned for each sector. After power-up or hardware reset, the contents of all DYBs is “0”. Each DYB is individually modifiable through the DYB Write Command. When the parts are first shipped, the PPBs are cleared, the DYBs are cleared, and PPB Lock is defaulted to power up in the cleared state – meaning the PPBs are changeable. When the device is first powered on the DYBs power up cleared (sectors not protected). The Protection State for each sector is determined by the logical OR of the PPB and the DYB related to that sector. For the sectors that have the PPBs cleared, the DYBs control whether or not the sector is protected or unprotected. By issuing the DYB Write command sequences, the DYBs will be set or cleared, thus placing each sector in the protected or unprotected state. These are the so-called Dynamic Locked or Unlocked states. They are called dynamic states because it is very easy to switch back and forth between the protected and unprotected conditions. This allows software to easily protect sectors against inadvertent changes yet does not prevent the easy removal of protection when changes are needed. The DYBs maybe set or cleared as often as needed. The PPBs allow for a more static, and difficult to change, level of protection. The PPBs retain their state across power cycles because they are Non-Volatile. Individual PPBs are set with a command but must all be cleared as a group through a complex sequence of program and erasing commands. The PPBs are limited to 100 erase cycles. The PPB Lock bit adds an additional level of protection. Once all PPBs are programmed to the desired settings, the PPB Lock may be set to “1”. Setting the PPB Lock disables all program and erase commands to the Non-Volatile PPBs. In effect, the PPB Lock Bit locks the PPBs into their current state. The only way to clear the PPB Lock is to go through a power cycle. System boot code can determine if any changes to the PPB are needed e.g. to allow new system code to be downloaded. If no changes are needed then the boot code can set the PPB Lock to disable any further changes to the PPBs during system operation. The WP# write protect pin adds a final level of hardware protection to the two outermost 8 Kbytes sectors in the 75% bank. When this pin is low it is not possible to change the contents of these two sectors. It is possible to have sectors that have been persistently locked, and sectors that are left in the dynamic state. The sectors in the dynamic state are all unprotected. If there is a need to protect some of them, a simple DYB Write command sequence is all that is necessary. The DYB write command for the dynamic sectors switch the DYBs to signify protected and unprotected, respectively. If there is a need to change the status of the persistently locked sectors, a few more steps are required. First, the PPB Lock bit must be disabled by either putting the device through a power-cycle, or hardware reset. The PPBs can then be changed to reflect the desired settings. Setting the PPB lock bit once again will lock the PPBs, and the device operates normally again. Note: to achieve the best protection, it’s recommended to execute the PPB lock bit set command early in the boot code, and protect the boot code by holding WP# = VIL. Am29BDD160G 23 ■ When the device is first powered on, or comes out Table 11. Sector Protection Schemes of a reset cycle, the PPB Lock bit set to the locked state, rather than cleared to the unlocked state. DYB PPB PPB Lock 0 0 0 Unprotected—PPB and DYB are changeable ing a unique 64-bit Password to the device. The Password Sector Protection method is otherwise identical to the Persistent Sector Protection method. 0 0 1 Unprotected—PPB not changeable, DYB is changeable A 64-bit password is the only additional tool utilized in this method. 0 1 0 1 0 0 1 1 0 0 1 1 1 0 1 1 1 1 ■ The only means to clear the PPB Lock bit is by writ- Sector State Protected—PPB and DYB are changeable Protected—PPB not changeable, DYB is changeable Table 11 contains all possible combinations of the DYB, PPB, and PPB lock relating to the status of the sector. In summary, if the PPB is set, and the PPB lock is set, the sector is protected and the protection can not be removed until the next power cycle clears the PPB lock. If the PPB is cleared, the sector can be dynamically locked or unlocked. The DYB then controls whether or not the sector is protected or unprotected. If the user attempts to program or erase a protected sector, the device ignores the command and returns to read mode. A program command to a protected sector enables status polling for approximately 1 µs before the device returns to read mode without having modified the contents of the protected sector. An erase command to a protected sector enables status polling for approximately 50 µs after which the device returns to read mode without having erased the protected sector. The programming of the DYB, PPB, and PPB lock for a given sect or can be verified by writing a DYB/PPB/ PPB lock verify command to the device. Persistent Sector Protection Mode Locking Bit Like the password mode locking bit, a Persistent Sector Protection mode locking bit exists to guarantee that the device remain in software sector protection. Once set, the Persistent Sector Protection locking bit prevents programming of the password protection mode locking bit. This guarantees that an unauthorized user Password Protection Mode The Password Sector Protection Mode method allows an even higher level of security than the Persistent Sector Protection Mode. There are two main differences between the Persistent Sector Protection and the Password Sector Protection Mode: 24 The password is stored in a one-time programmable (OTP) region of the flash memory. Once the Password Mode Locking Bit is set, the password is permanently set with no means to read, program, or erase it. The password is used to clear the PPB Lock bit. The Password Unlock command must be written to the flash, along with a password. The flash device internally compares the given password with the pre-programmed password. If they match, the PPB Lock bit is cleared, and the PPBs can be altered. If they do not match, the flash device does nothing. There is a built-in 2 µs delay for each “password check.” This delay is intended to thwart any efforts to run a program that tries all possible combinations in order to crack the password. Password and Password Mode Locking Bit In order to select the Password sector protection scheme, the customer must first program the password. One method of choosing a password would be to correlate it to the unique Electronic Serial Number (ESN) of the particular flash device. Another method could generate a database where all the passwords are stored, each of which correlates to a serial number on the device. Each ESN is different for every flash device; therefore each password should be different for every flash device. While programming in the password region, the customer may perform Password Verify operations. Once the desired password is programmed in, the customer must then set the Password Mode Locking Bit. This operation achieves two objectives: ■ It permanently sets the device to operate using the Password Protection Mode. It is not possible to reverse this function. ■ It also disables all further commands to the pass- word region. All program, and read operations are ignored. Both of these objectives are important, and if not carefully considered, may lead to unrecoverable errors. The user must be sure that the Password Protection method is desired when setting the Password Mode Locking Bit. More importantly, the user must be sure that the password is correct when the Password Mode Locking Bit is set. Due to the fact that read operations are disabled, there is no means to verify what the password is afterwards. If the password is lost after setting the Password Mode Locking Bit, there will be no way to clear the PPB Lock bit. Am29BDD160G The Password Mode Locking Bit, once set, prevents reading the 64-bit password on the DQ bus and further password programming. The Password Mode Locking Bit is not erasable. Once Password Mode Locking Bit is programmed, the Persistent Sector Protection Locking Bit is disabled from programming, guaranteeing that no changes to the protection scheme are allowed. 64-bit Password The 64-bit Password is located in its own memory space and is accessible through the use of the Password Program and Verify commands (see Password Verify Command). The password function works in conjunction with the Password Mode Locking Bit, which when set, prevents the Password Verify command from reading the contents of the password on the pins of the device. Write Protect (WP#) The device features a hardware protection option using a write protect pin that prevents programming or erasing, regardless of the state of the sector’s Persistent or Dynamic Protection Bits. The WP# pin is associated with the two outermost 8Kbytes sectors in the 75% bank. The WP# pin has no effect on any other sector. When WP# is taken to VIL, programming and erase operations of the two outermost 8 Kbytes sectors in the 75% bank are disabled. By taking WP# back to VIH, the two outermost 8 Kbytes sectors are enabled for program and erase operations, depending upon the status of the individual sector Persistent or Dynamic Protection Bits. If either of the two outermost sectors Persistent or Dynamic Protection Bits are programmed, program or erase operations are inhibited. If the sector Persistent or Dynamic Protection Bits are both erased, the two sectors are available for programming or erasing as long as WP# remains at V IH . The user must hold the WP# pin at either VIH or VIL during the entire program or erase operation of the two outermost sectors in the 75% bank. SecSi™ (Secured Silicon) Sector Protection The SecSi Sector is a 256-byte flash memory area that is either programmable at the customer or by AMD at the request of the customer. The SecSi Sector Entry command enables the host system to address the SecSi Sector for programming or reading. The SecSi sector address range is 00000h– 0003Fh for the top boot block configuration and 7FFC0h–7FFFFh for the bottom boot block configuration. Address range 00 040 h–00 7F F h for t he top boot block and 7F800h–7FFBFh return invalid data when addressed with the SecSi sector enabled. Unlike previous flash memory devices, the Am29BDD160 allows simultaneous operation while the SecSi sector is enabled. However, there are a number of restrictions associated with simultaneous operation and device operation when the SecSi sector is enabled: ■ The SecSi sector is not available for reading while the Password Unlock, any PPB program/erase opera tio n, or Pa ss wo rd pr og ra m mi n g a r e i n progress. Reading to any location in the small (25%) sector will return the status of these operations until these operations have completed execution. ■ Writing the corresponding DYB associated with the overlaid boot block sector results in the DYB NOT being updated. This is only accomplished when the SecSi sector is not enabled. ■ Reading the corresponding DYB associated with the overlaid boot block sector results in reading invalid data when the PPB Lock/DYB Verify command is issued. This function is only accomplished when the SecSi sector is not enabled. ■ All commands are available for execution when the SecSi sector is enabled except the following list. Issuing the following commands while the SecSi sector is enabled results in the command being ignored. — All Unlock Bypass commands — CFI — Accelerated Program — Program and Sector Erase Suspend — Program and Sector Erase Resume ■ Executing the Sector Erase command is permitted when the SecSi sector is enabled, however, there is no provision for erasing the SecSi sector with the Sector Erase command, regardless of the protection status. The Sector Erase command will erase all other sectors when the SecSi sector is enabled. ■ Executing the Chip Erase command is permitted when the SecSi sector is enabled. The Chip Erase command erases all sectors in the memory array except for sector 0 in top-boot block configuration and sector 45 in bottom-boot block configuration. The SecSi Sector is a one-time programmable memory area that cannot be erased. ■ Executing the SecSi Sector Entry command during program or erase suspend mode is allowed. The Sector Erase/Program Resume command is disabled while the SecSi sector is enabled, and the user cannot resume programming of the memory array until the Exit SecSi Sector command is written. SecSi Sector Protection Bit The SecSi Sector Protection Bit prevents programming of the SecSi sector memory area. Once set, the SecSi sector memory area contents are non-modifiable. Am29BDD160G 25 Persistent Protection Bit Lock The Persistent Protection Bit (PPB) Lock is a volatile bit that reflects the state of the Password Mode Locking Bit after power-up reset. If the Password Mode Locking Bit is set, which indicates the device is in Password Protection Mode, the PPB Lock Bit is also set after a hardware reset (RESET# asserted) or a power-up reset. The ONLY means for clearing the PPB Lock Bit in Password Protection Mode is to issue the Password Unlock command. Successful execution of the Password Unlock command clears the PPB Lock Bit, allowing for sector PPBs modifications. Asserting RESET#, taking the device through a poweron reset, or issuing the PPB Lock Bit Set command sets the PPB Lock Bit back to a “1”. If the Password Mode Locking Bit is not set, indicating Persistent Sector Protection Mode, the PPB Lock Bit is cleared after power-up or hardware reset. The PPB Lock Bit is set by issuing the PPB Lock Bit Set command. Once set the only means for clearing the PPB Lock Bit is by issuing a hardware or power-up reset. The Password Unlock command is ignored in Persistent Sector Protection Mode. Hardware Data Protection The command sequence requirement of unlock cycles for programming or erasing provides data protection against inadvertent writes. In addition, the following hardware data protection measures prevent accidental erasure or p ro g ram m i ng, w hi c h m ig h t o th e rwi se b e caused by spurious system level signals during VCC power-up and power-down transitions, or from system noise. Low VCC Write Inhibit command register and all internal erase/program circuits are disabled, and the 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 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 (VIL) while OE# is a logical one (VIH). Power-Up Write Inhibit If WE# = CE# = V I L and OE# = V I H 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. VCC and VIO Power-up And Power-down Sequencing The device imposes no restrictions on VCC and VIO power-up or power-down sequencing. Asserting RESET# to V IL is required during the entire VCC and VIO power sequence until the res p e c t i v e s u p p l i e s r e a c h t h e i r o p e ra t i n g voltages. Once, VCC and VIO attain their respecti ve o pe ra t in g vo lt a ge s , de - a s s e r ti o n o f RESET# to VIH is permitted. When VCC is less than VLKO, the device does not accept any write cycles. This protects data during VCC power-up and power-down. The Table 12. Bank 1 (Note 2) Sector Sector Group x16 Address Range (A18:A-1) x32 Address Range (A18:A0) Sector Size (Kwords) SA0 (Note 1) SG0 00000h-00FFFh 00000h-007FFh 4 SA1 SG1 01000h-01FFFh 00800h-00FFFh 4 SA2 SG2 02000h-02FFFh 01000h-017FFh 4 SA3 SG3 03000h-03FFFh 01800h-01FFFh 4 SA4 SG4 04000h-04FFFh 02000h-027FFh 4 SA5 SG5 05000h-05FFFh 02800h-02FFFh 4 SA6 SG6 06000h-06FFFh 03000h-037FFh 4 SA7 SG7 07000h-07FFFh 03800h-03FFFh 4 08000h-0FFFFh 04000h-07FFFh 32 10000h-17FFFh 08000h-0BFFFh 32 18000h-1FFFFh 0C000h-0FFFFh 32 SA8 SA9 SA10 26 Sector Addressees for Top Boot Sector Devices (Sheet 1 of 2) SG8 Am29BDD160G Table 12. Sector Addressees for Top Boot Sector Devices (Sheet 2 of 2) SA11 20000h-27FFFh 10000h-13FFFh 32 28000h-2FFFFh 14000h-17FFFh 32 SA13 30000h-37FFFh 18000h-1BFFFh 32 SA14 38000h-3FFFFh 1C000h-1FFFFh 32 SA15 40000h-47FFFh 20000h-23FFFh 32 48000h-4FFFFh 24000h-27FFFh 32 SA17 50000h-57FFFh 28000h-2BFFFh 32 SA18 58000h-5FFFFh 2C000h-2FFFFh 32 SA19 60000h-67FFFh 30000h-33FFFh 32 68000h-6FFFFh 34000h-37FFFh 32 SA21 70000h-77FFFh 38000h-3BFFFh 32 SA22 78000h-7FFFFh 3C000h-3FFFFh 32 SA23 80000h-87FFFh 40000h-43FFFh 32 88000h-8FFFFh 44000h-47FFFh 32 SA25 90000h-97FFFh 48000h-4BFFFh 32 SA26 98000h-9FFFFh 4C000h-4FFFFh 32 SA27 A0000h-A7FFFh 50000h-53FFFh 32 A8000h-AFFFFh 54000h-57FFFh 32 SA29 B0000h-B7FFFh 58000h-5BFFFh 32 SA30 B8000h-BFFFFh 5C000h-5FFFFh 32 SA31 C0000h-C7FFFh 60000h-63FFFh 32 C8000h-CFFFFh 64000h-67FFFh 32 D0000h-D7FFFh 68000h-6BFFFh 32 SA34 D8000h-DFFFFh 6C000h-6FFFFh 32 SA35 E0000h-E7FFFh 70000h-73FFFh 32 E8000h-EFFFFh 74000h-77FFFh 32 F0000h-F7FFFh 78000h-7BFFFh 32 SA12 SA16 SA20 SA24 SA28 SA32 SA33 SA36 Bank 2 (Note 2) SG9 SG10 SG11 SG12 SG13 SG14 SG15 SA37 SA38 SG16 F8000h-F8FFFh 7C000h-7C7FFh 4 SA39 SG17 F9000h-F9FFFh 7C800h-7CFFFh 4 SA40 SG18 FA000h-FAFFFh 7D000h-7D7FFh 4 SA41 SG19 FB000h-FBFFFh 7D800h-7DFFFh 4 SA42 SG20 FC000h-FCFFFh 7E000h-7E7FFh 4 SA43 SG21 FD000h-FDFFFh 7E800h-7EFFFh 4 SA44 (Note 3) SG22 FE000h-FEFFFh 7F000h-7F7FFh 4 SA45 (Note 3) SG23 FF000h-FFFFFh 7F800h-7FFFFh 4 Notes: 1. SecSi Sector overlays this sector when enabled. 2. The bank address is determined by A18 and A17. BA = 00 for Bank 1 and BA = 01, 10, or 11 for Bank 2. 3. This sector has the additional WP# pin sector protection feature. Am29BDD160G 27 Table 13. Bank 1 (Note 2) Sector Addresses for Bottom Boot Sector Devices (Sheet 1 of 2) Sector Sector Group x16 Address Range (A18:A-1) x32 Address Range (A18:A0) Sector Size (Kwords) SA0 (Note 1) SG0 00000h-00FFFh 00000h-007FFh 4 SA1 (Note 1) SG1 01000h-01FFFh 00800h-00FFFh 4 SA2 SG2 02000h-02FFFh 01000h-017FFh 4 SA3 SG3 03000h-03FFFh 01800h-01FFFh 4 SA4 SG4 04000h-04FFFh 02000h-027FFh 4 SA5 SG5 05000h-05FFFh 02800h-02FFFh 4 SA6 SG6 06000h-06FFFh 03000h-037FFh 4 SA7 SG7 07000h-07FFFh 03800h-03FFFh 4 08000h-0FFFFh 04000h-07FFFh 32 10000h-17FFFh 08000h-0BFFFh 32 SA10 18000h-1FFFFh 0C000h-0FFFFh 32 SA11 20000h-27FFFh 10000h-13FFFh 32 28000h-2FFFFh 14000h-17FFFh 32 30000h-37FFFh 18000h-1BFFFh 32 38000h-3FFFFh 1C000h-1FFFFh 32 40000h-47FFFh 20000h-23FFFh 32 48000h-4FFFFh 24000h-27FFFh 32 SA17 50000h-57FFFh 28000h-2BFFFh 32 SA18 58000h-5FFFFh 2C000h-2FFFFh 32 SA19 60000h-67FFFh 30000h-33FFFh 32 68000h-6FFFFh 34000h-37FFFh 32 SA21 70000h-77FFFh 38000h-3BFFFh 32 SA22 78000h-7FFFFh 3C000h-3FFFFh 32 SA23 80000h-87FFFh 40000h-43FFFh 32 88000h-8FFFFh 44000h-47FFFh 32 SA25 90000h-97FFFh 48000h-4BFFFh 32 SA26 98000h-9FFFFh 4C000h-4FFFFh 32 SA27 A0000h-A7FFFh 50000h-53FFFh 32 A8000h-AFFFFh 54000h-57FFFh 32 SA29 B0000h-B7FFFh 58000h-5BFFFh 32 SA30 B8000h-BFFFFh 5C000h-5FFFFh 32 SA31 C0000h-C7FFFh 60000h-63FFFh 32 C8000h-CFFFFh 64000h-67FFFh 32 SA33 D0000h-D7FFFh 68000h-6BFFFh 32 SA34 D8000h-DFFFFh 6C000h-6FFFFh 32 SA35 E0000h-E7FFFh 70000h-73FFFh 32 E8000h-EFFFFh 74000h-77FFFh 32 SA8 SA9 SA12 SA13 SG8 SG9 SA14 SA15 SA16 SA20 SA24 SA28 SA32 SA36 28 SG10 SG11 SG12 SG13 SG14 SG15 Am29BDD160G Table 13. Sector Addresses for Bottom Boot Sector Devices (Sheet 2 of 2) SA37 Bank 2 (Note 2) F0000h-F7FFFh 78000h-7BFFFh 32 SA38 SG16 F8000h-F8FFFh 7C000h-7C7FFh 4 SA39 SG17 F9000h-F9FFFh 7C800h-7CFFFh 4 SA40 SG18 FA000h-FAFFFh 7D000h-7D7FFh 4 SA41 SG19 FB000h-FBFFFh 7D800h-7DFFFh 4 SA42 SG20 FC000h-FCFFFh 7E000h-7E7FFh 4 SA43 SG21 FD000h-FDFFFh 7E800h-7EFFFh 4 SA44 SG22 FE000h-FEFFFh 7F000h-7F7FFh 4 SA45 (Note 3) SG23 FF000h-FFFFFh 7F800h-7FFFFh 4 Notes: 1. This sector has the additional WP# pin sector protection feature. 2. The bank address is determined by A18 and A17. BA = 00, 01, or 10 for Bank 1 and BA = 11 for Bank 2. 3. SecSi Sector overlays this sector when enabled. Am29BDD160G 29 COMMON FLASH MEMORY INTERFACE (CFI) The Common Flash Interface (CFI) specification outlines device and host system software interrogation handshake, which allows specific vendor-specified software algorithms to be used for entire families of devices. Software support can then be device-independent, JEDEC ID-independent, and forward- and backward-compatible for the specified flash device families. Flash vendors can standardize their existing interfaces for long-term compatibility. This device enters the CFI Query mode when the system writes the CFI Query command, 98h, to address 55h in word mode (or address AAh in byte mode), any time the device is ready to read array Table 14. (Addresses x32 Mode) Addresses (x16 Mode) Data 10h 20h 0051h 11h 22h 0052h 12h 24h 0059h 13h 26h 0002h 14h 28h 0000h 15h 2Ah 0040h 16h 2Ch 0000h 17h 2Eh 0000h 18h 30h 0000h 19h 32h 0000h 1Ah 34h 0000h Table 15. data. The system can read CFI information at the addresses given in Tables 13–16. 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 13– 16. 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 Wid e Web at http://www.amd.com/products/ nvd/overview/cfi.html. Alternatively, contact an AMD representative for copies of these documents. CFI Query Identification String Description Query Unique ASCII string “QRY” 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) CFI System Interface String (Sheet 1 of 2) Addresses (x32 Mode) Addresses (x16 Mode) Data Description 1Bh 36h 0023h VCC Min. (write/erase) DQ7–DQ4: volts, DQ3–DQ0: 100 millivolt 1Ch 38h 0027h VCC Max. (write/erase) DQ7–DQ4: volts, DQ3–DQ0: 100 millivolt 1Dh 3Ah 0000h VPP Min. voltage (00h = no VPP pin present) 1Eh 3Ch 0000h VPP Max. voltage (00h = no VPP pin present) 1Fh 3Eh 0004h Typical time out per single word/doubleword program 2N µs 20h 40h 0000h Typical time out for Min. size buffer program 2N µs (00h = not supported) 21h 42h 0009h Typical time out per individual block erase 2N ms 22h 44h 0000h Typical time out for full chip erase 2N ms (00h = not supported) 23h 46h 0005h Max. time out for word/doubleword program 2N times typical 24h 48h 0000h Max. time out for buffer write 2N times typical 25h 4Ah 0007h Max. time out per individual block erase 2N times typical 30 Am29BDD160G Table 15. 26h 4Ch CFI System Interface String (Sheet 2 of 2) 0000h Max. time out for full chip erase 2N times typical (00h = not supported) Table 16. CFI Device Geometry Definition Addresses (x32 Mode) Addresses (x16 Mode) Data 27h 4Eh 0015h Description Device Size = 2N byte Flash Device Interface description (for complete description, please refer to CFI publication 100) 28h 50h 0005h 29h 52h 0000h 0000 = x8-only asynchronous interface 0001 = x16-only asynchronous interface 0002 = supports x8 and x16 via BYTE# with asynchronous interface 0003 = x 32-only asynchronous interface 0005 = supports x16 and x32 via WORD# with asynchronous interface 2Ah 54h 0000h Max. number of byte in multi-byte program = 2N 2Bh 56h 0000h (00h = not supported) 2Ch 58h 0003h 0004h 2Dh 5Ah 0007h 2Eh 5Ch 0000h Erase Block Region 1 Information 2Fh 5Eh 0020h (refer to the CFI specification or CFI publication 100) 30h 60h 0000h 31h 62h 001Dh 32h 64h 0000h Erase Block Region 2 Information 33h 66h 0000h (refer to the CFI specification or CFI publication 100) 34h 68h 0001h 35h 6Ah 0007h 36h 6Ch 0000h Erase Block Region 3 Information 37h 6Eh 0020h (refer to the CFI specification or CFI publication 100) 38h 70h 0000h Number of Erase Block Regions within device 0003 = Speed options 54D, 65D, 65A 39h 72h 0000h 3Ah 74h 0000h Erase Block Region 4 Information 3Bh 76h 0000h (refer to the CFI specification or CFI publication 100) 3Ch 78h 0000h Table 17. CFI Primary Vendor-Specific Extended Query (Sheet 1 of 3) Addresses (x32 Mode) Addresses (x16 Mode) Data 40h 80h 0050h 41h 82h 0052h 42h 84h 0049h 43h 86h 0031h Major version number, ASCII (reflects modifications to the silicon) 44h 88h 0033h Minor version number, ASCII (reflects modifications to the CFI table) Description Query-unique ASCII string “PRI” Am29BDD160G 31 Table 17. CFI Primary Vendor-Specific Extended Query (Sheet 2 of 3) Address Sensitive Unlock (DQ1, DQ0) 00 = Required, 01 = Not Required Silicon Revision Number (DQ5–DQ2 45h 8Ah 0004h 0000 = CS49 0001 = CS59 0010 = CS99 0011 = CS69 0100 = CS119 Erase Suspend (1 byte) 46h 8Ch 0002h 00 = Not Supported 01 = To Read Only 02 = To Read and Write 47h 8Eh 0001h 48h 90h 0000h Sector Protect (1 byte) 00 = Not Supported, X = Number of sectors in per group Temporary Sector Unprotect 00h = Not Supported, 01h = Supported Sector Protect/Unprotect scheme (1 byte) 01 =29F040 mode, 02 = 29F016 mode 49h 92h 0006h 03 = 29F400 mode, 04 = 29LV800 mode 05 = 29BDS640 mode (Software Command Locking) 06 = BDD160 mode (New Sector Protect) 07 = 29LV800 + PDL128 (New Sector Protect) mode Simultaneous Operation (1 byte) 4Ah 94h 001Fh 4Bh 96h 0001h 4Ch 98h 0000h 4Dh 9Ah 00B5h 4Eh 9Ch 00C5h 00h = Not Supported, X = Number of sectors in all banks except Bank 1 Burst Mode Type 00h = Not Supported, 01h = Supported Page Mode Type 00h = Not Supported, 01h = 4 Word Page, 02h = 8 Word Page ACC (Acceleration) Supply Minimum 00h = Not Supported (DQ7-DQ4: volt in hex, DQ3-DQ0: 100 mV in BCD) ACC (Acceleration) Supply Maximum 00h = Not Supported, (DQ7-DQ4: volt in hex, DQ3-DQ0: 100 mV in BCD) Top/Bottom Boot Sector Flag (1 byte) 00h = Uniform device, no WP# control, 01h = 8 x 8 Kb sectors at top and bottom with WP# control 4Fh 9Eh 0001h 02h = Bottom boot device 03h = Top boot device 04h = Uniform, Bottom WP# Protect 05h = Uniform, Top WP# Protect If the number of erase block regions = 1, then ignore this field Program Suspend 50h A0h 0001h 00 = Not Supported 01 = Supported 51h 32 A2h 0000h Write Buffer Size 2(N+1) word(s) Am29BDD160G Table 17. CFI Primary Vendor-Specific Extended Query (Sheet 3 of 3) Bank Organization (1 byte) 57h AEh 0002h 00 = If data at 4Ah is zero XX = Number of banks 58h B0h 000Fh 59h B2h 001Fh 5Ah B4h 0000h 5Bh B6h 0000h Bank 1 Region Information (1 byte) XX = Number of Sectors in Bank 1 Bank 2 Region Information (1 byte) XX = Number of Sectors in Bank 2 Bank 3 Region Information (1 byte) XX = Number of Sectors in Bank 3 Bank 4 Region Information (1 byte) XX = Number of Sectors in Bank 4 Command Definitions Reading Array Data in Burst Mode Writing specific address and data commands or sequences into the command register initiates device operations. Tables 18-21 define 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. The device is capable of very fast Burst mode read operations. The configuration register sets the read configuration, burst order, frequency configuration, and burst length. 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 AC Characteristics section for timing diagrams. Reading Array Data in Non-burst Mode The device is automatically set to reading array data after device power-up. No commands are required to retrieve data. The device is also ready to read array data after completing an Embedded Program or Embedded Erase algorithm. After the device accepts an Erase Suspend command, the device enters the Erase Suspend mode. The system can read array data using the standard read timings, except that if it reads at an address within erase-suspended sectors, the device outputs status data. After completing a programming operation in the Erase Suspend mode, the system may once again read array data with the same exception. See Sector Erase and Program Suspend Command for more information on this mode. The system must issue the reset command to re-enable the device for reading array data if DQ5 goes high, or while in the autoselect mode. See the The programming of the PPB Lock Bit for a given sector can be verified by writing a PPB Lock Bit status verify command to the device. section. See also Asynchronous Read Operation (Non-Burst) in the Key to Switching Waveforms section for more information. See the Sector Erase and Program Resume Command sections for more information on this mode. Upon power on, the device defaults to the asynchronous mode. In this mode, CLK, and ADV# are ignored. The device operates like a conventional / t nanoseconds Flash device. Data is available t ACC CE after address becomes stable, CE# become asserted. The device enters the burst mode by enabling synchronous burst reads in the configuration register. The device exits burst mode by disabling synchronous burst reads in the configuration register. (See Command Definitions). The RESET# command will not terminate the Burst mode. System reset (power on reset) will terminate the Burst mode. The device has the regular control pins, i.e. Chip Enable (CE#), Write Enable (WE#), and Output Enable (OE#) to control normal read and write operations. Moreover, three additional control pins have been added to allow easy interface with minimal glue logic to a wide range of microprocessors / microcontrollers for high performance Burst read capability. These additional pins are Address Valid (ADV#) and Clock (CLK). CE#, OE#, and WE# are asynchronous (relative to CLK). The Burst mode read operation is a synchronous operation tied to the edge of the clock. The microprocessor / microcontroller supplies only the initial address, all subsequent addresses are automatically generated by the device with a timing defined by the Configuration Register definition. The Burst read cycle consists of an address phase and a corresponding data phase. During the address phase, the Address Valid (ADV#) pin is asserted (taken Low) for one clock period. Together with the edge of the CLK, the starting burst address is loaded into the internal Burst Address Counter. The internal Burst Address Counter can be configured to either the Linear modes (See “Initial Access Delay Configuration”). Am29BDD160G 33 During the data phase, the first burst data is available after the initial access time delay defined in the Configuration Register. For subsequent burst data, every rising (or falling) edge of the CLK will trigger the output data with the burst output delay and sequence defined in the Configuration Register. Tables 17–20 show all the commands executed by the device. The device automatically powers up in the read/reset state. It is not necessary to issue a read/re-set command after power-up or hardware reset. Read/Reset Command After power-up or hardware reset, the Am29BDD160 automatically enter the read state. It is not necessary to issue the reset command after power-up or hardware reset. Standard microprocessor cycles retrieve array data, however, after power-up, only asynchronous accesses are permitted since the Configuration Register is at its reset state with burst accesses disabled. The Reset command is executed when the user needs to exit any of the other user command sequences (such as autoselect, program, chip erase, etc.) to return to reading array data. There is no latency between executing the Reset command and reading array data. The Reset command does not disable the SecSi sector if it is enabled. This function is only accomplished by issuing the SecSi Sector Exit command. Autoselect Command (The Autoselect Command requires the user to execute the Read/Reset command to return the device back to reading the array contents.) Program Command Sequence Programming is a four-bus-cycle operation. The program command sequence is initiated by writing two unlock write cycles, followed by the program set-up command. The program address and data are written next, which in turn initiate the Embedded Program algorithm. The system is not required to provide further controls or timings. The device automatically generates the program pulses and verifies the programmed cell margin. Tables 18 and 20 shows the address and data requirements for the program command sequence. During the Embedded Program algorithm, 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.) When the Embedded Program algorithm is complete, the device returns to reading array data and addresses are no longer latched. Note that an address change is required to begin read valid array data. Except for Program Suspend, any commands written to the device during the Embedded Program Algorithm are ignored. Note that a hardware reset immediately terminates the programming operation. The command sequence should be reinitiated once that bank has returned to reading array data, to ensure data integrity. Flash memories are intended for use in applications where the local CPU alters memory contents. As such, manufacturer 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 V . However, multiplexing ID high voltage onto the address lines is not generally desired system design practice. 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”. The Am29BDD160 contains an Autoselect Command operation to supplement traditional PROM programming methodology. The operation is initiated by writing the Autoselect command sequence into the command register. The bank address (BA) is latched during the autoselect command sequence write operation to distinguish which bank the Autoselect command references. Reading the other bank after the Autoselect command is written results in reading array data from the other bank and the specified address. Following the command write, a read cycle from address (BA)XX00h retrieves the manufacturer code of (BA)XX01h. Three sequential read cycles at addresses (BA) XX01h, (BA) XX0Eh, and (BA) XX0Fh read the three-byte device ID (see Tables 19 and 20). All manufacturer and device codes exhibit odd parity with the MSB of the lower byte (DQ7) defined as the parity bit. Accelerated Program Command 34 The Accelerated Chip Program mode is designed to improve the Word or Double Word programming speed. Improving the programming speed is accomplished by using the ACC pin to supply both the word-line voltage and the bitline current instead of using the VPP pump and drain pump, which is limited to 2.5 mA. Because the external ACC pin is capable of supplying significantly large amounts of current compared to the drain pump, all 32 bits are available for programming with a single programming pulse. This is an enormous improvement over the standard 5-bit programming. If the user is able to supply an external power supply and connect it to the ACC pin, significant time savings are realized. In order to enter the Accelerated Program mode, the (12 V ± 0.5 V) ACC pin must first be taken to V HH and followed by the one-cycle command with the program address and data to follow. The Accelerated Chip Program command is only executed when the Am29BDD160G device is in Unlock Bypass mode and during normal read/reset operating mode. Start In this mode, the write protection function is bypassed unless the PPB Lock Bit = 1. The Accelerated Program command is not permitted if the SecSi sector is enabled. 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. Tables 18 and 20 show 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 the data 00h. Addresses are don’t care for both cycles. The device then returns to reading array data. Figure 4 illustrates the algorithm for the program operation. See the Erase/Program Operations table in AC Characteristics for parameters, and to Figure 22 for timing diagrams. Note:See Tables 18 and 20 for program command sequence. Figure 4. Program Operation Unlock Bypass Entry Command The Unlock Bypass command, once issued, is used to bypass the “unlock” sequence for program, chip erase, and CFI commands. This feature permits slow PROM programmers to significantly improve programming/erase throughput since the command sequence often requires microseconds to execute a single write operation. Therefore, once the Unlock Bypass command is issued, only the two-cycle program and erase bypass commands are required. The Unlock Bypass Command is ignored if the SecSi sector is enabled. To return back to normal operation, the Unlock Bypass Reset Command must be issued. The following four sections describe the commands that may be executed within the unlock bypass mode. Unlock Bypass Program Command The Unlock Bypass Program command is a two-cycle command that consists of the actual program command (A0h) and the program address/data combination. This command does not require the two-cycle “unlock” sequence since the Unlock Bypass command was previously issued. As with the standard program command, multiple Unlock Bypass Program commands can be issued once the Unlock Bypass command is issued. To return back to standard read operations, the Unlock Bypass Reset command must be issued. The Unlock Bypass Program Command is ignored if the SecSi sector is enabled. Am29BDD160G 35 Unlock Bypass Chip Erase Command ■ Checking the status of the RY/BY# pin (see RY/ The Unlock Bypass Chip Erase command is a 2-cycle command that consists of the erase setup command (80h) and the actual chip erase command (10h). This command does not require the two-cycle “unlock” sequence since the Unlock Bypass command was previously issued. Unlike the standard erase command, there is no Unlock Bypass Erase Suspend or Erase Resume commands. To return back to standard read operations, the Unlock Bypass Reset command must be issued. The Unlock Bypass Program Command is ignored if the SecSi sector is enabled. Unlock Bypass CFI Command The Unlock Bypass CFI command is available for PROM programmers and target systems to read the CFI codes while in Unlock Bypass mode. See Common Flash Memory Interface (CFI) for specific CFI codes. To return back to standard read operations, the Unlock Bypass Reset command must be issued. The Unlock Bypass Program Command is ignored if the SecSi sector is enabled. The Unlock Bypass Reset command places the device in standard read/reset operating mode. Once executed, normal read operations and user command sequences are available for execution. The Unlock Bypass Program Command is ignored if the SecSi sector is enabled. Chip Erase Command The Chip Erase command is used to erase the entire flash memory contents of the chip by issuing a single command. Chip erase is a six-bus cycle operation. There are two “unlock” write cycles, followed by writing the erase “set up” command. Two more “unlock” write cycles are followed by the chip erase command. Chip erase does not erase protected sectors. The chip erase operation initiates the Embedded Erase algorithm, which automatically preprograms and verifies the entire memory to an all zero pattern prior to electrical erase. The system is not required to provide any controls or timings during these operations. Note that a hardware reset immediately terminates the programming operation. The command sequence should be reinitiated once that bank has returned to reading array data, to ensure data integrity. The Embedded Erase algorithm erase begins on the rising edge of the last WE# or CE# pulse (whichever occurs first) in the command sequence. The status of the erase operation is determined three ways: ■ Data# polling of the DQ7 pin (see DQ7: Data# Polling) ■ Checking the status of the toggle bit DQ6 (see DQ6: Toggle Bit I) 36 BY#: Ready/Busy#) Once erasure has begun, only the Erase Suspend command is valid. All other commands are ignored. When the Embedded Erase algorithm is complete, the device returns to reading array data, and addresses are no longer latched. Note that an address change is required to begin read valid array data. Figure 5 illustrates the Embedded Erase Algorithm. See the Erase/Program Operations tables in AC Characteristics for parameters, and to Figure 22 for timing diagrams. Sector Erase Command The Sector Erase command is used to erase individual sectors or the entire flash memory contents. Sector erase is a six-bus cycle operation. There are two “unlock” write cycles, followed by writing the erase “set up” command. Two more “unlock” write cycles are then followed by the erase command (30h). The sector address (any address location within the desired sector) is latched on the falling edge of WE# or CE# (whichever occurs last) while the command (30h) is latched on the rising edge of WE# or CE# (whichever occurs first). Specifying multiple sectors for erase is accomplished by writing the six bus cycle operation, as described above, and then following it by additional writes of only the last cycle of the Sector Erase command to addresses or other sectors to be erased. The time between Sector Erase command writes must be less than 80 µs, otherwise the command is rejected. It is recommended that processor interrupts be disabled during this time to guarantee this critical timing 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# (or CE#) will initiate the execution of the Sector Erase command(s). If another falling edge of the WE# (or CE#) occurs within the 80 µs time-out window, the timer is reset. Once the 80 µs window has timed out and erasure has begun, only the Erase Suspend command is recognized (see Sector Erase and Program Suspend Command and Sector Erase and Program Resume Command sections). If that occurs, the sector erase command sequence should be reinitiated once that bank has returned to reading array data, to ensure data integrity. Loading the sector erase registers may be done in any sequence and with any number of sectors. Sector erase does not require the user to program the device prior to erase. The device automatically preprograms all memory locations, within sectors to be erased, prior to electrical erase. When erasing a sector or sectors, the remaining unselected sectors or the write protected sectors are unaffected. The system is not required to provide any controls or timings during sector erase operations. The Erase Suspend and Erase Resume commands may be written as often as required during a sector erase operation. Am29BDD160G Automatic sector erase operations begin on the rising edge of the WE# or CE# pulse of the last sector erase command issued, and once the 80 µs time-out window has expired. The status of the sector erase operation is determined three ways: ■ Data# polling of the DQ7 pin ■ Checking the status of the toggle bit DQ6 ■ Checking the status of the RY/BY# pin and Programming operation, which includes the time-out period for Sector Erase. Sector Erase and Program Suspend Operation Mechanics ■ A successful erase pulse has a duration or 1.2 ms ± 20%, depending on the number of previous erase cycles (among other factors). Further status of device activity during the sector erase operation is determined using toggle bit DQ2 (refer to DQ2: Toggle Bit II). When the Embedded Erase algorithm is complete, the device returns to reading array data, and addresses are no longer latched. Note that an address change is required to begin read valid array data. Figure 5 illustrates the Embedded™ Erase Algorithm, using a typical command sequence and bus operation. Refer to the Erase/Program Operations tables in the AC Characteristics section for parameters, and to Figure 22 for timing diagrams. Embedded Erase algorithm in progress Note: 1. See Tables 18 and 20 for erase command sequence. 2. See DQ3: Sector Erase Timer for more information. Figure 5. Erase Operation Sector Erase and Program Suspend Command The Sector Erase and Program Suspend command allows the user to interrupt a Sector Erase or Program operation and perform data read or programs in a sector that is not being erased or to the sector where a programming operation was initiated. This command is applicable only during the Sector Erase ■ A successful sector erase operation requires 300 successful erase pulses. ■ An internal counter monitors the number of erase pulses initiated and has a maximum value of 5980. The counter is incremented by one every time an erase pulse is initiated, regardless of whether or not that erase pulse is successful. An erase pulse is terminated immediately when the suspend command is executed. A new erase pulse is initiated when the resume command is executed (and the counter is incremented). Given that 300 successful erase pulses are required, a successful sector erase operation shall have a maximum of 5680 erase suspends. The Sector Erase and Program Suspend command is ignored if written during the execution of the Chip Erase operation or Embedded Program Algorithm (but will reset the chip if written improperly during the command sequences). Writing the Sector Erase and Program command during the Sector Erase time-out results in immediate termination of the time-out period and suspension of the erase operation. Once in Erase Suspend, the device is available for reading (note that in the Erase Suspend mode, the Reset command is not required for read operations and is ignored) or program operations in sectors not being erased. Any other command written during the Erase Suspend mode is ignored, except for the Sector Erase and Program Resume command. Writing the Erase and Program Resume command resumes the sector erase operation. The bank address of the erase suspended bank is required when writing this command If the Sector Erase and Program Suspend command is written during a programming operation, the device suspends programming operations and allows only read operations in sectors not selected for programming. Further nesting of either erase or programming operations is not permitted. Table 18 summarizes permissible operations during Erase and Program Suspend. (A busy sector is one that is selected for programming or erasure.): Table 18. Allowed Operations During Erase/Program Suspend Sector Program Suspend Erase Suspend Busy Sector Program Resume Erase Resume Non-busy sectors Read Only Read or Program Am29BDD160G 37 When the Sector Erase and Program Suspend command is written during a Sector Erase operation, the chip will take between 0.1 µs and 20 µs to actually suspend the operation and go into the erase suspended read mode (pseudo-read mode), at which time the user can read or program from a sector that is not erase suspended. Reading data in this mode is the same as reading from the standard read mode, except that the data must be read from sectors that have not been erase suspended. Polling DQ6 on two immediately consecutive reads from a given address provides the system with the ability to determine if the device is in Erase or Program Suspend. Before the device enters Erase or Program Suspend, the DQ6 pin toggles between two immediately consecutive reads from the same address. After the device has entered Erase suspend, DQ6 stops toggling between two immediately consecutive reads to the same address. During the Sector Erase operation and also in Erase suspend mode, two immediately consecutive readings from the erase-suspended sector causes DQ2 to toggle. DQ2 does not toggle if reading from a non-busy (non-erasing) sector (stored data is read). No bits are toggled during program suspend mode. Software must keep track of the fact that the device is in a suspended mode. After entering the erase-suspend-read mode, the system may read or program within any non-suspended sector: ■ A read operation from the erase-suspended bank returns polling data during the first 8 µs after the erase suspend command is issued; read operations thereafter return array data. Read operations from the other bank return array data with no latency. ■ A program operation while in the erase suspend mode is the same as programming in the regular program mode, except that the data must be programmed to a sector that is not erase suspended. Write operation status is obtained in the same manner as a normal program operation. The Configuration Register Read Command is fully operational if the SecSi sector is enabled. Configuration Register Write Command The Configuration Register Write command is used to modify the contents of the Configuration Register. Execution of this command is only allowed while in user mode and is not available during Unlock Bypass mode or during Security mode. The Configuration Register Write command is preceded by the standard two-cycle “unlock” sequence, followed by the Configuration Register Write command (D0h), and finally followed by writing the contents of the Configuration Register to any address. The contents of the Configuration Register are place on DQ15– DQ0. If WORD# is at VIH (32-bit DQ Bus), the contents of DQ31–DQ16 are XXXXh and are ignored. Writing the Configuration Register while an Embedded Algorithm™ or Erase Suspend modes are executing results in the contents of the Configuration Register not being updated. The Configuration Register Read Command is fully operational if the SecSi sector is enabled. Common Flash Interface (CFI) Command Sector Erase and Program Resume Command The Sector Erase and Program Resume command (30h) resumes a Sector Erase or Program operation that has been suspended. Any further writes of the Sector Erase and Program Resume command ignored. However, another Sector Erase and Program Suspend command can be written after the device has resumed sector erase operations. Note that until a suspended program or erase operation has resumed, the contents of that sector are unknown. The Sector Erase and Program Resume Command is ignored if the SecSi sector is enabled. Configuration Register Read Command The Configuration Register Read command is used to verify the contents of the Configuration 38 Register. Execution of this command is only allowed while in user mode and is not available during Unlock Bypass mode or during Security mode. The Configuration Register Read command is preceded by the standard two-cycle “unlock” sequence, followed by the Configuration Register Read command (C6h), and finally followed by performing a read operation to the bank address specified when the C6h command was written. Reading the other bank results in reading the flash memory contents. The contents of the Configuration Register are place on DQ15–DQ0. If WORD# is at V I H (32-bit DQ Bus), the contents of DQ31–DQ16 are XXXXh and should be ignored. The user should execute the Read/Reset command to place the device back in standard user operation after executing the Configuration Register Read command. The Common Flash Interface (CFI) command prov i d e s d e v i c e s i z e , g e o m e t r y, a n d c a p a b i l i t y information directly to the users system. Flash devices that support CFI, have a “Query Command” that returns information about the device to the system. The Query structure contents are read at the specific address locations following a single system write cycle where: ■ A 98h query command code is written to 55h address location within the device’s address space ■ The device is initially in any valid read state, such as “Read Array” or “Read ID Data” Other device statistics may exist within a long sequence of commands or data input; such sequences must first be completed or terminated before writing of the 98H Query command, otherwise invalid Query data structure output may result. Am29BDD160G Note that for data bus bits greater than DQ 7 (DQ31–DQ8), the valid Query access code has all zeroes (“0”s) in the upper DQ bus locations. Thus, the 16-bit Query command code is 0098h and the 32-bit Query command code is 00000098h. To terminate the CFI operation, it is necessary to execute the Read/Reset command. The CFI command is not permitted if the SecSi sector See Common Flash Memory Interface (CFI) for the is enabled and Simultaneous Operation is disab led s pec if ic C FI com ma n d c odes , on c e th e command is entered. See Common Flash Memory Interface (CFI) for the specific CFI command codes. Am29BDD160G 39 SecSi Sector Entry Command The SecSi Sector Entry command enables the SecSi (OTP) sector to overlay the 8 KB outermost sector in the small (25%) bank. The SecSi sector overlays 00000h–0003Fh for the top boot block configuration and 7FFC0h–7FFFFh for the bottom boot block confiuration. Address range 00040h–007FFh for the top boot block and 7F800h–7FFBFh return invalid data when addressed with the SecSi sector enabled. The following commands are permitted after issuing the SecSi Sector Entry command: 1. Autoselect 2. Password Program (x16 and x32) 3. Password Verify 4. Password Unlock (x16 and x32) 5. Read/Reset 6. Program 7. Chip and Sector Erase 8. SecSi Sector Protection Bit Program 9. PPB Program 10.All PPB Erase 11. PPB Lock Bit Set 12.DYB Write 13.DYB/PPB/PPB Lock Bit Verify 14.Security Reset 15.Configuration Register Write 16.Configuration Register Read The following commands are unavailable when the SecSi sector is enabled. Issuing the following commands while the SecSi sector is enabled results in the command being ignored. 1. Unlock Bypass Password Program Command The Password Program Command permits programming the password that is used as part of the hardware protection scheme. The actual password is 64-bits long. Depending upon the state of the WORD# pin, multiple Password Program Commands are required. For a x16 bit data bus, 4 Password Program comman ds are required to program the password. For a x32 bit data bus, 2 Password Program commands are required. The user must enter the unlock cycle, password program command (38h) and the program address/data for each portion of the password when programming. There are no provisions for entering the 2-cycle unlock cycle, the password program command, and all the password data. There is no special addressing order required for programming the password. Also, when the password is undergoing programming, Simultaneous Operation is disabled. Read operations to any memory location will return the programming status. Once programming is complete, the user must issue a Read/Reset command to return the device to normal operation. Once the Password is written and verified, the Password Mode Locking Bit must be set in order to prevent verification. The Password Program Command is only capable of programming “0”s. Programming a “1” after cell is programmed as a “0” results in a time-out by the Embedded Program Algorithm™ with the cell remaining as a “0”. The password is all F’s when shipped from the factory. All 64-bit password combinations are valid as a password. Password Programming is permitted if the SecSi sector is enabled. Password Verify Command 2. CFI 3. Accelerated Program 4. Program and Sector Erase Suspend 5. Program and Sector Erase Resume The SecSi Sector Entry command is allowed when the device is in either program or erase suspend modes. If the SecSi sector is enabled, the program or erase suspend command is ignored. This prevents resuming either programming or erasure on the SecSi sector if the overlaid sector was undergoing programming or erasure. The host system must ensure that the device resume any suspended program or erase operation after exiting the SecSi sector. Executing any of the PPB program/erase commands, or Password Unlock command results in the small bank (25% bank) returning the status of these operations while they are in progress, thus making the SecSi sector unavailable for reading. If the SecSi sector is enabled while the DYB command is issued, 40 the DYB for the overlaid sector is NOT updated. Reading the DYB status using the PPB Lock Bit/DYBDYB verify command when the SecSi sector is enabled returns invalid data. The Password Verify Command is used to verify the Password. The Password is verifiable only when the Password Mode Locking Bit is not programmed. If the Password Mode Locking Bit is programmed and the user attempts to verify the Password, the device will always drive all F’s onto the DQ data bus. The Password Verify command is permitted if the SecSi sector is enabled. Also, the device will not operate in Simultaneous Operation when the Password Verify command is executed. Only the password is returned regardless of the bank address. The lower two address bits (A0:A-1) are valid during the Password Password Protection Mode Locking Bit Program Command The Password Protection Mode Locking Bit Program Command programs the Password Protection Mode Locking Bit, which prevents further verifies or updates to the Password. Once programmed, the Password Protection Mode Locking Bit cannot be Am29BDD160G erased! If the Password Protection Mode Locking Bit is verified as program without margin, the Password Protection Mode Locking Bit Program command can be executed to improve the program margin. Once the Password Protection Mode Locking Bit is programmed, the Persistent Sector Protection Locking Bit program circuitry is disabled, thereby forcing the device to remain in the Password Protection mode. Exiting the Mode Locking Bit Program command is accomplished by writing the Read/Reset command. The Password Protection Mode Locking Bit Program command is permitted if the SecSi sector is enabled. Persistent Sector Protection Mode Locking Bit Program Command The Persistent Sector Protection Mode Locking Bit Program Command programs the Persistent Sector Protection Mode Locking Bit, which prevents the Password Mode Locking Bit from ever being programmed. If the Persistent Sector Protection Mode Locking Bit is verified as programmed without margin, the Persistent Sector Protection Mode Locking Bit Program Command should be reissued to improve program margin. By disabling the program circuitry of the Password Mode Locking Bit, the device is forced to remain in the Persistent Sector Protection mode of operation, once this bit is set. Exiting the Persistent Protection Mode Locking Bit Program command is accomplished by writing the Read/Reset command. The Persistent Sector Protection Mode Locking Bit Program command is permitted if the SecSi sector is enabled. SecSi Sector Protection Bit Program Command The SecSi Sector Protection Bit Program Command programs the SecSi Sector Protection Bit, which prevents the SecSi sector memory from being cleared. If the SecSi Sector Protection Bit is verified as programmed without margin, the SecSi Sector Protection Bit Program Command should be reissued to improve program margin. Exiting the VCC-level SecSi Sector Protection Bit Program Command is accomplished by writing the Read/Reset command. The SecSi Sector Protection Bit Program command is permitted if the SecSi sector is enabled. PPB Lock Bit Set Command The PPB Lock Bit Set command is used to set the PPB Lock bit if it is cleared either at reset or if the Password Unlock command was successfully executed. There is no PPB Lock Bit Clear command. Once the PPB Lock Bit is set, it cannot be cleared unless the device is taken through a power-on clear or the Password Unlock command is executed. Upon setting the PPB Lock Bit, the PPBs are latched into the DYBs. If the Password Mode Locking Bit is set, the PPB Lock Bit status is reflected as set, even after a power-on reset cycle. Exiting the PPB Lock Bit Set command is accomplished by writing the Read/Reset command. The PPB Lock Bit Set command is permitted if the SecSi sector is enabled. DYB Write Command The DYB Write command is used to set or clear a DYB for a given sector. The high order address bits (A18–A11) are issued at the same time as the code 01h or 00h on DQ7-DQ0. All other DQ data bus pins are ignored during the data write cycle. The DYBs are modifiable at any time, regardless of the state of the PPB or PPB Lock Bit. The DYBs are cleared at power-up or hardware reset.Exiting the DYB Write command is accomplished by writing the Read/Reset command. The DYB Write command is permitted if the SecSi sector is enabled. Password Unlock Command The Password Unlock command is used to clear the PPB Lock Bit so that the PPBs can be unlocked for modification, thereby allowing the PPBs to become accessible for modification. The exact password must be entered in order for the unlocking function to occur. This command cannot be issued any faster than 2 µs at a time to prevent a hacker from running through the all 64-bit combinations in an attempt to correctly match a password. If the command is issued before the 2 µs execution window for each portion of the unlock, the command will be ignored. The Password Unlock function is accomplished by writing Password Unlock command and data to the device to perform the clearing of the PPB Lock Bit. The password is 64 bits long, so the user must write the Password Unlock command 2 times for a x32 bit data bus and 4 times for a x16 data bus. A0 is used to determine whether the 32 bit data quantity is used to match the upper 32 bits or lower 32 bits. A0 and A is used for matching when the x16 bit data -1 bus is set command is address order specific. In other words, for the x32 data bus configuration, the lower 32 bits of the password are written first and then the upper 32 bits of the password are written. For the x16 data bus configuration, the lower address A 0:A = 00, the next Pass word Unloc k -1 command is to A0:A = 01, then to A0:A = 10, and -1 -1 finally to A0:A-1= 11. Writing out of sequence results in the Password Unlock not returning a match with the password and the PPB Lock Bit remains set. Once the Password Unlock command is entered, the RDY/BSY# pin goes LOW indicating that the device is busy. Also, reading the small bank (25% bank) results in the DQ6 pin toggling, indicating that the Password Unlock function is in progress. Reading the large bank (75% bank) returns actual array data. Approximately 1uSec is required for each portion of the unlock. Once the first portion of the password unlock completes (RDY/BSY# is not driven and DQ6 does not toggle when read), the Password Unlock Am29BDD160G 41 command is issued again, only this time with the next part of the password. If WORD# = 1, the second Password Unlock command is the final command before the PPB Lock Bit is cleared (assuming a valid password). If WORD# = 0, this is the fourth Password Unlock command. In x16 mode, four Password Unlock commands are required to successfully clear the PPB Lock Bit. As with the first Password Unlock command, the RY/BY# signal goes LOW and reading the device results in the DQ6 pin toggling on successive read operation s un til complete. It is the responsibility of the microprocessor to keep track of the number of Password Unlock commands (2 for x32 bus and 4 for x16 bus), the order, and when to read the PPB Lock bit to confirm successful password unlock The Password Unlock command is permitted if the SecSi sector is enabled. PPB Program Command The PPB Program command is used to program, or set, a given PPB. Each PPB is individually programmed (but is bulk erased with the other PPBs). The specific sector address (A18–A11) are written at the same time as the program command 60h with A6 = 0. If the PPB Lock Bit is set and the corresponding PPB is set for the sector, the PPB Program command will not execute and the command will time-out without programming the PPB. The host system must determine whether a PPB has been fully programmed by noting the status of DQ0 in the sixth cycle of the PPB Program command. If DQ0 = 0, the entire six-cycle PPB Program command sequence must be reissued until DQ0 = 1. The All PPB Erase command is used to erase all PPBs in bulk. There is no means for individually erasing a specific PPB. Unlike the PPB program, no specific sector address is required. However, when the PPB erase command is written (60h) and A6 = 1, all Sector PPBs are erased in parallel. If the PPB Lock Bit is set the ALL PPB Erase command will not execute and the command will time-out without erasing the PPBs. The host system must determine whether all PPB has been fully erased by noting the status of DQ0 in the sixth cycle of the All PPB Erase command. If DQ0 = 1, the entire six-cycle All PPB Erase command sequence must be reissued until DQ0 = 1. It is the responsibility of the user to preprogram all PPBs prior to issuing the All PPB Erase command. If the user attempts to erase a cleared PPB, over-erasure may occur making it difficult to program the PPB at a later time. Also note that the total number of PPB program/erase cycles is limited to 100 cycles. Cycling the PPBs beyond 100 cycles is not guaranteed. The All PPB Erase command is permitted if the SecSi sector is enabled. DYB Write The DYB Write command is used for setting the DYB, which is a volatile bit that is cleared at reset. There is one DYB per sector. If the PPB is set, the sector is protected regardless of the value of the DYB. If the PPB is cleared, setting the DYB to a 1 protects the sector from programs or erases. Since this is a volatile bit, removing power or resetting the device will clear the DYBs. The bank address is latched when the command is written. The DYB Write command is permitted if the SecSi sector is enabled. PPB Lock Bit Set The PPB Lock Bit set command is used for setting the DYB, which is a volatile bit that is cleared at reset. There is one DYB per sector. If the PPB is set, the sector is protected regardless of the value of the DYB. If the PPB is cleared, setting the DYB to a 1 protects the sector from programs or erases. Since this is a volatile bit, removing power or resetting the device will clear the DYBs. The bank address is latched when the command is written. The PPB Lock command is permitted if the SecSi sector is enabled. DYB Status The programming of the DYB for a given sector can be verified by writing a DYB status verify command to the device. The programming of the PPB for a given sector can be verified by writing a PPB status verify command to the device. PPB Lock Bit Status The programming of the PPB Lock Bit for a given sector can be verified by writing a PPB Lock Bit status verify command to the device. Non-volatile Protection Bit Program And Erase Flow The device uses a standard command sequence for programming or erasing the SecSi Sector Protection, Password Locking, Persistent Sector Protection Mode Locking, or Persistent Protection Bits. Unlike devices that have the Single High Voltage Sector Unprotect/ Protect feature, the Am29BDD160 has the standard two-cycle unlock followed by 60h, which places the device into non-volatile bit program or erase mode. Once the mode is entered, the specific non-volatile bit status is read on DQ0. Figure 4 shows a typical flow for programming the non-volatile bit and Figure 5 shows a typical flow for erasing the non-volatile bits. The SecSi Sector Protection, Password Locking, Persistent Sector Protection Mode Locking bits are not erasable after they are programmed. However, the PPBs are both erasable and programmable (depending upon device security). Unlike Single High Voltage Sector Protect/Unprotect, the A6 pin no longer functions as the program/erase 42 Am29BDD160G selector nor the program/erase margin enable. Instead, this function is accomplished by issuing the specific command for either program (68h) or erase (60h). the DQ6 toggle bit toggles with either OE# or CE#, the non-volatile bit program or erase operation is in progress. When DQ6 stops toggling, the value of the non-volatile bit is available on DQ0. In asynchronous mode, the DQ6 toggle bit indicates whether the program or erase sequence is active. (In synchronous mode, ADV# indicates the status.) If Am29BDD160G 43 Table 19. Memory Array Command Definitions (x32 Mode) Bus Cycles (Notes 1–4) Command (Notes) Cycles First Second Addr Data Addr Data Third Fourth Addr Data Addr Data Fifth Sixth Addr Data Addr Data (BA)X0E 08 (BA)X0F 00/ 01 Read (5) 1 RA RD Reset (6) 1 XXX F0 Manufactur er ID 4 555 AA 2AA 55 555 90 (BA)X0 0 01 Device ID (11) 6 555 AA 2AA 55 555 90 (BA)X0 1 7E Program 4 555 AA 2AA 55 555 A0 PA PD 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 Program/Erase Suspend (12) 1 BA B0 Program/Erase Resume (13) 1 BA 30 CFI Query (14, 15) 1 55 98 Accelerated Program (16) 2 XX A0 PA PD Configuration Register Verify (15) 3 555 AA 2AA 55 (BA)55 5 C6 (BA)XX RD Configuration Register Write (17) 4 555 AA 2AA 55 555 D0 XX WD Unlock Bypass Entry (18) 3 555 AA 2AA 55 555 20 Unlock Bypass Program (18) 2 XX A0 PA PD Unlock Bypass Erase (18) 2 XX 80 XX 10 Unlock Bypass CFI (14, 18) 1 XX 98 Unlock Bypass Reset (18) 2 XX 90 XX 00 Autoselec t (7) Legend: BA = Address of the bank that is being switched to autoselect mode, is in bypass mode, or is being erased. Determined by A18 and A17, see Tables 11 and 12 for more detail. PA = Program Address (A18:A0). Addresses latch on the falling edge of the WE# or CE# pulse, whichever happens later RA = Read Address (A18:A0). RD = Read Data (DQ31:DQ0) from location RA. SA = Sector Address (A18:A11) for verifying (in autoselect mode), erasing, or applying security commands. WD = Write Data. See “Configuration Register” definition X = Don’t care PD = Program Data (DQ31:DQ0) written to location PA. Data latches on the rising edge of WE# or CE# pulse, whichever happens first. Notes: are write operations. 1. See Table 1 for description of bus operations. 2. All values are in hexadecimal. 3. Shaded cells in table denote read cycles. All other cycles 44 4. During unlock cycles, (lower address bits are 555 or 2AAh as shown in table) address bits higher than A11 (except where BA is required) and data bits higher than DQ7 are don’t cares. Am29BDD160G Program/Erase Suspend mode. The Program/Erase Suspend command is valid only during a sector erase operation, and requires the bank address. 5. No unlock or command cycles required when bank is reading array data. 6. The Reset command is required to return to the read mode (or to the erase-suspend-read mode if previously in Erase Suspend) when a bank is in the autoselect mode, or if DQ5 goes high (while the bank is providing status information). 13. The Program/Erase Resume command is valid only during the Erase Suspend mode, and requires the bank address. 14. Command is valid when device is ready to read array data or when device is in autoselect mode. 7. The fourth cycle of the autoselect command sequence is a read cycle. The system must provide the bank address to obtain the manufacturer ID or device ID information. See the Autoselect Command section for more information. 15. Asynchronous read operations. 16. ACC must be at VID during the entire operation of this command. 17. Command is ignored during any Embedded Program, Embedded Erase, or Suspend operation. 8. This command cannot be executed until The Unlock Bypass command must be executed before writing this command sequence. The Unlock Bypass Reset command must be executed to return to normal operation. 18. The Unlock Bypass Entry command is required prior to any Unlock Bypass operation. The Unlock Bypass Reset command is required to return to the read mode. 9. This command is ignored during any embedded program, erase or suspended operation. 10. Valid read operations include asynchronous and burst read mode operations. 11. The device ID must be read across the fourth, fifth, and sixth cycles. 00h in the sixth cycle indicates top boot block, 01h indicates bottom boot block. 12. The system may read and program in non-erasing sectors, or enter the autoselect mode, when in the Table 20. Command (Notes) Sector Protection Command Definitions (x32 Mode) (Sheet 1 of 2) Bus Cycles (Notes 1-4) Cycles First Second Third Addr Data Addr Data Addr Data Fourth Fifth Addr Data Sixth Addr Data Addr Data OW 48 OW RD(0) Reset 1 XXX F0 SecSi Sector Entry 3 555 AA 2AA 55 555 88 SecSi Sector Exit 4 555 AA 2AA 55 555 90 XX 00 SecSi Protection Bit Program (5, 6) 6 555 AA 2AA 55 555 60 OW 68 SecSi Protection Bit Status 6 555 AA 2AA 55 555 60 OW RD(0) Password Program (5, 7, 8) 4 555 AA 2AA 55 555 38 PWA[01] PWD[01] Password Verify 4 555 AA 2AA 55 555 C8 PWA[01] PWD[01] Password Unlock (7, 8) 5 555 AA 2AA 55 555 28 PWA[01] PWD[01] PPB Program (5, 6) 6 555 AA 2AA 55 555 60 (SA)WP 68 (SA)WP 48 (SA)WP RD(0) All PPB Erase (5, 9, 10) 6 555 AA 2AA 55 555 60 WP 60 (SA)WP 40 (SA)WP RD(0) PPB Status (11, 12) 4 555 AA 2AA 55 555 90 (SA)X02 00/01 PPB Lock Bit Set 3 555 AA 2AA 55 555 78 PPB Lock Bit Status 4 555 AA 2AA 55 (BA) 555 58 SA RD(1) DYB Write (7) 4 555 AA 2AA 55 555 48 SA X1 DYB Erase (7) 4 555 AA 2AA 55 555 48 SA X0 Am29BDD160G 45 Table 20. Sector Protection Command Definitions (x32 Mode) (Sheet 2 of 2) DYB Status (12) 4 555 AA 2AA 55 (BA) 555 58 SA RD(0) PPMLB Program (5,6) 6 555 AA 2AA 55 555 60 PL 68 PPMLB Status (5) 6 555 AA 2AA 55 555 60 PL RD(0) SPMLB Program (5, 6) 6 555 AA 2AA 55 555 60 SL 68 SPMLB Status (5) 6 555 AA 2AA 55 555 60 SL RD(0) DYB = Dynamic Protection Bit OW = Address (A5–A0) is (011X10). PPB = Persistent Protection Bit PWA = Password Address. A0 selects between the low and high 32-bit portions of the 64-bit Password PWD = Password Data. Must be written over two cycles. PL = Password Protection Mode Lock Address (A5–A0) is (001X10) RD(0) = Read Data DQ0 protection indicator bit. If protected, DQ0= 1, if unprotected, DQ0 = 0. PL 48 PL RD(0) SL 48 SL RD(0) RD(1) = Read Data DQ1 protection indicator bit. If protected, DQ1 = 1, if unprotected, DQ1 = 0. SA = Sector Address where security command applies. Address bits A18:A11 uniquely select any sector. SL = Persistent Protection Mode Lock Address (A5–A0) is (010X10) WP = PPB Address (A5–A0) is (111X10) X = Don’t care PPMLB = Password Protection Mode Locking Bit SPMLB = Persistent Protection Mode Locking Bit 1. See Table 1 for description of bus operations. 7. Data is latched on the rising edge of WE#. 2. All values are in hexadecimal. 8. The entire four bus-cycle sequence must be entered for each portion of the password. 3. Shaded cells in table denote read cycles. All other cycles are write operations. 4. During unlock cycles, (lower address bits are 555 or 2AAh as shown in table) address bits higher than A11 (except where BA is required) and data bits higher than DQ7 are don’t cares. 5. The reset command returns the device to reading the array. 6. The fourth cycle programs the addressed locking bit. The fifth and sixth cycles are used to validate whether the bit has been fully programmed. If DQ0 (in the sixth cycle) reads 0, the program command must be issued and vilified again. 46 9. The fourth cycle erases all PPBs. The fifth and sixth cycles are used to validate whether the bits have been fully erased. If DQ0 (in the sixth cycle) reads 1, the erase command must be issued and verified again. 10. Before issuing the erase command, all PPBs should be programmed in order to prevent over-erasure of PPBs. 11. In the fourth cycle, 00h indicates PPB set; 01h indicates PPB not set. 12. The status of additional PPBs and DYBs may be read (following the fourth cycle) without reissuing the entire command sequence. Am29BDD160G Table 21. Memory Array Command Definitions (x16 Mode) Bus Cycles (Notes 1–4) Command (Notes) Cycles First Second Addr Data Addr Data Third Fourth Addr Data Addr Data Fifth Sixth Addr Data Addr Data (BA)X1C 08 (BA)X1E 00/ 01 Read (5) 1 RA RD Reset (6) 1 XXX F0 Manufactur er ID 4 AAA AA 555 55 AAA 90 (BA)X0 0 01 Device ID (11) 6 AAA AA 555 55 AAA 90 (BA)X0 2 7E Program 4 AAA AA 555 55 AAA A0 PA PD Chip Erase 6 AAA AA 555 55 AAA 80 AAA AA 555 55 555 10 Sector Erase 6 AAA AA 555 55 AAA 80 AAA AA 555 55 SA 30 Program/Erase Suspend (12) 1 BA B0 Program/Erase Resume (13) 1 BA 30 CFI Query (14, 15) 1 AA 98 Accelerated Program (16) 2 XX A0 PA PD Configuration Register Verify (15) 3 AAA AA 555 55 (BA)55 5 C6 (BA)XX RD Configuration Register Write (17) 4 AAA AA 555 55 AAA D0 XX WD Unlock Bypass Entry (18) 3 AAA AA 555 55 AAA 20 Unlock Bypass Program (18) 2 XX A0 PA PD Unlock Bypass Erase (18) 2 XX 80 XX 10 Unlock Bypass CFI (14, 18) 1 XX 98 Unlock Bypass Reset (18) 2 XX 90 XX 00 Autoselec t (7) Legend: BA = Address of the bank that is being switched to autoselect mode, is in bypass mode, or is being erased. Determined by A18 and A17, see Tables 11 and 12 for more detail. PA = Program Address (A18:A-1). Addresses latch on the falling edge of the WE# or CE# pulse, whichever happens later. PD = Program Data (DQ15:DQ0) written to location PA. Data latches on the rising edge of WE# or CE# pulse, whichever happens first. RA = Read Address (A18:A-1). RD = Read Data (DQ15:DQ0) from location RA. SA = Sector Address (A18:A11) for verifying (in autoselect mode), erasing, or applying security commands WD = Write Data. See “Configuration Register” definition for specific write data. Data latched on rising edge of WE#. X = Don’t care Note: 1. See Table 1 for description of bus operations. 3. Shaded cells in table denote read cycles. All other cycles are write operations. 2. All values are in hexadecimal. 4. During unlock cycles, (lower address bits are AAA or 555h as shown in table) address bits higher than A11 Am29BDD160G 47 (except where BA is required) and data bits higher than DQ7 are don’t cares. 5. No unlock or command cycles required when bank is reading array data. 6. The Reset command is required to return to the read mode (or to the erase-suspend-read mode if previously in Erase Suspend) when a bank is in the autoselect mode, or if DQ5 goes high (while the bank is providing status information). 7. The fourth cycle of the autoselect command sequence is a read cycle. The system must provide the bank address to obtain the manufacturer ID or device ID information. See the Autoselect Command section for more information. 8. This command cannot be executed until The Unlock Bypass command must be executed before writing this command sequence. The Unlock Bypass Reset command must be executed to return to normal operation. 9. This command is ignored during any embedded program, erase or suspended operation. 10. Valid read operations include asynchronous and burst read mode operations. 48 11. The device ID must be read across the fourth, fifth, and sixth cycles. 00h in the sixth cycle indicates top boot block, 01h indicates bottom boot block. 12. The system may read and program in non-erasing sectors, or enter the autoselect mode, when in the Program/Erase Suspend mode. The Program/Erase Suspend command is valid only during a sector erase operation, and requires the bank address. 13. The Program/Erase Resume command is valid only during the Erase Suspend mode, and requires the bank address. 14. Command is valid when device is ready to read array data or when device is in autoselect mode. 15. Asynchronous read operations. 16. ACC must be at VID during the entire operation of this command. 17. Command is ignored during any Embedded Program, Embedded Erase, or Suspend operation. 18. The Unlock Bypass Entry command is required prior to any Unlock Bypass operation. The Unlock Bypass Reset command is required to return to the read mode. Am29BDD160G Table 22. Command (Notes) Sector Protection Command Definitions (x16 Mode) Bus Cycles (Notes 1-4) Cycles First Second Addr Data Addr Data Third Fourth Addr Data Fifth Addr Data Sixth Addr Data Addr Data OW 48 OW RD(0) Reset 1 XXX F0 SecSi Sector Entry 3 AAA AA 555 55 AAA 88 SecSi Sector Exit 4 AAA AA 555 55 AAA 90 XX 00 SecSi Protection Bit Program (5, 6) 6 AAA AA 555 55 AAA 60 OW 68 SecSi Protection Bit Status 6 AAA AA 555 55 AAA 60 OW RD(0) Password Program (5, 7, 8) 5 AAA AA 555 55 AAA 38 PWA[0– 3] PWD[0– 3] Password Verify 4 AAA AA 555 55 AAA C8 PWA[0– 3] PWD[0– 3] Password Unlock (7, 8) 5 AAA AA 555 55 AAA 28 PWA[0– 3] PWD[0– 3] PPB Program (5, 6) 6 AAA AA 555 55 AAA 60 (SA)WP 68 (SA)WP 48 (SA)WP RD(0) All PPB Erase (5, 9, 10) 6 AAA AA 555 55 AAA 60 WP 60 (SA)WP 40 (SA)WP RD(0) PPB Status (11, 12) 4 AAA AA 555 55 AAA 90 (SA)X04 00/01 PPB Lock Bit Set 3 AAA AA 555 55 AAA 78 PPB Lock Bit Status 4 AAA AA 555 55 (BA) AAA 58 SA RD(1) DYB Write (7) 4 AAA AA 555 55 AAA 48 SA X1 DYB Erase (7) 4 AAA AA 555 55 AAA 48 SA X0 DYB Status (12) 4 AAA AA 555 55 (BA) AAA 58 SA RD(0) PPMLB Program (5, 6) 6 AAA AA 555 55 AAA 60 PL 68 PL 48 PL RD(0) PPMLB Status (5) 6 AAA AA 555 55 AAA 60 PL RD(0) SPMLB Program (5, 6) 6 AAA AA 555 55 AAA 60 SL 68 SL 48 SL RD(0) SPMLB Status (5) 6 AAA AA 555 55 AAA 60 SL RD(0) Legend:Legend: DYB = Dynamic Protection Bit OW = Address (A5–A0) is (011X10). PWA = Password Address. A0:A-1 selects between the lo and high 16-bit portions of the 64-bit Password PD3:0 = Four 32-bit quantities representing the password. PWD = Password Data.Must be written over four cycles. PPB = Persistent Protection Bit PL = Password Protection Mode Lock Address (A5-A0) is (001X10) Am29BDD160G 49 RD(0) = Read Data DQ0 protection indicator bit. If protected, DQ0 = 1, if unprotected, DQ0 = 0. SL = Persistent Protection Mode Lock Address (A5–A0) is (010X10) RD(1) = Read Data DQ1 protection indicator bit. If protected, DQ1 = 1, if unprotected, DQ1 = 0. WP = PPB Address (A5–A0) is (111X10) SA = Sector Address where security command applies. Address bits A18:A11 uniquely select any sector. PPMLB = Password Protection Mode Locking Bit 1. 1. See Table 1 for description of bus operations. 2. 2.All values are in hexadecimal. 3. 3.Shaded cells in table denote read cycles. All other cycles are writer operations. 4. During unlock cycles, (lower address bits are AAA or 555h as shown in the table) address bits higher that A11 (except where BA is required) and data bits higher than DQ7 are dont’s cares. 5. The reset command returns the device to reading the array. 6. The fourth cycle programs the addressed locking bit. The fifth and sixth cycles are used to validate whether the bit is fully programmed. If DQ0 (in the sixth cycle) reads 0, the program command must be issued and verified again. X = Don’t care SPMLB = Persistent Protection Mode Locking Bit four addresses over which the password is stored. PWD (0-3) represent the four word data that comprise the password. 9. The fourth cycle erases all PPBs. The fifth and sixth cycles are used to validate whether the bits are fully erased. If DQ0 (in the sixed cycle) reads 1, the erase command must be issued and verified again. 10. Before issuing the erase command, all PPBs should be programmed in order to prevent over-erasure of PPBs. 11. In the fourth cycle, 00h indicates PPB set; 01h indicates: PPB not set. 12. The status of additional PPBs and DYBs may be read (following the fourth cycle) without reissuing the entire command sequence 7. Data is latched on the rising edge of WE#. 8. The entire four bus-cycle sequence must be entered for each portion of the password. PWA (0-3) represent the 50 Am29BDD160G WRITE OPERATION STATUS The device provides several bits to determine the status of a write operation: DQ2, DQ3, DQ5, DQ6, DQ7, and RY/BY#. Table 23 and the following subsections describe the functions of these bits. DQ7, RY/BY#, and DQ6 each offer a method for determining whether a progra m or erase opera tion is complete or in progress. These three bits are discussed first. DQ7: Data# Polling The Am29BDD160 features a Data# polling flag as a method to indicate to the host system whether the embedded algorithms are in progress or are complete. During the Embedded Program Algorithm an attempt to read the bank in which programming was initiated will produce the complement of the data last written to DQ7. Upon completion of the Embedded Program Algorithm, an attempt to read the device will produce the true last data written to DQ7. Note that DATA# polling returns invalid data for the address being programmed or erased. For example, the data read for an address programmed as 0000 0000 1000 0000b will return XXXX XXXX 0XXX XXXXb during an Embedded Program operation. Once the Embedded Program Algorithm is complete, the true data is read back on DQ7. Note that at the instant when DQ7 switches to true data, the other bits may not yet be true. However, they will all be true data on the next read from the device. Please note that Data# polling may give misleading status when an attempt is made to write to a protected sector. For chip erase, the Data# polling flag is valid after the rising edge of the sixth WE# pulse in the six write pulse sequence. For sector erase, the Data# polling is valid after the last rising edge of the sector erase WE# pulse. Data# polling must be performed at sector addresses within any of the sectors being erased and not a sector that is a protected sector. Otherwise, the status may not be valid. DQ7 = 0 during an Embedded Erase Algorithm (chip erase or sector erase operation) but will return a “1” after the operation completes because it will have dropped back into read mode. In asynchronous mode, just prior to the completion of the Embedded Algorithm operations, DQ7 may change asynchronously while OE# is asserted low. (In synchronous mode, ADV# exhibits this behavior.) The status information may be invalid during the instance of transition from status information to array (memory) data. An extra validity check is therefore specified in the data polling algorithm. The valid array data on DQ31–DQ0 (DQ15–DQ0 when WORD# = 0) is available for reading on the next successive read attempt. The Data# polling feature is only active during the Embedded Programming Algorithm, Embedded Erase Algorithm, Erase Suspend, Erase Suspend-Program mode, or sector erase time-out. If the user attempts to write to a protected sector, Data# polling will be activated for about 1 µs: the device will then return to read mode, with the data from the protected sector unchanged. If the user attempts to erase a protected sector, Toggle Bit (DQ6) will be activated for about 150 µs; the device will then return to read mode, without having erased the protected sector. Table 23 shows the outputs for Data# Polling on DQ7. Figure 6 shows the Data# Polling algorithm. Figure 27 shows the timing diagram for synchronous status DQ7 data polling. RY/BY#: Ready/Busy# The device provides a RY/BY# open drain output pin as a way to indicate to the host system that the Embedded Algorithms are either in progress or have been completed. If the output is low, the device is busy with either a program, erase, or reset operation. If the output is floating, the device is ready to accept any read/write or erase operation. When the RY/BY# pin is low, the device will not accept any additional program or erase commands with the exception of the Erase suspend command. If the device has entered Erase Suspend mode, the RY/BY# output will be floating. For programming, the RY/ BY# is valid (RY/BY# = 0) after the rising edge of the fourth WE# pulse in the four write pulse sequence. For chip erase, the RY/BY# is valid after the rising edge of the sixth WE# pulse in the six write pulse sequence. For sector erase, the RY/BY# is also valid after the rising edge of the sixth WE# pulse. If RESET# is asserted during a program or erase operation, the RY/BY# pin remains a “0” (busy) until the internal reset operation is complete, which requires a time of tREADY (during Embedded Algorithms). The system can thus monitor RY/BY# to determine whether the reset operation is complete. If RESET# is asserted when a program or erase operation is not executing (RY/BY# pin is “floating”), the reset operation is completed in a time of t READY (not during Embedded Algorithms). The system can read data t after the RESET# pin returns to V . RH IH Since the RY/BY# pin is an open-drain output, several RY/BY# pins can be tied together in parallel with a pull-up resistor to V . An external pull-up resistor CC is required to take RY/BY# to a VIH level since the output is an open drain. Table 23 shows the outputs for RY/BY#. Figures 15, 19, 21 and 22 shows RY/BY# for read, reset, program, and erase operations, respectively. Am29BDD160G 51 asynchronous mode, either OE# or CE# can be used to control the read cycles. For synchronous mode, the rising edge of ADV# is used or the rising edge of clock while ADV# is Low. After an erase command sequence is written, if all sectors selected for erasing are protected, DQ6 toggles for approximately 100 µs, then returns to reading array data. If not all selected sectors are protected, the Embedded Erase algorithm erases the unprotected sectors, and ignores the selected sectors that are protected. The system can use DQ6 and DQ2 together to determine whether a sector is actively erasing or is erasesuspended. When the device is actively erasing (that is, the Embedded Erase algorithm is in progress), DQ6 toggles. When the device enters the Erase Suspend mode, DQ6 stops toggling. However, the system must also use DQ2 to determine which sectors are erasing or erase-suspended. Alternatively, the system can use DQ7 (see the subsection on DQ7: Data# Polling). If a program address falls within a protected sector, DQ6 toggles for approximately 1 µs after the program command sequence is written, then returns to reading array data. DQ6 also toggles during the erase-suspend-program mode, and stops toggling once the Embedded Program algorithm is complete. Table 23 shows the outputs for Toggle Bit I on DQ6. Figure 7 shows the toggle bit algorithm in flowchart form, and the section Reading Toggle Bits DQ6/DQ2 explains the algorithm. Figure 25 in the AC Characte ri s tic s se c tio n sh ow s th e t ogg le bit t im in g diagrams. Figure 25 shows the differences between DQ2 and DQ6 in graphical form. See also the subsection on DQ2: Toggle Bit II. Figure 27 shows the timing diagram for synchronous toggle bit status. Note: 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. 2.DQ7 should be rechecked even if DQ5 = “1” because DQ7 may change simultaneously with DQ5. Figure 6. Data# Polling Algorithm DQ6: Toggle Bit I Toggle Bit I on DQ6 indicates whether an Embedded Program or Erase algorithm is in progress or complete, or whether the device has entered the Erase Suspend mode. Toggle Bit I may be read at any address, and is valid after the rising edge of the final WE# pulse in the command sequence (prior to the program or erase operation), and during the sector erase time-out. During an Embedded Program or Erase algorithm operation, two immediately consecutive read cycles to any address cause DQ6 to toggle. When the operation is complete, DQ6 stops toggling. For 52 DQ2: Toggle Bit II The “Toggle Bit II” on DQ2, when used with DQ6, indicates whether a particular sector is actively erasing (tha t is , the Embedded Erase algorithm is in progress), or whether that sector is erase-suspended. Toggle Bit II is valid after the rising edge of the final WE# pulse in the command sequence. DQ2 toggles when the system performs two immediately consecutive reads at addresses within those sectors that have been selected for erasure. (For asynchronous mode, either OE# or CE# can be used to control the read cycles. For synchronous mode, ADV# is used.) But DQ2 cannot distinguish whether the sector is actively erasing or is erase-suspended. DQ6, by comparison, indicates whether the device is actively erasing, or is in Erase Suspend, but cannot distinguish which sectors are selected for erasure. Thus, both status bits are required for sector and mode information. Refer to Table 23 to compare outputs for DQ2 and DQ6. Am29BDD160G Figure 7 shows the toggle bit algorithm in flowchart form, and the section Reading Toggle Bits DQ6/DQ2 explains the algorithm. See also the DQ6: Toggle Bit I subsection. Figure 25 shows the toggle bit timing diagram. Figure 25 shows the differences between DQ2 and DQ6 in graphical form. Figure 27 shows the timing diagram for synchronous DQ2 toggle bit status. Reading Toggle Bits DQ6/DQ2 Refer to Figure 25 for the following discussion. Whenever the system initially begins reading toggle bit status, it must perform two immediately consecutive reads of DQ7–DQ0 to determine whether a toggle bit is toggling. Typically, the system would note and store the value of the toggle bit after the first read. After the second read, the system would compare the new value of the toggle bit with the first. If the toggle bit is not toggling, the device has completed the program or erase operation. The system can read array data on DQ7–DQ0 on the following read cycle. However, if after the initial two immediately consecutive read cycles, the system determines that the toggle bit is still toggling, the system also should note whether the value of DQ5 is high (see the section on DQ5). If it is, the system should then determine again whether the toggle bit is toggling, since the toggle bit may have stopped toggling just as DQ5 went high. If the toggle bit is no longer toggling, the device has successfully completed the program or erase operation. If it is still toggling, the device did not complete the operation successfully, and 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 7). Note: 1. Read toggle bit with two immediately consecutive reads 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. DQ5: Exceeded Timing Limits Figure 7. Toggle Bit Algorithm DQ5 indicates whether the program or erase time has exceeded a specified internal pulse count limit. Under these conditions DQ5 produces a “1.” This is a failure condition that indicates the program or erase cycle was not successfully completed. The DQ5 failure condition may appear if the system 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 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 the reset command to return the device to reading array data. 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 Am29BDD160G 53 additional sectors are selected for erasure, the entire time-out also applies after each additional sector erase command. When the time-out is complete, DQ3 switches from “0” 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 also the Sector Erase Command section. After the sector erase command sequence is written, the system should read the status on DQ7 (Data# Polling) or DQ6 (Toggle Bit I) to ensure the device has accepted the command sequence, and then read DQ3. If DQ3 is “1”, the internally controlled erase cycle has begun; 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 accepted, the system software should check the status 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 23 shows the outputs for DQ3. Table 23. Write Operation Status Standard Mode Erase Suspend Mode Operation DQ7 (Note 2) DQ6 DQ5 (Note 1) DQ3 DQ2 (Note 2) RY/BY# Embedded Program Algorithm DQ7# Toggle 0 N/A No toggle 0 Embedded Erase Algorithm 0 Toggle 0 1 Toggle 0 Reading within Erase Suspended Sector 1 No toggle 0 N/A Toggle 1 Reading within Non-Erase Suspended Sector Data Data Data Data Data 1 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. 54 Am29BDD160G ABSOLUTE MAXIMUM RATINGS This is 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. Exposure of the device to absolute maximum rating conditions for extended periods may affect device reliability. Storage Temperature Plastic Packages. . . . . . . . . . . . . .–65°C to +150°C Ambient Temperature with Power Applied . . . .... . . .... –65°C to +145°C V CC 20 ns , V (Note 1) . . . . . . . . ..... . .–0.5 V to + 3.0 V 20 ns IO ACC, A9, OE#, and RESET# (Note 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .–0.5 V to +13.0 V +0.8 V -0.5 V Address, Data, Control Signals (with the exception of CLK) (Note 1) –0.5 V to 3.6 -2.0 V All other pins (Note 1) . . . . . . . . . .–0.5 V to +5.5 V 20 ns Output Short Circuit Current (Note 3) . . . . . 200 mA Notes: 1. Minimum DC voltage on input or I/O pins is –0.5 V. During voltage transitions, input at I/O pins may overshoot VSS to –2.0 V for periods of up to 20 ns. See Figure 9. Maximum DC voltage on output and I/O pins is 3.6 V. During voltage transitions output pins may overshoot to VCC + 2.0 V for periods up to 20 ns. See Figure 9. 2. Minimum DC input voltage on pins ACC, A9, OE#, and RESET# is -0.5 V. During voltage transitions, A9, OE#, and RESET# may overshoot VSS to –2.0 V for periods of up to 20 ns. See Figure 8. Maximum DC input voltage on pin A9 and OE# is +13.0 V which may overshoot to 14.0 V for periods up to 20 ns. Figure 8. Maximum Negative Overshoot Waveform 20 ns Vcc +2.0V Vcc +0.5V 2.0 V 20 ns 3. 3.No more than one output may be shorted to ground at a time. Duration of the short circuit should not be greater than one second. 20 ns Figure 9. Maximum Positive Overshoot Waveform 4. 4.Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. OPERATING RANGES VIO Supply Voltages Industrial (I) Devices V Ambient Temperature (TA) . . . .–40°C to +85°C Operating ranges define those limits between which the functionality of the device is guaranteed. IO . . . . . . . . . . . . . . . . . . . . 1.65 V to 2.75 V Extended (E) Devices Ambient Temperature (TA) . . .–40°C to +125°C VCC Supply Voltages VCC for regulated voltage range . 2.5 V to 2.75 V Am29BDD160G 55 DC CHARACTERISTICS Table 24. CMOS Compatible Paramete r Description Test Conditions ILI Input Load Current ILIWP Max Unit VIN = VSS to VIO, VIO = VIO max ±1.0 µA Input Load Current, WP# VIN = VSS to VIO, VIO = VIO max –25 µA ILO Output Leakage Current VOUT = VSS to VCC, VCC = VCC max ±1.0 µA ICCB VCC Active Burst Read Current (Note 1) 90 mA ICC1 VCC Active Asynchronous Read Current (Note 1) 4 mA ICC3 VCC Active Program Current (Notes 2, 4) CE# = VIL, OE# = VIH, ACC = VIH 40 50 mA ICC4 VCC Active Erase Current (Notes 2, 4) CE# = VIL, OE# = VIH, ACC = VIH 20 50 mA ICC5 (Note 5) VCC Standby Current (CMOS) VCC= VCC max, CE# = VCC ± 0.3 V 60 µA ICC6 VCC Active Current (Read While Write) CE# = VIL, OE# = VIL 90 mA ICC7 (Note 5) VCC Reset Current RESET# = VIL 60 µA ICC8 (Note 5) Automatic Sleep Mode Current VIH = VCC ± 0.3 V, VIL = VSS ± 0.3 V 60 µA IACC VACC Acceleration Current ACC = VHH 20 mA VIL Input Low Voltage –0.5 0.3 x VIO V VIH Input High Voltage 0.7 x VIO 3.6 V VILCLK CLK Input Low Voltage –0.2 0.3 x VIO V VIHCLK CLK Input High Voltage 0.7 x VCC 2.75 V VID Voltage for Autoselect VCC = 2.5 V 11.5 12.5 V VOL Output Low Voltage IOL = 4.0 mA, VCC = VCC min 0.45 V IOLRB RY/BY#, Output Low Current VOL = 0.4 V 8 mA VHH Accelerated (ACC pin) High Voltage IOH = –2.0 mA, VCC = VCC min 0.85 x VCC V VOH Output High Voltage IOH = –100 µA, VCC = VCC min VIO –0.1 V VLKO Low VCC Lock-Out Voltage (Note 3) CE# = VIL, OE# = VIL 56 MHz 66 MHz 8 Double-Word CE# = VIL, OE# = VIL current and the frequency dependent component. 6. 2. ICC active while Embedded Erase or Embedded Program is in progress. 7. 3. Not 100% tested. 8. 4. Maximum ICC specifications are tested with VCC = VCCmax. 9. 5. Current maximum has been increased significantly from data sheet Revision B+4, Dated April 8, 2003. 10. Am29BDD160G Typ 70 1 MHz 30 1.6 Note: 5. 1. The ICC current listed includes both the DC operating 56 Min 2.0 V DC CHARACTERISTICS (CONTINUED) Zero Power Flash 0 500 1000 1500 2000 2500 3000 3500 4000 Time in ns Note: Addresses are switching at 1 MHz Figure 10. ICC1 Current vs. Time (Showing Active and Automatic Sleep Currents) Supply Current in mA 20 2.7 V 16 12 8 4 0 1 o Note: T = -40 C 2 3 4 5 Frenquency in Mhz Figure 11. Typical Icc1 vs. Frequency Am29BDD160G 57 TEST CONDITIONS Table 25. Test Specifications Test Condition 54D, 64C Output Load Unit 1 TTL gate Output Load Capacitance, CL (including jig capacitance) 30 100 5 ns Input Pulse Levels 0.0 V – VIO V Input timing measurement reference levels VIO/2 V Output timing measurement reference levels VIO/2 V 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 SWITCHING WAVEFORMS VIO VSS Figure 13. Input Waveforms and Measurement Levels 58 pF Input Rise and Fall Times Note: Diodes are IN3064 or equivalent Figure 12. Test Setup 65A Am29BDD160G AC CHARACTERISTICS VCC and VIO Power Up Parameter Description Test Setup Speed Unit tVCS VCC Setup Time Min 50 µs tVIOS VIO Setup Time Min 50 µs tRSTH RESET# Low Hold Time Min 50 µs Figure 14. VCC and VIO Power-up Diagram Am29BDD160G 59 AC CHARACTERISTICS Asynchronous Read Operations Parameter Speed Options JEDEC Std. Description tAVAV tRC Read Cycle Time (Note 1) tAVQV tACC Address to Output Delay tELQV tCE Chip Enable to Output Delay tGLQV tOE Output Enable to Output Delay Max tEHQZ tDF Chip Enable to Output High Z (Note 1) Max 10 ns tGHQZ tDF Output Enable to Output High Z (Note 1) Min 2 ns Max 10 ns Read Min 0 ns Toggle and Data# Polling Min 10 ns Output Hold Time From Addresses, CE# or OE#, Whichever Occurs First (Note 1) Min 2 ns tOEH tAXQX tOH Output Enable Hold Time (Note 1) Test Setup 54D 64C 65A Unit Max 54 64 67 ns CE# = VIL OE# = VIL Max 54 64 67 ns OE# = VIL Max 58 69 71 ns 28 ns Note: 1. Not 100% tested. 2. See Figure 12 and Table 24 for test specifications 60 Am29BDD160G 20 AC CHARACTERISTICS Burst Mode Read Parameter JEDEC Speed Options Std. Description 54D 64C 65A Unit tIACC Asynchronous Access Time ADV# Valid Clock to Output Delay (See Note) Max 54 64 67 ns tBACC Burst Access Time Valid Clock to Output Delay Max 9 FBGA 9.5 PQFP 10 FBGA 10 PQFP 17 ns tADVCS ADV# Setup Time to Rising (Falling) Edge of CLK Min 4 5 7 ns tADVCH ADV# Hold Time Min tADVP ADV# Pulse Width Min tBDH Data Hold Time from Next Clock Cycle Max tDVCH Valid Data Hold from CLK Min 2 3 3 ns tDIND CLK to Valid IND/WAIT# Max 9 FBGA 9.5 PQFP 10 FBGA 10 PQFP 17 ns tINDH IND/WAIT# Hold from CLK Min 2 3 3 ns tIACC CLK to Valid Data Out, Initial Burst Access Max 54 60 68 ns tCLK CLK Period Min 15 18 25 tCR 2 15 ns 15 18 4 ns ns ns Max 60 CLK Rise Time Max 3 ns tCF CLK Fall Time Max 3 ns tCH CLK High Time Min 2.5 2.5 3 ns tCL CLK Low Time Min 2.5 2.5 3 ns tDS Data Setup to WE# Rising Edge Min 15 15 16 ns tDH Data Hold from WE# Rising Edge Min 2 ns tAS Address Setup to Falling Edge of WE# Min 0 ns tAH Address Hold from Falling Edge of WE# Min 25 tCS CE# Setup Time Min 3 ns tCH CE# Hold Time Min 3 ns tACS Address Setup Time to CLK (See Note) Min 5 6 7 ns tACH Address Hold Time from ADV# Rising Edge (See Note) Min 1 2 2 ns tOE Output Enable to Output Valid Max tDF tOEZ Output Enable to Output High Z tEHQZ tCEZ tCES 30 33 20 ns ns Min 2 3 3 Max 10 15 17 Chip Enable to Output High Z Max 10 15 17 ns CE# Setup Time to Clock Min 4 5 6 ns ns Note: See Product Selector Guide for minimum initial clock delay prior to initial valid data. tIACC may also be calculated using the following formula: tIACC = (clock delays) x (clock period) + tBACC. Am29BDD160G 61 AC CHARACTERISTICS RY/BY# 0V Figure 15. Conventional Read Operations Timings Figure 16. Burst Mode Read (x32 Mode) 62 Am29BDD160G CE# A18-A0 DQ31 -DQ0 WE# OE# IND/WAIT# Figure 17. Asynchronous Command Write Timing Note:All commands have the same number of cycles in both asynchronous and synchronous modes, including the READ/ RESET command. Only a single array access occurs after the F0h command is entered. All subsequent accesses are burst mode when the burst mode option is enabled in the Configuration Register. CD# CLK ADV# A18-A0, WORD# DQ31-DQ0 OE# WE# IND/WAIT# Figure 18. Synchronous Command Write/Read Timing Note:All commands have the same number of cycles in both asynchronous and synchronous modes, including the READ/ RESET command. Only a single array access occurs after the F0h command is entered. All subsequent accesses are burst mode when the burst mode option is enabled in the Configuration Register. Am29BDD160G 63 AC CHARACTERISTICS Hardware Reset (RESET#) Parameter JEDEC Std. Description Test Setup All Speed Options Unit tREADY RESET# Pin Low (During Embedded Algorithms) to Read or Write (See Note) Max 11 µs tREADY RESET# Pin Low (NOT During Embedded Algorithms) to Read or Write (See Note) Max 500 ns 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 tREADY RESET# Active for Bank NOT Executing Embedded Algorithm Max 500 ns tRH RESET# High Time before Read Max 50 ns tREADY RESET# Active for Bank Executing Embedded Algorithm Max 11 µs tDRNE RESET# Delay to Read Mode During Normal Erase Max 7 µs tRMX RESET# Delay to Read Mode if RESET# is held active for maximum delay (see previous two parameters) Max 50 ns Note:Not 100% tested. 64 Am29BDD160G Reset Timing to Bank NOT Executing Embedded Algorithm Reset Timing to Bank Executing Embedded Algorithm Figure 19. Reset Timing Figure 20. WP# Timing Am29BDD160G 65 AC CHARACTERISTICS Erase/Program Operations Parameter JEDEC Std. Description All Speed Options Unit tAVAV tWC Write Cycle Time (Note 1) Min 60 ns tAVWL tAS Address Setup Time Min 0 ns tWLAX tAH Address Hold Time Min 25 ns tDVWH tDS Data Setup to WE# Rising Edge Min 15 ns tWHDX tDH Data Hold from WE# Rising Edge Min 2 ns tOES Output Enable Setup Time Min 0 ns Read Recovery Time Before Write (OE# High to WE# Low) Min 0 ns tGHWL tGHWL tELWL tCS CE# Setup Time Min 0 ns tWHEH tCH CE# Hold Time Min 0 ns CE# Setup to CLK Min 7 WE# Width Min 25 ns Write Pulse Width High Min 30 ns tWLWH tWP tWHWL tWPH tWHWH1 tWHWH1 Programming Operation (Note 2) Typ 9 µs tWHWH2 tWHWH2 Sector Erase Operation (Note 2) Typ 0.5 sec. VCC Setup Time (Note 1) Min 50 µs Recovery Time from RY/BY# Min 0 ns tBUSY RY/BY# Delay After WE# Rising Edge Max 90 ns tWPWS WP# Setup to WE# Rising Edge with Command Min 20 ns tWPRH WP# Hold after RY/BY# Rising Edge Max 2 ns tVCS tRB Note: 1. Not 100% tested. 2. See the section for more information. 66 Am29BDD160G AC CHARACTERISTICS Note:PA = program address, PD = program data, DOUT is the true data at the program address. Figure 21. Program Operation Timings Note:Note: SA = sector address (for Sector Erase), VA = Valid Address for reading status data (see Write Operation Status). Figure 22. Chip/Sector Erase Operation Timings Am29BDD160G 67 AC CHARACTERISTICS Figure 23. Back-to-Back Cycle Timing Note:VA = Valid address. Illustration shows first status cycle after command sequence, last status read cycle, and array data read cycle. Figure 24. Data# Polling Timings (During Embedded Algorithms) 68 Am29BDD160G AC CHARACTERISTICS 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 25. Toggle Bit Timings (During Embedded Algorithms) Note:The system may use CE# or OE# to toggle DQ2 and DQ6. DQ2 toggles only when read at an address within an erasesuspended sector. Figure 26. DQ2 vs. DQ6 for Erase and Erase Suspend Operations Am29BDD160G 69 1. The timings are similar to synchronous read timings and asynchronous data polling Timings/Toggle bit Timing. 2. VA = Valid Address. Two read cycles are required to determine status. When the Embedded Algorithm operation is complete, the toggle bits will stop toggling. 3. RDY is active with data (A18 = 0 in the Configuration Register). When A18 = 1 in the Configuration Register, RDY is active one clock cycle before data. 4. Data polling requires burst access time delay. Figure 27. Synchronous Data Polling Timing/Toggle Bit Timing * Valid address for sector protect: A6 = 0, A1 = 1, A0 = 0. Valid address for sector unprotect:A6 = 1, A1 = 1, A0 = 0. ** Command for sector protect is 68h. Command for sector unprotect is 60h. *** Command for sector protect verify is 48h. Command for sector unprotect verify is 40h. Figure 28. Sector Protect/Unprotect Timing Diagram 70 Am29BDD160G AC CHARACTERISTICS Alternate CE# Controlled Erase/Program Operations Parameter JEDEC Std. All Speed Options Unit tAVAV tWC Write Cycle Time (Note 1) Min 65 ns tAVEL tAS Address Setup Time Min 0 ns tELAX tAH Address Hold Time Min 45 ns tDVEH tDS Data Setup Time Min 35 ns tEHDX tDH Data Hold Time Min 2 ns tOES Output Enable Setup Time Min 0 ns tGHEL tGHEL Read Recovery Time Before Write (OE# High to WE# Low) Min 0 ns tWLEL tWS WE# Setup Time Min 0 ns tEHWH tWH WE# Hold Time Min 0 ns WE# Rising Edge Setup to ADV# Falling Edge Min 5 ns WE# Width Min 15 ns tWADVH WE# Falling Edge After ADV# Falling Edge Min 0 ns tWCKS WE# Rising Edge Setup to CLK Rising Edge Min 5 ns CE# Pulse Width Min 35 ns CE# Pulse Width High Min 30 ns tWADVS tWP Description tELEH tCP tEHEL tCPH tWHWsH1 tWHWH1 Programming Operation (Note 2) Typ 9 µs tWHWH2 tWHWH2 Sector Erase Operation (Note 2) Typ 0.5 sec. Note: 1. Not 100% tested. 2. See the section for more information. Am29BDD160G 71 AC CHARACTERISTICS Note: 1. PA = program address, PD = program data, DQ7# = complement of the data written to the device, DOUT = data written to the device. 2. Figure indicates the last two bus cycles of the command sequence. Figure 29. Alternate CE# Controlled Write Operation Timings 72 Am29BDD160G ERASE AND PROGRAMMING PERFORMANCE Parameter Typ (Note 1) Max (Note 2) Unit Comments Sector Erase Time 1.0 5 s Chip Erase Time 23 230 s Excludes 00h programming prior to erasure (Note 4) Double Word Program Time 18 250 µs Word (x16) Program Time 15 210 µs Accelerated Double Word Program Time 8 130 µs Accelerated Chip Program Time 5 50 s x16 10 100 x32 12 120 Chip Program Time (Note 3) Excludes system level overhead (Note 5) Notes: 1. Typical program and erase times assume the following conditions: 25°C, 2.5 V VCC, 1M cycles. Additionally, programming typically assume checkerboard pattern. 2. Under worst case conditions of 145°C, VCC = 2.5 V, 100,000 cycles. 3. The typical chip programming time is considerably less than the maximum chip programming time 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 two- or four-bus-cycle sequence for the program command. See Tables 19 and 20 for further information on command definitions. 6. The device has a minimum erase and program cycle endurance of 1M cycles. 7. PPBs have a minimum program/erase cycle endurance of 100 cycles. LATCHUP CHARACTERISTICS Description Min Max Input voltage with respect to VSS on all pins except I/O pins (including A9, ACC, and WP#) –1.0 V 12.5 V Input voltage with respect to VSS on all I/O pins –1.0 V VCC + 1.0 V –100 mA +100 mA VCC Current Note:Includes all pins except VCC. Test conditions: VCC = 3.0 V, one pin at a time. PQFP AND FORTIFIED BGA 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 Note: 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 125°C 20 Years Minimum Pattern Data Retention Time Am29BDD160G 73 PHYSICAL DIMENSIONS PQR080-80-Lead Plastic Quad Flat Package 74 Am29BDD160G PHYSICAL DIMENSIONS LAA 080-80-ball Fortified Ball Grid Array (13 x 11 mm) Am29BDD160G 75 REVISION SUMMARY Revision B (September 30, 2002) See Table 9, Configuration Register Definitions Modified descriptions for CR3–CR10. Initial public release. See Table 16, CFI Device Geometry Definition Revision B+1 (October 7, 2002) Modified description of data at address 2Ch (x32 mode); added data 0003h. Distinctive Characteristics Changed maximum power consumption on burst mode read, program/erase operations, and standby mode. DC Characteristics Added maximum ICC6 specification. Burst Mode Read table AC Characteristics Changed tCES specification from 7, 8, and 9 ns to 4, 5, and 6 ns, respectively. Asynchronous Read Operations: Changed t CE specifications for 54D, 65D, 64C, and 65A speed options. Changed t DF specifications for 65A and 90A speed options. DC Characteristics table Deleted I CC2 specification. Changed I CCB OE# test condition from VIH to VIL. Added 1 MHz test condition to I CC1 ; changed OE# test condition from VIH to VIL. Changed ICC3 and ICC4 maximum values and added typical values. Changed maximum values for ICC5, ICC7, and ICC8. Added Note 4 to table. AC Characteristics Erase and Program Operations table: Replaced TBDs for tAH and tWP with values. Erase and Programming Performance table Replaced TBDs and existing typical and maximum values with new values. Revision B+2 (October 14, 2002) Distinctive Characteristics, DC Characteristics Changed VCC CMOS standby current to 30 mA max. Revision B+4 (April 8, 2003) Distinctive Characteristics Corrected typo in Single power supply operation. Corrected typo in Performance characteristics. Product Selector Guide Updated Max Burst Access Delay for the 54D, 65D, 64C, and 80C speed options. Global Removed references to interleaving operations throughout data sheet. Table 6. 16-Bit and 32-Bit Linear and Interleaved Burst Data Order Removed 2nd row for “Four Interleaved Data Transfers” and “Eight Interleaved Data Transfers”. Changed maximum rating for VCC to 3.0 V. Continuous Burst Read Operations, Figure 3. and Figure 4. Wait Function During Continuous Burst Reads at Wordline Boundary, Figure 5. and Figure 6. Odd/Even Starting address Continuous Burst Mode Alignment Revision B+3 (November 22, 2002) Removed from data sheet. Product Selector Guide Table 9. Configuration Register Definitions Added availability note. Changed minimum initial clock delay and maximum CE# access time on 54D, 65D, 64C, and 65A speeds. Changed maximum OE# access time on 65A and 90A speeds. Added “Reserved” references to table. Ordering Information Added bulleted section. Added availability note. Absolute Maximum Ratings and Operating Ranges Absolute Maximum Ratings See Table 8, Burst Initial Access Delay Deleted definitions and settings columns and added initial burst access columns. Modified drawing: Deleted arrows connecting address/data cycles. Deleted setting call outs. Changed number of delay cycles call outs. Moved start of Valid Address cycle. Falling CLK Edge Output and Two-CLK Data Hold 76 Added Sector and Sector Group section. Added VIO Changed 1.65 V to –0.5 V Changed 2.3 V to 2.5 V CMOS Compatible Figure 3, Initial Burst Delay Control Deleted figure. Sector Protection Removed “VIO” from Max column of output high voltage row. Figure 16. Burst Mode Read (x32 mode) Corrected typos to subscripts. Corrected values for the tBACC and tDIND for the 54D, 65D, 64C, and 80C speed options. Am29BDD160G Revision C+1 (May 29, 2003) Figure 17. Asynchronous Command Write Timing Distinctive Characteristics Added tWC and tWPH. Figure 18. Synchronous Command Write/ Read Timing Changed the standby mode to 60 µA. Product Selector Guide Added tWC and tWPH. Changed the standard voltage range to 2.5-2.75 V Hardware Reset (RESET#) Output Disable Mode Corrected tREADY max. Replace paragraph. Figure 20. WP# Write Timing Synchronous (Burst) Read Operation Removed reference to “continuous sequential” from section. Added tWP. Figure 23. Back-to-back Cycle Timings Figure 3. Initial Burst Delay Control Added tWPH. Renumbered waveform to read two, three, four. Figure 24. Data# Polling Timings (During Embedded Algorithms) Toggle Bit I Added tWC. Added sentence to second paragraph of section. Figure 29. Alternate CE# Controlled Write Operation Timings CMOS Compatible Added tWP and tWPH Burst Mode Read Erase and Programming Performance Changed the tIACC Max for the 65A speed option to 67 ns. Removed reference to continuous burst from table. Changed the sector erase time typical to 1.0. Reworded first paragraph. Revision B+5 (May 6, 2003) Global Converted data sheet from Advanced Information to Preliminary. Renumbered Supply Current axis, removed 2.3 V graph, and changed other graph to 2.5 V. Figure 27. Synchronous Data Polling Timing/ Toggle Bit Timings Ordering Information Removed some OPNs and markings. Deleted line under the pulse in OE#. Automatic Sleep Mode (ASM) and Standby Mode DQ7: Data# Polling, DQ6: Toggle Bit I and DQ2: Toggle Bit II Revision C+2 (June 26, 2003) Added reference to Figure 27. Added Note. Absolute Maximum Ratings Synchronous (Burst) Read Operation, ADV#Control In Linear Mode, and IND/WAIT# Operation in Linear Mode Added ACC reference. CMOS Compatible Corrected Max values for the ICC5, 7, and 8 Added Note #5. Figure 27. Synchronous Data Polling Timings/ Toggle Bit Timing Added Figure. Simultaneous Read/Write Operations Overview and Restrictions Added Sections and table. Table 7. Burst Initial Access Delay, Table 8. Configuration Register Definitions, Table 23. Test Specifications, Asynchronous Read Operations, and Burst Mode Read Removed the 65D, 80C, and 90A speed options from tables. Revision C (May 19, 2003) No revisions made, re post on web. Product Selector Guide Removed feature. Table. 7 Valid Configuration Register Bit Definition for IND/WAIT# Removed features. Table 20. Sector Protection Command Definitions (x32 mode) Changed the address for OW A5-A0 to 011X10. Table 22. Sector Protection Command Definitions (x16 mode) Changed the PWA sector to A0:A-1 Figure 11. Typical ICC1 vs. Frequency Changed 2.5 to 2.7 and made T= 40°C Trademarks Burst Mode Read Changed tBACC for 54D to 9 FBGA and 9.5 PQFP. Am29BDD160G 77 Changed tDIND for 54D to 9 FBGA and 9.5 PQFP and for the 64C to 10 FBGA and 10 PQFP. Figure 27. Synchronous Data Polling Timing/ Toggle Bit Timing Added note 4. Revision D (June 30, 2003) Global Converted to a Preliminary Data sheet. Revision D+1 (June 30, 2003) Global Removed “Preliminary” status from data sheet. Added note on cover page and first page of data sheet that the Am29BDD160G has been superseded by the Spansion S29CD016G. Copyright © 2003–2005 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. Revision D3 (February 2, 2005) Distinctive Characteristics Added temperature range to simultaneous read/ write operations section. Product Ordering DC Characteristics Added new package types to valid combinations. Added lead free to package. Inserted IACC field to table. Revision D2 (January 7, 2005) Colophon The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for any use that includes fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for any use where chance of failure is intolerable (i.e., submersible repeater and artificial satellite). Please note that Spansion LLC will not be liable to you and/or any third party for any claims or damages arising in connection with abovementioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the US Export Administration Regulations or the applicable laws of any other country, the prior authorization by the respective government entity will be required for export of those products. Trademarks Copyright ©2003-2005 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. 78 Am29BDD160G