Common Flash interface (CFI)
M58BW016DT, M58BW016DB, M58BW016FT, M58BW016FB
Appendix A
Common Flash interface (CFI)
The common Flash interface is a JEDEC approved, standardized data structure that can be
read from the Flash memory device. It allows a system software to query the device to
determine various electrical and timing parameters, density information and functions
supported by the memory. The system can interface easily with the device, enabling the
software to upgrade itself when necessary.
When the CFI Query command (RCFI) is issued the device enters CFI query mode and the
data structure is read from the memory. Table 26, Table 27, Table 28, Table 29 and Table 30
show the addresses used to retrieve the data.
Table 26. Query structure overview
Offset
Sub-section name
Description
Manufacturer code
00h
01h
10h
1Bh
27h
Device code
CFI Query identification string
System interface information
Device geometry definition
Command set ID and algorithm data offset
Device timing and voltage information
Flash memory layout
Primary algorithm-specific extended query
table
Additional information specific to the primary
algorithm (optional)
(1)
P(h)
Alternate algorithm-specific extended query Additional information specific to the
table alternate algorithm (optional)
(2)
A(h)
1. Offset 15h defines P which points to the primary algorithm extended query address table.
2. Offset 19h defines A which points to the alternate algorithm extended query address table.
Table 27. CFI - query address and data output(1)(2)
Address A0-A18
Data
Instruction
10h
11h
12h
13h
14h
15h
16h
17h
18h
19h
1Ah
51h
52h
59h
"Q"
"R"
"Y"
51h;‘Q’
Query ASCII String 52h;‘R’
59h; ‘Y’
03h
00h
35h
00h
00h
00h
00h
00h
Primary vendor:
Command set and control interface ID code
Primary algorithm extended query address table:
P(h)
Alternate vendor:
Command Set and Control interface ID code
Alternate algorithm extended query address table
1. The x 8 or byte address and the x 16 or word address mode are not available.
2. Query data are always presented on DQ7-DQ0. DQ31-DQ8 are set to '0'.
56/70