Page 2
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.
Additional ATA commands have been provided to enhance system performance. The host system can support as many cards as there are CompactFlash and PCMCIA Type II or III card slots. The original form factor CompactFlash Memory Cards require a PCMCIA Type II Adapter to be used in a PCMCIA Type II or Type III socket.
Introduction to the CompactFlash Memory Card 1.1. Scope This document describes the key features and specifications of CompactFlash Memory Cards, as well as the information required to interface this product to a host system. Retail CompactFlash specifications are not covered in this manual.
1-800-854-7179 1.6. Functional Description CompactFlash Memory Cards contain a high level, intelligent subsystem as shown in the block diagram, Figure 1-1. This intelligent (microprocessor) subsystem provides many capabilities not found in other types of memory cards. These capabilities include the following: •...
1.6.1. Technology Independence The 512-byte sector size of the CompactFlash Memory Card is the same as that in an IDE magnetic disk drive. To write or read a sector (or multiple sectors), the host computer software simply issues a Read or Write command to the CompactFlash Memory Card.
Note that the delay from command completion to entering sleep mode can be adjusted. When the host is ready to access the CompactFlash Memory Card and it is in sleep mode, any command is sued to the CompactFlash Card will cause it to exit sleep and respond.
Command to DRQ 50 msec maximum NOTE: The Sleep to Write and Sleep to Read times are the times it takes the CompactFlash Memory Card to exit sleep mode when any command is issued by the host to when the card is reading or writing. CompactFlash Memory Cards do not require a reset to exit sleep mode (see Section 1.7.5).
3. CompactFlash Memory Card Interface Description 3.1. Physical Description The host is connected to the CompactFlash Memory Card 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 Pin Type The signal/pin assignments are listed in Table 3-1.
CompactFlash Memory Card Interface Description 3.2. Electrical Description The CompactFlash Memory Card Series is optimized for operation with hosts, which support the PCMCIA I/O interface standard conforming to the PC Card ATA specification. However, the CompactFlash Card may also be configured to operate in systems that support only the memory interface standard.
Page 20
This is an I/O Read strobe generated by the host. This signal gates I/O data onto the (PC Card I/O Mode) bus from the CompactFlash Card when the card is configured to use the I/O interface. -IORD In True IDE Mode, this signal has the same function as in PC Card I/O Mode.
Page 21
RESET When the pin is high, this signal resets the CompactFlash Card. The card is Rese t (PC Card Memory Mode) only at power up if this pin is left high or open from power-up. The card is also reset when the Soft Reset bit in the Card Configuration Option Register is set.
Signal Name Dir. Description -VS1 Voltage Sense Signals. -VS1 is grounded so that the CompactFlash Card CIS can be -VS2 read at 3.3 volts and -VS2 is open and reserved by PCMCIA for a secondary voltage. (PC Card Memory Mode) -VS1 This signal is the same for all modes.
Vcc = 5.0V 500k NOTE: The minimum pullup resistor leakage current meets the PCMCIA specification of 10k ohms but is intentionally higher in the CompactFlash Memory Card Series product to reduce power use. 3.3.2. Input Characteristics Table 3-4. Input Characteristics...
1. The -REG signal timing is identical to address signal timing. 2. SanDisk CompactFlash Memory Cards do not assert the -WAIT Signal. NOTE: All timings measured at the CompactFlash Memory Card. Skews and delays from the system driver/receiver to the CompactFlash Memory Card must be accounted for by the system.
1. The -REG signal timing is identical to address signal timing. 2. SanDisk CompactFlash Memory Cards do not assert the -WAIT signal. NOTE: All timings measured at the CompactFlash Memory Card. Skews and delays from the system driver/receiver to the CompactFlash Memory Card must be accounted for by the system.
Card Enable Setup Time (CE) tELGL Card Enable Hold Time (CE) tGHEH 1. SanDisk CompactFlash Memory Cards do not assert the -WAIT signal. 3.3.8. Memory Timing Diagrams t c (R) t h (A) t a (A) A[10:0], -REG t a (CE)
Page 27
3. May be high or low for write timing, but restrictions on -OE from previous figures apply. 4. SanDisk CompactFlash Memory Cards do not assert the -WAIT signal. Figure 3-2. Common and Attribute Memory Write Timing Diagram ®...
D[15::0] All timings are measured at the CompactFlash Memory Card. Skews and delays from the host system driver/receiver to the CompactFlash Memory Card must be accounted for by the system design. D[15::0] signifies data provided by the CompactFlash Memory Card to the host system.
(IOWR) All timings are measured at the CompactFlash Memory Card. Skews and delays from the host system driver/receiver to the CompactFlash Memory Card must be accounted for by the system design. D[15::0] signifies data provided by the host system to the CompactFlash Memory Card.
Page 32
1. Device address consists of signals -CS0, -CS1 and -DA(2:0). 2. Data consists of DD(7:0). 3. SanDisk CompactFlash Memory Cards do not assert an -IORDY signal. 4. All signals are shown with the asserted condition facing the top of the page. The negated condition is shown towards the bottom of the page relative to the asserted condition.
Page 33
2. 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). 3. SanDisk CompactFlash Memory Cards do not assert an -IORDY signal. PIO Data Transfers Figure 3-6 defines the relationships between the interface signals for PIO data transfers.
In addition, these registers provide a method for accessing status information about the CompactFlash 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.
NOTE: The location of the card configuration registers should always be read from the CIS since these locations may vary in future products. No writes should be performed to the CompactFlash Memory Card attribute memory except to the card configuration register addresses. All other attribute memory lo cations are reserved.
Soft Reset—Setting this bit to one (1), waiting the minimum reset width time and returning to zero (0) places the CompactFlash Memory Card in the Reset state. Setting this bit to one (1) is equivalent to assertion of the +RESET signal except that the SRESET bit is not cleared. Returning this bit to zero (0) leaves the CompactFlash Memory Card in the same un-configured, Reset state as following power-up and hardware reset.
IOis8 The host sets this bit to a one (1) if the CompactFlash Memory Card is to be configured in an 8 bit I/O mode. The CompactFlash Card is always configured for both 8- and 16-bit I/O, so this bit is ignored.
CRdy/-Bsy. RWProt This bit is always zero (0) since the CompactFlash Memory Card does not have a Write Protect switch. When written, this bit acts as a mask for writing the corresponding bit CWProt.
3.5.1. I/O Function The I/O transfer to or from the CompactFlash Memory Card can be either 8 or 16 bits. When a 16-bit accessible port is addressed, the signal -IOIS16 is asserted by the CompactFlash Card. Otherwise, the -IOIS16 signal is de-asserted.
File and Data Register are allowed. In this mode, no Memory or Attribute Registers are accessible to the host. CompactFlash Cards permit 8 bit data accesses if the user issues a Set Feature Command to put the device in 8-bit Mode.
• Memory space. The communication to or from the CompactFlash Memory Card is done using the Task File registers, which provide all the necessary registers for control and status information. The PCMCIA interface connects peripherals to the host using four register mapping methods. Table 4-1 is a detailed description of these methods.
(even then odd) bytes from the data buffer. Byte accesses to register 9 access only the odd byte of the data. 3. Address lines that are not indicated are ignored by the CompactFlash Memory Card for accessing all the registers in this table.
ATA Drive Register Set Definition and Protocol 4.3. Memory Mapped Addressing When the CompactFlash Memory Card registers are accessed via memory references, the registers appear in the common memory space window: 0-2K bytes as shown in Table 4-4. Table 4-4. Memory Mapped Decoding...
4.5.1. Data Register (Address—1F0[170];Offset 0, 8, 9) The Data Register is a 16-bit register, and it is used to transfer data blocks between the CompactFlash Memory Card data buffer and the Host. This register overlaps the Error Register. The table below describes the combinations of data register access and is provided to assist in understanding the overlapped Data Register and Error/Feature Register rather than to attempt to define general PCMCIA word and byte access modes and operations.
This register contains the number of sectors of data requested to be transferred on a read or write operation between the host and the CompactFlash Memory Card. If the value in this register is zero, a count of 256 sectors is specified.
This bit will have the following meaning. DRV is the drive number. When DRV=0, drive (card) 0 is selected When DRV=1, drive (card) 1 is selected. The CompactFlash Card is set to be Card 0 or 1 using the copy field of the PCMCIA Socket &...
Bit 2 (SW Rst) This bit is set to 1 in order to force the CompactFlash Memory Card to perform an AT Disk controller Soft Reset operation. This does not change the PCMCIA Card Configuration Registers (4.3.2 to 4.3.5) as a hardware Reset does.
Address Space when a Floppy Disk Controller is located at the Primary addresses. 2. Do not install a Floppy and a CompactFlash Memory Card in the system at the same time. 3. Implement a socket adapter that can be programmed to (conditionally) tri-state D7 of I/0 address 3F7/377 when a CompactFlash Memory Card is installed and conversely to tri-state D6-D0 of I/O address 3F7/377 when a floppy controller is installed.
There are three classes (see Table 5-1) of command acceptance, all dependent on the host not issuing commands unless the CompactFlash Card is not busy. (The BUSY bit in the status and alternate status registers is 0.) •...
Feature (1) This command checks the power mode. If the CompactFlash Memory Card is in, going to, or recovering from the sleep mode, the CompactFlash Card sets BSY, sets the Sector Count Register to 00h, clears BSY and generates an interrupt.
Sec Cnt (2) Feature (1) This command performs the internal diagnostic tests implemented by the CompactFlash Memory Card. The Diagnostic codes shown in Table 5-4 are returned in the Error Register at the end of the command. Table 5-4. Diagnostic Codes...
Write Sector(s) command although the information in the buffer is not used by the CompactFlash Card. If LBA=1 then the number of sectors to format is taken from the Sec Cnt register (0=256).
This field contains the number of sectors per track in the default translation mode. 5.1.5.7. Words 7-8: Number of Sectors per Card This field contains the number of sectors per CompactFlash Memory Card. This double word value is also the first invalid address in LBA translation mode.
00H, which indicates that R/W Multiple commands are not valid. The only other value returned by the CompactFlash Memory Card in the even byte is a 01H value, which indicates that 1 sector per interrupt, can be transferred in R/W Multiple mode.
Feature (1) This command causes the CompactFlash Memory Card to set BSY, enter the Idle (Read) mode, clear BSY and generate an interrupt. If the sector count is non-zero, it is interpreted as a timer count with each count being 5 milliseconds and the automatic power down mode is enabled.
NOTE: SanDisk recommends NOT using this command in any system because DOS determines the offset to the Boot Record based on the number of heads and sectors per track. If a CompactFlash Memory Card is “Formatted” with one head and sector per track value, the same CompactFlash Card will not operate correctly with DOS configured with another heads and sectors per track value.
Sector Count Feature (1) NOTE: The current revision of the CompactFlash Memory Card only supports a block count of 1 as indicated in the Identify Drive Information command. This command is provided for compatibility with future products that may support a larger block count.
The transfer begins at the sector specified in the Sector Number Register. When this command is issued and after each sector of data (except the last one) has been read by the host, the CompactFlash Memory Card sets BSY, puts the sector of data in the buffer, sets DRQ, clears BSY, and generates an interrupt.
Feature (1) This command is effectively a NOP command to the CompactFlash Memory Card and is provided for compatibility purposes. After this command is executed the Cyl High and Cyl Low as well as the Head number will be 0 and Sec Num will be 1 if LBA=0 and 0 if LBA=1 (i.e., the first block in LBA is 0 while CHS mode the sector number starts...
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 CompactFlash Card following the command that returned an error.
This command is used by the host to establish or select certain features. Table 5-22 defines all features that are supported. Please note that the 9AH feature is unique to the CompactFlash Memory Card and are not part of the ATA Specification.
Where “nnn” is a valid mode number in binary, “x” is the mode number in decimal for the associated transfer type, and “d” is ignored. Features 55H and BBH are the default features for the CompactFlash Memory Card; thus, the host does not have to issue this command with these features unless it is necessary for compatibility reasons.
Sec Cnt (2) Feature (1) This command causes the CompactFlash Memory Card to set BSY, enter the Sleep mode, clear BSY and generate an interrupt. Recovery from sleep mode is accomplished by simply issuing another command (a reset is permitted but not required).
Sec Cnt (2) Feature (1) This command causes the CompactFlash Memory 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 (a reset is not required).
Feature (1) This command is effectively a NOP command and only implemented for backward compatibility with earlier SanDisk SDP series products. The Sector Count Register will always be returned with an 00H indicating Wear Level is not needed. 5.1.24. Write Buffer—E8H Table 5-30.
Sector Count Feature (1) NOTE: The current revision of the CompactFlash Memory Card only supports a block count of 1 as indicated in the Identify Drive Command information. This command is provided for compatibility with future products that may support a larger block count.
256 sectors. The transfer begins at the sector specified in the Sector Number Register. When this command is accepted, the CompactFlash Memory Card sets BSY, then sets DRQ and clears BSY, then waits for the host to fill the sector buffer with the data to be written. No interrupt is generated to start the first buffer fill operation. No data should be transferred by the host until BSY has been cleared by the host.
256 sectors. The transfer begins at the sector specified in the Sector Number Register. When this command is accepted, the CompactFlash Memory Card sets BSY, then sets DRQ and clears BSY, then waits for the host to fill the sector buffer with the data to be written. No interrupt is generated to start the first buffer fill operation. No data should be transferred by the host until BSY has been cleared by the host.
6. CIS Description This section describes the Card Information Structure (CIS) for the CompactFlash Memory Card. Table 6-1. Card Information Structure Attribute Data Description of Contents CIS Function Offset 000h CISTPL_DEVICE Device Info Tuple Tuple Code 002h Link is 4 bytes...
To order SanDisk products directly from SanDisk, call 408 -542-0595. CompactFlash Memory Card Evaluation Kit The CompactFlash Memory Card Evaluation Kit (Model SDCFEV-01) permits designers to quickly and easily evaluate the CompactFlash Card. The CompactFlash Memory Card Evaluation Kit (Model SDCFEV-01) includes the following items: •...
Page 88
Table A-2 lists PC card reader/writers that are compatible with the SanDisk CompactFlash Memory Card when used with a passive Type II adapter. These reader/writers can be installed in desktop PCs to enable the CompactFlash Memory Card to be used in those systems. The CompactFlash Memory Card will operate in any of these reader/writers when used with a passive Type II adapter.
Internet users can obtain technical support and product information along with SanDisk news and much more from the SanDisk Worldwide Web Site, 24 hours a day, seven days a week. The SanDisk Worldwide Web Site is frequently updated. Visit this site often to obtain the most up-to-date information on SanDisk products and applications.
All failing products returned to SanDisk under the provisions of this limited warranty shall be tested to the product’s functional and performance specifications. Upon confirmation of failure, each product will be analyzed, by whatever means necessary, to determine the root cause of failure.
Page 94
Limited Warranty SanDisk may, at its discretion, ship repaired or rebuilt products identified in the same way as new products, provided such cards meet or exceed the same published specifications as new products. Concurrently, SanDisk also reserves the right to market any products, whether new, repaired, or rebuilt, under different specifications and product designations if such products do not meet the original product’s specifications.