APPLICATION NOTE

APPLICATION NOTE
Migrating to the Macronix 512K/1M Serial Flash Families
from SST 512K/1M Serial Flash
Cross Reference
Part Number
Macronix
SST
512Kb serial flash
MX25L512
SST25VF512
1Mb serial flash
MX25L1005
SST25VF010
Introduction
Macronix offers a family of serial flash products from 512Kb to 128Mb densities. Of these products, 512Kb and
1Mb density flash are popular with compatible pin-out with SST 512K and 1Mb serial flash products. Users can
migrate from these SST products into Macronix 512K, MX25L512 or the 1M, MX25L1005 serial flash products.
Comparison between Macronix and SST serial flash products
Differences
512Kb serial
flash
Macronix (MX25L512)
●Manufacturer ID (C2h)/ Device ID (05h)
●Block size: 64KB
●Protected area: whole chip
●Does not need EWSR command for
protected bits
●Serial clock: 33MHz or 85MHz (Fast mode)
SST (25VF512)
●Manufacturer ID (BFh)/ Device ID (48h)
●Block size: 32KB
●Protected area: 1/4, 1/2, or whole
●Needs “Enable Write Status Register” (EWSR)
for protected bits
●Serial clock: 20MHz or 33MHz (Fast mode)
Differences
Macronix (MX25L1005)
1Mb serial flash ●Manufacturer ID (C2h)/ Device ID (10h)
●Block size: 64KB
●Protected area: 1/2, or whole
●Does not need EWSR command for
protected bits
●Serial clock: 33MHz or 85MHz (Fast mode)
Publication Number: AN-009.01
SST (25VF010)
●Manufacturer ID (BFh)/ Device ID (49h)
●Block size: 32KB
●Protected area: 1/4, 1/2, or whole
●Need “Enable Write Status Register” (EWSR)
for protected bits
●Serial clock: 20MHz or 33MHz (Fast mode)
REV. 0.00, MAY. 26, 2009
1
APPLICATION NOTE
Migrating to the Macronix 512K/1M Serial Flash Families
from SST 512K/1M Serial Flash
Hardware Migration
Macronix 512Kb and 1Mb serial flash provides the same package type as SST 512Kb and 1Mb serial flash
and are pin-to-pin compatible with them. The signals CS# and SCLK on the Macronix parts perform the same
function as the signals CE# and SCK on the SST parts. Hence the Macronix parts own the same function with
SST parts and are pin-compatible to them. Both companies offer the product in an 8-pin SOP (150mils wide) and
8-pin SON packages.
Publication Number: AN-009.01
REV. 0.00, MAY. 26, 2009
2
APPLICATION NOTE
Migrating to the Macronix 512K/1M Serial Flash Families
from SST 512K/1M Serial Flash
Software Migration
Part Number
WREN
WRDI
RDSR
WRSR
READ
Fast READ
Sector Erase (4KB)
Block Erase
(Macronix: 64KB, SST: 32KB)
Bulk / Chip Erase
Auto Increment(AAI)
Page/ Byte Program
Enable Write Status
Register(EWSR)
Deep Power Down
Release from Deep Powerdown(RDP)
Read Electronic ID
Macronix
SST
MX25L512/ MX25L1005
SST25VF512/010
06 Hex
04 Hex
05 Hex
01 Hex
03 Hex
0B Hex (85MHz)
20 Hex
06
04
05
01
03
Hex
Hex
Hex
Hex
Hex
-20 Hex
52 or D8 Hex
52 Hex
60 or C7 Hex
-Page program: 02 Hex
60 Hex
AF Hex
Byte program: 02 Hex
--
50 Hex
B9 Hex
--
AB Hex
--
90 Hex
90 or AB Hex
The minor differences shown below are
(i)
Manufacturer ID/Device ID,
(ii)
SST’s additional command - Enable Write Status Register (EWSR), (iii)
Block size, and
(iv)
Serial clock rate.
Publication Number: AN-009.01
REV. 0.00, MAY. 26, 2009
3
APPLICATION NOTE
Migrating to the Macronix 512K/1M Serial Flash Families
from SST 512K/1M Serial Flash
Manufacturer ID and Device ID
Command
and ID Type
REMS*
Macronix - MX25L512
Command Command
ID
Command
code (hex)
Cycle
code (hex)
90
1 command Two byte ID
90 or AB
cycle
(ADD=00 for
2 dummy
manufacturer ID first;
cycles
01 for device ID first)
1 ADD cycle Mfr. ID: C2
Device ID: 05
SST - SST25VF512
Command
ID
Cycle
1 command Two-byte ID
cycle
(ADD=00 for
2 dummy
manufacturer ID first;
cycle
01 for device ID first)
1 ADD cycle Mfr. ID: BF
Device ID: 48
* REMS: Command to read out Electronic Manufacturer and Device ID
Command
Macronix - MX25L1005
and ID Type
Command Command
ID
Command
code (hex)
Cycle
code (hex)
REMS*
90
1 command
Two byte ID
90 or AB
cycle
(ADD=00 for
2 dummy
manufacturer ID first;
cycles
01 for device ID first)
1 ADD cycle Mfr. ID: C2
Device ID: 10
Start
The command code 90 (hex) is used to read
out the manufacturer ID and device ID for the
Macronix as well as the SST parts.
When the manufacturer ID is read out, the
system firmware identifies the manufacturer as
shown in the flowchart. The algorithm to be used
depends on whether a Macronix or an SST part
is being used.
SST - SST25VF010
Command
ID
Cycle
1 command Two byte ID
cycle 2
(ADD=00 for
dummy cycle manufacturer ID
1 ADD cycle first; 01 for device
ID first)Mfr. ID:
BFDevice ID: 49
Write 90h to
address x00h
* Read ID command
address x00h
Read Manufacturer ID
Manufacturer ID
= C2h
Yes
Device is Macronix flash,
use Macronix command
= C2h ?
No
Manufacturer ID
= BFh
algorithm
Yes
The device is other
company’s Flash,
so use its command algorithm
ID = BFh ?
No
Identification
Failure
Failure
Software Flowchart
Publication Number: AN-009.01
REV. 0.00, MAY. 26, 2009
4
APPLICATION NOTE
Migrating to the Macronix 512K/1M Serial Flash Families
from SST 512K/1M Serial Flash
Command Instructions
Macronix and SST serial flash products have compatible command instructions to perform all the functions.
The only difference is the use of “Enable Write Status Register” (EWSR) instruction by the SST part. While
changing the protected bits (BP2, BP1, BP0), the Macronix part uses only one instruction – the “Write Status
Register” (WRSR) command, whereas the SST part uses two commands to perform the same function - EWSR
and WRSR commands.
As for protected area, Macronix flash protects 1/2 of or the whole chip for 1Mb products and protects the whole
chip for 512Kb products, whereas SST parts protect 1/4, 1/2, or the whole chip area.
Publication Number: AN-009.01
REV. 0.00, MAY. 26, 2009
5
APPLICATION NOTE
Migrating to the Macronix 512K/1M Serial Flash Families
from SST 512K/1M Serial Flash
Block Size (Block sizes/sector sizes are the same.)
4KB sector
64KB block
address
1FFFF
1F000
4KB sector
32KB block
MX25L1005
address
1FFFF
1F000
Sector 31
block 1
10000
0FFFF
SST* 25VF010
Sector 16
Sector 15
16 (4K-byte)sectors
are grouped as
1 (64K-byte)block
8 (4K-byte)sectors
are grouped as
1 (32K-byte)block
18000
MX25L1005 V.S. SST 25VF010
block 0
Sector 8
Block size is different
MXIC 64KB, SST 32KB
00FFF
00000
Sector 0
Sector 31
block 3
Sector 24
Sector 23
block 2
Sector 16
Sector 15
block 1
Sector size (4KB) is same
07FFF
Sector 7
block 0
00FFF
00000
Sector 0
MX25L512 and SST 25VF512 contain only half of the sectors and blocks of MX25L1005 and SST 25VF010
serial Flash.
Macronix and SST serial flash products have the same sector size – 4KB. However, the block sizes are different
as shown in the diagram below. The Macronix part is divided into 64KB blocks whereas the SST part is divided
into 32KB blocks. When the user is erasing the block, the SST part requires two operations to perform the same
function that can be done with one function by the Macronix part in a 64KB block.
Publication Number: AN-009.01
REV. 0.00, MAY. 26, 2009
6
APPLICATION NOTE
Migrating to the Macronix 512K/1M Serial Flash Families
from SST 512K/1M Serial Flash
Serial Clock
The Macronix flash is capable of operating at a clock rate of 85MHz whereas the SST part is capable of
operating up to 33MHz speed only. The Macronix part has an advantage in speed over the SST serial flash.
For applications that require higher operating speeds like the systems that call for direct code execution on
serial flash, the Macronix serial flash is very well suited. Other applications requiring higher speed can take full
advantage of this capability as well.
Conclusion
Macronix provides 512Kb and 1Mb serial flash with serial interface that can be easily used in the sockets that
use SST serial flash parts of the same density. It takes minimal effort on the user’s part to replace the SST serial
flash with the Macronix serial flash. The definite advantage that the Macronix product offers is the higher speed
up to 85MHz that is used in specific applications requiring higher speeds.
For additional technical support, please contact the Macronix sales office in your local area.
References:
The following datasheets were used to prepare this comparative technical note.
SST25VF512
SST25VF010
Datasheet
Source
web-site
web-site
Date
Nov. 2005
Jan. 2006
Version
08
05
For functional and parametric specifications, refer to the product datasheets on the Macronix web site at
http://www.macronix.com/
and refer to the web page: Products / Flash Memory / Serial Flash
Publication Number: AN-009.01
REV. 0.00, MAY. 26, 2009
7
APPLICATION NOTE
Macronix's products are not designed, manufactured, or intended for use for any high risk applications in which
the failure of a single component could cause death, personal injury, severe physical damage, or other substantial
harm to persons or property, such as life-support systems, high temperature automotive, medical, aircraft and military application. Macronix and its suppliers will not be liable to you and/or any third party for any claims, injuries or
damages that may be incurred due to use of Macronix's products in the prohibited applications.
Copyright© Macronix International Co., Ltd. 2005~2009. All Rights Reserved. Macronix, MXIC, MXIC Logo, MX
Logo, are trademarks or registered trademarks of Macronix International Co., Ltd.. The names and brands of other
companies are for identification purposes only and may be claimed as the property of the respective companies.
MACRONIX INTERNATIONAL CO., LTD.
Macronix Offices : Taiwan
Headquarters, FAB2
Macronix Offices : Japan
Macronix Asia Limited.
Macronix, International Co., Ltd.
16, Li-Hsin Road, Science Park, Hsinchu,
Taiwan, R.O.C.
Tel: +886-3-5786688
Fax: +886-3-5632888
Taipei Office
Macronix, International Co., Ltd.
Macronix Offices : Korea
19F, 4, Min-Chuan E. Road, Sec. 3, Taipei,
Taiwan, R.O.C.
Tel: +886-2-2509-3300
Fax: +886-2-2509-2200
Macronix Offices : China
702-703, 7/F, Building 9, Hong Kong Science Park,
5 Science Park West Avenue, Sha Tin,
N.T.
Tel: +86-852-2607-4289
Fax: +86-852-2607-4229
#906, 9F, Kangnam Bldg., 1321-4, Seocho-Dong, Seocho-Ku,
135-070, Seoul, Korea
Tel: +82-02-588-6887
Fax: +82-02-588-6828
Singapore 449408
Tel: +65-6346-5505
Fax: +65-6348-8096
Macronix Offices : Europe
Macronix (Hong Kong) Co., Limited,
SuZhou Office
Macronix Europe N.V.
Koningin Astridlaan 59, Bus 1 1780
No.5, XingHai Rd, SuZhou Industrial Park,
SuZhou China 215021
Tel: +86-512-62580888 Ext: 3300
Fax: +86-512-62586799
Wemmel Belgium
Tel: +32-2-456-8020
Fax: +32-2-456-8021
Macronix Offices : USA
Macronix (Hong Kong) Co., Limited,
Shenzhen Office
Macronix Asia Limited.
Macronix Offices : Singapore
Macronix Pte. Ltd.
1 Marine Parade Central, #11-03 Parkway Centre,
Macronix (Hong Kong) Co., Limited.
NKF Bldg. 5F, 1-2 Higashida-cho,
Kawasaki-ku Kawasaki-shi,
Kanagawa Pref. 210-0005, Japan
Tel: +81-44-246-9100
Fax: +81-44-246-9105
Room 1401 & 1404, Blcok A, TianAN Hi-Tech PLAZA Tower,
Che Gong Miao, FutianDistrict, Shenzhen PRC 518040
Tel: +86-755-83433579
Fax: +86-755-83438078
Macronix America, Inc.
680 North McCarthy Blvd. Milpitas, CA 95035,
U.S.A.
Tel: +1-408-262-8887
Fax: +1-408-262-8810
http : //www.macronix.com
MACRONIX INTERNATIONAL CO., LTD. reserves the right to change product and specifications without notice.
8