Numonyx™ Embedded Flash Memory (J3 v. D)
32, 64, 128, and 256 Mbit
Datasheet
Product Features
Architecture — High-density symmetrical 128-Kbyte blocks — 256 Mbit (256 blocks) — 128 Mbit (128 blocks) — 64 Mbit (64 blocks) — 32 Mbit (32 blocks) Performance — 75 ns Initial Access Speed (128/64/32 -Mbit densities) — 95 ns Initial Access Speed (256 Mbit only) — 25 ns 8-word and 4-word Asynchronous page-mode reads — 32-Byte Write buffer — 4 µs per Byte Effective programming time System Voltage and Power — VCC = 2.7 V to 3.6 V — VCCQ = 2.7 V to 3.6 V Packaging — 56-Lead TSOP package (32, 64, 128 Mbit only) — 64-Ball Numonyx Easy BGA package (32, 42, 128 and 256 Mbit) Security — Enhanced security options for code protection — 128-bit Protection Register — 64-bit Unique device identifier — 64-bit User-programmable OTP cells — Absolute protection with VPEN = GND — Individual block locking — Block erase/program lockout during power transitions Software — Program and erase suspend support — Flash Data Integrator (FDI), Common Flash Interface (CFI) Compatible Quality and Reliability — Operating temperature: -40 °C to +85 °C — 100K Minimum erase cycles per block — 0.13 µm ETOX™ VIII Process
308551-05 November 2007
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH NUMONYX™ PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN NUMONYX'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, NUMONYX ASSUMES NO LIABILITY WHATSOEVER, AND NUMONYX DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF NUMONYX PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. Numonyx products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications. Numonyx B.V. may make changes to specifications and product descriptions at any time, without notice. Numonyx B.V. may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights that relate to the presented subject matter. The furnishing of documents and other materials and information does not provide any license, express or implied, by estoppel or otherwise, to any such patents, trademarks, copyrights, or other intellectual property rights. Designers must not rely on the absence or characteristics of any features or instructions marked “reserved” or “undefined.” Numonyx reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. Contact your local Numonyx sales office or your distributor to obtain the latest specifications and before placing your product order. Copies of documents which have an order number and are referenced in this document, or other Numonyx literature may be obtained by visiting Numonyx's website at http://www.numonyx.com. Numonyx, the Numonyx logo, and StrataFlash are trademarks or registered trademarks of Numonyx B.V. or its subsidiaries in other countries. *Other names and brands may be claimed as the property of others. Copyright © 2007, Numonyx B.V., All Rights Reserved.
Datasheet 2
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Contents
1.0 Introduction .............................................................................................................. 6 1.1 Nomenclature ..................................................................................................... 6 1.2 Acronyms........................................................................................................... 6 1.3 Conventions ....................................................................................................... 7 Functional Overview .................................................................................................. 8 2.1 Block Diagram .................................................................................................. 10 2.2 Memory Map..................................................................................................... 11 Package Information ............................................................................................... 12 3.1 56-Lead TSOP Package (32, 64, 128 Mbit) ............................................................ 12 3.2 Easy BGA Package (32, 64, 128 and 256 Mbit) ...................................................... 13 Ballouts and Signal Descriptions .............................................................................. 15 4.1 Easy BGA Ballout (32/64/128 Mbit) ..................................................................... 15 4.2 56-Lead TSOP Package Pinout (32/64/128 Mbit).................................................... 17 4.3 Signal Descriptions ............................................................................................ 17 Maximum Ratings and Operating Conditions ............................................................ 19 5.1 Absolute Maximum Ratings................................................................................. 19 5.2 Operating Conditions ......................................................................................... 19 5.3 Power Up/Down ................................................................................................ 19 5.3.1 Power-Up/Down Characteristics................................................................ 20 5.3.2 Power Supply Decoupling ........................................................................ 20 5.4 Reset............................................................................................................... 20 Electrical Characteristics ......................................................................................... 21 6.1 DC Current Specifications ................................................................................... 21 6.2 DC Voltage specifications.................................................................................... 22 6.3 Capacitance...................................................................................................... 22 AC Characteristics ................................................................................................... 23 7.1 Read Specifications............................................................................................ 23 7.2 Write Specifications ........................................................................................... 27 7.3 Program, Erase, Block-Lock Specifications ............................................................ 29 7.4 Reset Specifications........................................................................................... 29 7.5 AC Test Conditions ............................................................................................ 30 Bus Interface........................................................................................................... 31 8.1 Bus Reads ........................................................................................................ 32 8.1.1 Asynchronous Page Mode Read ................................................................ 32 8.1.2 Output Disable ....................................................................................... 33 8.2 Bus Writes........................................................................................................ 33 8.3 Standby ........................................................................................................... 34 8.3.1 Reset/Power-Down ................................................................................. 34 8.4 Device Commands............................................................................................. 34 Flash Operations ..................................................................................................... 36 9.1 Status Register ................................................................................................. 36 9.1.1 Clearing the Status Register .................................................................... 37 9.2 Read Operations ............................................................................................... 37 9.2.1 Read Array ............................................................................................ 37 9.2.2 Read Status Register .............................................................................. 38 9.2.3 Read Device Information ......................................................................... 38 9.2.4 CFI Query ............................................................................................. 38
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
November 2007 308551-05
Datasheet 3
Numonyx™ Embedded Flash Memory (J3 v. D)
9.3 9.4 9.5 9.6 9.7
Programming Operations ....................................................................................38 9.3.1 Single-Word/Byte Programming................................................................39 9.3.2 Buffered Programming ............................................................................39 Block Erase Operations .......................................................................................40 Suspend and Resume .........................................................................................41 Status Signal (STS)............................................................................................42 Security and Protection.......................................................................................43 9.7.1 Normal Block Locking ..............................................................................43 9.7.2 Configurable Block Locking.......................................................................44 9.7.3 OTP Protection Registers..........................................................................44 9.7.4 Reading the OTP Protection Register..........................................................44 9.7.5 Programming the OTP Protection Register ..................................................44 9.7.6 Locking the OTP Protection Register ..........................................................45 9.7.7 VPP/ VPEN Protection ..............................................................................46
10.0 Device Command Codes ...........................................................................................47 11.0 Device ID Codes .......................................................................................................48 12.0 Flow Charts ..............................................................................................................49 13.0 Common Flash Interface ..........................................................................................58 13.1 Query Structure Output ......................................................................................58 13.2 Query Structure Overview...................................................................................59 13.3 Block Status Register .........................................................................................60 13.4 CFI Query Identification String ............................................................................60 13.5 System Interface Information ..............................................................................61 13.6 Device Geometry Definition .................................................................................61 13.7 Primary-Vendor Specific Extended Query Table ......................................................62 A B Additional Information .............................................................................................66 Ordering Information ...............................................................................................67
Datasheet 4
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Revision History
Date July 2005
Revision 001
Description Initial release Changed Marketing name from 28FxxxJ3 to J3 v. D. Updated the following: • Table 18, “Command Bus Operations” on page 35 • Section 9.2.2, “Read Status Register” on page 38 • Section 9.3.2, “Buffered Programming” on page 39 • Table 24, “Valid Commands During Suspend” on page 41 Added Table 25, “STS Configuration Register” on page 42.
Section 5.3.1, “Power-Up/Down Characteristics” on page 20 was modified. Notes on Table 8, “DC Voltage Characteristics” on page 22 were updated Table 10, “Read Operations” on page 23 was updated with R16 value Table 12, “Configuration Performance” on page 29 was updated Note 1 of Table 26, “STS Configuration Coding Definitions” on page 43 was updated.
September 2005
002
February 2006
003
February 2007 November 2007
004 05
Added 256-Mbit; Updated format. Applied Numonyx branding.
November 2007 308551-05
Datasheet 5
Numonyx™ Embedded Flash Memory (J3 v. D)
1.0
Introduction
This document contains information pertaining to the Numonyx™ Embedded Flash Memory (J3 v. D) device features, operation, and specifications. The Numonyx™ Embedded Flash Memory J3 Version D (J3 v. D) provides improved mainstream performance with enhanced security features, taking advantage of the high quality and reliability of the NOR-based Intel* 0.13 µm ETOX™ VIII process technology. Offered in 128-Mbit (16-Mbyte), 64-Mbit, and 32-Mbit densities, the Numonyx™ Embedded Flash Memory (J3 v. D) device brings reliable, low-voltage capability (3 V read, program, and erase) with high speed, low-power operation. The Numonyx™ Embedded Flash Memory (J3 v. D) device takes advantage of the proven manufacturing experience and is ideal for code and data applications where high density and low cost are required, such as in networking, telecommunications, digital set top boxes, audio recording, and digital imaging. Numonyx Flash Memory components also deliver a new generation of forward-compatible software support. By using the Common Flash Interface (CFI) and Scalable Command Set (SCS), customers can take advantage of density upgrades and optimized write capabilities of future Numonyx Flash Memory devices.
1.1
Nomenclature
AMIN:
All Densities All Densities 32 Mbit
AMIN = A0 for x8 AMIN = A1 for x16 AMAX = A21 AMAX = A22 AMAX = A23
AMAX:
64 Mbit 128 Mbit
Block: Clear: Program: Set: VPEN: VPEN :
A group of flash cells that share common erase circuitry and erase simultaneously Indicates a logic zero (0) To write data to the flash array Indicates a logic one (1) Refers to a signal or package connection name Refers to timing or voltage levels
1.2
Acronyms
CUI: OTP: PLR: PR: PRD: RFU:
Command User Interface One Time Programmable Protection Lock Register Protection Register Protection Register Data Reserved for Future Use
Datasheet 6
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
SR: SRD: WSM: ECR:
Status Register Status Register Data Write State Machine Enhanced Configuration Register
1.3
Conventions
h: k (noun): M (noun): Nibble Byte: Word: Kword: Kb: KB: Mb: MB: Brackets: Hexadecimal Affix 1,000 1,000,000 4 bits 8 bits 16 bits 1,024 words 1,024 bits 1,024 bytes 1,048,576 bits 1,048,576 bytes Square brackets ([]) will be used to designate group membership or to define a group of signals with similar function (i.e. A[21:1], SR[4,1] and D[15:0]). Denotes 16-bit hexadecimal numbers Denotes 32-bit hexadecimal numbers Data I/O signals
00FFh: 00FF 00FFh: DQ[15:0]:
November 2007 308551-05
Datasheet 7
Numonyx™ Embedded Flash Memory (J3 v. D)
2.0
Functional Overview
The Numonyx™ Embedded Flash Memory (J3 v. D) family contains high-density memory organized in any of the following configurations: • 32 Mbytes or 16 Mword (256-Mbit), organized as two-hundred-fifty-six 128-Kbyte (131,072 bytes) erase blocks- Users should be aware that this density is not offered in a monolithic part and the device is made up of 2x128-Mb devices. • 16 Mbytes or 8 Mword (128-Mbit), organized as one-hundred-twenty-eight 128Kbyte erase blocks • 8 Mbytes or 4 Mword (64-Mbit), organized as sixty-four 128-Kbyte erase blocks • 4 Mbytes or 2 Mword (32-Mbit), organized as thirty-two 128-Kbyte erase blocks These devices can be accessed as 8- or 16-bit words. See Figure 1, “Memory Block Diagram (32, 64 and 128 Mbit)” on page 10 for further details. A 128-bit Protection Register has multiple uses, including unique flash device identification. The Numonyx™ Embedded Flash Memory (J3 v. D) device includes new security features that were not available on the (previous) 0.25µm and 0.18µm versions of the J3 family. These new security features prevent altering of code through different protection schemes that can be implemented, based on user requirements. The Numonyx™ Embedded Flash Memory (J3 v. D) device optimized architecture and interface dramatically increases read performance by supporting page-mode reads. This read mode is ideal for non-clock memory systems. A Common Flash Interface (CFI) permits software algorithms to be used for entire families of devices. This allows device-independent, JEDEC ID-independent, and forward- and backward-compatible software support for the specified flash device families. Flash vendors can standardize their existing interfaces for long-term compatibility. Scalable Command Set (SCS) allows a single, simple software driver in all host systems to work with all SCS-compliant flash memory devices, independent of system-level packaging (e.g., memory card, SIMM, or direct-to-board placement). Additionally, SCS provides the highest system/device data transfer rates and minimizes device and system-level implementation costs. A Command User Interface (CUI) serves as the interface between the system processor and internal operation of the device. A valid command sequence written to the CUI initiates device automation. An internal Write State Machine (WSM) automatically executes the algorithms and timings necessary for block erase, program, and lock-bit configuration operations. A block erase operation erases one of the device’s 128-Kbyte blocks typically within one second, independent of other blocks. Each block can be independently erased 100,000 times. Block erase suspend mode allows system software to suspend block erase to read or program data from any other block. Similarly, program suspend allows system software to suspend programming (byte/word program and write-to-buffer operations) to read data or execute code from any other block that is not being suspended. Each device incorporates a Write Buffer of 32 bytes (16 words) to allow optimum programming performance. By using the Write Buffer, data is programmed in buffer increments.
Datasheet 8
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Blocks are selectively and individually lockable in-system. Individual block locking uses block lock-bits to lock and unlock blocks. Block lock-bits gate block erase and program operations. Lock-bit configuration operations set and clear lock-bits (using the Set Block Lock-Bit and Clear Block Lock-Bits commands). The Status Register indicates when the WSM’s block erase, program, or lock-bit configuration operation is finished. The STS (STATUS) output gives an additional indicator of WSM activity by providing both a hardware signal of status (versus software polling) and status masking (interrupt masking for background block erase, for example). Status indication using STS minimizes both CPU overhead and system power consumption. When configured in level mode (default mode), it acts as a RY/BY# signal. When low, STS indicates that the WSM is performing a block erase, program, or lock-bit configuration. STS-high indicates that the WSM is ready for a new command, block erase is suspended (and programming is inactive), program is suspended, or the device is in reset/power-down mode. Additionally, the configuration command allows the STS signal to be configured to pulse on completion of programming and/or block erases. Three CE signals are used to enable and disable the device. A unique CE logic design reduces decoder logic typically required for multi-chip designs. External logic is not required when designing a single chip, a dual chip, or a 4-chip miniature card or SIMM module. The BYTE# signal allows either x8 or x16 read/writes to the device: • BYTE#-low enables 8-bit mode; address A0 selects between the low byte and high byte. • BYTE#-high enables16-bit operation; address A1 becomes the lowest order address and address A0 is not used (don’t care). Figure 1, “Memory Block Diagram (32, 64 and 128 Mbit)” on page 10 shows a device block diagram. When the device is disabled, with CEx at VIH and RP# at VIH, the standby mode is enabled. When RP# is at VIL, a further power-down mode is enabled which minimizes power consumption and provides write protection during reset. A reset time (tPHQV) is required from RP# going high until data outputs are valid. Likewise, the device has a wake time (tPHWL) from RP#-high until writes to the CUI are recognized. With RP# at VIL, the WSM is reset and the Status Register is cleared. (see Table 15, “Chip Enable Truth Table” on page 31).
November 2007 308551-05
Datasheet 9
Numonyx™ Embedded Flash Memory (J3 v. D)
2.1
Figure 1:
Block Diagram
Memory Block Diagram (32, 64 and 128 Mbit)
DQ0 - DQ15
VCCQ
Output Buffer
Input Buffer
Output Latch/Multi pl exer
Query Write Buffer Data Registe r Identifier Register Status Register
I/O Logic CE Logic
VCC BYTE# CE0 CE1 CE2 WE# OE# RP#
Command User Interface
A0 - A2
Data Comparator
Multiplexer
32-Mbit: A0 - A21 64-Mbit: A0 - A22 128-Mbit: A0 - A23
Input Buffer
Y-Decoder
Y-Gating 32-Mbit: Thirty-two 64-Mbit: Sixty-four 128-Mbit: One-hundred twenty -eight Write State Machine Program/Erase Voltage Switch
STS V PEN VCC GND
Address Latch Address Counter
X-Decoder
128-Kbyte Blocks
Figure 2:
Numonyx™ Embedded Flash Memory (J3 v. D) Memory Block Diagram (256 Mbit)
Vcc 28F128J3 CE1 CE# Upper Address CE0 Device D[15-0] A[23-A0] A[23-A0] CE2
A24
D[15-0]
28F128J3 CE1 Lower Address CE0 Device D[15-0] A[23-A0] CE2
Datasheet 10
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
2.2
Figure 3:
Memory Map
Numonyx™ Embedded Flash Memory (J3 v. D) Memory Map
A[24-1]: 256 Mbit A [23-1]: 128 Mbit A [22-1]: 64 Mbit A [21-1]: 32 Mbit
FFFFFF 255 FF0000
A[24-0]: 256 Mbit A [23-0]:128 Mbit A [22-0]: 64 Mbit A [21-0]: 32 Mbit
1FFFFFF 1FE0000
128-Kbyte Block
64-Kword Block
255
0FFFFFF 0FE0000
128-Kbyte Block
7FFFFF 127 7F0000
64-Kword Block
127
07FFFFF 07E0000
128-Kbyte Block
3FFFFF 63 3F0000
64-Kword Block
63
03E0000
128-Kbyte Block
31
1F0000
64-Kword Block
31
003FFFF 0020000 001FFFF 0000000
128-Kbyte Block 128-Kbyte Block
1 0
01FFFF 010000 00FFFF 000000
64-Kword Block 64-Kword Block
1 0
Byte-Wide (x8) Mode
Word Wide (x16) Mode
November 2007 308551-05
32-Mbit
64-Mbit
03FFFFF
1FFFFF
1 28-Mbit
256-Mbit
Datasheet 11
Numonyx™ Embedded Flash Memory (J3 v. D)
3.0
3.1
Figure 4:
Package Information
56-Lead TSOP Package (32, 64, 128 Mbit)
56-Lead TSOP Package Mechanical
Z
See Notes 1 and 3
Pin 1
See Note 2
A2 e
E
See Detail B
Y
D1 D
A1 Seating Plane
See Detail A
A
Detail A Detail B
C
0
b
L
Notes: 1. One dimple on package denotes Pin 1. 2. If two dimples, then the larger dimple denotes Pin 1. 3. Pin 1 will always be in the upper left corner of the package, in reference to the product mark.
Table 1:
56-Lead TSOP Dimension Table
Millimeters Inches Max 1.200 0.050 0.965 0.100 0.100 18.200 13.800 0.995 0.150 0.150 18.400 14.000 0.500 19.800 0.500 20.00 0.600 20.200 0.700 0.780 0.020 1.025 0.200 0.200 18.600 14.200 0.002 0.038 0.004 0.004 0.717 0.543 0.039 0.006 0.006 0.724 0.551 0.0197 0.787 0.024 0.795 0.028 0.040 0.008 0.008 0.732 0.559 Min Nom Max 0.047 Symbol Min Nom A A1 A2 b c D1 E e D L
Parameter Package Height Standoff Package Body Thickness Lead Width Lead Thickness Package Body Length Package Body Width Lead Pitch Terminal Dimension Lead Tip Length
Datasheet 12
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 1:
56-Lead TSOP Dimension Table
Millimeters Inches Max Min Nom 56 5° 0.100 0.150 0.250 0.350 0.006 0.010 0° 3° 5° 0.004 0.014 Max Symbol Min Nom 56 0° 3° N q Y Z
Parameter Lead Count Lead Tip Angle Seating Plane Coplanarity Lead to Package Offset
3.2
Figure 5:
Easy BGA Package (32, 64, 128 and 256 Mbit)
Easy BGA Mechanical Specifications
Ball A1 Corner D S1
Ball A1 Corner
1 A B C D E F G H
2
3
4
5
6
7
8 A B C E D E F G H
8
7
6
5
4
3
2
1
S2
e
b
Top View - Plastic Backside
Complete Ink Mark Not Shown A1 A2 A
Bottom View - Ball Side Up
Seating Plane
Y
Table 2:
Easy BGA Package Dimensions Table (Sheet 1 of 2)
Millimeters Parameter Symb ol A A A1 A2 0.250 0.780 Min Nom Max 1.200 1.300 0.0098 0.0307 Note s Min Inches Nom Max 0.0472 0.0512
Package Height (32, 64, 128- Mbit) Package Height (256- Mbit) Ball Height Package Body Thickness (32, 64, 128- Mbit)
November 2007 308551-05
Datasheet 13
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 2:
Easy BGA Package Dimensions Table (Sheet 2 of 2)
Millimeters Parameter Symb ol A2 b D E [e] N Y S1 S2 1.400 2.900 1.500 3.000 0.330 9.900 12.900 Min Nom 0.910 0.430 10.000 13.000 1.000 64 0.100 1.600 3.100 1 1 0.0551 0.1142 0.0591 0.1181 0.530 10.100 13.100 1 1 0.0130 0.3898 0.5079 Max Note s Min Inches Nom 0.0358 0.0169 0.3937 0.5118 0.0394 64 0.0039 0.0630 0.1220 0.0209 0.3976 0.5157 Max
Package Body Thickness (256- Mbit) Ball (Lead) Width Package Body Width Package Body Length Pitch Ball (Lead) Count Seating Plane Coplanarity Corner to Ball A1 Distance Along D (32/64/128 Mb) Corner to Ball A1 Distance Along E (32/64/128 Mb)
Notes: 1. For Daisy Chain Evaluation Unit information refer to the Numonyx Flash Memory Packaging Technology Web page at: www.Numonyx.com/design/packtech/index.htm 2. For Packaging Shipping Media information refer to the Numonyx Flash Memory Packaging Technology Web page at: www.Numonyx.com/design/packtech/index.htm
Datasheet 14
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
4.0
Ballouts and Signal Descriptions
Numonyx™ Embedded Flash Memory (J3 v. D) is available in two package types. All densities of the Numonyx™ Embedded Flash Memory (J3 v. D) are supported on both 64-ball Easy BGA and 56-lead Thin Small Outline Package (TSOP) packages, except the 256 Mbit density that is available only in Easy BGA. Figure 6, Figure 7 and Figure 8 show the ballouts.
4.1
Figure 6:
Easy BGA Ballout (32/64/128 Mbit)
Easy BGA Ballout (32/64/128 Mbit)
1 A
A1
2
3
4
5
6
7
8
8
7
6
5
4
3
2
1 A
A6
A8
VPEN
A13
VCC
A18
A22
A22
A18
VCC
A13
VPEN
A8
A6
A1
B
A2 VSS A9 CE0# A14 RFU A19 CE1# CE1# A19 RFU A14 CE0# A9 VSS A2
B C
A3 A7 A10 A12 A15 RFU A20 A21 A21 A20 RFU A15 A12 A10 A7 A3
C D
A4 A5 A11 RP# RFU RFU A16 A17 A17 A16 RFU RFU RP# A11 A5 A4
D E
D8 D1 D9 D3 D4 RFU D15 STS STS D15 RFU D4 D3 D9 D1 D8
E F
BYTE# D0 D10 D11 D12 RFU RFU OE# OE# RFU RFU D12 D11 D10 D0 BYTE#
F G
A23 A0 D2 VCCQ D5 D6 D14 WE# WE# D14 D6 D5 VCCQ D2 A0 A23
G H
CE2# RFU VCC VSS D13 VSS D7 RFU RFU D7 VSS D13 VSS VCC RFU CE2# Intel® Embedded Flash Memory (J3 v. D) Easy BGA Top View- Ball side down 32/64/128 Mbit Intel® Embedded Flash Memory (J3 v. D) Easy BGA Bottom View- Ball side up 32/64/128 Mbit
H
Notes: 1. Address A22 is only valid on 64-Mbit densities and above, otherwise, it is a no connect (NC). 2. Address A23 is only valid on 128-Mbit densities and above, otherwise, it is a no connect (NC).
November 2007 308551-05
Datasheet 15
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 7:
Easy BGA Ballout (256 Mbit)
1 A
A1
2
3
4
5
6
7
8
8
7
6
5
4
3
2
1 A
A6
A8
VPEN
A13
VCC
A18
A22
A22
A18
VCC
A13
VPEN
A8
A6
A1
B
A2 VSS A9 CE# A14 RFU A19 NC NC A19 RFU A14 CE# A9 VSS A2
B C
A3 A7 A10 A12 A15 RFU A20 A21 A21 A20 RFU A15 A12 A10 A7 A3
C D
A4 A5 A11 RP# RFU RFU A16 A17 A17 A16 RFU RFU RP# A11 A5 A4
D E
D8 D1 D9 D3 D4 RFU D15 STS STS D15 RFU D4 D3 D9 D1 D8
E F
BYTE# D0 D10 D11 D12 RFU RFU OE# OE# RFU RFU D12 D11 D10 D0 BYTE#
F G
A23 A0 D2 VCCQ D5 D6 D14 WE# WE# D14 D6 D5 VCCQ D2 A0 A23
G H
NC RFU VCC VSS D13 VSS D7 A24 A24 D7 VSS D13 VSS VCC RFU NC Intel® Embedded Flash Memory (J3 v. D) Easy BGA Top View- Ball side down 256 Mbit Intel® Embedded Flash Memory (J3 v. D) Easy BGA Bottom View- Ball side up 256 Mbit
H
Datasheet 16
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
4.2
Figure 8:
56-Lead TSOP Package Pinout (32/64/128 Mbit)
56-Lead TSOP Package Pinout (32/64/128 Mbit)
A22 CE1 A21 A20 A19 A18 A17 A16 VCC A15 A14 A13 A12 CE0 VPEN RP# A11 A10 A9 A8 GND A7 A6 A5 A4 A3 A2 A1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Intel® Embedded Flash Memory (28FXXXJ3D) 56-Lead TSOP Standard Pinout 14 mm x 20 mm Top View
32/64/128 Mbit
56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29
RFU WE# OE# STS DQ15 DQ 7 DQ14 DQ 6 GND DQ13 DQ 5 DQ12 DQ 4 VCCQ GND DQ11 DQ 3 DQ10 DQ 2 VCC DQ 9 DQ 1 DQ 8 DQ 0 A0 BYTE# A23 CE2
Notes: 1. A22 exists on 64- and 128- densities. On 32-Mbit density this signal is a no-connect (NC). 2. A23 exists on 128-Mbit densities. On 32- and 64-Mbit densities this signal is a no-connect (NC)
4.3
Signal Descriptions
Table 3 lists the active signals used on Numonyx™ Embedded Flash Memory (J3 v. D) and provides a description of each.
Table 3:
Symbol A0
Signal Descriptions for Numonyx™ Embedded Flash Memory (J3 v. D) (Sheet 1 of 2)
Type Input Name and Function BYTE-SELECT ADDRESS: Selects between high and low byte when the device is in x8 mode. This address is latched during a x8 program cycle. Not used in x16 mode (i.e., the A0 input buffer is turned off when BYTE# is high). ADDRESS INPUTS: Inputs for addresses during read and program operations. Addresses are internally latched during a program cycle: 32-Mbit — A[21:1] 64-Mbit— A[22:1] 128-Mbit — A[23:1] 256-Mbit — A[24:1] A24 acts as a virtual CE for the two devices. A24 at VIL selects the lower die and A24 at VIH selects the upper die. LOW-BYTE DATA BUS: Inputs data during buffer writes and programming, and inputs commands during CUI writes. Outputs array, CFI, identifier, or status data in the appropriate read mode. Data is internally latched during write operations.
A[MAX:1]
Input
D[7:0]
Input/ Output
November 2007 308551-05
Datasheet 17
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 3:
Symbol D[15:8]
Signal Descriptions for Numonyx™ Embedded Flash Memory (J3 v. D) (Sheet 2 of 2)
Type Input/ Output Name and Function HIGH-BYTE DATA BUS: Inputs data during x16 buffer writes and programming operations. Outputs array, CFI, or identifier data in the appropriate read mode; not used for Status Register reads. Data is internally latched during write operations in x16 mode. D[15-8] float in x8 mode CHIP ENABLE: Activate the 32-, 64- and 128 Mbit devices’ control logic, input buffers, decoders, and sense amplifiers. When the device is de-selected, power reduces to standby levels. All timing specifications are the same for these three signals. Device selection occurs with the first edge of CE0, CE1, or CE2 that enables the device. Device deselection occurs with the first edge of CE0, CE1, or CE2 that disables the device. CHIP ENABLE: Activates the 256Mbit devices’ control logic, input buffers, decoders, and sense amplifiers. Device selection occurs with the first edge of CE# that enables the device. Device deselection occurs with the first edge of CE# that disables the device.s RESET: RP#-low resets internal automation and puts the device in power-down mode. RP#-high enables normal operation. Exit from reset sets the device to read array mode. When driven low, RP# inhibits write operations which provides data protection during power transitions. OUTPUT ENABLE: Activates the device’s outputs through the data buffers during a read cycle. OE# is active low. WRITE ENABLE: Controls writes to the CUI, the Write Buffer, and array blocks. WE# is active low. Addresses and data are latched on the rising edge of WE#. STATUS: Indicates the status of the internal state machine. When configured in level mode (default), it acts as a RY/BY# signal. When configured in one of its pulse modes, it can pulse to indicate program and/or erase completion. STS is to be tied to VCCQ with a pull-up resistor. BYTE ENABLE: BYTE#-low places the device in x8 mode; data is input or output on D[7:0], while D[15:8] is placed in High-Z. Address A0 selects between the high and low byte. BYTE#-high places the device in x16 mode, and turns off the A0 input buffer. Address A1 becomes the lowest-order address bit. ERASE / PROGRAM / BLOCK LOCK ENABLE: For erasing array blocks, programming data, or configuring lock-bits. With VPEN ≤ VPENLK, memory contents cannot be altered. CORE Power Supply: Core (logic) source voltage. Writes to the flash array are inhibited when VCC ≤ VLKO . Caution: Device operation at invalid Vcc voltages should not be attempted. I/O Power Supply: Power supply for Input/Output buffers.This ball can be tied directly to VCC . Ground: Ground reference for device logic voltages. Connect to system ground. No Connect: L ead is not internally connected; it may be driven or floated. Reserved for Future Use: Balls designated as RFU are reserved by Numonyx for future device functionality and enhancement.
CE[2:0]
Input
CE#
Input
RP#
Input
OE# WE#
Input Input Open Drain Output
STS
BYTE#
Input
VPEN
Input
VCC VCCQ GND NC RFU
Power Power Supply — —
Datasheet 18
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
5.0
5.1
Warning:
Maximum Ratings and Operating Conditions
Absolute Maximum Ratings
Stressing the device beyond the “Absolute Maximum Ratings” may cause permanent damage. These are stress ratings only.
NOTICE: This document contains information available at the time of its release. The specifications are subject to change without notice. Verify with your local Numonyx sales office that you have the latest datasheet before finalizing a design.
Table 4:
Absolute Maximum Ratings
Parameter Min –40 –65 –2.0 –2.0 –2.0 — Max +85 +125 +5.6 +5.6 VCCQ (max) + 2.0 100 Unit °C °C V V V mA Notes — — 2 2 1 3
Temperature under Bias Expanded (TA, Ambient) Storage Temperature VCC Voltage VCCQ Voltage on any input/output signal (except VCC, VCCQ) ISH Output Short Circuit Current
Notes: 1. Voltage is referenced to VSS. During infrequent non-periodic transitions, the voltage potential between VSS and input/ output pins may undershoot to –2.0 V for periods < 20 ns or overshoot to VCCQ (max) + 2.0 V for periods < 20 ns. 2. During infrequent non-periodic transitions, the voltage potential between VCC and the supplies may undershoot to –2.0 V for periods < 20 ns or VSUPPLY (max) + 2.0 V for periods < 20 ns. 3. Output shorted for no more than one second. No more than one output shorted at a time
5.2
Warning:
Operating Conditions
Operation beyond the “Operating Conditions” is not recommended and extended exposure beyond the “Operating Conditions” may affect device reliability
Table 5:
Symbol TA VCC VCCQ
Temperature and VCC Operating Condition of Numonyx™ Embedded Flash Memory (J3 v. D)
Parameter Min -40.0 VCC Supply Voltage VCCQ Supply Voltage 2.70 2.70 +85 3.6 3.6 Max °C V V Unit Test Condition Ambient Temperature — —
5.3
Power Up/Down
This section provides an overview of system level considerations with regards to the flash device. It includes a brief description of power-up, power-down and decoupling design considerations.
November 2007 308551-05
Datasheet 19
Numonyx™ Embedded Flash Memory (J3 v. D)
5.3.1
Power-Up/Down Characteristics
To prevent conditions that could result in spurious program or erase operations, the power-up/power-down sequence shown in here is recommended. Note that each power supply must reach its minimum voltage range before applying/removing the next supply voltage.
Table 6:
Power-Up/Down Sequence
Power-UpSequence 1st 2nd 3rd 1st 2nd† 3rd Sequencing not required† 2nd 1st Power-Down Sequence 2nd 1st†
Power Supply Voltage VCC(min) VCCQ(min) VPEN(min)
1st† 2nd
2nd† 1st
Sequencing not required†
Note:
† Power supplies connected or sequenced together. Device inputs must not be driven until all supply voltages reach their minimum range. RP# should be low during power transitions.
5.3.2
Power Supply Decoupling
When the device is enabled, many internal conditions change. Circuits are energized, charge pumps are switched on, and internal voltage nodes are ramped. All of this internal activities produce transient signals. The magnitude of the transient signals depends on the device and system loading. To minimize the effect of these transient signals, a 0.1 µF ceramic capacitor is required across each VCC/VSS and VCCQ signal. Capacitors should be placed as close as possible to device connections. Additionally, for every eight flash devices, a 4.7 µF electrolytic capacitor should be placed between VCC and VSS at the power supply connection. This 4.7 µF capacitor should help overcome voltage slumps caused by PCB (printed circuit board) trace inductance.
5.4
Reset
By holding the flash device in reset during power-up and power-down transitions, invalid bus conditions may be masked. The flash device enters reset mode when RP# is driven low. In reset, internal flash circuitry is disabled and outputs are placed in a highimpedance state. After return from reset, a certain amount of time is required before the flash device is able to perform normal operations. After return from reset, the flash device defaults to asynchronous page mode. If RP# is driven low during a program or erase operation, the program or erase operation will be aborted and the memory contents at the aborted block or address are no longer valid. See Figure 16, “AC Waveform for Reset Operation” on page 29 for detailed information regarding reset timings.
Datasheet 20
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
6.0
6.1
Table 7:
Electrical Characteristics
DC Current Specifications
DC Current Characteristics
VCCQ V CC 2.7 - 3.6V 2.7 - 3.6V Typ Max ±1 ±10 50 100 0.71 1.42 50 15 4-Word Page 24 29 mA 120 240 2 4 120 20 mA μA mA Unit μA μA μA VCC = VCC Max; VCCQ = VCCQ Max VIN = VCCQ or VSS VCC = VCC Max; VCCQ = VCCQ Max VIN = VCCQ or VSS CMOS Inputs, VCC = VCC Max; Vccq = VccqMax Device is disabled RP# = VCCQ ± 0.2 V TTL Inputs, VCC = VCC Max, Vccq = VccqMax Device is disabled, RP# = VIH RP# = GND ± 0.2 V, IOUT (STS) = 0 mA CMOS Inputs, VCC = VCC Max, VCCQ = VCCQ Max Device is enabled f = 5 MHz, IOUT = 0 mA CMOS Inputs,VCC = VCC Max, VCCQ = VCCQ Max Device is enabled f = 33 MHz, IOUT = 0 mA CMOS Inputs, VCC = VCC Max, VCCQ = VCCQ Max using standard 8 word page mode reads. Device is enabled f = 5 MHz, IOUT = 0 mA CMOS Inputs,VCC = VCC Max, VCCQ = VCCQ Max using standard 8 word page mode reads. Device is enabled f = 33 MHz, IOUT = 0 mA CMOS Inputs, VPEN = VCC TTL Inputs, VPEN = VCC CMOS Inputs, VPEN = VCC TTL Inputs, VPEN = VCC 1,4 1,3 1 1 Test Conditions Notes
Symbol ILI ILO
Parameter Input and VPEN Load Current Output Leakage Current 32, 64, 128 Mbit 256 Mbit
ICCS
VCC Standby Current
32, 64, 128 Mbit 256 Mbit
1,2,3
ICCD
VCC Power-Down Current
ICCR VCC Page Mode Read Current
10 8-Word Page 30
15
mA
54
mA
ICCW
VCC Program or Set Lock-Bit Current VCC Block Erase or Clear Block Lock-Bits Current VCC Program Suspend or Block Erase Suspend Current
35 40 35 40
60 70 70 80
mA mA mA mA
ICCE
1,4
ICCWS ICCES
10
mA
Device is enabled
1,5
Notes: 1. All currents are in RMS unless otherwise noted. These currents are valid for all product versions (packages and speeds). Contact Numonyx’s Application Support Hotline or your local sales office for information about typical specifications. 2. Includes STS. 3. CMOS inputs are either VCC ± 0.2 V or GND ± 0.2 V. TTL inputs are either VIL or VIH. 4. Sampled, not 100% tested. 5. ICCWS and ICCES are specified with the device selected. If the device is read or written while in erase suspend mode, the device’s current draw is ICCR and ICCWS.
November 2007 308551-05
Datasheet 21
Numonyx™ Embedded Flash Memory (J3 v. D)
6.2
Table 8:
DC Voltage specifications
DC Voltage Characteristics
VCCQ V CC 2.7 - 3.6 V 2.7 - 3.6 V Min –0.5 2.0 Max 0.8 VCCQ + 0.5V 0.4 Unit V V V VCC = VCC Min VCCQ = VCCQ Min IOL = 2 mA VCC = VCC Min VCCQ = VCCQ Min IOL = 100 µA VCC = VCCMIN VCCQ = VCCQ Min IOH = –2.5 mA VCC = VCCMIN VCCQ = VCCQ Min IOH = –100 µA 2, 5, 6 2, 5, 6 Test Conditions Notes
Symbol VIL VIH
Parameter Input Low Voltage Input High Voltage
VOL
Output Low Voltage 0.2 V
1, 2
0.85 × VCCQ VOH Output High Voltage VCCQ – 0.2 VPEN Lockout during Program, Erase and Lock-Bit Operations VPEN during Block Erase, Program, or Lock-Bit Operations VCC Lockout Voltage 2.7 2.0
V
1, 2
V
VPENLK VPENH VLKO
2.2 3.6
V V V
2, 3 3 4
Notes: 1. Includes STS. 2. Sampled, not 100% tested. 3. Block erases, programming, and lock-bit configurations are inhibited when VPEN ≤ VPENLK, and not guaranteed in the range between VPENLK (max) and VPENH (min), and above VPENH (max). 4. Block erases, programming, and lock-bit configurations are inhibited when VCC < VLKO, and not guaranteed in the range between VLKO (min) and VCC (min), and above VCC (max). 5. Includes all operational modes of the device including standby and power-up sequences 6. Input/Output signals can undershoot to -1.0v referenced to VSS and can overshoot to VCCQ = 1.0v for duration of 2ns or less, the VCCQ valid range is referenced to VSS.
6.3
Table 9:
Symbol CIN
Capacitance
Numonyx™ Embedded Flash Memory (J3 v. D) Capacitance
Parameter1 Input Capacitance 32, 64, 128 Mb 256 Mb 32, 64, 128 Mb 256 Mb Type Max Unit Condition2 VIN = 0.0 V
6 12 8 16
8 16 12 24
pF
COUT
Output Capacitance
pF
VOUT = 0.0 V
Notes: 1. sampled. not 100% tested. 2. TA = +25 °C, f = 1 MHZ
Datasheet 22
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
7.0
AC Characteristics
Timing symbols used in the timing diagrams within this document conform to the following convention:
Figure 9:
Timing Signal Naming Convention
t
Source Signal Source State
ELQV
Target State Target Signal
Figure 10: Timing Signal Name Decoder
Signal Address Data - Read Data - Write Chip Enable (CE#) Output Enable (OE#) Write Enable (WE#) Address Valid (ADV#) Reset (RST#) Clock (CLK) WAIT A Q D E G W V P C T Code High Low High-Z Low-Z Valid Invalid State H L Z X V I Code
Note:
Exceptions to this convention include tACC and tAPA. tACC is a generic timing symbol that refers to the aggregate initial-access delay as determined by tAVQV, tELQV, and tGLQV (whichever is satisfied last) of the flash device. tAPA is specified in the flash device’s data sheet, and is the address-to-data delay for subsequent page-mode reads.
7.1
Read Specifications
Table 10: Read Operations (Sheet 1 of 2)
Asynchronous Specifications VCC = 2.7 V–3.6 V (3) and VCCQ = 2.7 V–3.6 V(3) # Sym Parameter Density 32 Mbit R1 tAVAV Read/Write Cycle Time 64 Mbit 128 Mbit 256 Mbit Min 75 75 75 95 ns Max Unit Notes 1,2 1,2 1,2 1,2
November 2007 308551-05
Datasheet 23
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 10: Read Operations (Sheet 2 of 2)
Asynchronous Specifications VCC = 2.7 V–3.6 V (3) and VCCQ = 2.7 V–3.6 V(3) # Sym Parameter Density 32 Mbit R2 tAVQV Address to Output Delay 64 Mbit 128 Mbit 256 Mbit 32 Mbit R3 tELQV CEX to Output Delay 64 Mbit 128 Mbit 256 Mbit R4 tGLQV OE# to Non-Array Output Delay 32 Mbit R5 tPHQV RP# High to Output Delay 64 Mbit 128 Mbit 256 Mbit R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 tELQX tGLQX tEHQZ tGHQZ tOH tELFL/tELFH tFLQV/tFHQV tFLQZ tEHEL tAPA tGLQV CEX to Output in Low Z OE# to Output in Low Z CEX High to Output in High Z OE# High to Output in High Z Output Hold from Address, CEX, or OE# Change, Whichever Occurs First CEX Low to BYTE# High or Low BYTE# to Output Delay BYTE# to Output in High Z CEx High to CEx Low Page Address Access Time OE# to Array Output Delay 0 0 25 15 Min Max 75 75 75 95 75 75 75 95 25 150 180 210 210 ns ns ns ns ns 10 1 1 ns µs µs ns 25 25 ns ns ns ns ns ns Unit Notes 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2 1,2,4 1,2 1,2 1,2 1,2 1,2,5 1,2,5 1,2,5 1,2,5 1,2,5 1,2,5 1,2 1,2,5 1,2,5 5, 6 1,2,4
All
0
All All
0
Notes: 1. CEX low is defined as the first edge of CE0, CE1, CE2 or CE# that enables the device. CEX high is defined at the first edge of CE0, CE1, CE2 or CE# that disables the device. 2. See AC Input/Output Reference Waveforms for the maximum allowable input slew rate. 3. OE# may be delayed up to tELQV-tGLQV after the first edge of CE0, CE1, CE2 or CE# that enables the device without impact on tELQV. 4. See Figure 17, “AC Input/Output Reference Waveform” on page 30 and Figure 18, “Transient Equivalent Testing Load Circuit” on page 30 for testing characteristics. 5. Sampled, not 100% tested. 6. For devices configured to standard word/byte read mode, R15 (tAPA) will equal R2 (tAVQV).
Datasheet 24
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 11: Single Word Asynchronous Read Waveform
R1 R2 A ddress [A] R3 CEx [E] R9 OE# [G] WE# [W] R4 R16 R7 R6 Data [D/Q] R11 BYTE#[F] R5 RP# [P]
Notes: 1. CEX low is defined as the last edge of CE0, CE1, or CE2 that enables the device. CEX high is defined at the first edge of CE0, CE1, or CE2 that disables the device. 2. When reading the flash array a faster tGLQV (R16) applies. For non-array reads, R4 applies (i.e., Status Register reads, query reads, or device identifier reads).
R8
R10
R12 R13
Figure 12: 4-Word Asynchronous Page Mode Read Waveform
R1 R2 A [MAX:3] [A] A[2:1] [A] R3 CEx [E] R4 OE# [G] WE# [W] R6 R7 D[15:0] [Q] R5 RP# [P]
Note: CEX low is defined as the last edge of CE0, CE1, or CE2 that enables the device. CEX high is defined at the first edge of CE0, CE1, or CE2 that disables the device.
00
01
10
11
R10 R15 1 2 3 4
R8 R10 R9
November 2007 308551-05
Datasheet 25
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 13: 8-Word Asynchronous Page Mode Read
R1 R2 A[MAX:4] [A] A[3:1] [A] R3 CEx [E] R4 OE# [G] WE# [W] R6 R7 D[15:0] [Q] R5 RP# [P] BYTE#
Notes: 1. CEX low is defined as the last edge of CE0, CE1, or CE2 that enables the device. CEX high is defined at the first edge of CE0, CE1, or CE2 that disables the device. 2. In this diagram, BYTE# is asserted high
R10 1 R15 2 7 8
R10 R8 R9
Datasheet 26
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
7.2
Write Specifications
Table 11: Write Operations
# Symbol Parameter Density Valid for All Speeds Min 32 Mbit W1 tPHWL (tPHEL) RP# High Recovery to WE# (CE X) Going Low 64 Mbit 128 Mbit W2 W3 W4 W5 W6 W7 W8 W9 W11 W12 W13 W15 tELWL (tWLEL) tWP tDVWH (tDVEH) tAVWH (tAVEH) tWHEH (tEHWH) tWHDX (tEHDX) tWHAX (tEHAX) tWPH tVPWH (tVPEH) tWHGL (tEHGL) tWHRL (tEHRL) tQVVL CEX (WE#) Low to WE# (CEX) Going Low Write Pulse Width Data Setup to WE# (CE X) Going High Address Setup to WE# (CE X) Going High CEX (WE#) Hold from WE# (CE X) High Data Hold from WE# (CEX) High Address Hold from WE# (CEX) High Write Pulse Width High VPEN Setup to WE# (CEX) Going High Write Recovery before Read WE# (CEX) High to STS Going Low VPEN Hold from Valid SRD, STS Going High 0 All 150 180 210 0 60 50 55 0 0 0 30 0 35 500 ns 1,2,4 1,2,4 1,2,5 1,2,5 1,2, 1,2, 1,2, 1,2,6 1,2,3 1,2,7 1,2,8 1,2,3,8,9 Max 1,2,3 Unit Notes
Notes: CEX low is defined as the first edge of CE0, CE1, or CE2 that enables the device. CE X high is defined at the first edge of CE0, CE1, or CE2 that disables the device. 1. Read timing characteristics during block erase, program, and lock-bit configuration operations are the same as during read-only operations. Refer to AC Characteristics–Read-Only Operations. 2. A write operation can be initiated and terminated with either CEX or WE#. 3. Sampled, not 100% tested. 4. Write pulse width (tWP) is defined from CEX or WE# going low (whichever goes low last) to CEX or WE# going high (whichever goes high first). Hence, tWP = tWLWH = tELEH = tWLEH = tELWH. 5. Refer to Table 16, “Enhanced Configuration Register” on page 33 for valid AIN and DIN for block erase, program, or lock-bit configuration. 6. Write pulse width high (tWPH) is defined from CEX or WE# going high (whichever goes high first) to CE X or WE# going low (whichever goes low first). Hence, tWPH = tWHWL = tEHEL = tWHEL = tEHWL. 7. For array access, tAVQV is required in addition to tWHGL for any accesses after a write. 8. STS timings are based on STS configured in its RY/BY# default mode. 9. VPEN should be held at VPENH until determination of block erase, program, or lock-bit configuration success (SR[1,3,4,5] = 0).
November 2007 308551-05
Datasheet 27
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 14: Asynchronous Write Waveform
W5 ADDRESS [A] W6 CEx (WE#) [E (W)] W2 WE# (CEx) [W (E)] OE# [G] W4 DATA [D/Q] D W13 STS[R] W1 RP# [P] W11 VPEN [V] W7 W3 W9 W8
Figure 15: Asynchronous Write to Read Waveform
W5 Address [A] W6 CE# [E] W2 WE# [W] W12 OE# [G] W4 Data [D/Q] W1 RST #/ RP# [P] W11 VPEN [V] D W7 W3 W8
Datasheet 28
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
7.3
Program, Erase, Block-Lock Specifications
Table 12: Configuration Performance
# W16 W16 tWHQV3 tEHQV3 Symbol Parameter Write Buffer Byte Program Time (Time to Program 32 bytes/16 words) Byte Program Time (Using Word/Byte Program Command) Block Program Time (Using Write to Buffer Command) W16 W16 W16 W16 W16 WY tWHQV4 tEHQV4 tWHQV5 tEHQV5 tWHQV6 tEHQV6 tWHRH1 tEHRH1 tWHRH tEHRH tSTS Block Erase Time Set Lock-Bit Time Clear Block Lock-Bits Time Program Suspend Latency Time to Read Erase Suspend Latency Time to Read STS Pulse Width Low Time Typ 128 40 0.53 1.0 50 0.5 15 15 500 Max (8) 654 175 2.4 4.0 60 0.70 20 20 Unit µs µs sec sec µs sec µs µs ns Notes 1,2,3,4,5,6,7 1,2,3,4 1,2,3,4 1,2,3,4 1,2,3,4,9 1,2,3,4,9 1,2,3,9 1,2,3,9 1
Notes: 1. Typical values measured at TA = + 25 °C and nominal voltages. Assumes corresponding lock-bits are not set. Subject to change based on device characterization. 2. These performance numbers are valid for all speed versions. 3. Sampled but not 100% tested. 4. Excludes system-level overhead. 5. These values are valid when the buffer is full, and the start address is aligned on a 32-byte boundary. 6. Effective per-byte program time (tWHQV1, tEHQV1) is 4µs/byte (typical). 7. Effective per-word program time (tWHQV2, tEHQV2) is 8µs/word (typical). 8. Max values are measured at worst case temperature, data pattern and VCC corner after 100k cycles (except as noted). 9. Max values are expressed at 25 °C/-40 °C.
7.4
Reset Specifications
Figure 16: AC Waveform for Reset Operation
STS (R) P1 RP# (P) P3 Vcc
Note: STS is shown in its default mode (RY/BY#)
P2
November 2007 308551-05
Datasheet 29
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 13: Reset Specifications
# P1 P2 P3 Symbol tPLPH tPHRH tVCCPH Parameter RP# Pulse Low Time (If RP# is tied to VCC , this specification is not applicable) RP# High to Reset during Block Erase, Program, or Lock-Bit Configuration Vcc Power Valid to RP# de-assertion (high) 60 Min 25 100 Max Unit µs ns µs Notes 1,2 1,3
Notes: 1. These specifications are valid for all product versions (packages and speeds). 2. If RP# is asserted while a block erase, program, or lock-bit configuration operation is not executing then the minimum required RP# Pulse Low Time is 100 ns. 3. A reset time, tPHQV, is required from the latter of STS (in RY/BY# mode) or RP# going high until outputs are valid.
7.5
AC Test Conditions
Figure 17: AC Input/Output Reference Waveform
VCCQ Input VCCQ/2 0.0
Note: AC test inputs are driven at VCCQ for a Logic "1" and 0.0 V for a Logic "0." Input timing begins, and output timing ends, at VCCQ/2 V (50% of VCCQ). Input rise and fall times (10% to 90%) < 5 ns.
Test Points
VCCQ/2
Output
Figure 18: Transient Equivalent Testing Load Circuit
Device Under Test
CL
Out
Note:
CL Includes Jig Capacitance
Figure 19: Test Configuration
Test Configuration VCCQ = VCCQMIN CL (pF)
30
Datasheet 30
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
8.0
Bus Interface
This section provides an overview of Bus operations. Basically, there are three operations you can do with flash memory: Read, Program (Write), and Erase.The on-chip Write State Machine (WSM) manages all erase and program algorithms. The system CPU provides control of all in-system read, write, and erase operations through the system bus. All bus cycles to or from the flash memory conform to standard microprocessor bus cycles. Table 14 summarizes the necessary states of each control signal for different modes of operations.
Table 14: Bus Operations
Mode Async., Status, Query and Identifier Reads Output Disable Standby Reset/Power-down Command Writes Array Writes(8) Notes: 1. 2. 3. 4. 5. 6. 7. 8. RP# CEx(1) OE#(2) WE#(2) V PEN DQ15:0(
3)
STS (Default Mode) High Z High Z High Z High Z High Z VIL
Notes
VIH VIH VIH VIL VIH VIH
Enabled Enabled Disable d X Enabled Enabled
VIL VIH X X VIH VIH
VIH VIH X X VIL VIL
X X X X X VPENH
DOUT High Z High Z High Z DIN X
4,6
6,7 8,5
See Table 15 for valid CEx Configurations. OE# and WE# should never be asserted simultaneously. If done so, OE# overrides WE#. DQ refers to DQ[7:0} when BYTE# is low and DQ[15:0] if BYTE# is high. ≤ VPENLK, memory contents can be read but not altered. Refer to DC characteristics. When VPEN X should be VIL or VIH for the control pins and VPENLK or VPENH for VPEN. For outputs, X should be VOL or VOH. In default mode, STS is VOL when the WSM is executing internal block erase, program, or a lock-bit configuration algorithm. It is VOH (pulled up by an external pull up resistance ~= 10k) when the WSM is not busy, in block erase suspend mode (with programming inactive), program suspend mode, or reset power-down mode. See Table 18, “Command Bus Operations” on page 35 for valid DIN (user commands) during a Write operation Array writes are either program or erase operations. /
Table 15: Chip Enable Truth Table
CE2 VIL VIL VIL VIL VIH VIH VIH VIH Note: CE1 VIL VIL VIH VIH VIL VIL VIH VIH
GND.
CE0 VIL VIH VIL VIH VIL VIH VIL VIH
DEVICE Enabled Disabled Disabled Disabled Enabled Enabled Enabled Disabled
For single-chip applications, CE2 and CE1 can be connected to
The next few sections detail each of the basic flash operations and some of the advanced features available on flash memory.
November 2007 308551-05
Datasheet 31
Numonyx™ Embedded Flash Memory (J3 v. D)
8.1
Bus Reads
Reading from flash memory outputs stored information to the processor or chipset, and does not change any contents. Reading can be performed an unlimited number of times. Besides array data, other types of data such as device information and device status is available from the flash. To perform a bus read operation, CEx and OE# must be asserted. CEx is the deviceselect control; when active, it enables the flash memory device. OE# is the data-output control; when active, the addressed flash memory data is driven onto the I/O bus. For all read states, WE# and RP# must be de-asserted.
8.1.1
Asynchronous Page Mode Read
There are two Asynchronous Page mode configurations available on Numonyx™ Embedded Flash Memory (J3 v. D), depending on the system design requirements: • Four-Word Page mode: This is the default mode on power-up or reset. Array data can be sensed up to four words (8 Bytes) at a time. • Eight-Word Page mode: Array data can be sensed up to eight words (16 Bytes) at a time. This mode must be enabled on power-up or reset by using the command sequence described in Table 18, “Command Bus Operations” on page 35. Address bits A[3:1] determine which word is output during a read operation, and A[3:0] determine which byte is output for a x8 bus width. After the initial access delay, the first word out of the page buffer corresponds to the initial address. In Four-Word Page mode, address bits A[2:1] determine which word is output from the page buffer for a x16 bus width, and A[2:0] determine which byte is output from the page buffer for a x8 bus width. Subsequent reads from the device come from the page buffer. These reads are output on D[15:0] for a x16 bus width and D[7:0] for a x8 bus width after a minimum delay as long as A[2:0] (Four-Word Page mode) or A[3:0] (Eight-Word Page mode). Data can be read from the page buffer multiple times, and in any order. In Four-Word Page mode, if address bits A[MAX:3] (A[MAX:4] for Eight-Word Page Mode) change at any time, or if CE# is toggled, the device will sense and load new data into the page buffer. Asynchronous Page mode is the default read mode on power-up or reset. To perform a Page mode read after any other operation, the Read Array command must be issued to read from the flash array. Asynchronous Page mode reads are permitted in all blocks and are used to access register information. During register access, only one word is loaded into the page buffer.
8.1.1.1
Enhanced Configuration Register (ECR)
The Enhanced Configuration Register (ECR) is a volatile storage register that when addressed by the Set Enhanced Configuration Register command can select between Four-Word Page mode and Eight-Word Page mode. The ECR is volatile; all bits will be reset to default values when RP# is deasserted or power is removed from the device. To modify ECR settings, use the Set Enhanced Configuration Register command. The Set Enhanced Configuration Register command is written along with the configuration register value, which is placed on the lower 16 bits of the address bus A[15:0]. This is followed by a second write that confirms the operation and again presents the Enhanced Configuration Register data on the address bus. After executing this command, the device returns to Read Array mode. The ECR is shown in Table 16. 8-word page mode Command Bus-Cycle is captured in Table 17.
Datasheet 32
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Note:
For forward compatibility reasons, if the 8-word Asynchronous Page mode is used on Numonyx™ Embedded Flash Memory (J3 v. D), a Clear Status Register command must be executed after issuing the Set Enhanced Configuration Register command. See Table 17 for further details.
Table 16: Enhanced Configuration Register
Reserved ECR 15 ECR 14 Page Length ECR 13 ECR 12 ECR 11 ECR 10 ECR 9 ECR 8 ECR 7 Reserved ECR 6 ECR 5 ECR 4 ECR 3 ECR 2 ECR 1 ECR 0
BITS ECR[15:14] ECR[13] ECR[12:0] RFU • • RFU
DESCRIPTION
NOTES All bits should be set to 0.
“1” = 8 Word Page mode “0” = 4 Word Page mode All bits should be set to 0.
Table 17: Asynchronous 8-Word Page Mode Command Bus-Cycle Definition
Command Set Enhanced Configuration Register (Set ECR) Bus Cycles Required 2 First Bus Cycle Oper Write Addr(1) ECD Data 0060h Oper Write Second Bus Cycle Addr(1) ECD Data 0004h
1. X = Any valid address within the device. ECD = Enhanced Configuration Register Data
8.1.2
Output Disable
With CEx asserted, and OE# at a logic-high level (VIH), the device outputs are disabled. Output signals D[15:0] are placed in a high-impedance state.
8.2
Bus Writes
Writing or Programming to the device, is where the host writes information or data into the flash device for non-volatile storage. When the flash device is programmed, ‘ones’ are changed to ‘zeros’. ‘Zeros’ cannot be programed back to ‘ones’. To do so, an erase operation must be performed. Writing commands to the Command User Interface (CUI) enables various modes of operation, including the following: • Reading of array data • Common Flash Interface (CFI) data • Identifier codes, inspection, and clearing of the Status Register • Block Erasure, Program, and Lock-bit Configuration (when VPEN = VPENH) Erasing is performed on a block basis – all flash cells within a block are erased together. Any information or data previously stored in the block will be lost. Erasing is typically done prior to programming. The Block Erase command requires appropriate command data and an address within the block to be erased. The Byte/Word Program command requires the command and address of the location to be written. Set Block Lock-Bit commands require the command and block within the device to be locked. The Clear Block Lock-Bits command requires the command and address within the device to be cleared.
November 2007 308551-05
Datasheet 33
Numonyx™ Embedded Flash Memory (J3 v. D)
The CUI does not occupy an addressable memory location. It is written when the device is enabled and WE# is active. The address and data needed to execute a command are latched on the rising edge of WE# or the first edge of CE0, CE1, or CE2 that disables the device (see Table 15 on page 31). Standard microprocessor write timings are used.
8.3
Standby
CE0, CE1, and CE2 can disable the device (see Table 15 on page 31) and place it in standby mode. This manipulation of CEx substantially reduces device power consumption. D[15:0] outputs are placed in a high-impedance state independent of OE#. If deselected during block erase, program, or lock-bit configuration, the WSM continues functioning, and consuming active power until the operation completes.
8.3.1
Reset/Power-Down
RP# at VIL initiates the reset/power-down mode. In read modes, RP#-low deselects the memory, places output drivers in a highimpedance state, and turns off numerous internal circuits. RP# must be held low for a minimum of tPLPH. Time tPHQV is required after return from reset mode until initial memory access outputs are valid. After this wake-up interval, normal operation is restored. The CUI is reset to read array mode and Status Register is set to 0080h. During Block Erase, Program, or Lock-Bit Configuration modes, RP#-low will abort the operation. In default mode, STS transitions low and remains low for a maximum time of tPLPH + tPHRH until the reset operation is complete. Memory contents being altered are no longer valid; the data may be partially corrupted after a program or partially altered after an erase or lock-bit configuration. Time tPHWL is required after RP# goes to logic-high (VIH) before another command can be written. As with any automated device, it is important to assert RP# during system reset. When the system comes out of reset, it expects to read from the flash memory. Automated flash memories provide status information when accessed during Block Erase, Program, or Lock-Bit Configuration modes. If a CPU reset occurs with no flash memory reset, proper initialization may not occur because the flash memory may be providing status information instead of array data. Numonyx Flash memories allow proper initialization following a system reset through the use of the RP# input. In this application, RP# is controlled by the same RESET# signal that resets the system CPU.
8.4
Device Commands
When the VPEN voltage ≤ VPENLK, only read operations from the Status Register, CFI, identifier codes, or blocks are enabled. Placing VPENH on VPEN additionally enables block erase, program, and lock-bit configuration operations. Device operations are selected by writing specific commands to the Command User Interface (CUI). The CUI does not occupy an addressable memory location. It is the mechanism through which the flash device is controlled. A command sequence is issued in two consecutive write cycles - a Setup command followed by a Confirm command. However, some commands are single-cycle commands consisting of a setup command only. Generally, commands that alter the contents of the flash device, such as Program or Erase, require at least two write cycles to guard against inadvertent changes to the flash device. Flash commands fall into two categories: Basic Commands and Extended Commands. Basic commands are recognized by all Numonyx Flash devices, and are used to perform common flash operations such as selecting the read mode, programming the array, or erasing blocks. Extended commands are product-dependant; they are used to perform additional features such as software block locking. Table 18 describes all applicable commands on Numonyx™ Embedded Flash Memory (J3 v. D).
Datasheet 34
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 18: Command Bus Operations
Setup Write Cycle Command Address Bus Program Enhanced Configuration Register Program OTP Register Clear Status Register Program STS Configuration Register Read Array Read Status Register Read Identifier Codes (Read Device Information) CFI Query Word/Byte Program Buffered Program Block Erase Program/Erase Suspend Program/Erase Resume Lock Block Unlock Block Register Data
1,2 1
Confirm Write Cycle Address Bus3 Register Data Register Offset --Device Address --------Device Address
4
Data Bus 0060h 00C0h 0050h 00B8h 00FFh 0070h 0090h 0098h 0040h/ 0010h 00E8h 0020h 00B0h 00D0h 0060h 0060h
Data Bus 0004h Register Data --Register Data --------Array Data 00D0h 00D0h ----0001h 00D0h
Registers
Device Address
Device Address2 Device Address Device Address Device Address
2 2 2
Read Modes
Device Address2 Device Address Device Address
2 1
Program and Erase
Word Address1 Block Address 1 Device Address1
1
Device Address Block Address ----Block Address Device Address
Device Address Block Address
Security
1
Device Address2
Notes: 1. In case of 256 2. In case of 256 3. In case of 256 cycle) 4. In case of 256 programmed
Mb device (2x128), the command should be issued to the base address of the die Mb device (2x128), the command sequence must be repeated for each die at its base address Mb device (2x128), keep the second cycle to the same address. (i.e. Do not toggle A24 for the second Mb device (2x128), the second cycle must be writtne to the Block Address and Offset address to be
November 2007 308551-05
Datasheet 35
Numonyx™ Embedded Flash Memory (J3 v. D)
9.0
Flash Operations
This section describes the operational features of flash memory. Operations are command-based, wherein command codes are first issued to the device, then the device performs the desired operation. All command codes are issued to the device using bus-write cycles. A complete list of available command codes can be found in Section 10.0, “Device Command Codes” on page 47.
9.1
Status Register
The Status Register (SR) is an 8-bit, read-only register that indicates device status and operation errors. To read the Status Register, issue the Read Status Register command. Subsequent reads output Status Register information on DQ[7:0], and 00h on DQ[15:8]. SR status bits are set and cleared by the device. SR error bits are set by the device, but must be cleared using the Clear Status Register command. Upon power-up or exit from reset, the Status Register defaults to 80h. Page-mode reads are not supported in this read mode. Status Register contents are latched on the falling edge of OE# or the first edge of CEx that enables the device. OE# must toggle to VIH or the device must be disabled before further reads to update the Status Register latch. The Read Status Register command functions independently of VPEN voltage.
Table 19: Status Register Bit Definitions
Status Register (SR) Erase Suspend Status 6 Name Ready Status Erase Suspend Status Program/ Erase Voltage Error 3 Program Suspend Status 2 Description 0 = Device is busy; SR[6:] are invalid (Not driven); 1 = Device is ready; SR[6:0] are valid. 0 = Erase suspend not in effect. 1 = Erase suspend in effect. SR5 SR4 0 0= 0 1= 1 0= 1 1= Program or erase operation successful. Program error - operation aborted. Erase error - operation aborted. Command sequence error - command aborted. Default Value = 80h
Ready Status
Erase Error
Program Error
Block-Locked Error
7 Bit 7 6 5
5
4
1
0
Erase Error Program Error
4
Command Sequence Error
3
Error
0 = within acceptable limits during program or erase operation. 1 = not within acceptable limits during program or erase operation. Operation aborted. 0 = Program suspend not in effect. 1 = Program suspend in effect. 0 = Block NOT locked during program or erase - operation successful. 1 = Block locked during program or erase - operation aborted.
2 1 0
Program Suspend Status Block-Locked Error
Datasheet 36
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
9.1.1
Clearing the Status Register
The Status Register (SR) contain status and error bits which are set by the device. SR status bits are cleared by the device, however SR error bits are cleared by issuing the Clear Status Register command. Resetting the device also clears the Status Register.
Table 20: Clear Status Register Command Bus-Cycle
Command Setup Write Cycle Address Bus Clear Status Register Device Address Data Bus 0050h Confirm Write Cycle Address Bus --Data Bus ---
In case of 256 Mb device (2x128), the command sequence must be repeated for each die at its base address.
Issuing the Clear Status Register command places the device in Read Status Register mode. Note: Care should be taken to avoid Status Register ambiguity. If a command sequence error occurs while in an Erase Suspend condition, the Status Register will indicate a Command Sequence error by setting SR4 and SR5. When the erase operation is resumed (and finishes), any errors that may have occurred during the erase operation will be masked by the Command Sequence error. To avoid this situation, clear the Status Register prior to resuming a suspended erase operation. The Clear Status Register command functions independent of the voltage level on VPEN.
9.2
Read Operations
Four types of data can be read from the device: array data, device information, CFI data, and device status. Upon power-up or return from reset, the device defaults to Read Array mode. To change the device’s read mode, the appropriate command must be issued to the device. Table 21 shows the command codes used to configure the device for the desired read mode. The following sections describe each read mode.
Table 21: Read Mode Command Bus-Cycles
Command Setup Write Cycle Address Bus Read Array Read Status Register Read Device Information CFI Query Device Address Device Address Device Address Device Address Data Bus 00FFh 0070h 0090h 0098h Confirm Write Cycle Address Bus --------Data Bus ---------
In case of 256 Mb device (2x128), the command sequence must be repeated for each die at its base address.
9.2.1
Read Array
Upon power-up or return from reset, the device defaults to Read Array mode. Issuing the Read Array command places the device in Read Array mode. Subsequent reads output array data on DQ[15:0]. The device remains in Read Array mode until a different read command is issued, or a program or erase operation is performed, in which case, the read mode is automatically changed to Read Status.
November 2007 308551-05
Datasheet 37
Numonyx™ Embedded Flash Memory (J3 v. D)
To change the device to Read Array mode while it is programming or erasing, first issue the Suspend command. After the operation has been suspended, issue the Read Array command. When the program or erase operation is subsequently resumed, the device will automatically revert back to Read Status mode. Note: Issuing the Read Array command to the device while it is actively programming or erasing causes subsequent reads from the device to output invalid data. Valid array data is output only after the program or erase operation has finished. The Read Array command functions independent of the voltage level on VPEN.
9.2.2
Read Status Register
Issuing the Read Status Register command places the device in Read Status Register mode. Subsequent reads output Status Register information on DQ[7:0], and 00h on DQ[15:8]. The device remains in Read Status Register mode until a different readmode command is issued. Performing a program, erase, or block-lock operation also changes the device’s read mode to Read Status Register mode. The Status Register is updated on the falling edge of CE#, or OE# when CE# is low. Status Register contents are valid only when SR7 = 1. When WSM is active, SR7 indicates the WSM’s state and SR[6:0] are in high-Z state. The Read Status Register command functions independent of the voltage level on VPEN.
9.2.3
Read Device Information
Issuing the Read Device Information command places the device in Read Device Information mode. Subsequent reads output device information on DQ[15:0]. In the case of the 256 Mbit device (2 x 128), the command should be issued to the base address of the die. The device remains in Read Device Information mode until a different read command is issued. Also, performing a program, erase, or block-lock operation changes the device to Read Status Register mode. The Read Device Information command functions independent of the voltage level on VPEN.
9.2.4
CFI Query
The query table contains an assortment of flash product information such as block size, density, allowable command sets, electrical specifications, and other product information. The data contained in this table conforms to the Common Flash Interface (CFI) protocol. Issuing the CFI Query command places the device in CFI Query mode. Subsequent reads output CFI information on DQ[15:0] .The device remains in CFI Query mode until a different read command is issued, or a program or erase operation is performed, which changes the read mode to Read Status Register mode. The CFI Query command functions independent of the voltage level on VPEN.
9.3
Note:
Programming Operations
All programming operations require the addressed block to be unlocked, and a valid VPEN voltage applied throughout the programming operation. Otherwise, the programming operation will abort, setting the appropriate Status Register error bit(s).
Datasheet 38
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
The following sections describe each programming method.
9.3.1
Single-Word/Byte Programming
Array programming is performed by first issuing the Single-Word/Byte Program command. This is followed by writing the desired data at the desired array address. The read mode of the device is automatically changed to Read Status Register mode, which remains in effect until another read-mode command is issued. During programming, STS and the Status Register indicate a busy status (SR7 = 0). Upon completion, STS and the Status Register indicate a ready status (SR7 = 1). The Status Register should be checked for any errors (SR4), then cleared.
Note:
Issuing the Read Array command to the device while it is actively programming causes subsequent reads from the device to output invalid data. Valid array data is output only after the program operation has finished. Standby power levels are not be realized until the programming operation has finished. Also, asserting RP# aborts the programming operation, and array contents at the addressed location are indeterminate. The addressed block should be erased, and the data re-programmed. If a Single-Word/Byte program is attempted when the corresponding block lock-bit is set, SR1 and SR4 will be set.
9.3.2
Buffered Programming
Buffered programming operations simultaneous program multiple words into the flash memory array, significantly reducing effective word-write times. User-data is first written to a write buffer, then programmed into the flash memory array in buffer-size increments. Appendix , “Flow Charts” contains a flow chart of the bufferedprogramming operation.
Note:
Optimal performance and power consumption is realized only by aligning the start address on 32-word boundaries (i.e., A[4:0] = 0b00000). Crossing a 32-word boundary during a buffered programming operation can cause programming time to double. To perform a buffered programming operation, first issue the Buffered Program setup command at the desired starting address. The read mode of the device/addressed partition is automatically changed to Read Status Register mode. Polling SR7 determines write-buffer availability (0 = not available, 1 = available). If the write buffer is not available, re-issue the setup command and check SR7; repeat until SR7 = 1. Next, issue the word count at the desired starting address. The word count represents the total number of words to be written into the write buffer, minus one. This value can range from 00h (one word) to a maximum of 1Fh (32 words). Exceeding the allowable range causes an abort. Following the word count, the write buffer is filled with user-data. Subsequent buswrite cycles provide addresses and data, up to the word count. All user-data addresses must lie between and , otherwise the WSM continues to run as normal but, user may advertently change the content in unexpected address locations.
Note:
User-data is programmed into the flash array at the address issued when filling the write buffer. After all user-data is written into the write buffer, issue the confirm command. If a command other than the confirm command is issued to the device, a command sequence error occurs and the operation aborts.
November 2007 308551-05
Datasheet 39
Numonyx™ Embedded Flash Memory (J3 v. D)
Note:
After issuing the confirm command, write-buffer contents are programmed into the flash memory array. The Status Register indicates a busy status (SR7 = 0) during array programming.Issuing the Read Array command to the device while it is actively programming or erasing causes subsequent reads from the device to output invalid data. Valid array data is output only after the program or erase operation has finished. Upon completion of array programming, the Status Register indicates ready (SR7 = 1). A full Status Register check should be performed to check for any programming errors, then cleared by using the Clear Status Register command. Additional buffered programming operations can be initiated by issuing another setup command, and repeating the buffered programming bus-cycle sequence. However, any errors in the Status Register must first be cleared before another buffered programming operation can be initiated.
9.4
Block Erase Operations
Erasing a block changes ‘zeros’ to ‘ones’. To change ones to zeros, a program operation must be performed (see Section 9.3, “Programming Operations”). Erasing is performed on a block basis - an entire block is erased each time an erase command sequence is issued. Once a block is fully erased, all addressable locations within that block read as logical ones (FFFFh). Only one block-erase operation can occur at a time, and is not permitted during a program suspend. To perform a block-erase operation, issue the Block Erase command sequence at the desired block address. Table 22, “Block-Erase Command Bus-Cycle” on page 40 shows the two-cycle Block Erase command sequence.
Table 22: Block-Erase Command Bus-Cycle
Command Setup Write Cycle Address Bus Block Erase Device Address Data Bus 0020h Confirm Write Cycle Address Bus Block Address Data Bus 00D0h
In case of 256 Mb device (2x128), the command should be issued to the base address of the die
Note:
A block-erase operation requires the addressed block to be unlocked, and a valid voltage applied to VPEN throughout the block-erase operation. Otherwise, the operation will abort, setting the appropriate Status Register error bit(s). The Erase Confirm command latches the address of the block to be erased. The addressed block is preconditioned (programmed to all zeros), erased, and then verified. The read mode of the device is automatically changed to Read Status Register mode, and remains in effect until another read-mode command is issued. During a block-erase operation, STS and the Status Register indicates a busy status (SR7 = 0). Upon completion, STS and the Status Register indicates a ready status (SR7 = 1). The Status Register should be checked for any errors, then cleared. If any errors did occur, subsequent erase commands to the device are ignored unless the Status Register is cleared. The only valid commands during a block erase operation are Read Array, Read Device Information, CFI Query, and Erase Suspend. After the block-erase operation has completed, any valid command can be issued.
Note:
Issuing the Read Array command to the device while it is actively erasing causes subsequent reads from the device to output invalid data. Valid array data is output only after the block-erase operation has finished.
Datasheet 40
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Standby power levels are not be realized until the block-erase operation has finished. Also, asserting RP# aborts the block-erase operation, and array contents at the addressed location are indeterminate. The addressed block should be erased before programming within the block is attempted.
9.5
Suspend and Resume
An erase or programming operation can be suspended to perform other operations, and then subsequently resumed. Table 23 shows the Suspend and Resume command buscycles.
Note:
All erase and programming operations require the addressed block to remain unlocked with a valid voltage applied to VPEN throughout the suspend operation. Otherwise, the block-erase or programming operation will abort, setting the appropriate Status Register error bit(s). Also, asserting RP# aborts suspended block-erase and programming operations, rendering array contents at the addressed location(s) indeterminate.
Table 23: Suspend and Resume Command Bus-Cycles
Command Setup Write Cycle Address Bus Suspend Resume Device Address Device Address Data Bus 00B0h 00D0h Confirm Write Cycle Address Bus ----Data Bus -----
In case of 256 Mb device (2x128), the command should be issued to the base address of the die
To suspend an on-going erase or program operation, issue the Suspend command to any device address. The program or erase operation suspends at pre-determined points during the operation after a delay of tSUSP. Suspend is achieved whenSTS (in RY/BY# mode) goes high, SR[7,6] = 1 (erase-suspend) or SR[7,2] = 1 (program-suspend). Note: Issuing the Suspend command does not change the read mode of the device. The device will be in Read Status Register mode from when the erase or program command was first issued, unless the read mode was changed prior to issuing the Suspend command. Not all commands are allowed when the device is suspended. Table 24 shows which device commands are allowed during Program Suspend or Erase Suspend. Table 24: Valid Commands During Suspend (Sheet 1 of 2)
Device Command STS Configuration Read Array Read Status Register Clear Status Register Read Device Information CFI Query Word Program Buffered Program Block Erase Program Suspend Program Suspend Allowed Allowed Allowed Allowed Allowed Allowed Not Allowed Not Allowed Not Allowed Not Allowed Erase Suspend Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not Allowed Allowed
November 2007 308551-05
Datasheet 41
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 24: Valid Commands During Suspend (Sheet 2 of 2)
Device Command Erase Suspend Program/Erase Resume Lock Block Unlock Block Program OTP Register Program Suspend Not Allowed Allowed Not Allowed Not Allowed Not Allowed Erase Suspend Not Allowed Allowed Not Allowed Not Allowed Not Allowed
During Suspend, array-read operations are not allowed in blocks being erased or programmed. A block-erase under program-suspend is not allowed. However, word-program under erase-suspend is allowed, and can be suspended. This results in a simultaneous erasesuspend/ program-suspend condition, indicated by SR[7,6,2] = 1. To resume a suspended program or erase operation, issue the Resume command to any device address. The read mode of the device is automatically changed to Read Status Register. The operation continues where it left off, STS (in RY/BY# mode) goes low, and the respective Status Register bits are cleared. When the Resume command is issued during a simultaneous erase-suspend/ programsuspend condition, the programming operation is resumed first. Upon completion of the programming operation, the Status Register should be checked for any errors, and cleared. The resume command must be issued again to complete the erase operation. Upon completion of the erase operation, the Status Register should be checked for any errors, and cleared.
9.6
Status Signal (STS)
The STATUS (STS) signal can be configured to different states using the STS Configuration command (Table 25). Once the STS signal has been configured, it remains in that configuration until another Configuration command is issued or RP# is asserted low. Initially, the STS signal defaults to RY/BY# operation where RY/BY# low indicates that the WSM is busy. RY/BY# high indicates that the state machine is ready for a new operation or suspended. Table 26 displays possible STS configurations.
Table 25: STS Configuration Register
Setup Write Cycle Command Address Bus STS Configuration Device Address
1
Confirm Write Cycle Address Bus Device Address
2
Data Bus 00B8h
Data Bus Register Data
Notes: 1. In case of 256 Mb device (2x128), the command sequence must be repeated for each die at its base address 2. In case of 256 Mb device (2x128), keep the second cycle to the same address. (ie. Do not toggle A24 for the second cycle)
To reconfigure the STATUS (STS) signal to other modes, the Configuration command is given followed by the desired configuration code. The three alternate configurations are all pulse mode for use as a system interrupt as described in the following paragraphs. For these configurations, bit 0 controls Erase Complete interrupt pulse, and bit 1 controls Program Complete interrupt pulse. Supplying the 0x00 configuration code with the Configuration command resets the STS signal to the default RY/BY# level mode.
Datasheet 42
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
The Configuration command may only be given when the device is not busy or suspended. Check SR.7 for device status. An invalid configuration code will result in SR.4 and SR.5 being set. Note: STS Pulse mode is not supported in the Clear Lock Bits and Set Lock Bit commands.
Table 26: STS Configuration Coding Definitions
D7 D6 D5 D4 D3 D2 D1 Pulse on Program Complete (1) Notes Controls HOLD to a memory controller to prevent accessing a flash memory subsystem while any flash device's WSM is busy. Generates a system interrupt pulse when any flash device in an array has completed a block erase. Helpful for reformatting blocks after file system free space reclamation or “cleanup.” Not supported on this device. Generates system interrupts to trigger servicing of flash arrays when either erase or program operations are completed, when a common interrupt service routine is desired. D0 Pulse on Erase Complete (1)
Reserved
D[1:0] = STS Configuration Codes 00 = default, level mode; device ready indication 01 = pulse on Erase Complete 10 = pulse on Program Complete 11 = pulse on Erase or Program Complete
Notes: 1. When configured in one of the pulse modes, STS pulses low with a typical pulse width of 500 ns. 2. An invalid configuration code will result in both SR4 and SR5 being set. 3. Reserved bits are invalid should be ignored.
9.7
Security and Protection
Numonyx™ Embedded Flash Memory (J3 v. D) device offer both hardware and software security features. Block lock operations, PRs and VPEN allow users to implement various levels of data protection.
9.7.1
Normal Block Locking
Numonyx™ Embedded Flash Memory (J3 v. D) has the unique capability of Flexible Block Locking (locked blocks remain locked upon reset or power cycle): All blocks are unlocked at the factory. Blocks can be locked individually by issuing the Set Block Lock Bit command sequence to any address within a block. Once locked, blocks remain locked when power is removed, or when the device is reset. All locked blocks are unlocked simultaneously by issuing the Clear Block Lock Bits command sequence to any device address. Locked blocks cannot be erased or programmed. Table 27 summarizes the command bus-cycles.
Table 27: Block Locking Command Bus-Cycles
Setup Write Cycle Command Address Bus Set Block Lock Bit Clear Block Lock Bits Block Address1 Data Bus 0060h 0060h Address Bus Block Address Device Address Data Bus 0001h 00D0h Confirm Write Cycle
Device Address2
Notes: 1. In case of 256 Mb device (2x128), the command should be issued to the base address of the die 2. In case of 256 Mb device (2x128), the command sequence must be repeated for each die at its base address
November 2007 308551-05
Datasheet 43
Numonyx™ Embedded Flash Memory (J3 v. D)
After issuing the Set Block Lock Bit setup command or Clear Block Lock Bits setup command, the device’s read mode is automatically changed to Read Status Register mode. After issuing the confirm command, completion of the operation is indicated by STS (in RY/BY# mode) going high and SR7 = 1. Blocks cannot be locked or unlocked while programming or erasing, or while the device is suspended. Reliable block lock and unlock operations occur only when VCC and VPEN are valid. When VPEN ≤ VPENLK, block lock-bits cannot be changed. When the set lock-bit operation is complete, SR4 should be checked for any error. When the clear lock-bit operation is complete, SR5 should be checked for any error. Errors bits must be cleared using the Clear Status Register command. Block lock-bit status can be determined by first issuing the Read Device Information command, and then reading from + 02h. DQ0 indicates the lock status of the addressed block (0 = unlocked, 1 = locked).
9.7.2
Configurable Block Locking
One of the unique new features on the Numonyx™ Embedded Flash Memory (J3 v. D), non-existent on the previous generations of this product family, is the ability to protect and/or secure the user’s system by offering multiple level of securities: Non-Volatile Temporary; Non-Volatile Semi-Permanently or Non-Volatile Permanently. For additional information and collateral request, please contact your filed representative.
9.7.3
OTP Protection Registers
Numonyx™ Embedded Flash Memory (J3 v. D) includes a 128-bit Protection Register (PR) that can be used to increase the security of a system design. For example, the number contained in the PR can be used to “match” the flash component with other system components such as the CPU or ASIC, hence preventing device substitution. The 128-bits of the PR are divided into two 64-bit segments: • One segment is programmed at the Numonyx factory with a unique unalterable 64bit number. • The other segment is left blank for customer designers to program as desired. Once the customer segment is programmed, it can be locked to prevent further programming.
9.7.4
Reading the OTP Protection Register
The Protection Register is read in Identification Read mode. The device is switched to this mode by issuing the Read Identifier command (0090h). Once in this mode, read cycles from addresses shown in Table 28 or Table 29 retrieve the specified information. To return to Read Array mode, write the Read Array command (00FFh).
9.7.5
Programming the OTP Protection Register
Protection Register bits are programmed using the two-cycle Protection Program command. The 64-bit number is programmed 16 bits at a time for word-wide configuration and eight bits at a time for byte-wide configuration. First write the Protection Program Setup command, 00C0h. The next write to the device will latch in address and data and program the specified location. The allowable addresses are shown in Table 28, “Word-Wide Protection Register Addressing” on page 45 or Table 29, “Byte-Wide Protection Register Addressing” on page 46. Any attempt to address Protection Program commands outside the defined PR address space will result in a Status Register error (SR.4 will be set). Attempting to program a locked PR segment will result in a Status Register error (SR.4 and SR.1 will be set).
Datasheet 44
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
9.7.6
Locking the OTP Protection Register
The user-programmable segment of the Protection Register is lockable by programming Bit 1 of the Protection Lock Register (PLR) to 0. Bit 0 of this location is programmed to 0 at the Numonyx factory to protect the unique device number. Bit 1 is set using the Protection Program command to program “0xFFFD” to the PLR. After these bits have been programmed, no further changes can be made to the values stored in the Protection Register. Protection Program commands to a locked section will result in a Status Register error (SR.4 and SR.1 will be set). PR lockout state is not reversible.
Figure 20: Protection Register Memory Map
Word Address
0x88 0x85 0x84 0x81
A[24:1]: 256 Mbit A[23:1]: 128 Mbit
A[22:1]: 64 Mbit A[21:1]: 32 Mbit
64-bit Segment (User-Programmable) 128-Bit Protection Register 0 64-bit Segment (Factory-Programmed) Lock Register 0
0x80
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
Note:
A0 is not used in x16 mode when accessing the protection register map. See Table is used, see Table 29 for x8 addressing.
28 for x16 addressing. If x8 mode A0
Table 28: Word-Wide Protection Register Addressing
Word Use A8 A7 A6 A5 A4 A3 A2 A1
LOCK 0 1 2 3 4 5 6 7
Note:
Both Factory Factory Factory Factory User User User User
1 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1
0 0 0 0 1 1 1 1 0
0 0 1 1 0 0 1 1 0
0 1 0 1 0 1 0 1 0
All address lines not specified in the above table must be 0 when accessing the Protection Register (i.e., A[MAX:9] = 0.)
November 2007 308551-05
Datasheet 45
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 29: Byte-Wide Protection Register Addressing
Byte LOCK LOCK 0 1 2 3 4 5 6 7 8 9 A B C D E F Note: Use Both Both Factory Factory Factory Factory Factory Factory Factory Factory User User User User User User User User A8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 A7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 A6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 A5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 A4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 A3 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 A2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 A1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 A0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
All address lines not specified in the above table must be 0 when accessing the Protection Register, i.e., A[MAX:9] = 0.
9.7.7
VPP/ VPEN Protection
When it’s necessary to protect the entire array, global protection can be achieved using a hardware mechanism. using VPP or VPEN. Whenever a valid voltage is present on VPP or VPEN, blocks within the main flash array can be erased or programmed. By grounding VPP or VPEN, blocks within the main array cannot be altered – attempts to program or erase blocks will fail resulting in the setting of the appropriate error bit in the Status Register. By holding VPP or VPEN low, absolute write protection of all blocks in the array can be achieved.
Datasheet 46
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
10.0
Device Command Codes
The list of all applicable commands are included here one more time for the convenience.
Table 30: Command Bus Operations for Numonyx™ Embedded Flash Memory (J3 v. D)
Setup Write Cycle Command Address Bus Registers Program Enhanced Configuration Register Program OTP Register Clear Status Register Program STS Configuration Register Read Array Read Status Register Read Identifier Codes (Read Device Information) CFI Query Word/Byte Program Buffered Program Block Erase Program/Erase Suspend Program/Erase Resume Lock Block Unlock Block Register Data
1,2 1
Confirm Write Cycle Address Bus3 Register Data Register Offset --Device Address --------Device Address
4
Data Bus 0060h 00C0h 0050h 00B8h 00FFh 0070h 0090h 0098h 0040h/ 0010h 00E8h 0020h 00B0h 00D0h 0060h 0060h
Data Bus 0004h Register Data --Register Data --------Array Data 00D0h 00D0h ----0001h 00D0h
Device Address
Device Address2 Device Address2
2
Read Modes
Device Address Device
Address2
Device Address2 Device Address2
1
Program and Erase
Device Address
Word Address1 Block Address1 Device Address Device
1
Device Address Block Address ----Block Address Device Address
Address1
1
Security
Block Address
Device Address2
Notes: 1. In case of 256 2. In case of 256 3. In case of 256 cycle) 4. In case of 256 programmed
Mb device (2x128), the command should be issued to the base address of the die Mb device (2x128), the command sequence must be repeated for each die at its base address Mb device (2x128), keep the second cycle to the same address. (i.e. Do not toggle A24 for the second Mb device (2x128), the second cycle must be writtne to the Block Address and Offset address to be
November 2007 308551-05
Datasheet 47
Numonyx™ Embedded Flash Memory (J3 v. D)
11.0
Device ID Codes
Table 31: Read Identifier Codes
Code 32-Mbit Device Code 64-Mbit 128-Mbit 256- Mbit Address 00001 00001 00001 00001 Data 0016 0017 0018 001D
Datasheet 48
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
12.0
Flow Charts
Figure 21: Write to Buffer Flowchart
Start
Setup - Write 0xE8 - Block Address
Check Buffer Status - Perform read operation - Read Ready Status on signal SR7
SR7 = 1?
No
Yes Word Count - Address = block address - Data = word count minus 1 (Valid range = 0x00 to0x1F)
Load Buffer - Fill write buffer up to word count - Address = within buffer range - Data = user data
Confirm - Write 0xD0 - Block address
Read Status Register (SR)
SR7 = 1?
No
Yes Full Status Register Check (if desired)
End
November 2007 308551-05
Datasheet 49
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 22: Status Register Flowchart
Start
C ommand Cycle - I ssue Status Register Command - Address = any dev ice address - Data = 0x70
Data Cycle - Read Status Register SR[7:0]
SR7 = '1'
No
Y es
- Set/Reset by WSM
SR6 = '1'
Y es
Erase Suspend See Suspend/Resume Flowchart
No
SR2 = '1'
Y es
Program Suspend See Suspend/Resume Flowchart
No
SR5 = '1'
Y es
SR4 = '1'
Y es
Error Command Sequence
No
No Error Erase Failure
SR4 = '1'
Y es
Error Program Failure
- Set by WSM - Reset by user - See Clear Status Register Command
No
SR3 = '1'
Y es
Error V PEN < V PENLK
No
SR1 = '1'
Y es
Error Block Locked
No
End
Datasheet 50
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 23: Byte/Word Program Flowchart
Start Write 40H, Address Write Data and Address Read Status Register 0 1 Full Status Check if Desired Byte/Word Program Complete
Bus Operation Write Write Read (Note 1) Standby
Command Setup Byte/ Word Program Byte/Word Program
Comments Data = 40H Addr = Location to Be Programmed Data = Data to Be Programmed Addr = Location to Be Programmed Status Register Data Check SR.7 1 = WSM Ready 0 = WSM Busy
SR.7 =
1. Toggling OE# (low to high to low) updates the status register. This can be done in place of issuing the Read Status Register command. Repeat for subsequent programming operations. SR full status check can be done after each program operation, or after a sequence of programming operations. Write FFH after the last program operation to place device in read array mode.
FULL STATUS CHECK PROCEDURE Read Status Register Data (See Above) 1 SR.3 = 0 SR.1 = 0 1 SR.4 = 0 Byte/Word Program Successful Programming Error 1 Device Protect Error
Standby Bus Operation Standby Command Comments Check SR.3 1 = Programming to Voltage Error Detect Check SR.1 1 = Device Protect Detect RP# = V IH, Block Lock-Bit Is Set Only required for systems implemeting lock-bit configuration. Check SR.4 1 = Programming Error
Voltage Range Error
Standby
Toggling OE# (low to high to low) updates the status register. This can be done in place of issuing the Read Status Register command. Repeat for subsequent programming operations. SR.4, SR.3 and SR.1 are only cleared by the Clear Status Register command in cases where multiple locations are programmed before full status is checked. If an error is detected, clear the status register before attempting retry or other error recovery.
November 2007 308551-05
Datasheet 51
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 24: Program Suspend/Resume Flowchart
Start
Bus Operation Write
Command Program Suspend
Comments Data = B0H Addr = X Status Register Data Addr = X Check SR.7 1 - WSM Ready 0 = WSM Busy Check SR.6 1 = Programming Suspended 0 = Programming Completed
Write B0H
Read
Read Status Register
Standby
0 SR.7 =
Standby
Write 1 0 SR.2 = 1 Write FFH Programming Completed Write Read
Read Array
Data = FFH Addr = X Read array locations other than that being programmed.
Program Resume
Data = D0H Addr = X
Read Data Array
No Done Reading Yes Write D0H Write FFH
Programming Resumed
Read Array Data
Datasheet 52
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 25: Block Erase Flowchart
Bus Operation Write Issue Single Block Erase Command 20H, Block Address Write (Note 1)
Start
Command Erase Block Erase Confirm
Comments Data = 20H Addr = Block Address Data = D0H Addr = Block Address Status register data With the device enabled, OE# low updates SR Addr = X Check SR.7 1 = WSM Ready 0 = WSM Busy
Read
Write Confirm D0H Block Address
Standby
1. The Erase Confirm byte must follow Erase Setup. This device does not support erase queuing. Please see Application note AP-646 For software erase queuing compatibility. Full status check can be done after all erase and write sequences complete. Write FFH after the last operation to reset the device to read array mode. Suspend Erase Loop
Read Status Register No
SR.7 =
0
Suspend Erase
Yes
1 Full Status Check if Desired
Erase Flash Block(s) Complete
November 2007 308551-05
Datasheet 53
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 26: Block Erase Suspend/Resume Flowchart
Start Bus Operation Write Write B0H Read Command Erase Suspend Comments Data = B0H Addr = X Status Register Data Addr = X Check SR.7 1 - WSM Ready 0 = WSM Busy Check SR.6 1 = Block Erase Suspended 0 = Block Erase Completed Erase Resume Data = D0H Addr = X
Read Status Register
Standby
0 SR.7 =
Standby
Write 1 0 SR.6 = 1 Read Read or Program? Read Array Data Done? Yes Write D0H Write FFH No Program Loop Program Block Erase Completed
Block Erase Resumed
Read Array Data
Datasheet 54
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 27: Set Block Lock-Bit Flowchart
Start Write 60H, Block Address Write 01H, Block Address Read Status Register
Bus Operation Write
Command Set Block Lock-Bit Setup Set Block Lock-Bit Confirm
Comments Data = 60H Addr =Block Address Data = 01H Addr = Block Address Status Register Data Check SR.7 1 = WSM Ready 0 = WSM Busy
Write
Read
Standby
SR.7 = 1 Full Status Check if Desired Set Lock-Bit Complete
0
Repeat for subsequent lock-bit operations. Full status check can be done after each lock-bit set operation or after a sequence of lock-bit set operations. Write FFH after the last lock-bit set operation to place device in read array mode.
FULL STATUS CHECK PROCEDURE Read Status Register Data (See Above) 1 SR.3 = 0 SR.4,5 = 0 1 SR.4 = 0 Set Lock-Bit Successful Set Lock-Bit Error 1 Voltage Range Error
Standby Bus Operation Standby Command Comments Check SR.3 1 = Programming Voltage Error Detect Check SR.4, 5 Both 1 = Command Sequence Error Check SR.4 1 = Set Lock-Bit Error
Command Sequence Error
Standby
SR.5, SR.4 and SR.3 are only cleared by the Clear Status Register command, in cases where multiple lock-bits are set before full status is checked. If an error is detected, clear the status register before attempting retry or other error recovery.
November 2007 308551-05
Datasheet 55
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 28: Clear Lock-Bit Flowchart
Start
Bus Operation Write
Command Clear Block Lock-Bits Setup Clear Block or Lock-Bits Confirm
Comments Data = 60H Addr = X Data = D0H Addr = X Status Register Data Check SR.7 1 = WSM Ready 0 = WSM Busy
Write 60H
Write
Write D0H
Read
Read Status Register
Standby
SR.7 = 1 Full Status Check if Desired Clear Block Lock-Bits Complete
0
Write FFH after the clear lock-bits operation to place device in read array mode.
FULL STATUS CHECK PROCEDURE Read Status Register Data (See Above) 1 SR.3 = 0 1 SR.4,5 = 0 1 SR.5 = 0 Clear Block Lock-Bits Successful Clear Block Lock-Bits Error Command Sequence Error Voltage Range Error
Standby Bus Operation Standby Command Comments Check SR.3 1 = Programming Voltage Error Detect Check SR.4, 5 Both 1 = Command Sequence Error Check SR.5 1 = Clear Block Lock-Bits Error
Standby
SR.5, SR.4, and SR.3 are only cleared by the Clear Status Register command. If an error is detected, clear the status register before attempting retry or other error recovery.
Datasheet 56
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 29: Protection Register Programming Flowchart
Start Write C0H (Protection Reg. Program Setup) Write Protect. Register Address/Data Read Status Register
Bus Operation Write Write
Command Protection Program Setup Protection Program
Comments Data = C0H Data = Data to Program Addr = Location to Program Status Register Data Toggle CE# or OE# to Update Status Register Data Check SR.7 1 = WSM Ready 0 = WSM Busy
Read
Standby
SR.7 = 1? Yes Full Status Check if Desired Program Complete
No
Protection Program operations can only be addressed within the protection register address space. Addresses outside the defined space will return an error. Repeat for subsequent programming operations. SR Full Status Check can be done after each program or after a sequence of program operations. Write FFH after the last program operation to reset device to read array mode.
FULL STATUS CHECK PROCEDURE Read Status Register Data (See Above) 1, 1 SR.3, SR.4 = 0,1 SR.1, SR.4 = VPEN Range Error
Standby Bus Operation Standby Command Comments SR.1 SR.3 SR.4 0 1 1 V PEN Low 0 1 0 0 1 1 Prot. Reg. Prog. Error Register Locked: Aborted
Protection Register Programming Error Attempted Program to Locked Register Aborted
Standby
1,1 SR.1, SR.4 =
SR.3 MUST be cleared, if set during a program attempt, before further attempts are allowed by the Write State Machine. SR.1, SR.3 and SR.4 are only cleared by the Clear Staus Register Command, in cases of multiple protection register program operations before full status is checked. If an error is detected, clear the status register before attempting retry or other error recovery.
Program Successful
November 2007 308551-05
Datasheet 57
Numonyx™ Embedded Flash Memory (J3 v. D)
13.0
Common Flash Interface
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. This allows device independent, JEDEC ID-independent, and forward- and backward-compatible software support for the specified flash device families. It allows flash vendors to standardize their existing interfaces for long-term compatibility. This appendix defines the data structure or “database” returned by the Common Flash Interface (CFI) Query command. System software should parse this structure to gain critical information such as block size, density, x8/x16, and electrical specifications. Once this information has been obtained, the software will know which command sets to use to enable flash writes, block erases, and otherwise control the flash component. The Query is part of an overall specification for multiple command set and control interface descriptions called Common Flash Interface, or CFI.
13.1
Query Structure Output
The Query “database” allows system software to gain information for controlling the flash component. This section describes the device’s CFI-compliant interface that allows the host system to access Query data. Query data are always presented on the lowest-order data outputs (D[7:0]) only. The numerical offset value is the address relative to the maximum bus width supported by the device. On this family of devices, the Query table device starting address is a 10h, which is a word address for x16 devices. For a word-wide (x16) device, the first two bytes of the Query structure, “Q” and “R” in ASCII, appear on the low byte at word addresses 10h and 11h. This CFI-compliant device outputs 00H data on upper bytes. Thus, the device outputs ASCII “Q” in the low byte (D[7:0]) and 00h in the high byte (D[15:8]). At Query addresses containing two or more bytes of information, the least significant data byte is presented at the lower address, and the most significant data byte is presented at the higher address. In all of the following tables, addresses and data are represented in hexadecimal notation, so the “h” suffix has been dropped. In addition, since the upper byte of wordwide devices is always “00h,” the leading “00” has been dropped from the table notation and only the lower byte value is shown. Any x16 device outputs can be assumed to have 00h on the upper byte in this mode.
Table 32: Summary of Query Structure Output as a Function of Device and Mode
Device Type/ Mode x16 device x16 mode Query start location in maximum device bus width addresses 10h Query data with maximum device bus width addressing Hex Offset 10: 11: 12: x16 device Hex Code 0051 0052 0059 ASCII Value “Q” “R” “Y” Query data with byte addressing Hex Offset 20: 21: 22: 20: ASCII Value “Q” “Null” “R” “Q”
Hex Code 51 00 52 51
Datasheet 58
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 32: Summary of Query Structure Output as a Function of Device and Mode
Device Type/ Mode x8 mode Query start location in maximum device bus width addresses N/A(1) Query data with maximum device bus width addressing Hex Offset Hex Code N/A(1) ASCII Value Query data with byte addressing Hex Offset 21: 22: Note: 1. ASCII Value “Q” “R”
Hex Code 51 52
The system must drive the lowest order addresses to access all the device's array data when the device is configured in x8 mode. Therefore, word addressing, where these lower addresses are not toggled by the system, is "Not Applicable" for x8-configured devices.
Table 33: Example of Query Structure Output of a x16- and x8-Capable Device
Word Addressing Offset A15–A0 0010h 0011h 0012h 0013h 0014h 0015h 0016h 0017h 0018h ... 0051 0052 0059 P_IDLO P_IDHI PLO PHI A_IDLO A_IDHI ... Hex Code D15–D0 “Q” “R” “Y” PrVendor ID # PrVendor TblAdr AltVendor ID # ... Value Offset A7–A0 20h 21h 22h 23h 24h 25h 26h 27h 28h ... 51 51 52 52 59 59 P_IDLO P_IDLO P_IDHI ... Byte Addressing Hex Code D7–D0 “Q” “Q” “R” “R” “Y” “Y” PrVendor ID # ID # ... Value
13.2
Query Structure Overview
The Query command causes the flash component to display the Common Flash Interface (CFI) Query structure or “database.” The structure sub-sections and address locations are summarized below. See AP-646 Common Flash Interface (CFI) and Command Sets (order number 292204) for a full description of CFI. The following sections describe the Query structure sub-sections in detail.
Table 34: Query Structure
Offset 00h 01h (BA+2)h(2) 04-0Fh 10h 1Bh Block Status Register Reserved CFI Query Identification String System Interface Information Sub-Section Name Manufacturer Code Device Code Block-Specific Information Reserved for Vendor-Specific Information Reserved for Vendor-Specific Information Command Set ID and Vendor Data Offset Description Notes 1 1 1,2 1 1 1
November 2007 308551-05
Datasheet 59
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 34: Query Structure
Offset 27h P(3) Sub-Section Name Device Geometry Definition Primary Numonyx-Specific Extended Query Table Description Flash Device Layout Vendor-Defined Additional Information Specific to the Primary Vendor Algorithm Notes 1 1,3
Notes: 1. Refer to the Query Structure Output section and offset 28h for the detailed definition of offset address as a function of device bus width and mode. 2. BA = Block Address beginning location (i.e., 02000h is block 2’s beginning location when the block size is 128 Kbyte). 3. Offset 15 defines “P” which points to the Primary Numonyx-Specific Extended Query Table.
13.3
Block Status Register
The Block Status Register indicates whether an erase operation completed successfully or whether a given block is locked or can be accessed for flash program/erase operations.
Table 35: Block Status Register
Offset (BA+2)h (1) Length 1 Block Lock Status Register BSR.0 Block Lock Status 0 = Unlocked 1 = Locked BSR 1–15: Reserved for Future Use Note: 1. Description Address BA+2: BA+2: BA+2: Value --00 or --01 (bit 0): 0 or 1 (bit 1–15): 0
BA = The beginning location of a Block Address (i.e., 008000h is block 1’s (64-KB block) beginning location in word mode).
13.4
CFI Query Identification String
The CFI Query Identification String provides verification that the component supports the Common Flash Interface specification. It also indicates the specification version and supported vendor-specified command set(s).
Table 36: CFI Identification
Offset Length Description Add. 10 10h 3 Query-unique ASCII string “QRY” 11: 12: 13h 2 Primary vendor command set and control interface ID code. 16-bit ID code for vendor-specified algorithms 15h 2 Extended Query Table primary algorithm address 13: 14: 15: 16: 17h 2 Alternate vendor command set and control interface ID code. 0000h means no second vendor-specified algorithm exists 19h 2 Secondary algorithm Extended Query Table address. 0000h means none exists 17: 18: 19: 1A: Hex Code --51 --52 --59 --01 --00 --31 --00 --00 --00 --00 --00 Value “Q” “R” “Y”
Datasheet 60
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
13.5
System Interface Information
The following device information can optimize system interface software.
Table 37: System Interface Information
Offset Length Description VCC logic supply minimum program/erase voltage bits 0–3 BCD 100 mV bits 4–7 BCD volts VCC logic supply maximum program/erase voltage bits 0–3 BCD 100 mV bits 4–7 BCD volts VPP [programming] supply minimum program/erase voltage bits 0–3 BCD 100 mV bits 4–7 HEX volts VPP [programming] supply maximum program/erase voltage bits 0–3 BCD 100 mV bits 4–7 HEX volts “n” such that typical single word program time-out = 2n µs “n” such that typical max. buffer write time-out = 2 n µs “n” such that typical block erase time-out = 2n ms “n” such that typical full chip erase time-out = 2 n ms “n” such that maximum word program time-out = 2 times typical “n” such that maximum buffer write time-out = 2n times typical “n” such that maximum block erase time-out = 2n times typical “n” such that maximum chip erase time-out = 2 n times typical
n
Add.
Hex Code --27
Value
1Bh
1
1B:
2.7 V
1Ch
1
1C:
--36
3.6 V
1Dh
1
1D:
--00
0.0 V
1Eh 1Fh 20h 21h 22h 23h 24h 25h 26h
1 1 1 1 1 1 1 1 1
1E: 1F: 20: 21: 22: 23: 24: 25: 26:
--00 --06 --07 --0A --00 --02 --03 --02 --00
0.0 V 64 µs 128 µs 1s NA 256 µs 1024 µs 4s NA
13.6
Device Geometry Definition
This field provides critical details of the flash device geometry.
Table 38: Device Geometry Definition
Offset 27h 28h Length 1 2
n
Description “n” such that device size = 2 in number of bytes Flash device interface: x8 async x16 async x8/x16 async
Code See Table Below 27: 28: 29: 2A: 2B: --02 --00 --05 --00 32 x8/ x16
28:00,29:00 28:01,29:00 28:02,29:00 2Ah 2 “n” such that maximum number of bytes in write buffer = 2 n
2Ch
1
Number of erase block regions within device: 1. x = 0 means no erase blocking; the device erases in “bulk” 2. x specifies the number of device or partition regions with one or more contiguous same-size erase blocks 3. Symmetrically blocked partitions have one blocking region 4. Partition size = (total blocks) x (individual block size) Erase Block Region 1 Information
2C:
--01
1
2D: 2E: 2F: 30:
2Dh
4
bits 0–15 = y, y+1 = number of identical-size erase blocks bits 16–31 = z, region erase block(s) size are z x 256 bytes
November 2007 308551-05
Datasheet 61
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 39: Device Geometry: Address Codes
Address 27: 28: 29: 2A: 2B: 2C: 2D: 2E: 2F: 30: 32 Mbit --16 --02 --00 --05 --00 --01 --1F --00 --00 --02 64 Mbit --17 --02 --00 --05 --00 --01 --3F --00 --00 --02 128 Mbit --18 --02 --00 --05 --00 --01 --7F --00 --00 --02
13.7
Primary-Vendor Specific Extended Query Table
Certain flash features and commands are optional. The Primary Vendor-Specific Extended Query table specifies this and other similar information.
Table 40: Primary Vendor-Specific Extended Query (Sheet 1 of 2)
Offset(1) P = 31h (P+0)h (P+1)h (P+2)h (P+3)h (P+4)h 1 1 Major version number, ASCII Minor version number, ASCII Length 3 Description (Optional Flash Features and Commands) Primary extended query table Unique ASCII string “PRI” Add. 31: 32: 33: 34: 35: Hex Code --50 --52 --49 --31 --31 Value “P” “R” “I” “1” “1”
Datasheet 62
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 40: Primary Vendor-Specific Extended Query (Sheet 2 of 2)
Offset(1) P = 31h Length Description (Optional Flash Features and Commands) Optional feature and command support (1=yes, 0=no) Undefined bits are “0.” If bit 31 is “1” then another 31 bit field of optional features follows at the end of the bit-30 field. bit 0 Chip erase supported bit 1 Suspend erase supported bit 2 Suspend program supported bit 3 Legacy lock/unlock supported (P+5)h (P+6)h (P+7)h (P+8)h 4 bit 4 Queued erase supported bit 5 Instant Individual block locking supported bit 6 Protection bits supported bit 7 Page-mode read supported bit 8 Synchronous read supported bit9 Simultaneous Operation Supported bit 30 CFI Link(s) to follow (32, 64, 128- Mb) bit 30 CFI Link(s) to follow (256 Mb) bit 31 Another “Optional Feature” field to follow Supported functions after suspend: read Array, Status, Query Other supported operations are: bits 1–7 reserved; undefined bits are “0” bit 0 Program supported after erase suspend Block Status Register mask (P+A)h (P+B)h 2 bits 2–15 are Reserved; undefined bits are “0” bit 0 Block Lock-Bit Status register active bit 1 Block Lock-Down Bit Status active (P+C)h 1 VCC logic supply highest performance program/erase voltage bits 0–3 BCD value in 100 mV bits 4–7 BCD value in volts VPP optimum program/erase supply voltage bits 0–3 BCD value in 100 mV bits 4–7 HEX value in volts Add. 36: 37: 38: 39: bit 0 = 0 bit 1 = 1 bit 2 = 1 bit 3 = 1(1) bit 4 = 0 bit 5 = 0 bit 6 = 1 bit 7 = 1 bit 8 = 0 bit 9 = 0 bit 30 = 0 bit 30 = 0 bit 30 = 1 bit 31 = 0 3A: bit 0 = 1 3B: 3C: bit 0 = 1 bit 1 = 0 3D: --33 --01 --00 Yes No 3.3 V --01 Yes Hex Code --CE --00 --00 --00 No Yes Yes Yes (1) No No Yes Yes No No No No Yes No Value
(P+9)h
1
(P+D)h Note: 1. 2.
1
3E:
--00
0.0 V
Future devices may not support the described “Legacy Lock/Unlock” function. Thus bit 3 would have a value of “0.” Setting this bit, will lead to the extension of the CFI table. Please refer to Table 43.
November 2007 308551-05
Datasheet 63
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 41: Protection Register Information
Offset(1) P = 31h (P+E)h Length 1 Description (Optional Flash Features and Commands) Number of Protection register fields in JEDEC ID space. “00h,” indicates that 256 protection bytes are available Protection Field 1: Protection Description This field describes user-available One Time Programmable (OTP) protection register bytes. Some are pre-programmed with deviceunique serial numbers. Others are user-programmable. Bits 0-15 point to the protection register lock byte, the section’s first byte. The following bytes are factory pre-programmed and user-programmable. bits 0-7 = Lock/bytes JEDEC-plane physical low address bits 8-15 = Lock/bytes JEDEC-plane physical high address bits 16-23 = “n” such that 2n = factory pre-programmed bytes bits 24-31 = “n” such that 2n = user-programmable bytes Add. 3F: Hex Code --01 Value 01
(P+F)h (P+10)h (P+11)h (P+12)h
4
40: 41: 42: 43:
--80 --00 --03 --03
80h 00h 8bytes 8bytes
Note: 1.
The variable P is a pointer which is defined at CFI offset 15h.
Table 42: Burst Read Information
Offset(1) P = 31h Length Description (Optional Flash Features and Commands) Page Mode Read capability bits 0–7 = “n” such that 2n HEX value represents the number of readpage bytes. See offset 28h for device word width to determine pagemode data output width. 00h indicates no read page buffer. Number of synchronous mode read configuration fields that follow. 00h indicates no burst capability. Reserved for future use Add. Hex Code Value
(P+13)h
1
44:
--03
8 byte
(P+14)h (P+15)h Note: 1.
1
45: 46:
--00
0
The variable P is a pointer which is defined at CFI offset 15h.
The following table is the extended CFI used for the lower die of 256 Mb (2x128) device. Table 43: Additional CFI link for the lower die of the stacked device (256 Mb only)
Offset(1) P = 31h Length Description (Optional Flash Features and Commands) Link Field Bit Information Add. 46: 47: 48: (P+15)h (P+16)h (P+17)h (P+18)h 49: 4 Bits[9:0] = Address offset (within 32 Mbit segment) of reference CFI table Bits [27:10] = nth 32 Mbit segment of referenced CFI table Bits [30:28] = Memory type: • 000b = CSD Flash • 100b = LD Flash bit 31 = Another CFI link field immediately follows Hex Code --10 --10 --00 --00 10 4 0 No Value
bit [9:0] = 10h bits[27:10] = 04h bits[30:28] = 0h Bit 31 = 0h
Datasheet 64
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Table 43: Additional CFI link for the lower die of the stacked device (256 Mb only)
Offset (1) P = 31h Length Description (Optional Flash Features and Commands) CFI Link Quantity Subfield Definition Bits [3:0] = Quantity field (n such that n+1 equals quantity Bit 4 = Table & die relative location • 0b = Table & die on different CE# • 1b = Table & die on same CE# Bit 5 = Link field & table relative location • 0b = Table & die on different CE# • 1b = Table & die on same CE# Bits [7:6] = RFU (Set to 00b) Add. 04A Hex Code --10 Value
(P+19)h
1
November 2007 308551-05
Datasheet 65
Numonyx™ Embedded Flash Memory (J3 v. D)
Appendix A Additional Information
Order Number 298130 298136 297833 290606 292204 253418 1. 2. 3.
Document/Tool Numonyx™ StrataFlash™ Memory (J3); 28F128J3, 28F640J3, 28F320J3 Specification Update Numonyx™ Persistent Storage Manager (IPSM) User’s Guide Software Manual Numonyx™ Flash Data Integrator (FDI) User’s Guide Software Manual 5 Volt Numonyx™ StrataFlash™ MemoryI28F320J5 and 28F640J5 datasheet AP-646 Common Flash Interface (CFI) and Command Sets Numonyx™ Wireless Communications and Computing Package User’s Guide
Call the Numonyx Literature Center at (800) 548-4725 to request Numonyx documentation. International customers should contact their local Numonyx or distribution sales office. Visit the Numonyx home page http://www.Numonyx.com for technical documentation and tools. For the most current information on Numonyx™ Embedded Flash Memory (J3 v. D), visit http:// developer.Numonyx.com/design/flash/isf.
Datasheet 66
November 2007 308551-05
Numonyx™ Embedded Flash Memory (J3 v. D)
Appendix B Ordering Information
Figure 30: Decoder for Discrete Family (32, 64 and 128 Mbit)
l
P C2 8 F 3 2 0 J 3 D - 7 5
Package
TE= 56-Lead TSOP (J3C, 803) JS = Pb-Free 56-TSOP RC = 64-Ball Easy BGA PC = 64-Ball Pb-Free Easy BGA
Access Speed 75 ns D = Intel® 0.13 micron lithography Voltage (Vcc/VPEN) 3 = 3 V/3 V Product Family J = Intel® Embedded Flash Memory
Product line designator For all Intel® Flash Products
Device Density 128 = x8/x16 (128 Mbit) 640 = x8/x16 (64 Mbit) 320 = x8/x16 (32 Mbit)
Table 44: Valid Combinations for Discrete Family
32-Mbit TE28F320J3D-75 JS28F320J3D-75 RC28F320J3D-75 PC28F320J3D-75 64-Mbit TE28F640J3D-75 JS28F640J3D-75 RC28F640J3D-75 PC28F640J3D-75 128-Mbit TE28F128J3D-75 JS28F128J3D-75 RC28F128J3D-75 PC28F128J3D-75
November 2007 308551-05
Datasheet 67
Numonyx™ Embedded Flash Memory (J3 v. D)
Figure 31: Decoder for SCSP Family (256 Mbit Only)
Flash Family 1/2 Flash Family 3/4
Flash #1
Flash #2
Flash #3
RC4 8 F 3 3 0 0 J 0 Z 0 0 S
Package Designator RC = 64-Ball Easy BGA, leaded PC = 64-Ball Easy BGA, lead-free Group Designator 48F = Flash Memory only Flash Density 0 = No die 3 = 128-Mbit Product Family J = Intel® Embedded Flash Memory 0 = No die Device Details Third Generation – Character S thru Z Ballout Designator 0 = Discrete ballout Parameter, Mux Configuration 0 = No boot Configuration I/O Voltage, CE# Configuration Z = 3.0 V, Individual Chip Enable(s)
Table 45: Valid Line Item Combinations for SCSP Family
256-Mbit RC48F3300J0Z00S PC48F3300J0Z00S
Datasheet 68
Flash #4
November 2007 308551-05