25538A1 [ETC]
Migrating from Single-byte to Three-byte Device IDs ; 从单字节迁移到三字节设备ID\n型号: | 25538A1 |
厂家: | ETC |
描述: | Migrating from Single-byte to Three-byte Device IDs
|
文件: | 总6页 (文件大小:97K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
Migrating from Single-byte to Three-
byte Device IDs
Application Note
-XO\ꢀꢁꢂꢂꢃ
7KHꢀIROORZLQJꢀGRFXPHQWꢀUHIHUVꢀWRꢀ6SDQVLRQꢀPHPRU\ꢀSURGXFWVꢀWKDWꢀDUHꢀQRZꢀRIIHUHGꢀE\ꢀERWKꢀ$GYDQFHG
0LFURꢀ'HYLFHVꢀDQGꢀ)XMLWVXꢄꢀ$OWKRXJKꢀWKHꢀGRFXPHQWꢀLVꢀPDUNHGꢀZLWKꢀWKHꢀQDPHꢀRIꢀWKHꢀFRPSDQ\ꢀWKDWꢀRULJꢅ
LQDOO\ꢀGHYHORSHGꢀWKHꢀVSHFLILFDWLRQꢆꢀWKHVHꢀSURGXFWVꢀZLOOꢀEHꢀRIIHUHGꢀWRꢀFXVWRPHUVꢀRIꢀERWKꢀ$0'ꢀDQG
)XMLWVXꢄ
Continuity of Specifications
7KHUHꢀLVꢀQRꢀFKDQJHꢀWRꢀWKLVꢀGRFXPHQWꢀDVꢀDꢀUHVXOWꢀRIꢀRIIHULQJꢀWKHꢀGHYLFHꢀDVꢀDꢀ6SDQVLRQꢀSURGXFWꢄꢀꢀ$Q\
FKDQJHVꢀWKDWꢀKDYHꢀEHHQꢀPDGHꢀDUHꢀWKHꢀUHVXOWꢀRIꢀQRUPDOꢀGRFXPHQWDWLRQꢀLPSURYHPHQWVꢀDQGꢀDUHꢀQRWHG
LQꢀWKHꢀGRFXPHQWꢀUHYLVLRQꢀVXPPDU\ꢆꢀZKHUHꢀVXSSRUWHGꢄꢀꢀ)XWXUHꢀURXWLQHꢀUHYLVLRQVꢀZLOOꢀRFFXUꢀZKHQꢀDSSURꢅ
SULDWHꢆꢀDQGꢀFKDQJHVꢀZLOOꢀEHꢀQRWHGꢀLQꢀDꢀUHYLVLRQꢀVXPPDU\ꢄ
Continuity of Ordering Part Numbers
$0'ꢀDQGꢀ)XMLWVXꢀFRQWLQXHꢀWRꢀVXSSRUWꢀH[LVWLQJꢀSDUWꢀQXPEHUVꢀEHJLQQLQJꢀZLWKꢀ³$P´ꢀDQGꢀ³0%0´ꢄꢀ7RꢀRUGHU
WKHVHꢀSURGXFWVꢆꢀSOHDVHꢀXVHꢀRQO\ꢀWKHꢀ2UGHULQJꢀ3DUWꢀ1XPEHUVꢀOLVWHGꢀLQꢀWKLVꢀGRFXPHQWꢄ
For More Information
3OHDVHꢀFRQWDFWꢀ\RXUꢀORFDOꢀ$0'ꢀRUꢀ)XMLWVXꢀVDOHVꢀRIILFHꢀIRUꢀDGGLWLRQDOꢀLQIRUPDWLRQꢀDERXWꢀ6SDQVLRQ
PHPRU\ꢀVROXWLRQVꢄ
Publication Number 25538 Revision A Amendment +1 Issue Date November 8, 2001
Migrating from Single-byte to Three-byte
Device IDs
Application Note
Introduction
Device Codes on Older Devices
This document describes the device driver changes
necessary in order to migrate from single-byte device
IDs to three-byte device IDs. Device IDs in AMD Flash
devices are accessible either via a software command
sequence or through a high-voltage hardware method.
Because AMD has utilized all possible single-byte de-
vice codes, new devices will utilize a new three-byte
device ID changes affect customers using the
Am29BDS643D, Am29PDS322D, Am29DL640D, and
Am29PL320D devices. Specifically, device driver
changes are required in order to uniquely identify de-
vices utilizing three-byte device IDs. Future product
migrations, including those for MirrorBit devices, will
also utilize the three-byte device ID.
High-Voltage Hardware Method
The "High-Voltage Method" provides a hardware
method of reading device codes on AMD Flash de-
vices. To implement the High-Voltage Method in previ-
ous AMD devices, control pins must be held at a
specified state and voltage V is applied at Address
ID
Pin A9. Using the High-Voltage Method, address pins
A6, A1, and A0 can be used to switch in between read-
ing the Manufacturer ID, Device ID, Sector Protection
Verification, and the SecSi Sector Indicator Bit. With
A1 held low, A0 held high, A6 held low, and V on A9,
ID
the device code is read on the least significant eight
bits of the databus. Table 1 illustrates the hardware
settings for Device ID using the High-Voltage Method.
The illustration is based on the Am29LV641DH/L, an
example using a 16-bit data bus.
Table 1. Manufacturer and Device ID
A21:
A10
A8:
A7
A5:
A2
DQ15:
DQ0
Description
CE# OE# WE#
A9
A6
A1
A0
Device ID: Am29LV641D
L
L
H
X
V
X
L
X
L
H
22D7h
ID
Note: V = 8.5 to 12.5 V
ID
Software Command Sequence
sequence accesses the autoselect mode; where BA is
the bank address and X is don’t care.
The manufacturer and device codes for AMD devices
may also be read via the autoselect command se-
quence. The autoselect command sequence is initi-
ated by first writing two unlock cycles. This is followed
by a third write cycle that contains the bank address
and the autoselect command. The bank then enters
Bus-cycle
Address
X555
Data
AA
55
1
2
3
1
X2AA
2
(BA) X555
90
the autoselect mode. The following, typical bus-cycle
The system may read at any address within the same
bank any number of times without initiating another au-
toselect command sequence. Previously, AMD device
codes consisted of a unique single-byte combination
3
read at address 01h within the autoselect mode. For
example, the command definition for reading the de-
vice ID from the Am29LV010B (3.0 V, 1 Mbit, uniform
1. For AMD devices offering Simultaneous Read/Write functionality, the bank
address bits identify the bank from which the device code will be read and uti-
lizes the top few bits of the address bus. For devices with only one bank, it is
unnecessary to include the bank address in the command sequence.
3. Address 02h is used in devices utilizing the A-1 line during addressing. For
example, byte-wide databus mode on x8/x16 devices utilizes the A-1 line.
Likewise, word-wide databus mode on x16/x32 devices also utilizes the A-1
line.
2. While most previous AMD devices follow this sequence, a few exception
devices differ slightly. Please consult datasheet for device-specific informa-
tion.
Publication# 25538 Rev: A Amendment/+1
Issue Date: November 8, 2001
sector device), including the autoselect command se-
quence, is as follows:
Migrating to Three-byte Device Codes
High-Voltage Hardware Method
Bus-cycle
Address
555
Data
AA
55
For devices utilizing a three-byte device code, the de-
vice code may still be read via the high-voltage
method, but requires three separate reads in order to
uniquely identify the device. In addition, the reads now
require logic applied to the A3 and A0 pins, in addition
to the other device pins. Holding A3:A1 low, A0 high,
1
2
3
4
2AA
555
90
X01
6E
A6 low, and A9 at V reads the first byte of the device
ID
ID. The second byte is read by holding A3:A1 high, A0
In this example, 6Eh is the device code for the device.
Note that the bank address is not needed for this de-
vice, because it does not offer multiple banks (Simulta-
neous Read/Write).
low, A6 low, and A9 at V . The third byte of the device
ID
code is read by holding A3:A0 high, A6 low, and A9 at
V . Table 2 describes the high-voltage method for
ID
reading the device ID for the Am29PL320D device.
Table 2. High-Voltage Method
A19:
A10
A8:
A7
A5:
A4
DQ7:
DQ0
Description
Device ID Read 1
Device ID Read 2
CE#
L
OE# WE#
A9
A6
L
A3
L
A2
L
A1
L
A0
H
L
L
H
H
X
X
V
V
X
X
X
X
7Eh
03h
ID
ID
L
L
H
H
H
L
00h
(bottom
boot); 01h
(top boot)
Device ID Read 3
L
L
H
X
V
X
L
X
H
H
H
H
ID
Note: V = 8.5 to 12.5 V
ID
Software Command Sequence
For example, the command definition for reading the
device code from the Am29DL640D (64 Mbit, 8 M x 8-
bit/4 M x 16-bit device) in word-mode is as follows
(where BA is the Bank Address and X is don’t care):
For devices utilizing a three-byte device ID, the device
code may still be read via the autoselect command se-
quence, but will require three-sequential read cycles in
order to uniquely distinguish the device. The three
read cycles are read at addresses 01h, 0Eh, and 0Fh,
Bus-cycle
Address
555
Data
AA
55
4
1
2
3
4
5
6
respectively. For a device utilizing the A-1 line , the
three read cycles are read at addresses 02h, 1Ch, and
1Eh. The device code 7Eh read during the first read
cycle (where the single-byte device code was read in
previous devices) now indicates that two additional
read cycles are required to completely identify the de-
vice.
2AA
(BA) 555
(BA) X01
(BA) X0E
(BA) X0F
90
7E
02
01
4. See footnote 2 on page 1.
2
Migrating from Single-byte to Three-byte Device IDs
Likewise, the command definition for reading the
Am29DL640D in byte-mode is as follows:
Flash Device
Device ID
7E 12 01 (H, L)
Am29LV256M -
MirrorBit™
Bus-
cycle
Address
AAA
Data
AA
55
Am29BDS323D D1
95 (T); 96 (B)
Am29DS163D
Am29DS323D
Am29DL400B
Am29DL800B
Am29DL161D
Am29DL162D
Am29DL163D
Am29DL164D
Am29DL322D
Am29DL323D
Am29DL324D
Am29SL800C
Am29SL160C
Am29LV200B
Am29LV400B
Am29LV800B
1
2
3
4
5
6
B7 (T); B8 (B)
0C (T); 0F (B)
4A (T); CB (B)
36 (T); 39 (B)
2D (T); 2E (B)
28 (T); 2B (B)
33 (T); 35 (B)
55 (T); 56 (B)
50 (T); 53 (B)
5C (T); 5F (B)
EA (T); 6B (B)
E4 (T); E7 (B)
3B (T); BF (B)
B9 (T); BA (B)
DA (T); 5B (B)
555
(BA) AAA
(BA) X02
(BA) X1C
(BA) X1E
90
7E
02
01
Required Modifications
For devices utilizing a three-byte device ID, using only
the first read cycle of the device ID-in either the high-
voltage hardware method or in the software command
sequence-will not completely identify the device. Con-
sequently, customers utilizing the Am29BDS643D,
Am29PDS322D, Am29DL640D, and Am29PL320D
devices must update any software drivers utilizing the
software command sequence in order to reflect the up-
dated device codes. In addition, customers planning to
migrate to MirrorBit or future AMD devices should also
update any drivers as needed. Programmers utilizing
the High-Voltage Method should also update any driv-
ers as needed.
Am29LV160B/
Am29LV160D
C4 (T); 49 (B)
Am29LV320D
Am29LV001B
Am29LV002B
Am29LV004B
Am29LV008B
Am29LV116D
Am29LV010B
Am29LV040B
Am29LV081B
Am29LV017D
Am29LV033C
F6 (T); F9 (B)
ED (T); 6D (B)
40 (T); C2 (B)
B5 (T); B6 (B)
3E (T); 37 (B)
C7 (T); 4C (B)
6E
Device ID Reference Table
Table 3 summarizes device ID combinations for AMD
Flash devices. Please refer to the datasheets posted
on www.amd.com for complete, up-to-date descrip-
tions of device codes for all AMD devices:
4F
Table 3. AMD Flash Device IDs
38
Flash Device
Device ID
C8
Am29BDS643D 7E 02 00
A3
Am29PDS322D 7E 06 01 (T); 7E 06 00 (B)
Am29LV065D/
Am29LV652D/
Am29LV065GU
Am29DL640D
Am29PL320D
7E 02 01
93
7E 03 01 (T); 7E 03 00 (B)
Am29LV640D/
Am29LV641D/
Am29LV641GH/ D7
Am29LV641GL/
7E 0E 01(T); 7E 0E 00 (B); 7E 0C 00
(H, L)
Am29LV640G
Am29LV641G
7E 0F 01 (T); 7E 0F 00 (B)
Am29LV640GU
Am29LV065M -
MirrorBit™
7E 13 00 (U)
Am29F002B/
B0 (T); 34 (B)
Am29F002NB
Am29F004B
Am29F200B
Am29F400B
Am29F800B
Am29F160D
Am29LV640M -
MirrorBit™
7E 10 01 (T); 7E 10 00 (B); 7E 0C 01
(H, L); 7E 13 01 (U)
77 (T); 7B (B)
51 (T); 57 (B)
23 (T); AB (B)
D6 (T); 58 (B)
D2 (T) D8 (B)
Am29LV641M -
MirrorBit™
7E 11 01 (T); 7E 11 00 (B); 7E 13 01
(H, L)
Am29LV128M -
MirrorBit™
7E 12 00 (H, L)
Migrating from Single-byte to Three-byte Device IDs
3
Flash Device
Am29F010B
Am29F040B
Am29F080B
Am29F016D
Am29F017D
Am29F032B
Am29BL802C
Device ID
Flash Device
Am29BL162C
Am29PL160C
Device ID
20
A4
D5
AD
3D
41
81
03
45
B = Bottom Boot Device, T = Top Boot Device, U = Uniform
Sector Device (no WP#), H = Uniform Sector Device (highest
address sector protected), L = Uniform Sector Device (lowest
address sector protected)
4
Migrating from Single-byte to Three-byte Device IDs
REVISION SUMMARY
Revision A+1 (November 8, 2001)
Global
Revision A (September 25, 2001)
Deleted references to manufacturer ID.
Initial release.
Trademarks
Copyright © 2001 Advanced Micro Devices, Inc. All rights reserved.
AMD, the AMD logo, and combinations thereof are registered trademarks of Advanced Micro Devices, Inc.
Product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
Migrating from Single-byte to Three-byte Device IDs
5
相关型号:
©2020 ICPDF网 联系我们和版权申明