CompactFlash
TM
Memory Card
Product Manual
®
C
ORPORATE
H
EADQUARTERS
140 Caspian Court
Sunnyvale, CA 94089
408-542-0500
FAX: 408-542-0503
URL: http://www.sandisk.com
SanDisk
®
Corporation general policy does not recommend the use of its products in life support applications where in a
failure or malfunction of the product may directly threaten life or injury. Per SanDisk Terms and Conditions of Sale, the
user of SanDisk products in life support applications assumes all risk of such use and indemnifies SanDisk against all
damages.
The information in this manual is subject to change without notice.
SanDisk Corporation shall not be liable for technical or editorial errors or omissions contained herein; nor for incidental or
consequential damages resulting from the furnishing, performance, or use of this material.
All parts of the SanDisk CompactFlash Memory Card documentation are protected by copyright law and all rights are
reserved. This documentation may not, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to
any electronic medium or machine readable form without prior consent, in writing, from SanDisk Corporation.
SanDisk and the SanDisk logo are registered trademarks of SanDisk Corporation. ImageMate, CompactFlash and CF are
trademarks of SanDisk Corporation.
Product names mentioned herein are for identification purposes only and may be trademarks and/or registered trademarks
of their respective companies.
© 2000 SanDisk Corporation. All rights reserved.
The SanDisk CompactFlash Memory Card is covered or licensed under one or more of the following U.S. Patent Nos.
5,070,032; 5,095,344; 5,168,465; 5,172,338; 5,198,380; 5,200,959; 5,268,318; 5,268,870; 5,272,669; 5,418,752;
5,602,987. Other U.S. and foreign patents awarded and pending.
Lit. No. 20-10-00038 Rev. 7 4/2000
Printed in U.S.A.
Revision History
• Revisions before Rev. 5—initial release and general changes.
• Revision 5—general editorial changes, CF Type II information added, new higher capacities products added, some
lower capacities removed, new card reader/writer vendor added.
• Revision 6—added new 256 Mbit technology products, general and editorial changes.
• Revision 7—changes to Translate Sector command (page 73) and Device Control Register Enable bit (page 53).
2
SanDisk CompactFlash Memory Card Product Manual Rev. 7 © 2000 SANDISK CORPORATION
CompactFlash Memory Card Product Manual
Table of Contents
1.0
Introduction to the CompactFlash Memory Card.....................................................................7
1.1
1.2
1.3
1.4
1.5
1.6
1.7
Scope............................................................................................................................... 8
Product Models................................................................................................................. 8
System Features ............................................................................................................... 9
PCMCIA Standard........................................................................................................... 9
CompactFlash Specification ............................................................................................ 9
Related Documentation .................................................................................................... 9
Functional Description ..................................................................................................... 9
1.7.1 Flash Technology Independence.......................................................................... 10
1.7.2 Defect and Error Management............................................................................. 10
1.7.3
Endurance ......................................................................................................... 10
1.7.4
Wear Leveling ................................................................................................... 10
1.7.5 Using the Erase Sector and Write without Erase Commands................................. 10
1.7.6 Automatic Sleep Mode ....................................................................................... 11
1.7.7 Dynamic Adjustment of Performance versus Power Consumption ........................... 11
1.7.8 Power Supply Requirements................................................................................ 11
2.0 Product Specifications ...........................................................................................................12
2.1
2.2
2.3
2.4
2.5
2.6
System Environmental Specifications ............................................................................. 12
System Power Requirements............................................................................................ 12
System Performance ....................................................................................................... 13
System Reliability and Maintenance .............................................................................. 13
Physical Specifications.................................................................................................. 14
Capacity Specifications................................................................................................. 18
3.0
Installation .............................................................................................................................19
3.1
Mounting........................................................................................................................ 19
4.0
CompactFlash Memory Card Interface Description...............................................................20
4.1
4.2
4.3
Physical Description...................................................................................................... 20
4.1.1 Pin Assignments and Pin Type ............................................................................. 20
Electrical Description .................................................................................................... 20
Electrical Specification.................................................................................................. 27
4.3.1 Input Leakage Current ........................................................................................ 27
4.3.2
Input Characteristics ......................................................................................... 27
4.3.3 Output Drive Type ............................................................................................. 28
4.3.4 Output Drive Characteristics ............................................................................. 28
4.3.5
Interface/Bus Timing.......................................................................................... 29
4.3.6
Attribute Memory Read Timing Specification ..................................................... 29
4.3.7
Attribute Memory Write Timing Specification .................................................... 30
4.3.8 Common Memory Read Timing Specification....................................................... 31
4.3.9
Common Memory Write Timing Specification...................................................... 32
4.3.10 I/O Input (Read) Timing Specification................................................................ 33
4.3.11 I/O Output (Write) Timing Specification............................................................ 34
4.3.12 True IDE Mode I/O Input (Read) Timing Specification......................................... 35
4.3.13 True IDE Mode I/O Output (Write) Timing Specification..................................... 36
Card Configuration ........................................................................................................ 37
4.4
SanDisk CompactFlash Memory Card Product Manual Rev. 7 © 2000 SANDISK CORPORATION
3
CompactFlash Memory Card Product Manual
Table of Contents
(continued)
4.4.1 Attribute Memory Function ................................................................................. 38
4.4.2 Configuration Option Register (Address 200h in Attribute Memory)..................... 39
4.4.3
Card Configuration and Status Register (Address 202h in Attribute Memory) ....... 39
4.4.4
Pin Replacement Register (Address 204h in Attribute Memory)............................ 40
4.4.5
Socket and Copy Register (Address 206h in Attribute Memory) ............................ 41
I/O Transfer Function ..................................................................................................... 42
4.5.1 I/O Function....................................................................................................... 42
Common Memory Transfer Function ................................................................................. 43
4.6.1
Common Memory Function................................................................................... 43
True IDE Mode I/O Transfer Function .............................................................................. 44
4.7.1 True IDE Mode I/O Function................................................................................ 44
4.5
4.6
4.7
5.0
ATA Drive Register Set Definition and Protocol ...................................................................45
5.1
5.2
5.3
5.4
5.5
I/O Primary and Secondary Address Configurations........................................................ 46
Contiguous I/O Mapped Addressing................................................................................ 47
Memory Mapped Addressing .......................................................................................... 48
True IDE Mode Addressing.............................................................................................. 49
ATA Registers................................................................................................................ 50
5.5.1 Data Register (Address - 1F0[170]; Offset 0,8,9)................................................... 50
5.5.2 Error Register (Address - 1F1[171]; Offset 1, 0Dh Read Only)............................... 51
5.5.3 Feature Register (Address - 1F1[171]; Offset 1, 0Dh Write Only).......................... 51
5.5.4 Sector Count Register (Address - 1F2[172]; Offset 2) ............................................. 51
5.5.5 Sector Number (LBA 7-0) Register (Address - 1F3[173]; Offset 3).......................... 51
5.5.6 Cylinder Low (LBA 15-8) Register (Address - 1F4[174]; Offset 4) ......................... 51
5.5.7 Cylinder High (LBA 23-16) Register (Address - 1F5[175]; Offset 5)...................... 51
5.5.8 Drive/Head (LBA 27-24) Register (Address 1F6[176]; Offset 6)............................ 52
5.5.9 Status & Alternate Status Registers (Address 1F7[177]&3F6[376]; Offsets 7 & Eh) 53
5.5.10 Device Control Register (Address - 3F6[376]; Offset Eh)....................................... 53
5.5.11 Card (Drive) Address Register (Address 3F7[377]; Offset Fh) .............................. 54
6.0
ATA Command Description ..................................................................................................55
6.1
ATA Command Set......................................................................................................... 55
6.1.1 Check Power Mode - 98H, E5H............................................................................ 57
6.1.2 Execute Drive Diagnostic - 90H........................................................................... 57
6.1.3 Erase Sector(s) - C0H.......................................................................................... 58
6.1.4
Format Track - 50H ............................................................................................ 59
6.1.5 Identify Drive - ECH ......................................................................................... 59
6.1.5.1
General Configuration......................................................................... 61
6.1.5.2
Default Number of Cylinders.............................................................. 61
6.1.5.3
Default Number of Heads.................................................................... 61
6.1.5.4
Number of Unformatted Bytes per Track .............................................. 61
6.1.5.5
Number of Unformatted Bytes per Sector.............................................. 61
6.1.5.6
Default Number of Sectors per Track.................................................... 61
6.1.5.7
Number of Sectors per Card.................................................................. 61
6.1.5.8
Memory Card Serial Number ............................................................... 61
6.1.5.9
Buffer Type......................................................................................... 61
6.1.5.10 Buffer Size.......................................................................................... 61
6.1.5.11 ECC Count........................................................................................... 61
4
SanDisk CompactFlash Memory Card Product Manual Rev. 7 © 2000 SANDISK CORPORATION
CompactFlash Memory Card Product Manual
Table of Contents
(continued)
6.1.5.12 Firmware Revision.............................................................................. 61
6.1.5.13 Model Number .................................................................................... 61
6.1.5.14 Read/Write Multiple Sector Count ...................................................... 62
6.1.5.15 Double Word Support .......................................................................... 62
6.1.5.16 Capabilities ....................................................................................... 62
6.1.5.17 PIO Data Transfer Cycle Timing Mode................................................. 62
6.1.5.18 DMA Data Transfer Cycle Timing Mode............................................... 62
6.1.5.19 Translation Parameters Valid............................................................. 62
6.1.5.20 Current Number of Cylinders, Heads, Sectors/Track ............................. 62
6.1.5.21 Current Capacity ................................................................................ 62
6.1.5.22 Multiple Sector Setting ....................................................................... 62
6.1.5.23 Total Sectors Addressable in LBA Mode............................................... 62
6.1.6 Idle - 97H, E3H .................................................................................................. 63
6.1.7 Idle Immediate - 95H, E1H................................................................................. 63
6.1.8 Initialize Drive Parameters - 91H ...................................................................... 64
6.1.9
Read Buffer - E4H.............................................................................................. 64
6.1.10 Read Multiple - C4H.......................................................................................... 65
6.1.11 Read Long Sector - 22H, 23H............................................................................... 66
6.1.12 Read Sector(s) - 20H, 21H................................................................................... 66
6.1.13 Read Verify Sector(s) - 40H, 41H........................................................................ 67
6.1.14 Recalibrate - 1XH .............................................................................................. 67
6.1.15 Request Sense - 03H ............................................................................................ 68
6.1.16 Seek - 7XH......................................................................................................... 69
6.1.17 Set Features - EFH ............................................................................................. 69
6.1.18 Set Multiple Mode - C6H.................................................................................... 71
6.1.19 Set Sleep Mode- 99H, E6H.................................................................................. 71
6.1.20 Standby - 96H, E2H............................................................................................ 72
6.1.21 Standby Immediate - 94H, E0H .......................................................................... 72
6.1.22 Translate Sector - 87H........................................................................................ 73
6.1.23 Wear Level - F5H .............................................................................................. 74
6.1.24 Write Buffer - E8H............................................................................................. 74
6.1.25 Write Long Sector - 32H, 33H.............................................................................. 75
6.1.26 Write Multiple Command - C5H......................................................................... 75
6.1.27 Write Multiple without Erase - CDH ................................................................. 76
6.1.28 Write Sector(s) - 30H, 31H ................................................................................. 77
6.1.29 Write Sector(s) without Erase - 38H ................................................................... 77
6.1.30 Write Verify Sector(s) - 3CH.............................................................................. 78
Error Posting .................................................................................................................. 79
6.2
7.0 CIS Description.....................................................................................................................81
Ordering Information and Technical Support .................................................................................97
Ordering Information .............................................................................................................. 99
CompactFlash Memory Card.......................................................................................... 99
SanDisk ImageMate™ CompactFlash Drive.................................................................. 99
CompactFlash Memory Card Evaluation Kit .................................................................. 99
System Software, Card Reader/Writers and Connectors
Compatible with the SanDisk CompactFlash Memory Cards ........................................100
Technical Support Services.....................................................................................................104
SanDisk CompactFlash Memory Card Product Manual Rev. 7 © 2000 SANDISK CORPORATION
5