Page 3
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.
CF slot, and with a Type II PCMCIA adapter can be used in any system that has a PCMCIA Type II or Type III socket. CompactFlash Memory cards use SanDisk Flash memory, which was designed by SanDisk specifically for use in mass storage applications. In addition to the mass storage-specific flash memory chips, CompactFlash Memory cards include an on-card intelligent controller that provides a high level interface to the host computer.
Retail CompactFlash specifications are not covered in this manual. CompactFlash Standard SanDisk CompactFlash Memory cards are fully compatible with the CompactFlash Specification published by the CompactFlash Association. Contact the CompactFlash Association for more information.
SanDisk CompactFlash Card OEM Product Manual PCMCIA Standard SanDisk CompactFlash Memory cards are fully electrically compatible with the PCMCIA specifications listed below: • PCMCIA PC Card Standard, 7.0, February 1999 • PCMCIA PC Card ATA Specification, 7.0, February 1999 These specifications may be obtained from: PCMCIA 2635 N.
Page 10
In other words, systems that support CompactFlash Memory cards now, will be able to access future SanDisk cards built with new flash technology without having to update or change host software.
1.7.5 Automatic Sleep Mode A unique feature of the SanDisk CompactFlash Memory Card is automatic entrance and exit from sleep mode. Upon completion of a command, the card will enter sleep mode to conserve power if no further commands are received within 5 msec. The host does not have to take any action for this to occur.
SanDisk CompactFlash Card OEM Product Manual System Performance All performance timings assume the CompactFlash Memory Card Series controller is in the default (i.e., fastest) mode. Table 2-3 Performance CompactFlash Memory Card Start-up Times Sleep to Write Sleep to Read Reset to Ready...
Interface Description CHAPTER 3 Physical Description The host connects to SanDisk CompactFlash Memory cards using a standard 50-pin connector consisting of two rows of 25 female contacts each on 50 mil (1.27 mm) centers. 3.1.1 Pin Assignments and Types The signal/pin assignments are listed in Table 3-1. Low active signals have a "-" prefix. Pin types are Input, Output or Input/Output.
Page 20
-CD2 True IDE Mode Pin Assigments are contained in Table 3-3. Table 3-3 True IDE Mode Pin Assignments Signal Name -CS0 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Pin Type I/O Type Pin No. – Ground I1Z,OZ3 I1Z,OZ3...
Table 3-4 describes the I/O signals. Signals whose source is the host are designated as inputs while signals that the card sources are outputs. SanDisk CompactFlash Memory Card logic levels conform to those specified in Section 3.3 of the PCMCIA Release 2.1 Specification.
Page 22
Interface Description The SanDisk CompactFlash Memory Card signals are described in Table 3-4. Table 3-4 Signal Description Signal Name A10-A0 (PC Card Memory Mode) (PC Card I/O Mode) A2-A0 (True IDE Mode) A10-A3 (True IDE Mode) BVD1 (PC Card Memory Mode)
Page 23
SanDisk CompactFlash Card OEM Product Manual Table 3-4 Signal Description Signal Name -CSEL (True IDE Mode) D15-D00 (PC Card Memory Mode) (PC Card I/O Mode) D15-D00 (True IDE Mode) (PC Card Memory Mode) (PC Card I/O Mode ) (True IDE Mode )
Page 24
(PC Card Memory Mode) -REG (PC Card I/O Mode ) 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Dir. The I/O write strobe pulse is used to clock I/O data on the Card Data bus into the card controller registers when the card is configured to use the I/O interface.
Page 25
SanDisk CompactFlash Card OEM Product Manual Table 3-4 Signal Description Signal Name -DMACK (True IDE Mode ) RESET (PC Card Memory Mode) (PC Card I/O Mode) -RESET (True IDE Mode) (PC Card Memory Mode) (PC Card I/O Mode ) (True IDE Mode )
10k ohms but is intentionally higher in the CompactFlash Memory Card Series product to reduce power use. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Dir. I/O Operation–When the card is configured for I/O Operation, pin 24 is used for the -I/O Selected is 16 Bit Port (-IOIS16) function.
Page 27
SanDisk CompactFlash Card OEM Product Manual Table 3-6 defines the input characteristics of the parameters in Table 3-5. Table 3-6 Input Characteristics Type Parameter Input Voltage CMOS Input Voltage CMOS Input Voltage CMOS Schmitt Trigger 3.3.2 Output Drive Type and Characteristics In Table 3-7 "x"...
Page 28
"linear waveform," its rising and falling time must be met by this specification. Figure 3-1 Power Up/Power Down Timing for Systems supporting RESET 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Symbol Condition Vi (CE) 0V <V...
Page 29
SanDisk CompactFlash Card OEM Product Manual Figure 3-2 Power Up/Power Down Timing for Systems not supporting RESET Always Hi-z from system -CE1, -CE2 3.3.4 Common Memory Read Timing Table 3-10 contains common memory read timing specifications for all types of memory.
Page 30
The write timing specifications for Common and Attribute memory are the same. All timings measured at the CompactFlash Memory Card. Skews and delays from the system driver/receiver to the card must be accounted for by the system : SanDisk CompactFlash Memory cards do not assert the -WAIT NOTE signal.
Page 31
SanDisk CompactFlash Card OEM Product Manual 3.3.6 Attribute Memory Read Timing Specification Table 3-12 contains common memory write timing specifications for all types of memory. : SanDisk CompactFlash Memory cards do not assert the -WAIT NOTE signal. Table 3-12 Attribute Memory Read Timing Specification...
Page 33
D[15::0] signifies data provided by the card to the host system. NOTE Table 3-13 contains the read input timing specifications. : SanDisk CompactFlash Memory cards do ont assert a -WAIT signal. NOTE Table 3-13 I/O Read (Input) Timing Specification...
Page 34
CompactFlash Memory Card must be accounted for by the system design. D[15::0] signifies data provided by the host system to the CompactFlash NOTE Memory Card. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Symbol IEEE Symbol IOIS16(ADR) AVISL IOIS16(ADR)
Page 35
In Figure 3-7, all signals shown with the asserted condition facing the top of the page. The negated condition is shown toward the bottom of the page relative to the asserted condi tion. : SanDisk CompactFlash Memory cards do not assert an -IORDY NOTE signal.
Page 36
This parameter specifies the time from the negation edge of /IORD to the time that the data bus is no longer driven by the device (tri-state). 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual PIO Timing Parameters Cycle time (min.) Address valid to IORD-/IOWR- setup (min.)
Page 37
SanDisk CompactFlash Card OEM Product Manual • PIO Data Transfers Figure 3-8 defines the relationships between the interface signals for PIO data transfers. For PIO Modes 3 and above, the minimum value of t IDENTIFY DEVICE parameter list. Table 3-16 defines the minimum value that will be placed in Word 68.
(tri-state). Card Configuration SanDisk CompactFlash Memory cards are identified by appropriate information in the Card Information Structure (CIS). The configuration registers are used to coordinate the I/O spaces and the interrupt level of cards that are located in the system.
Page 39
SanDisk CompactFlash Card OEM Product Manual In addition, these registers provide a method for accessing status information about the card that may be used to arbitrate between multiple interrupt sources on the same interrupt level or to replace status information that appears on dedicated pins in memory cards that have alternate use in I/O cards.
Page 41
SanDisk CompactFlash Card OEM Product Manual 3.4.2 Configuration Option Register (Address 200h in Attribute Memory) The Configuration Option Register is used to configure the card’s interface, address decoding and interrupt and to issue a soft reset to the CompactFlash Memory Card.
Page 42
MRdy/-Bsy RWProt MWProt 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Description Indicates that one or both of the Pin Replacement Register CRdy, or CWProt bits are set to "1". When the Changed bit is set, -STSCHG Pin 46 is held low if the SigChg bit is a "1"...
The following sections provide valuable information for the I/O Transfer function. 3.5.1 Common Memory Function The Common Memory transfer to or from SanDisk CompactFlash memory cards can be either 8 or 16 bits. The card permits both 8- and 16-bit accesses to all of its Common Memory addresses.
3.6.1 True IDE Mode I/O Function SanDisk CompactFlash Memory cards can be configured in a True IDE Mode of operation. Cards are configured in this mode only when the -OE input signal is grounded by the host when power is applied to the cards. In this True IDE Mode, the PCMCIA protocol and configuration are disabled and only I/O operations to the Task File and Data Register are allowed.
ATA Register Set and Protocol CHAPTER 4 SanDisk CompactFlash Memory cards can be configured as a high performance I/O device through the following ways: • Standard PC-AT disk I/O address spaces 1F0h-1F7h, 3F6h-3F7h (primary); 170h-177h, 376h-377h (secondary) with IRQ 14 (or other available IRQ).
8 then 9 will access consecutive (even then odd) bytes from the data buffer. Byte accesses to register 9 access only the odd byte of the data. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Offset Even RD Data...
SanDisk CompactFlash Card OEM Product Manual Memory Mapped Addressing When CompactFlash Memory Card registers are accessed via memory references, they appear in the common memory space window: 0-2K bytes as shown in Table 4-4. Table 4-4 Memory Mapped Decoding -REG a.
NOTE are not defined for word (-CE2 = 0 and -CE1 = 0) operations. SanDisk products treat these accesses as accesses to the Word Data Register. The duplicated registers at offsets 8, 9 and Dh have no restrictions on the operations that can be performed by the socket.
Page 49
SanDisk CompactFlash Card OEM Product Manual Table 4-6 Data Register Data Register Error/Feature Register Error/Feature Register 4.5.2 Error Register (Address–1F1[171]; Offset 1, 0Dh Read Only) This register contains additional information about the source of an error when an error is indicated in bit 0 of the Status Register.
Page 50
The Drive/Head Register is used to select the drive and head. It is also used to select LBA addressing instead of cylinder/head/sector addressing. The bits are defined as follows: Name 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Description Bit set to 1. LBA is a flag to select either Cylinder/Head/Sector (CHS) or Logical Block Address Mode (LBA).
Page 51
SanDisk CompactFlash Card OEM Product Manual 4.5.9 Status & Alternate Status Registers (Address–1F7[177]&3F6[376]; Offsets 7 & These registers return the card status when read by the host. Reading the Status Register clears a pending interrupt while reading the Auxiliary Status Register does not. The meaning of the...
Page 52
I/O space because of potential conflicts on Bit 7. The bits are defined as follows: -WTG 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Description Don’t care. Don’t care. Don’t care.
If the CompactFlash Card is in, going to, or recovering from the sleep mode, it sets BSY, sets the Sector Count Register to 00h, clears BSY and generates an interrupt. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Command Code...
Page 57
SanDisk CompactFlash Card OEM Product Manual If the card is in Idle mode, it sets BSY, sets the Sector Count Register to FFh, clears BSY and generates an interrupt. Table 5-2 Check Power Mode Command (7) C/D/H (6) Cyl High (5)
SanDisk CompactFlash Card OEM Product Manual 5.1.5 Identify Device–ECH The Identify Drive command enables the host to receive parameter information from a CompactFlash Memory Card. This command has the same protocol as the Read Sector(s) command. The parameter words in the buffer have the arrangement and meanings defined in Table 5-8.
Page 60
Identify Device Information Word Address 57-58 60-61 69-79 92-127 128-159 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Default Value Total Bytes 0200h PIO data transfer cycle timing mode 0000h Single word DMA data transfer cycle timing mode (not supported) 0003h...
Page 61
Address 165-175 176-255 a. Multiword DMA is supported by SanDisk PCMCIA. For all unsupported cases, 0100H is reported in word 49, and 0000H is reported in words 52, 63, and 65. CompactFlash products will support multi- word. Word 0: General Configuration. This field informs the host that this is a non-magnetic, hard sectored, removable storage device with a transfer rate greater than 10 Mb/sec and is not MFM encoded.
Page 62
Word 49: Capabilities. This field indicates if this product supports DMA Data transfers and LBA mode. All SanDisk products support LBA mode. Word 51: PIO Data Transfer Cycle Timing Mode. To determine the proper device timing category, compare the Cycle Time specified in Table 3-15 with the contents of this field with Table 3-14.
Page 63
SanDisk CompactFlash Card OEM Product Manual ATA Command Description Word 53: Translation Parameters Valid. Bit 0 of this field is set, indicating that words 54 to 58 are valid and reflect the current number of cylinders, heads and sectors. Bit 1 is also set, indicating values in words 64 through 70 are valid.
Page 64
CompactFlash cards prior to ATA-4 and will be interpreted by the host as meaning that features/command sets enabled are not indicated. Bits 1 through 15 of word 86 are reserved. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Indication SMART feature set not supported...
Page 65
SanDisk CompactFlash Card OEM Product Manual Bits 0-13 of word 87 are reserved. Bit 14 of word 87 will be set to one and bit 15 of word 87 will be cleared to zero to provide indication that the features/command sets enabled words are valid.
Page 66
Indicates the current True IDE Multiword DMA Mode Selected on the card. Value • Bits 15-12: Reserved 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Maximum PIO Mode Timing Supported Specified in Word 64 PIO Mode 5 PIO Mode 6...
Page 67
SanDisk CompactFlash Card OEM Product Manual Word 164: CF Advanced PCMCIA I/O and Memory Timing Mode Capabilities and Set- tings. This word describes the capabilities and current settings for CFA defined advanced timing modes using the Memory and PCMCIA I/O interface.
This command enables the host to set the number of sectors per track and the number of heads per cylinder. Only the Sector Count and the Card/Drive/Head registers are used by this command. : SanDisk recommends not using this command in any system because NOTE DOS determines the offset to the Boot Record based on the number of heads and sectors per track.
SanDisk CompactFlash Card OEM Product Manual 5.1.9 Read Buffer–E4H The Read Buffer command enables the host to read the current contents of the card's sector buffer. This command has the same protocol as the Read Sector(s) command. Table 5-16 Read Buffer...
Subsequent blocks or partial blocks are transferred only if the error was a correctable data error. All other errors cause the command to stop after transfer of the block that contained the error. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Drive Cylinder High (LBA 23-16) Cylinder Low (LBA 15-8)
SanDisk CompactFlash Card OEM Product Manual 5.1.12 Read Long Sector–22H, 23H The Read Long command performs similarly to the Read Sector(s) command except that it returns 516 bytes of data instead of 512 bytes. During a Read Long command, the card does not check the ECC bytes to determine if there has been a data error.
Cyl High (5) Cyl Low (4) Sec Num (3) Sec Cnt (2) Feature (1) 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual 40H or 41H Drive Cylinder High (LBA 23-16) Cylinder Low (LBA 15-8) Sector Number (LBA 7-0) Sector Count...
Page 73
SanDisk CompactFlash Card OEM Product Manual Table 5-24 defines the valid extended error codes for the CompactFlash Memory Card Series product. The extended error code is returned to the host in the Error Register. This command must be the next command issued to the card following the command that returned an error.
Features 01H and 81H are used to enable and clear 8-bit data transfer mode. If the 01H feature command is issued, all data transfers will occur on the low order D7-D0 data bus and the IOIS16 signal will not be asserted for data register accesses. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Drive Config Feature...
The 9AH Feature is accepted for backward compatibility with the SDP Series but has no impact on the card. SanDisk does not recommend the use of this command in new designs. Features 66H and CCH can be used to enable and disable whether the Power On Reset (POR) Defaults will be set when a soft reset occurs.
SanDisk CompactFlash Card OEM Product Manual 5.1.21 Standby–96H, E2H This command causes the card to set BSY, enter the Sleep mode (which corresponds to the ATA "Standby" Mode), clear BSY and return the interrupt immediately. Recovery from sleep mode is accomplished by simply issuing another command (reset is not required).
ATA Command Description Table 5-33 represents the information in the buffer. This command is unique to SanDisk CompactFlash Memory cards. Table 5-33 Translate Sector Information Address Head 01-02 Cylinder Sector 04-07 Chip 09-0A Block Page 0C-1FF Reserved 5.1.24 Wear Level–F5H This command is effectively a NOP command and only implemented for backward compatibility with earlier SanDisk SDP series products.
Page 79
SanDisk CompactFlash Card OEM Product Manual 5.1.26 Write DMA Command–CAH, CBH The Write DMA command in Table 5 33 executes in a similar manner to WRITE SECTOR(S) except for the following: • The host initialised the DMA channel prior to issuing the command.
Page 80
8 sectors is issued and an error occurs on the third sector. The Sector Count Register contains 6 and the address is that of the third sector. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Drive Cylinder High...
SanDisk CompactFlash Card OEM Product Manual 5.1.29 Write Multiple without Erase–CDH SanDisk does not recommend the use of this command in new designs but it is supported as a normal Write Sectors command for backward compatibility reasons. Table 5-39 Write Multiple w/out Erase...
Page 82
ATA Command Description 5.1.31 Write Sector(s) without Erase–38H SanDisk does not recommend the use of this command in new designs but it is supported as a normal Write Sectors command for backward compatibility reasons. Table 5-41 Write Sector(s) w/out Erase...
SanDisk CompactFlash Card OEM Product Manual Error Posting Table 5-43 summarizes the valid status and error value for all the ATA command set. Table 5-43 Error and Status Register Command Check Power Mode Execute Drive Diagnostic Erase Sector(s) Format Track...
Page 88
074h 076h 078h 07Ah 07Ch 07Eh 080h 082h 084h 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual Disk Function Extension Tuple Type Interface Type Code CISTPL_FUNCE Disk Function Extension Tuple Type CISTPL_CONF Content Description Function Extension Tuple Extension describes the Interface...
Page 102
014h 166h 000h 168h 0FFh a. Legacy CompactFlash products may report "SunDisk" as the ASCII manufacture string. 02/07, Rev. 12.0 SanDisk CompactFlash Card OEM Product Manual CISTPL_NO_LINK No Bytes following End of Tuple Chain 6-18 Content Description Function Prevent scan of...
Ordering Information Appendix A SanDisk CompactFlash Memory Card To order SanDisk products directly from SanDisk, call (408) 801-1000. Part Number SDCFJ-128-388 SDCFJ-256-388 SDCFJ-512-388 SDCFJ-1024-388 SDCFJ-2048-388 SDCFJ-4096-388 SDCFH-1024-388 SDCFH-2048-388 SDCFH-4096-388 SDCFH-8192-388 SDCFH-16384-388 SDCFX3-2048-388 SDCFX3-4096-388 SDCFX3-8192-388 SDCFX3-12288-388 SDCFX3-16384-388 1. 1 megabyte (MB) = 1 million bytes; 1 gigabyte (GB) = 1 billion bytes. Some of the listed capacity is used for formatting and other functions, and thus is not available for data storage.
III. WHAT THIS WARRANTY COVERS For products found to be defective within one year of purchase, SanDisk will have the option of repairing or replacing the defective product, if the following conditions are met: A.
Page 106
SanDisk reserves the right to repair or replace, at its discretion, any product returned by its customers, even if such product is not covered under warranty, but is under no obligation to do...
Need help?
Do you have a question about the CompactFlash Extreme III and is the answer not in the manual?
Questions and answers