AN1185 APPLICATION NOTE Designing for Compatibility between ST and AMD NOR Flash Memories

Similar documents
STEVAL-ISA001V1. 6W Dual Output Supply using VIPer12A. Features. Blue angel. Applications

STEVAL-ILL015V1. High brightness RGB LED array with LED error detection based on the STP24DP05 and STM32. Features. Description

ROBOT-M24LR16E-A. Evaluation board for the M24LR16E-R dual interface EEPROM. Features. Description

STEVAL-SPBT2ATV2. USB Dongle for the Bluetooth class 2 SPBT2532C2.AT module. Features. Description

M24LR04E-R, M24LR16E-R, M24LR64E-R Errata sheet

STEVAL-IFN003V1. PMSM FOC motor driver based on the L6230 and STM32F103. Features. Description

STEVAL-IHM024V W 3-phase inverter using the L6390 and STGDL6NC60DI for vector control. Features. Applications. Description

Obsolete Product(s) - Obsolete Product(s)

TDA2320 PREAMPLIFIER FOR INFRARED REMOTE CONTROL SYSTEMS

L7208. Portable consumer electronics spindle and VCM motor controller. General features. Spindle driver. Description. VCM driver.

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

STA2051E VESPUCCI 32-BIT SINGLE CHIP BASEBAND CONTROLLER FOR GPS AND TELEMATIC APPLICATIONS 1 FEATURES. Figure 1. Packages

Obsolete Product(s) - Obsolete Product(s)

SPC564A80CAL176 SPC564A70CAL176

PRODUCT TERMINATION NOTIFICATION

HD1530FX. High Voltage NPN Power Transistor for High Definition and New Super-Slim CRT Display. Features. Applications. Internal Schematic Diagram

STEVAL-IHM043V1. 6-step BLDC sensorless driver board based on the STM32F051 and L6234. Features. Description

Obsolete Product(s) - Obsolete Product(s)

PRODUCT INFORMATION LETTER

EVAL-RHF1009A. EVAL-RHF1009A product evaluation board. Description. Features

AN555 APPLICATION NOTE AUTOMOTIVE PROTECTION WITH THE RBOxx SERIES

STEVAL-IHM021V W, 3-phase inverter based on the L6390 and UltraFASTmesh MOSFET for speed FOC of 3-phase PMSM motor drives. Features.

STEVAL-CCM003V1. Graphic panel with ZigBee features based on the STM32 and SPZBE260 module. Features. Description

EVALPM8803-FWD. EVALPM8803-FWD: IEEE802.3at compliant demonstration kit with synchronous active clamp forward PoE converter. Features.

Main components Proximity and ambient light sensing (ALS) module

STEVAL-IKR001V7D. Sub Ghz transceiver daughterboard with power amplifier based on the SPIRIT1. Features. Description

STEVAL-TDR007V1. 3 stage RF power amplifier demonstration board using: PD57002-E, PD57018-E, 2 x PD57060-E. Features. Description

STEVAL-ICB004V1. Advanced resistive touchscreen controller demonstration board based on the STMPE811. Features. Description

Order code Package Connection. SPDC400FC12M0.60 Open frame Comb. October 2007 Rev 1 1/9

STEVAL-IHM008V1. BLDC & AC motor control Power board SEMITOP 2 1kW. Features. Applications

STEVAL-ILL043V1. High end, 75 W high power factor flyback LED driver based on the L6562A with two dimmable strings. Features.

STEVAL-ISB008V1. Standalone USB Li-Ion battery charger demonstration board based on the STw4102 and STM32F103C6. Features.

STEVAL-ILH004V1. 70 W electronic ballast for metal halide lamp (HID) based on the L6382D5 and ST7FLITE49K2. Features. Description

TA0311 TECHNICAL ARTICLE High Temperature Electronics 1 Introduction 2 Why the need for high-temperature semiconductors?

Obsolete Product(s) - Obsolete Product(s)

STEVAL-ILL037V1. Demonstration board for the HVLED805 IC for LED power supply. Features. Description

STEVAL-MKI126V2. MEMS microphone system evaluation board based on the STA321MPL and MP34DB01. Description. Features

2 x 58 W high frequency ballast for T8 fluorescent tubes based on L6562A, L6569, and STL11NM60N in PowerFlat HV package

STEVAL-MKI126V3. STSmartVoice demonstration board based on MP34DT01. Description. Features

STANC0. Stereo HD-PA digitally programmable active noise cancelling audio engine. Features. System. Input and output.

Obsolete Product(s) - Obsolete Product(s)

STEVAL-IHM025V1. 1 kw 3-phase motor control demonstration board featuring the IGBT SLLIMM STGIPL14K60. Features. Description

Multi-channel LED driver with integrated boost controller for medium, large LCD panel backlight based on LED7708 and STM32F103C6T6A

EVLHVLED815W8CV. 8 W - high power factor - constant voltage regulation based on HVLED815PF. Features. Description

March 2012 Doc ID Rev 1 1/4

GM68020H. DisplayPort receiver. Features. Applications

GM60028H. DisplayPort transmitter. Features. Applications

M24SR-DISCOVERY. Discovery kit for the M24SR series Dynamic NFC/RFID tag. Features

STEVAL-ILH005V W electronic ballast for HID lamps based on the L6562A and ST7LITE39F2. Features. Description

PRODUCT/PROCESS CHANGE NOTIFICATION

EMIF QCF 4 LINE LOW CAPACITANCE EMI FILTER AND ESD PROTECTION IPAD

STEVAL-ILL029V1. Front panel demonstration board based on the STLED325 and STM8S. Features. Description

Main components Proximity and ambient light sensing (ALS) module

AN442 APPLICATION NOTE

M89 FAMILY In-System Programmable (ISP) Multiple-Memory and Logic FLASH+PSD Systems for MCUs

AN2421 Application note

STM32-PRIMER/LAB. Raisonance EvoPrimer-LAB to monitor STM32 applications and standalone STM32 Flash programming. Features

HCF4054B 4 SEGMENT LIQUID CRYSTAL DISPLAY DRIVER WITH STROBED LATCH FUNCTION

STW High voltage fast-switching NPN power transistor. Features. Application. Description

EVAL6208Q. Stepper motor driver mounting the L6208Q. Features. Description

IEC compliant smart meter system for AMI applications based on STM32, ST7570 PLM, and STPMC1/STPMS1 chipset

STEVAL-IHT005V2. Demonstration board with full 3.3 V ACS/Triac control using the STM32F100. Description. Features

BUL1203EFP HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR

TN0885 Technical note

STEVAL-CCH002V2. HDMI and video switches demonstration board. Features. Description

UHF, EPCglobal Class-1 Generation-2, Contactless Memory Chip 432 bit with Multi-session Protocol, Anti-collision and Kill functions

L CHANNEL LOW POWER PREAMPLIFIER

STEVAL-CCA043V1. 25 Watt mono BTL class-d audio amplifier demonstration board based on the TDA7491MV. Features. Description

STEVAL-IHM038V1. BLDC ceiling fan controller based on the STM32 and SLLIMM-nano. Description. Features

STEVAL-IME002V1. Multi-lead electrocardiogram (ECG) and body impedance demonstration board. Features. Description

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

STEVAL-IHM034V2. Dual motor control and PFC evaluation board featuring the STM32F103 and STGIPS20C60. Features

IMPORTANT NOTICE. Company name - STMicroelectronics NV is replaced with ST-NXP Wireless.

STPC Video Pipeline Driver Writer s Guide

AN2056 APPLICATION NOTE

PRODUCT/PROCESS CHANGE NOTIFICATION

Obsolete Product(s) - Obsolete Product(s)

AN3075 Application note

Description. Table 1. Device summary. Order codes Temperature range [ C] Package Packing. LPS2HBTR -30 to +105 HLGA - 10L

Main components Narrow-band OFDM power line networking PRIME compliant system-on-chip

STTH8003CY HIGH FREQUENCY SECONDARY RECTIFIERS MAJOR PRODUCTS CHARACTERISTICS. 2x40 A 300 V. V F (max) FEATURES AND BENEFITS

UM0534 User manual. STEVAL-MKI014V1 demonstration kit for the LIS344ALH. Introduction

HCF4027B DUAL J-K MASTER SLAVE FLIP-FLOP

EVLHVLED815W10F. 10 W wide-range high power factor isolated LED driver based on HVLED815PF. Description. Features

STV6110A. 8PSK/QPSK low-power 3.3 V satellite tuner IC. Description. Features

Symbol Parameter Value Unit V CES Collector-Emitter Voltage (V BE = 0) 700 V V CEO Collector-Emitter Voltage (I B = 0) 400 V Emitter-Base Voltage

STV6417 R/C/Pr, G/C, B/Pb Switches + Filter. C, Y, CVBS/Y Switches + Filter. Audio Switches Volume Control AUDIO R SLOW BLANK

Obsolete Product(s) - Obsolete Product(s)

MEMS Module STMEMSDQ-EVAL1

Obsolete Product(s) - Obsolete Product(s)

Mechanical specification. October 2010 Doc ID Rev 1 1/10

HCF40193B PRESETTABLE UP/DOWN COUNTERS (DUAL CLOCK WITH RESET) BINARY TYPE

DB W. 60W / 26V / MHz PA using 1x PD57070S The LdmoST FAMILY. General Features. Description. Order Code

STEVAL-ISA121V1. Wide range single-output demonstration board based on the VIPER37LE. Features. Description

FL_101 USER MANUAL. FlashLink User Manual. CONTENTS (Introduction on next page)

BUL128 HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR

Obsolete Product(s) - Obsolete Product(s)

TEA6425 VIDEO CELLULAR MATRIX

Order code Marking Package Packing. STA5630TR STA5630 VFQFPN32 Tape and reel STA5630ATR (1) September 2013 Doc ID Rev 4 1/8

Transcription:

AN1185 APPLICATION NOTE Designing for Compatibility between ST and AMD NOR Flash Memories STMicroelectronics offers a range of Flash memory products that are hardware and software compatible with AMD devices. Identifying differences (or similarities) between parts from different manufacturers can be a daunting task; this document aims at pointing out the similarities between the devices offered by each manufacturer and also highlights the differences that may require software or hardware modifications. The information content in this application note is believed to be correct at the time of publishing. However, frequent modifications to Flash memories occur and you must always check the information with the latest datasheets. NOR FLASH MEMORY TECHNOLOGY Different technologies exist to produce Flash memories. Today, NOR Flash memories still have the lion s share of the market but the demand for NAND Flash memories is growing fast. In terms of compatibility, a device of one technology can only be replaced by a device of the technology. Only NOR devices will be discussed in this Application Note, even though STMicroelectronics manufactures both technologies. NOR-type Flash memories are typically organized as a number of blocks whose size ranges between 16 KBytes and 128 KBytes. Each of these blocks can be individually erased or programmed. The architecture can be either uniform if all of the blocks are of the size, or asymmetrical, if the blocks vary in size. The array can be organized as a single piece of memory or split into dual or multiple banks. The device can also have a top or bottom boot block configuration depending on where the boot blocks, which are dedicated to the storage of the boot code, are located in the memory address space. NOR Flash memories offer fast random access times (currently in the region of 35ns to 120ns) and fast random write times (8µs per Byte). The fast random access of NOR memories and their excellent reliability make these memories suitable for code storage and low-density data storage. March 2004 1/8

TABLE OF CONTENTS NOR FLASH MEMORY TECHNOLOGY................................................ 1 PORTABILITY ISSUES.............................................................. 3 Device and Manufacturer Codes..................................................3 PART NUMBERS.................................................................. 4 Table 1. Part Numbering Scheme for Standard STMicroelectronics Flash memories.......... 5 Table 2. Equivalent Parts List..................................................... 6 CONCLUSION..................................................................... 7 REVISION HISTORY................................................................ 7 Table 3. Document Revision History................................................ 7 2/8

PORTABILITY ISSUES For two parts from different manufacturers to be compatible, a number of requirements should be satisfied: they should have the package, and the signals should be pin for pin compatible. the DC characteristics and the AC characteristics should also be compatible (e.g. voltage requirements and bus timing requirements). in the case of Flash memories, there is another layer that also needs to be compatible, the software command layer. When you write to a Flash memory you write to a Command Interface that interprets the commands you send, and executes them. In order for two Flash memories to be compatible they need to have more than pin-out compatibility, they need to be command compatible too. STMicroelectronics has different Command Set families, but only the M29 series Flash memories will be addressed in this Application Note. This Command Set is also used by some of AMD s devices and we will study the compatibility between these products and ST s M29 series. Within the Command Set shared by AMD and STMicroelectronics M29 series Flash memories there are some minor differences that do not affect most software code. The differences that did exist have been ironed out over time in order to try and make each part a second source to the other. Some of the command set differences are obvious and simple to fix, others are a little more obscure. Not all the differences between equivalent parts are discussed here because this would make too complex a document, however Table 2., Equivalent Parts List, shows the parts that can be used as a second source to each other. One of the main differences is related to Device and Manufacturer Codes that differ between the parts: some software may be written to work with different sized parts and may use the Device Code to select the correct memory size. When designing for compatibility between manufacturers it is necessary to include a means of identifying each part from each manufacturer, then the parts can be interchanged without modification to the software. A lot of software never reads the Device and Manufacturer codes and is, therefore, not affected by this difference. Device and Manufacturer Codes Coping with several Device and Manufacturer Codes in the software can be simple if it is designed into the software at the start. There are many instances, however, where it is necessary to write a quick fix so an additional Flash memory can be used. If the time pressure is such that the software cannot be made to look up the characteristics of several different Flash memories then a simple fix is to translate equivalent memories into a memory that is known by the system. Consider software that has a function called device_code(), written as follows: unsigned int device_code( void ) { unsigned int i; /* Write AutoSelect Sequence */ FlashWrite( 0x5555L, 0xAA ); /* Note the use of A0-A14 in AutoSelect */ FlashWrite( 0xAAAAL, 0x55 ); /* which allows Autoselct to identify older memories */ FlashWrite( 0x5555L, 0x90 ); /* Autoselect mode */ i = ReadFlash( 0x0001L ); /* Device code at address XXX1h */ FlashWrite( 0x0000h, 0xF0 ); /* Read/Reset to return to Read Mode */ } return i; 3/8

An effective way to quickly re-write this function so an AMD Am29F040B could be replaced by an M29F040B is: unsigned int device_code( void ) { unsigned int i; /* Write AutoSelect Sequence */ FlashWrite( 0x5555L, 0xAA ); /* Note the use of A0-A14 in AutoSelect */ FlashWrite( 0xAAAAL, 0x55 ); /* which allows Autoselct to identify older memories */ FlashWrite( 0x5555L, 0x90 ); /* Autoselect mode */ i = FlashRead( 0x0001L ); /* Device code at address XXX1h */ if( FlashRead( 0x0000L ) == 0x20h /* Check for ST manufacturer code */ && i == 0xE2 ) /* And M29F040B device code */ i = 0xA4; /* Replace with AMD s device code, they are compatible anyway */ FlashWrite( 0x0000h, 0xF0 ); /* Read/Reset to return to Read Mode */ return i; } No other changes are required to the software due to the compatibility of AMD and STMicroelectronics devices. This may be a crude way to adapt your software, but it will take 5 minutes. Adding a look-up table to a piece of software you have inherited and do not fully understand can lead to many unforeseen problems. Note that it may also be necessary to change the equivalent function, manufacturer_code(), if one exists. If you require further help with understanding the software required to operate a Flash memory then ST- Microelectronics has a range of software drivers for nearly all of our Standard Flash memory products. There are extensive comments in the code to help you understand how to operate your Flash memory. PART NUMBERS The part numbering scheme used by STMicroelectronics and AMD is very similar. Table 1. shows the example of the M29F400BB55N1 (equivalent to AMD s Am29F400BB55EC). All STMicroelectronics parts start with M29 and AMD parts start with Am29. The following letter(s) define the voltage: an F indicates a Single Supply 5V part; a W (STMicroelectronics) or LV (AMD) indicates a Single Supply 3V part, a D before W means that the memory array is split in dual or multiple banks with dual operation. The following three digits indicate the size and architecture of the memory, for example an 040 is a 4 Mbit Uniform Block memory; an 800 is an 8 Mbit Boot Block memory, etc. The following letter indicates the Device Revision (most parts are currently at revision D ). An optional letter located after the Device Revision letter refers to additional features like Reset/Block Temporary Unprotect pin (letter N ) or Write Protection pin ( H, L, U ). The Array Matrix (Top/Bottom for Boot Block memories, none for Uniform) follows the Device Revision. Finally the speed, package, temperature and other options follow. Table 2. lists the equivalent parts from the two manufacturers. If you cannot find a second source for a particular part, contact STMicroelectronics as parts are always in development. We may have the part you require ready in time for your production. 4/8

Table 1. Part Numbering Scheme for Standard STMicroelectronics Flash memories Device Type M29 STMicroelectronics Definition AMD Equivalent Example M29 F400B H B 55 N 1 Am29 Operating Voltage F = V CC = 5V ± 10% W = V CC = 2.7 to 3.6V DW= Dual Operation, V CC = 2.7 to 3.6V Device Function + Device Revision 010B = 1Mb (x8), Uniform 102B = 1Mb (x16), Boot 200B = 2Mb (x8, x16), Boot 002B, BN = 2Mb (x8), Boot, Reset/Block Temporary Unprot. pin 040B = 4Mb (x8), Uniform 004B = 4Mb (x8), Boot 400B, 400D = 4Mb (x8, x16), Boot 080D = 8Mb (x8), Uniform 800D, 800DX = 8Mb (x8, x16), Boot 016D, 017D= 16Mb (x8), Uniform 160D, 160E = 16Mb (x8, x16), Boot 032D = 32Mb (x8), Uniform 320D = 32Mb (x8, x16), Boot 323D = 32Mb (x8, x16), Dual Bank 8:24, Boot 324D =32Mb (x8,x16), Dual Bank 16:16, Boot 640D = 64Mb (x8, x16), Boot Additional Feature N = No Reset/Temporary Write Protect pin (for M29GF002B) F LV DL 080B 800B 160D 324G - Array Matrix T = Top Boot B = Bottom Boot Speed 35 = 35 ns 45 = 45 ns 55 = 55 ns 70 = 70 ns 90 = 90 ns 120 = 120 ns Package K = PLCC N = TSOP M = SO P = PDIP Temperature Range 1 = 0 to 70 C 3 = 40 to 125 C 6 = 40 to 85 C J E S P C E I 5/8

Table 2. Equivalent Parts List ST Part Number AMD Part Number Description M29F010B Am29F010B 1 Mbit (128Kb x8, Uniform Block) Single Supply 5V M29W010B Am29LV010B 1 Mbit (128Kb x8, Uniform Block) Single Supply 3V M29F102BB 1 Mbit (64Kb x16, Bottom Boot Block) Single Supply 5V M29W102BB, BT 1 Mbit (64Kb x16, Boot Block) Single Supply 3V M29F200BB, BT Am29F200B 2 Mbit (256Kb x8 or 128Kb x16, Boot Block) Single Supply 5V M29W200BB, BT Am29LV200B 2 Mbit (256Kb x8 or 128Kb x16, Boot Block) Single Supply 3V M29F002BB,BT, BNT,BNB Am29F002B, NB 2 Mbit (256Kb x8,boot Block, Reset/Block Temporary Unprotect pin) Single Supply 5V idem without Reset/Block Temporary Unprotect pin M29W022BB, BT No Equivalent 2 Mbit (256Kb x8, Boot Block) Low Voltage Single Supply Flash Memory M29F040B Am29F040B 4 Mbit (512Kb x8, Uniform Block) Single Supply 5V M29W040B Am29LV040B 4 Mbit (512Kb x8, Uniform Block) Single Supply 3V M29F400BB, BT Am29F400B 4 Mbit (512Kb x8 or 256Kb x16, Boot Block) Single Supply 5V M29W400BB, BT Am29LV400B 4 Mbit (512Kb x8 or 256Kb x16, Boot Block) Single Supply 3V M29W400DB, DT Am29LV400B 4 Mbit (512Kb x8 or 256Kb x16, Boot Block) Single Supply 3V M29W004BB, BT Am29LV004B 4 Mbit (512Kb x8, Boot Block) Single Supply 3V M29F080D Am29F080B 8 Mbit (1Mb x8, Uniform Block) Single Supply 5V M29F080A AM29F080B 8 Mbit (1Mb x8, Uniform Block) Single Supply Flash Memory M29F800A AM29F800B 8 Mbit (1Mb x8 or 512Kb x16, Boot Block) Single Supply Flash Memory M29F800DB, DT Am29F800B 8 Mbit (1Mb x8 or 512Kb x16, Boot Block) Single Supply 5V M29W008A AM29LV008B 8 Mbit (1Mb x8, Boot Block) Low Voltage Single Supply Flash Memory M29W800AT, AB AM29LV800B 8 Mbit (1Mb x8 or 512Kb x16, Boot Block) Low Voltage Single Supply Flash Memory M29W800DB, DT Am29LV800B 8 Mbit (1Mb x8 or 512Kb x16, Boot Block) Single Supply 3V M29F016B AM29F016D 16 Mbit (2Mb x8, Uniform Block) Single Supply Flash Memory M29F016D Am29F016D 16 Mbit (2Mb x8, Uniform Block) Single Supply 5V M29W160DB, DT Am29LV160D 16 Mbit (2Mb x8 or 1Mb x16, Boot Block) Single Supply 3V M29W160EB, ET Am29LV160D 16 Mbit (2Mb x8 or 1Mb x16, Boot Block) Single Supply 3V M29W017D Am29LV017D 16 Mbit (2Mb x8, Uniform Block) Single Supply 3V M29F032D Am29F032B 32 Mbit (4Mb x8, Uniform Block) Single Supply 5V M29W320DB, DT Am29LV320D 32 Mbit (4Mb x8, 2Mbx16 Boot Block) Single Supply 3V M29DW323DB, DT Am29DL323D 32 Mbit (4Mb x8, 2Mbx16, Dual Bank 8:24, Boot Block) Single Supply 3V M29DW324DB, DT Am29DL324G 32 Mbit (4Mb x8, 2Mbx16, Dual Bank 16:16, Boot Block) Single Supply 3V M29W640DB, DT Am29LW640D 64 Mbit (8Mb x8, 4Mbx16, Boot Block) Single Supply 3V M29DW640D Am29DL640G 64 Mbit (8Mb x8, 4Mbx16, Multiple Bank, Boot Block) Single Supply 3V 6/8

CONCLUSION This Application Note shows that the M29 series NOR Flash memories and the AMD AM29 series NOR Flash memories are very similar, which makes second sourcing possible. Most equivalent parts have the pinout, command set and bus configuration and so, are 100% compatible. The software only needs to be changed to cater for a few differences (when any), and when additional Flash memories are used as the manufacturer specific identification codes differ. But the modifications are straightforward. REVISION HISTORY Table 3. Document Revision History Date Version Revision Details 01-Jan-2001 1.0 First Issue 30-Mar-2004 2.0 Application Note completely rewritten. 7/8

If you have any questions or suggestions concerning the matters raised in this document, please send them to the following electronic mail addresses: ask.memory@st.com (for general enquiries) Please remember to include your name, company, location, telephone number and fax number. Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2004 STMicroelectronics - All rights reserved STMicroelectronics GROUP OF COMPANIES Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States www.st.com 8/8