Common Flash Interface Version 1.4
Common Flash Interface Version 1.4
1. Introduction
This application note provides an overview of the changes implemented between versions 1.3 and 1.4 of the Spansion Flash memory Common Flash Interface (CFI) implementation. CFI is a JEDEC standard database that may be read from a Flash memory. It allows Flash driver software to query the installed device to determine the proper configuration, e.g. memory size, speed, special features, and other characteristics. The JEDEC CFI standard provides for vendor specific extensions to the basic device information. These extensions provide information about optional device features. As successive device generations add new features new fields are added to the vendor specific extensions area.
2. Benefit
There are two main benefits of using CFI: Ease of upgrading memory density or features Second source availability CFI-compliant Flash allows the system designer to add and upgrade memory without the inconvenience of modifying Flash driver software to adapt to each new device in a product family. This holds true for new devices of higher density or different sector architecture than available at the time of initial system and driver development.
Revision 04
A pplication
Note
Primary OEM Command Set Address for Primary Extended Table Alternate OEM Command Set (00h = none exists)
Description
CFI_v1.4_VendorSpec_Ext_AN_04
App l ic atio n
No t e
46h 47h 48h 49h 4Ah 4Bh 4Ch 4Dh 4Eh 4Fh 50h 57h 58h 59h 5Ah 5Bh
0002h 0001h 0000h 0005h 0063h 0001h 0000h 0085h 00C5h 00xxh 0000h 0004h 0023h 0020h 0020h 0023h
CFI_v1.4_VendorSpec_Ext_AN_04
A pplication
Note
4.
Changes
The major difference between Spansion memory specific CFI extensions version 1.3 and version 1.4 are the addition of these features in the Primary Vendor-Specific Extended Query section: Unlock Bypass Secured Silicon Sector size Hardware Reset Low Time-out during an embedded algorithm Hardware Reset Low Time-out not during an embedded algorithm Erase Suspend Time-out Maximum Program Suspend Time-out Maximum Increased Bank region information from four bank to thirty-two bank These changes will be implemented in new Spansion Flash devices. The added features are highlighted in Table 4.1. New Features are highlighted in bold face type. Table 4.1 Updated Primary Vendor-Specific Extended Query (Sheet 1 of 3)
Address (byte mode) 40h 41h 42h 43h 44h Data 50h 52h 49h 31h 34h query-unique ASCII string PRI Major version number ASCII Minor version ASCII Address Sensitive Unlock (DQ1,DQ0) 0000 (Hex) = required, 0001 (Hex) = NOT Required Process Technology (DQ5-DQ2) 0001 (Hex) = 170 nm Floating Gate technology 0010 (Hex) = 230 nm MirrorBit technology 0011 (Hex) = 130 nm Floating Gate technology 0100 = 110 nm MirrorBit technology 0101 = 90 nm MirrorBit technology 0110 = 90 nm Floating Gate technology 0111 = 65 nm MirrorBit Eclipse 1000 = 65 nm MirrorBit 1001 = 45 nm MirrorBit Erase Suspend 00 = Not Supported, 01 = To read only, 02 = To read and write Sector Protect 00 = Not Supported, X = Number of sectors per group Sector Temporary Unprotect 00 = Not Supported, 01 = Supported Sector Protect/Unprotect scheme 01 = 29F040 mode 02 = 29F016 mode 03 = 29F400 mode 04 = 29LV800 mode -> RESET# or A9 =Vid 05 = Software command sector locking 06 = New Sector Protect 07 = RESET# or A9 =Vid + New Sector Protect 08 = Advanced Sector Protect Simultaneous Operation 00 = Not Supported, X = Total number of sectors in all banks except BOOT BANK Burst Mode Type 00 = Not Supported, 01=Supported Page Mode Type 00 = Not Supported, 01 = 4 word Page, 02 = 8 word Page, 03 = 16 word Page ACC (Acceleration) Supply Minimum Bit 7-4 = Hex Value in Volts Bit 3-0 = BCD Value in 100 Millivolts ACC (Acceleration) Supply Maximum Bit 7-4 = Hex Value in Volts Bit 3-0 = BCD Value in 100 Millivolts Description
45h
49h
4Dh
4Eh
CFI_v1.4_VendorSpec_Ext_AN_04
App l ic atio n
No t e
4Fh
53h
58h 59h 5Ah 5Bh 5Ch 5Dh 5Eh 5Fh 60h 61h 62h 63h 64h 65h 66h 67h 68h
CFI_v1.4_VendorSpec_Ext_AN_04
A pplication
Note
5. Conclusion
These changes enable updated Flash driver software to recognize and make use of new device features.
CFI_v1.4_VendorSpec_Ext_AN_04
App l ic atio n
No t e
6. Revision History
Section Revision A (March 22, 2004) Initial release Revision A1 (June 5, 2008) Changes Revision 03 (September 2, 2009) General Revision 04 (October 21, 2009) Changes Updated table: Updated Primary Vendor-Specific Extended Query, Address 45h Changed to new format Updated table: Updated Primary Vendor-Specific Extended Query Corrected table: Updated Primary Vendor-Specific Extended Query, Address 45h Description
CFI_v1.4_VendorSpec_Ext_AN_04
A pplication
Note
Colophon The products described in this document are designed, developed and manufactured as contemplated for general use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed and manufactured as contemplated (1) for any use that includes fatal risks or dangers that, unless extremely high safety is secured, could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss (i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life support system, missile launch control in weapon system), or (2) for any use where chance of failure is intolerable (i.e., submersible repeater and artificial satellite). Please note that Spansion will not be liable to you and/or any third party for any claims or damages arising in connection with above-mentioned uses of the products. Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Law of Japan, the US Export Administration Regulations or the applicable laws of any other country, the prior authorization by the respective government entity will be required for export of those products. Trademarks and Notice The contents of this document are subject to change without notice. This document may contain information on a Spansion product under development by Spansion. Spansion reserves the right to change or discontinue work on any product without notice. The information in this document is provided as is without warranty or guarantee of any kind as to its accuracy, completeness, operability, fitness for particular purpose, merchantability, non-infringement of third-party rights, or any other warranty, express, implied, or statutory. Spansion assumes no liability for any damages of any kind arising out of the use of the information in this document. Copyright 2009 Spansion Inc. All rights reserved. Spansion, the Spansion Logo, MirrorBit, MirrorBit Eclipse, ORNAND, EcoRAM and combinations thereof, are trademarks and registered trademarks of Spansion LLC in the United States and other countries. Other names used are for informational purposes only and may be trademarks of their respective owners.
CFI_v1.4_VendorSpec_Ext_AN_04