Macronix High Density Serial Flash Addressing

Similar documents
Serial Flash Secured OTP Area Introduction

Macronix MX25Lxxx45G Serial Flash DTR Introduction

Migrating from MX29GL256E to MX29GL256F

Macronix Serial Flash Multi-I/O Introduction

Comparison of MX25L3233F/73F/36F and MX25L32xxD/xxE

Comparison of MX25V4035F with MX25L4006E and MX25V4006E

Comparing Toshiba TC58NVG0S3Exxxx with Macronix MX30LF1G08AA

Comparing Spansion S29AL008J with Macronix MX29LV800C

Comparing Toshiba TC58NVG1S3E with Macronix MX30LF2G18AC

Comparison of MX25V1035F with MX25L1006E/1021E and MX25V1006E

Comparison of MX25V8035F with MX25L8006E/08E and MX25V8006E

Comparing Spansion S29AL016J with Macronix MX29LV160D

Comparing Toshiba TC58BVG1S3HTAI0 with Macronix MX30LF2GE8AB

Migrating from MX60LF8G28AB to MX60LF8G18AC

Improving NAND Throughput with Two-Plane and Cache Operations

Migrating from MX25U25635F to MX25U25645G

Migrating from MX30LF1G08AA to MX30LF1GE8AB

Industrial Temperature, 3 Volt, MCP Products - Parallel NOR Flash + Pseudo Static RAM (psram)

Read-While-Write, Multiplexed, Burst Mode, Flash Memory

Migrating from MX30LF1G08AA to MX30LF1G18AC

2. General Features The two devices have a different page size and block size. Feature differences are highlighted in Bold Italic type in Table 2-1.

Migrating from MX30LF2G(4G)28AB to MX30LF2G(4G)18AC

Comparing Micron N25Q128A with Macronix MX25L12835F

Comparing Spansion S34ML04G100 with Macronix MX30LF4G18AC

How to handle the spare-byte area of Macronix 36nm NAND Flash

Both flash device families have similar features and functions as shown in Table 2-1.

Comparison of MX25L6435E and MX25L6445E

Comparison of MX25L6433F/73F/36F and MX25L64xxE

Comparison of MX25U4033E and MX25U4035

Migrating from MX25L25635F to MX25L25645G/MX25L25673G

Using Erase Suspend and Erase Resume Functions in NOR Flash

Replacing Spansion S29GL_S with Macronix MX29GL_F

SLC NAND FLASH and LPDDR2 162-Ball MCP (Multi-Chip Package)

Comparing Micron N25Q032A / N25Q064A with Macronix MX25U3235F / MX25U6435F

The Comparison of MX25L12835E/36E/45E and MX25L12835F/33F

Comparing Micron N25Q128A with Macronix MX25U12835F

Comparing Spansion S25FL512S with Macronix MX66L51235F

Comparing Spansion S26KS512S with Macronix MX25UM51245G

APPLICATION NOTE Migrating to MX25L1606E / MX25L8006E from MX25L1605D / MX25L8005

NAND Design-In Notice

Comparing Spansion S25FL512S with Macronix MX25L51245G

APPLICATION NOTE Migrating to MX25L3206E from MX25L3205D

MX25L5121E MX25L1021E MX25L5121E, MX25L1021E DATASHEET

MX30LF1208AA 512M-bit NAND Flash Memory

Maximum Monolithic Density Density Number of Stacks N25Q512Axxx. 512Mb 2 256Mb N25Q00AAxxx 1Gb 4 MT25Qxs01Gxxx. 1Gb 2 512Mb MT25Qxs02Gxxx 2Gb 4

KH25L5121E. Key Features KH25L5121E. 3V, 512K-BIT [x 1] CMOS SERIAL FLASH MEMORY

MX25U25635F DATASHEET

FM25Q08 FM25Q08. 8M-BIT Serial Flash Memory with 4KB Sectors, Dual and Quad I/O SPI. preliminary(aug ) 1

Quick Guide to Common Flash Interface

64M-BIT Serial Flash Memory with 4KB Sectors, Dual and Quad I/O SPI

Technical Note. Reset Configurations for MT25Q, MT25T, and N25Q Flash Memory Devices. Introduction

Altera ASMI Parallel II IP Core User Guide

Customizable Flash Programmer User Guide

ASMI Parallel II Intel FPGA IP Core User Guide

Am29F040B. Data Sheet Supplement for PROM Programmer Manufacturers. SECTOR PROTECTION/ UNPROTECTION FOR Am29F040B. Sector Unprotection

Migrating from Spansion S25FL512S to Micron N25Q 512Mb Flash Device

Quad-Serial Configuration (EPCQ) Devices Datasheet

32M-BIT Serial Flash Memory with 4KB Sectors, Dual and Quad I/O SPI

MX25L6433F. 3V, 64M-BIT [x 1/x 2/x 4] CMOS MXSMIO (SERIAL MULTI I/O) FLASH MEMORY

W25X05CL/10CL/20CL 2.5 / 3 / 3.3 V 512K / 1M / 2M-BIT SERIAL FLASH MEMORY WITH 4KB SECTORS AND DUAL I/O SPI

Technical Note. Migrating from Cypress's FL-S and FS-S to Micron's MT25Q. Introduction

FM25Q04 4M-BIT SERIAL FLASH MEMORY

MX25L3236F. 3V, 32M-BIT [x 1/x 2/x 4] CMOS MXSMIO (SERIAL MULTI I/O) FLASH MEMORY

M68HC705E24PGMR PROGRAMMER USER'S MANUAL

MX25L3233F. 3V, 32M-BIT [x 1/x 2/x 4] CMOS MXSMIO (SERIAL MULTI I/O) FLASH MEMORY

MX35LF1GE4AB MX35LF2GE4AB. 3V, 1Gb/2G-bit Serial NAND Flash Memory. MX35LFxGE4AB. P/N: PM2128 REV. 1.5, June 07,

MX66L51235F DATASHEET

W25Q16V 16M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI. Publication Release Date: August 20, Revision D

MX25V1006E DATASHEET

Comparing Micron N25Q and Macronix MX25L Flash Devices

W25Q16BL 2.5V 16M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI. Publication Release Date: February 19, Preliminary - Revision A

FM25Q16 FM25Q16. 16M-BIT Serial Flash Memory with 4KB Sectors, Dual and Quad I/O SPI. Rev.11 (Nov ) 1

Quad-Serial Configuration (EPCQ) Devices Datasheet

1.8V Uniform Sector Dual and Quad Serial Flash GD25LQ256C DATASHEET

Generic Serial Flash Interface Intel FPGA IP Core User Guide

W25X40CL 2.5/3/3.3 V 4M-BIT SERIAL FLASH MEMORY WITH 4KB SECTORS AND DUAL I/O SPI. Publication Release Date: October 15, Revision E

PRODUCT SELECTION GUIDE

PRELIMINARY MX25L51237G MX25L51237G. 3V, 512M-BIT [x 1/x 2/x 4] CMOS MXSMIO (SERIAL MULTI I/O) FLASH MEMORY P/N: PM2198

JEDEC SOLID STATE TECHNOLOGY ASSOCIATION

Intel Ethernet Controller I350 Frequently Asked Questions (FAQs)

Quad-Serial Configuration (EPCQ) Devices Datasheet

EPCQA Serial Configuration Device Datasheet

MX66L1G45G. 3V, 1G-BIT [x 1/x 2/x 4] CMOS MXSMIO (SERIAL MULTI I/O) FLASH MEMORY

W25Q20CL 2.5/3/3.3V 2M-BIT SERIAL FLASH MEMORY WITH 4KB SECTORS, DUAL AND QUAD SPI. Publication Release Date: August 06, Revision A1

AT25SF641 ADVANCE DATASHEET. Features. 64-Mbit, 2.7V Minimum SPI Serial Flash Memory with Dual I/O, Quad I/O and QPI Support

W25Q16CL 2.5V 16M-BIT SERIAL FLASH MEMORY WITH DUAL AND QUAD SPI. Publication Release Date: May 23, Revision G

EPCQ-L Serial Configuration Devices Datasheet

BY25Q16A. Features. Boya Microelectronics Memory Series 16M BIT SPI NOR FLASH

Migration Guide for Numonyx StrataFlash Wireless Memory (L18/L30) to Numonyx StrataFlash Embedded Memory (P30)

1.8V Uniform Sector Dual and Quad Serial Flash GD25LQ64C DATASHEET. Rev.2.8

1.8V Uniform Sector Dual and Quad Serial Flash GD25LQ16 DATASHEET

S25FL1-K. Data Sheet. S25FL1-K Cover Sheet

1.8V Uniform Sector Dual and Quad Serial Flash GD25LQ32C DATASHEET

3V 512M-BIT (2 x 256M-BIT) SERIAL MCP FLASH MEMORY W25M512JV. Featuring. With Multi I/O SPI & Concurrent Operations

1.8V Uniform Sector Dual and Quad SPI Flash

AN4491 Application note

3.0V 64M-BIT Serial Flash Memory with 4KB Sectors, Dual and Quad I/O SPI & QPI

GD25LQ80 DATASHEET

Technical Note. Micron N25Q to Micron MT25Q Migration. Introduction. TN-25-01: Micron N25Q to Micron MT25Q Migration. Introduction

MX25U51245G. 1.8V, 512M-BIT [x 1/x 2/x 4] CMOS MXSMIO (SERIAL MULTI I/O) FLASH MEMORY

Transcription:

1. Introduction Many consumer products have converted or are converting from parallel flash to SPI serial flash. Generally, high end applications require higher memory density, but in the past, serial flash densities were limited to 128Mb due to addressing constraints. Macronix offers high density serial flash products with several different solutions to the previous 128Mb limitation. This application note will discuss the 128Mb addressing limitation and Macronix solutions to addressing 256Mb and above. The information in this document is based on datasheets listed in Section 5. Newer versions of the datasheets may override the contents of this document. 2. 128Mb Memory Address Limitation In general, the serial flash command protocol (Figure 2-1) uses a 1-Byte instruction opcode followed by a 3-Byte (24-bit) address. However, 3 bytes of address is only sufficient to define an address range of zero to 16MBytes (0 to 128Mb). In order to access flash above 128Mb, the address length needs to be extended to 4 bytes (32-bits) or use a 128Mb stacked die solution utilizing two CS# pins to select the top or bottom die. Figure 2-1: 3-Byte Address Mapping Range P/N: AN0209 1

3. Macronix s Solutions to Access Memory 256Mb Macronix provides products with several different solutions that enable full access to flash densities of 256Mb and larger. Table 3-1 shows access solutions and the 256Mb 3V products that support them. Please refer to the Macronix website for other densities and voltage options. Table 3-1: Macronix 256Mb Product List Access Solution MX25L25635F MX25L25639F MX25L25735F MX25L25835E Enter 4-Byte Address Mode Yes - - Extended Address Register (EAR) Yes - - 4-Byte Address Command Set Yes - - Default 4-Byte Address Mode - Yes - Two CS# Pins (to control two stacked 128Mb flash) - - Yes 3.1 Solution #1: Enter 4-Byte Address Mode This solution requires the system to use an address-enhanced SPI protocol by adding a 4 th address byte to all serial flash commands that normally use 3-Byte addresses. The device defaults to 3-Byte address mode, and 4-Byte mode is enabled with the EN4B command (0xB7). In 4-Byte mode, the legacy command set is still used *1, but 4-Bytes of address, instead of three, are sent during the address phase. The 4-Byte and 3-Byte address modes are mutually exclusive and only one can be active at a time. The EX4B command (0xE9) is used for exiting 4-Byte address mode. As shown in Figure 3-1, the device will also return to the default 3-Byte address mode after a power cycle, hardware reset, or software reset. The active address mode of the MX25L25635F and MX25L25639F can be determined by reading the Configuration Register and checking the 4BYTE bit (Bit5 in Table 3-2). If it is set to 1, then 4-Byte address mode is active. Otherwise, 3-Byte address mode is active. Note: 1. The number of address bytes in the following commands is independent of the 3-Byte and 4-Byte Address modes: 4READ for top 128Mb (0xEA), RDSFDP, RES and REMS. Figure 3-1: 3-Byte Address to 4-Byte Address Flow of MX25L25635F Power on or Reset 3-byte address mode EN4B (0xB7) command 4-byte address mode EX4B (0xE9) command Table 3-2: Configuration Register (MX25L25635F and MX25L25639F) Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 DC1 DC0 4BYTE Reserved TB OSD2 OSD1 OSD0 Dummy cycle 1=4-byte address mode (Default=0) 1=bottom area protect Output driver strength P/N: AN0209 2

3.2 Solution #2: Extended Address Register (EAR) If the system only supports 3-Byte addressing, the Extended Address Register mode is an alternative method that can be used to access memory beyond the 128Mb limit. The device provides a volatile 8-bit EAR register that is automatically appended to the normal 3-Byte address and in effect creates a 4-Byte address *1. No commands are needed to enter or exit this mode. EAR mode operates with the legacy 3-Byte address command set. As shown in Table 3-3, Bits[7:0] of the EAR correspond to address bits A[31:24] and must be loaded prior to its usage. The default value of the EAR is 0x00 and the standard 3-Byte address maps directly to the lower 128Mb of memory. An EAR value of 0x01 would remap a 3-Byte address into the upper 128Mb of memory. The usage model is as follows: system issues the Write Extended Address Register instruction (0xC5) with a register value used to set or clear EAR[0]. When cleared to 0, the bottom 128Mb memory can be accessed. When set to 1, the top 128Mb memory can be accessed. The system should check the EAR value before using it to access flash memory. This is done by using the Read Extended Address Register instruction (0xC8) and reading the 8-Bit EAR value. The EAR supplies the higher address bits to form the starting address for read operations, but the EAR setting does not limit the read operation to the bottom or top 128Mb. For example, a read operation that begins in the lower 128Mb is free to continue reading into the upper 128Mb. Likewise a read operation that begins in the upper 128Mb is free to read to the end of memory and wrap around and continue reading into the lower 128Mb. Note: 1. When device is commanded to enter 4-byte address mode, the EAR[7:0] becomes Don t Care for all commands using 4-Byte addresses.. Table 3-3: Extend Address Register Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 A31 A30 A29 A28 A27 A26 A25 A24 Reserved flash densities great than 256Mb 256Mb Figure 3-2: Top and Bottom 128M bits P/N: AN0209 3

3.3 Solution #3: 4-Byte Address Command Set This solution uses an alternate 4-Byte address command set (Table 3-4) that supplements the legacy 3-Byte address command set. Both command sets are always available and the system may choose which set to use. The operation of the 4-byte address command set is similar to the original 3-byte address command set with the only difference being 4-byte address commands require 4-Bytes of address (A31-A0) following the instruction opcode. The 4-Byte address command set eliminates the need to enter or exit 4-Byte addressing mode. Table 3-4: 4 Byte Address Command Set Command Set READ4B FASTREAD4B 2READ4B DREAD4B 4READ4B QREAD4B Instruction Opcode 13 (Hex) 0C (Hex) BC (Hex) 3C (Hex) EC (Hex) 6C (Hex) Address Bytes 4 4 4 4 4 4 Action Normal Single I/O Fast Dual I/O Dual Output Quad I/O Quad Output Read Read Fast Read Fast Read Fast Read Fast Read Command Set PP4B 4PP4B BE4B BE32K4B SE4B Instruction Opcode 12 (Hex) 3E (Hex) DC (Hex) 5C (Hex) 21 (Hex) Address Bytes 4 4 4 4 4 Action Page Program Quad Input Block Erase Block Erase Sector Erase Page Program (64KB) (32KB) (4KB) 3.4 Solution #4: Default 4-byte Address mode Macronix offers the MX25L25735F which defaults to 4-Byte address mode. The 4-Byte address mode is hardwired and no command or power cycle can change it to 3-Byte address mode. The MX25L25735F uses the legacy 3-Byte command set, but always requires 4-Bytes of address instead of 3-Bytes. The MX25L25735F does not use the 4-Byte address command set described in section 3.3. P/N: AN0209 4

3.5 Solution #5: 2x128Mb Devices Controlled By Two CS# Pins The MX25L25835E is a 256Mb flash device built with two stacked 128Mb flash chips in the same package (shown in Figure 3-2). Two external CS# pins are used to select which of the two stacked die should be active. From the system s point of view, the device behaves like two independent 128Mb flash controlled by two independent CS# pins. It is up to the system to make sure that both CS#1 and CS#2 are not asserted simultaneously as a bus conflict will occur on the data lines. The MX25L25835E uses the legacy command set in 3-Byte address mode. Figure 3-2: 2 CS# Pin Block Diagram 4. Summary Macronix offers high density serial flash with a variety of solutions designed to solve the 128Mb address limitation. The user may refer to this application note to select a device appropriate for the addressing capabilities of their application. P/N: AN0209 5

5. Reference Table 5-1 shows the datasheet versions used for comparison in this application note. For the most current, detailed specification, please refer to the Macronix Website at http://www.macronix.com Table 5-1: Datasheet Version Data sheet Location Date Issue Revision MX25L25635F Website AUG. 07, 2012 Rev. 0.02 MX25L25639F Website SEP. 05, 2012 Rev. 0.01 MX25L25735F Website JUL. 18, 2012 Rev. 0.00 MX25L25835E Website NOV. 29, 2011 Rev. 1.0 6. Revision History Revision Description Date 1.0 Initial Release Dec. 17, 2012 P/N: AN0209 6

Except for customized products which have been expressly identified in the applicable agreement, Macronix's products are designed, developed, and/or manufactured for ordinary business, industrial, personal, and/or household applications only, and not for use in any applications which may, directly or indirectly, cause death, personal injury, or severe property damages. In the event Macronix products are used in contradicted to their target usage above, the buyer shall take any and all actions to ensure said Macronix's product qualified for its actual use in accordance with the applicable laws and regulations; and Macronix as well as it s suppliers and/or distributors shall be released from any and all liability arisen therefrom. Copyright Macronix International Co., Ltd. 2011~2012. All rights reserved, including the trademarks and tradename thereof, such as Macronix, MXIC, MXIC Logo, MX Logo, Integrated Solutions Provider, NBit, Nbit, NBiit, Macronix NBit, eliteflash, HybridNVM, HybridFlash, XtraROM, Phines, KH Logo, BE-SONOS, KSMC, Kingtech, MXSMIO, Macronix vee, Macronix MAP, Rich Au-dio, Rich Book, Rich TV, and FitCAM. The names and brands of third party referred thereto (if any) are for identification purposes only For the contact and order information, please visit Macronix s Web site at: http://www.macronix.com P/N: AN0209 7