Industrial Grade CF Card -3XX/-3XX-P1/-3XX-WP1 Series Product Manual Corporate Headquarters Suite C, 15/F, Capital Trade Center 62 Tsun Yip Street, Kwun Tong Kowloon, Hong Kong
The information in this manual is believed to be accurate at the time of publication but is subject to change without notice. Cactus Technologies® Limited 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.
Table of Contents 1.Introduction to Cactus Technologies® Industrial Grade CF -3XX/-3XX-P1/-3XX-WP1 Series Products.................1 1.1.Supported Standards...................................................................................................................................2 1.2.Product Features.........................................................................................................................................2 1.2.1.Host and Technology Independence..........................
5.S.M.A.R.T Feature Set...............................................................................................................................................27 5.1.SMART Enable Operations......................................................................................................................28 5.2.SMART Disable Operations.....................................................................................................................28 5.3.SMART Enable/Disable Attribute Autosave....
1.Introduction to Cactus Technologies® Industrial Grade CF -3XX/-3XX-P1/-3XX-WP1 Series Products Features: • Solid state design with no moving parts • Industry standard CF Type I form factor • Supports TrueIDE Mode • Supports ATA PIO Modes 0-6 in TrueIDE Mode • Supports MultiWord DMA Modes 0-4 in TrueIDE Mode • Supports UDMA Modes 0-4 in TrueIDE Mode • Supports ATA S.M.A.R.T.
1.1. Supported Standards Cactus Technologies® CompactFlash Memory Cards are fully electrically compatible with the following specifications: • • • • PCMCIA PC Card Standard v2.1 PCMCIA PC Card ATA Specification CompactFlash Specification 4.1 ATA Specification published by ANSI: X3.221 AT Attachment Interface for Disk Drives 1.2. Product Features Cactus Technologies® Industrial Compact Flash Cards contain a high level, intelligent controller.
These defect and error management systems, coupled with the solid-state construction, give Cactus Technologies® Industrial CF cards unparalleled reliability. 1.2.3. Intelligent Power Management Cactus Technologies® Industrial CF cards employ sophisticated power management algorithms to conserve power. Upon completion of a command, the card will automatically enter sleep mode if no further commands are received.
2.Product Specifications For all the following specifications, values are defined at ambient temperature and nominal supply voltage unless otherwise stated. 2.1. System Environmental Specifications Table 2-1.
2.3. System Performance All performance numbers are typical values assuming the card controller is in the default (i.e., fastest) mode. Table 2-3. Performance Start Up Times Reset to ready: 35 msec typical Read Transfer Rate up to 35.0 Mbytes/sec * Write Transfer Rate up to 20.0 Mbytes/sec * * Please note that for maximum performance in TrueIDE UDMA modes, proper termination and PCB layout guidelines as described in the ATA specifications must be followed to minimize signal integrity problems.
Figure 2-1. CompactFlash Memory Card Dimensions ________________________________________________________________________________________________________ Cactus Technologies Limited Industrial Grade Compact Flash -3XX/-3XX-P1/-3XX-WP1 Series Product Manual v2.
Figure 2-2. CompactFlash Memory Card w/Write Protect switch Dimensions ________________________________________________________________________________________________________ Cactus Technologies Limited Industrial Grade Compact Flash -3XX/-3XX-P1/-3XX-WP1 Series Product Manual v2.
________________________________________________________________________________________________________ Cactus Technologies Limited Industrial Grade Compact Flash -3XX/-3XX-P1/-3XX-WP1 Series Product Manual v2.
2.6. Capacity Specifications Cactus Technologies® offers CompactFlash products in the following capacities: 32M*, 64M*, 128M, 256M, 512M, 1G, 2G, 4G, 8G, 16G and 32G Note: Minimum capacity is 128MB. For customers with legacy systems that can only accept 32MB or 64MB, we can manufacture these capacities by downsizing 128M cards.
3.Interface Description The following sections provide detailed information on the Cactus Technologies® Industrial CompactFlash card interface. 3.1. CF Pin Assignments and Pin Type The signal/pin assignments are listed in Table 3-6. Low active signals have a “-” prefix. Pin types are Input, Output or Input/Output. Sections 3.3.1 to 3.3.4 define the DC characteristics for all input and output type structures. Table 3-6.
PC Card Memory Mode 39 -CSEL I 40 -VS2 O 41 RESET I 39 40 41 42 -WAIT O 42 43 44 45 46 47 48 49 50 -INPACK -REG BVD2 BVD1 D081 D091 D101 GND O I I/O I/O I/O I/O I/O 43 44 45 46 47 48 49 50 PC Card I/O Mode -CSEL -VS2 RESET I O I 39 40 41 -WAIT O 42 -INPACK -REG -SPKR -STSCHG D081 D091 D101 GND O I I/O I/O I/O I/O I/O 43 44 45 46 47 48 49 50 True IDE Mode -CSEL -VS2 -RESET IORDY -DDMARDY5 DSTROBE6 DMARQ -DMACK -DASP -PDIAG D081 D091 D101 GND I O I O O I I/O I/O I/O I/O I/O NOTE: 1.
Signal Name -PDIAG (True IDE Mode) Dir. Description In the True IDE Mode, this input/output is the Pass Diagnostic signal in the Master/Slave handshake protocol. BVD2 (CF Card Memory Mode) I/O This output line is always driven to a high state in Memory Mode since a battery is not required for this product. -SPKR (CF Card I/O Mode) This output line is always driven to a high state in I/O Mode since this product does not support the audio function.
Signal Name Dir. -IORD (True IDE Mode, UDMA not active) -HDMARDY (TrueIDE Mode, UDMA read) HSTROBE (TrueIDE Mode, UDMA write) -IOWR (CF Card Memory Mode) Description In True IDE Mode, when UDMA protocol is not active, this signal has the same function as in CF Card I/O Mode. In TrueIDE Mode, when UDMA read protocol is active, this signal is asserted by the host to indicate that it is ready to receive data-in bursts.
Signal Name Dir. -VS1 -VS2 (CF Card Memory Mode) -VS1 -VS2 (CF Card I/O Mode) -VS1 -VS2 (True IDE Mode) -WAIT (CF Card Memory Mode) -WAIT (CF Card I/O Mode) O This signal is the same for all modes. This signal is the same for all modes. O In TrueIDE Mode, when UDMA protocol is not active, this signal is driven by the device to extend the I/O cycle in progress.
3.3.2. DC Characteristics Parameter Symbol MIN MAX Units Vin Vout -0.5 -0.3 Vcc + 0.5 Vcc + 0.3 V V ILI ILO -10 -10 10 10 uA uA 10 pF mA Input Voltage Output Voltage Input Leakage Current Output Leakage Current Input/Output Capacitance Operating Current Sleep Mode 1GB or below: 2GB or above: Active 1GB or below: 2GB or above: 3.3.3. CI/Co ICC 0.3 0.6 120 280 AC Characteristics Cactus Technolgies® CF Cards meet all the timing requirements as specified in CompactFlash Specification 3.
Table 3-9.
Operation R/W D7 SRESET D6 LevlREQ D5 Conf5 D4 Conf4 D3 Conf3 D2 Conf2 D1 Conf1 D0 Conf0 SRESET 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.
PwrDwn This bit indicates whether the host requests the CompactFlash Memory Card to be in the power saving or active mode. When the bit is one (1), the CompactFlash Card enters a power down mode. When zero (0), the host is requesting the CompactFlash Card to enter the active mode. The PC Card Rdy/-Bsy value becomes BUSY when this bit is changed. Rdy/-Bsy will not become Ready until the power state requested has been entered.
Table 3-15. Socket and Copy Register Organization Operation D7 D6 D5 D4 D3 D2 D1 D0 Read Write Reserved 0 0 0 0 0 Drive # Drive # (0) 0 X 0 X 0 X 0 X Reserved Drive # X This bit is reserved for future standardization. This bit must be set to zero (0) by the software when the register is written. This bit indicates the drive number of the card if twin card configuration is supported. The socket number is ignored by the CompactFlash Memory Card. 3.5.
Function Code Odd Byte Read Only (8 bits) -REG H -CE2 L -CE1 H A0 X -OE L -WE H D15-D8 Odd-Byte D7-D0 High Z Odd Byte Write Only (8 bits) H L H X H L Odd-Byte Do not care 3.7. True IDE Mode I/O Transfer Function The CompactFlash card can be configured in a True IDE Mode of operation. This CompactFlash card is configured in this mode only when the -OE input signal is grounded by the host when power is applied to the card.
Table 4-19. I/O Configurations Standard Configurations Config Index 0 IO or Memory Memory Address Drive # Description 0-F, 400-7FF 0 Memory Mapped 1 2 I/O I/O XX0-XXF 1F0-1F7, 3F6-3F7 0 0 I/O Mapped 16 Contiguous Registers Primary I/O Mapped Drive 0 2 3 I/O I/O 1F0-1F7, 3F6-3F7 170-177, 376-377 1 0 Primary I/O Mapped Drive 1 Secondary I/O Mapped Drive 0 3 I/O 170-177, 376-377 1 Secondary I/O Mapped Drive 1 4.1. I/O Primary and Secondary Address Configurations Table 4-20.
-REG 0 A3 0 A2 1 A1 1 A0 0 Offset 6 -IORD=0 Select Card/Head -IOWR=0 Select Card/Head Notes 0 0 0 1 1 0 1 0 1 0 7 8 Status Dup Even RD Data Command Dup. Even WR Data 2 0 0 1 1 0 1 0 0 1 1 9 D Dup. Odd RD Data Dup. Error Dup. Odd WR Data Dup. Features 2 2 0 0 1 1 1 1 1 1 0 1 E F Alt Status Drive Address Device Ctl Reserved NOTES: 1.
-REG 1 A10 1 A9-A4 X A3 X A2 X A1 X A0 0 Offset 8 -OE=0 Even RD Data -WE=0 Even WR Data Notes 3 1 1 X X X X 1 9 Odd RD Data Odd WR Data 3 NOTES: 1. Register 0 is accessed with -CE1 low and -CE2 low as a word register on the combined Odd Data Bus and Even Data Bus (D15-D0). This register may also be accessed by a pair of byte accesses to the offset 0 with -CE1 low and -CE2 high.
4.5. ATA Registers NOTE: In accordance with the PCMCIA specification: each of the registers below which is located at an odd offset address may be accessed at its normal address and also the corresponding even address (normal address -1) using data bus lines (D15-D8) when -CE1 is high and -CE2 is low unless -IOIS16 is high (not asserted) and an I/O cycle is being performed. 4.5.1.
4.5.3. Feature Register (Address—1F1[171]; Offset 1, 0Dh Write Only This register provides information regarding features of the CF card that the host can utilize. This register is also accessed on data bits D15-D8 during a write operation to Offset 0 with -CE2 low and -CE1 high (except in True IDE Mode operation). 4.5.4.
Bit 4 (DRV) 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. In PCMCIA Mode operation, Card 0 or 1 is selected using the copy field of the PC Card Socket and Copy configuration register. When operating in the Cylinder, Head, Sector mode, this is bit 3 of the head number. It is Bit 27 in the Logical Block Address mode. When operating in the Cylinder, Head, Sector mode, this is bit 2 of the head number.
Bit 2 (SW Rst) This bit is set to 1 in order to force the card to perform an AT Disk controller Soft Reset operation. This does not change the PC Card Configuration Registers (4.3.2 to 4.3.5) as a hardware Reset does. The card remains in Reset until this bit is reset to '0'. Bit 1 (-IEn) The Interrupt Enable bit enables interrupts when the bit is 0. When the bit is 1, interrupts from the card are disabled. This bit also controls the Int bit in the Configuration and Status Register.
Value Command D8h SMART enable operations D9h SMART disable operations DAh SMART return status The following sections describes these commands in detail. 5.1. SMART Enable Operations This command enables access to the SMART features of the Cactus Technologies® -3XX series Compact Flash devices. For this command to take effect, the following signature bytes must be loaded: Cylinder Low – 4Fh Cylinder High - C2h The state of SMART (enabled/disabled) is preserved across power cycles. 5.2.
5.4. SMART Read Data For this command to take effect, the following signature bytes must be loaded: Cylinder Low – 4Fh Cylinder High – C2h This command returns one sector of SMART data.
5.4.1. Spare Block Count Attribute This attribute gives information about the amount of available spare blocks.
5.4.3. Total ECC Error Attribute This attribute gives information about the total number of ECC errors on flash read commands. The data structure of this attribute is as follows: Offset Value Description 0 203 Attribute ID 1–2 0002h Flags – Advisory type, attribute is updated during normal operation 3 64h Attribute value – fixed at 100 4–7 Total number of ECC errors, correctable and uncorrectable 8 – 11 -- 5.4.4.
5.4.6. Total Number of Reads Attribute This attribute gives information about the total number of flash read commands. The data structure of this attribute is as follows: Offset Value Description 0 232 Attribute ID 1–2 0002h Flags – Advisory type, attribute is updated during normal operation 3 64h Attribute value – fixed at 100 4 – 11 Total number of flash read commands 5.5.
5.5.2. Erase Count Attribute Threshold Offset Value Description 0 229 Attribute ID 1 2 - 11 5.5.3. Erase count attribute threshold defined during low level format 00h Reserved Total ECC Errors Attribute Threshold Offset Value Description 0 203 Attribute ID 1 00h None defined 2 - 11 00h Reserved 5.5.4. Correctable ECC Errors Attribute Threshold Offset Value Description 0 204 Attribute ID 1 00h None defined 2 - 11 00h Reserved 5.5.5.
Offset Value Description 1 00h None defined 2 - 11 00h Reserved 5.6. SMART Return Status For this command to take effect, the following signature bytes must be loaded: Cylinder Low – 4Fh Cylinder High – C2h This commands checks the health of the device.
6. -3XX-P1/-3XX-WP1 Firmware Specifications The following sections describe in detail the enhanced firmware features available only in the Cactus Technologies® -3XX-P1 and -3XX-WP1 series Compact Flash devices. 6.1. CTLock™ The CTLock™ feature allows a Cactus Technologies® flash card/drive to be locked to a specific host.
CTLock™ is a PIO Data Out command. Upon issuing the command and receiving a data ready status from the drive, the host will send over 1 sector (512bytes) of data. The format of this data is as follows: byte Description 00-31 zeroes 32-64 Lock code 65-511 zeroes If this command is issued with Bit 0 of Feature Reg. set, the drive will enable the VS Lock mode.
Bit 11 (lock) Bit 10 (enable) Description 0 0 CTLock is disabled 0 1 CTLock is enabled, drive is unlocked 1 1 CTLock is enabled, drive is locked 6.2. CTPurge™ This feature allows the host to issue a single command and erase all the content of the flash card/drive. There are various options available to control how thoroughly the erasure is to be carried out, so that it can meet various published standards.
The Opcode field is partitioned into groups of 2 bits each with the following definitions: bit[7:6] These two bits determine how many sequences to perform. The coding is as follows: 00 1 sequence 01 2 sequences 10 3 sequences 11 reserved bit[5:4] These two bits determine the type of operation to be performed for sequence 3.
Operation USA Navy NAVSO P-5239-26 Opcode Parameter 1 Parameter 2 Count 0x45 0x00 0x00 0x00 0x42 Character 0x00 0x00 0x49 Character 0x00 0x00 0x02 Character 0x00 0x00 0xb9 Character Complement of Character 0x00 0x9e Character Complement of Character 0x00 0x8e 0x55 0xAA 0x00 Erase and overwrite with random data, then erase and overwrite with random data again DoD 5220.
Register 7 6 5 4 3 2 Cylinder High Number of failed blocks bits [15:8] Cylinder Low Number of failed blocks bits [23:16] Drive/Head 0 0 0 Status drive 1 0 Number of failed blocks bits [27:24] 50h 6.2.4. Time and Power Requirements The time required to perform a CTPurge™ operation depends on the capacity of the drive and the type of purge operation that is being performed. The host should ensure that power to the card/drive is maintained for the entire duration during the purge process.
also be used to enable the write protect function. The software write protect command also has a password feature, which provides protection against unintentional modification of the write protect status. The write protect mode is checked by the firmware only during power up time; any changes to the write protect mode after that is ignored .
15 Go to WP Permanent state No effect No effect No effect 22 Go to WP w/ password state No effect No effect No effect 23 No effect Go to Normal state Password correct => go to Normal state No effect Password incorrect => return error The current Write Protect status is reported in Identify Drive data word 129, bit 8. It write protection is enabled, bit 8 is set to '1', otherwise, it is '0'. 7.
02Ah 21h 02Ch 02Eh 02h 04h 030h 01h 032h 22h 034h 036h 02h 01h 038h 03Ah 01h 22h 03Ch 03Eh 03h 02h Disk Function Extension Tuple Type 040h 04h R R R R U S V 0 0 0 0 0 1 0 R I E N 0 0 0 0 042h 07h 044h 1Ah 046h 05h 048h 01h CISTPL_FUNCID Function ID Tuple Tuple Code Function Type Code Link length is 2 bytes Disk Function Link to next tuple Function Code R R R R R R 0 0 0 0 0 0 CISTPL_FUNCE R P Attempt installation at Post P: Install at POST R: R
056h 058h 05Ah 05Ch C0h C0h A1h 27h I D Configuration Index 1 1 0 W R P B Interface Type 1 1 0 0 0 M MS IR IO T P 1 1 0 0 0 1 LV NV R DI PI AI SI HV 0 0 1 0 0 1 1 1 Memory Mapped I/O Configuration Configuration Index for this entry is 0. Interface Byte follows this byte. Default Configuration, so is not dependent on previous Default Configuration.
072h 074h 01h 21h M MS IR IO T P 0 0 0 0 0 1 R DI PI AI SI H LV NV 0 0 1 0 0 0 0 076h B5h X 1 078h 1Eh X 0 07Ah 4Dh X 0 07Ch 1Bh 07Eh 0Dh 080h C1h 082h 084h 086h 41h 99h 27h Mantissa 6h = 3.0 1 Exponent 5h = 1 1Eh Mantissa Exponent 9h = 4.
090h 092h 64h F0h 09Ah 1Bh 09Ch 06h 09Eh 01h 0A0h 0A2h 01h 21h R S E IO AddeLines 0 1 1 4 S P L M V B I N 1 1 1 1 0 0 0 0 CISTPL_CE I D Configuration Index 0 0 1 M MS IR IO T P 0 0 0 0 0 1 LV N V R DI PI AI SI HV 0 0 1 0 0 0 Supports both 8 and 16 bit I/O hosts. 4 Address lines and no range so 16 registers and host must do all selection decoding.
0B2h 0B4h 99h 27h M MS IR IO T P 1 0 1 1 0 1 R DI PI AI SI HV LV NV 0 0 1 0 0 1 1 1 Vcc Only Power Description; No Timing; I/O and IRQ present; No Mem Space; Misc Entry present P:Power info type T:No Timing info present IO:I/O port info present IR:Interrupt info present MS:No Mem space info M:Misc info byte(s) present TPCE_FS Nominal Voltage Follows NV:Nominal Voltage LV:Mimimum Voltage HB:Maximum Voltage SI:No Static Current info AI:No Average Current info PI:Peak Current DI:
0CEh 0D0h EEh 21h 0D2h 1Bh 0D4h 06h 0D6h 02h 0D8h 01h S P L M Recommend IRQ Level 1 1 1 0 Eh = 14 X R P RO A T 0 0 1 0 0 1 CISTPL_CE I D Configuration Index 0 0 2 M MS IR IO T P 0 0 0 0 0 1 PI AI SI HV LV NV 1 0 0 0DAh 21h R DI 0 0 0DCh B5h X 1 0DEh 1Eh X 0 0E0h 4Dh X 0 0E2h 1Bh 0E4h 12h 0E6h C3h 0E8h 41h 0 Mantissa 6h = 3.0 0 TPCE_IR Power-Down, and Twin Card.
0EAh 0ECh 99h 27h M MS IR IO T P 1 0 1 1 0 1 R DI PI AI SI HV LV NV 0 0 1 0 0 1 1 1 Vcc Only Power Descriptors; No Timing; I/O and IRQ present; No Mem Space; Misc Entry Present.
106h 108h EEh 21h 10Ah 1Bh 10Ch 06h 10Eh 03h 110h 112h 01h 21h S P L M Recommend IRQ Level 1 1 1 0 Eh = 14 X R P RO A T 0 0 1 0 0 1 CISTPL_CE IRQ Sharing Logic Active in Card Control and Status Register, Pulse and Level Mode Interrupts supported, Recommended IRQ's any of 0 through 15(F) S:Share Logic Active P:Pulse Mode IRQ Supported L:Level Mode IRQ Supported M:Bit Mask of IRQs Not Present M=0 so bits 3-0 are single level, binary encoded TPCE_IR Power-Down, and Twin C
134h 030h 0 136h 030h 0 138h 030h 0 13Ah 030h 0 13Ch 030h 0 13Eh 030h 0 140h 030h 0 142h 030h 0 144h 000h Null Terminator 146h 022h “ 148h 043h C 14Ah 061h a 14Ch 063h c 14Eh 074h t 150h 075h u 152h 073h s 154h 020h ‘space’ 156h 04Bh K 158h 043h C 15Ah 033h 3 15Ch 030h 0 15Eh 033h 3 160h 020h ‘space’ 162h 056h V 164h 065h e 166h 072h r 168h 031h 1 16Ah 02Eh .
Appendix A.
Appendix B.CF To PC Card Adapter Information For customers who would like to use the Cactus CompactFlash cards in their existing PC Card sockets, we offer a CF to PC Card adapter.
Appendix C.Technical Support Services Cactus Technologies Limited Suite C, 15/F, Capital Trade Center 62 Tsun Yip Street, Kwun Tong Kowloon, Hong Kong Tel: +852-27972261 Fax: +852-27973777 Email: tech@cactus-tech.com ________________________________________________________________________________________________________ Cactus Technologies Limited Industrial Grade Compact Flash -3XX/-3XX-P1/-3XX-WP1 Series Product Manual v2.
Appendix D.Cactus Technologies Worldwide Sales Offices Cactus Technologies Limited Suite C, 15/F, Capital Trade Center 62 Tsun Yip Street, Kwun Tong Kowloon, Hong Kong Tel: +852-27972277 Fax: +852-27973777 Email: sales@cactus-tech.com US Office: Cactus USA 3112 Windsor Road , Suite A356 Austin, Texas 78703 Tel: (512) 775 0746 Email: americas@cactus-tech.
Appendix E.Limited Warranty I. WARRANTY STATEMENT Cactus Technologies warrants its Industrial Grade products only to be free of any defects in materials or workmanship that would prevent them from functioning properly for five years from the date of purchase. This express warranty is extended by Cactus Technologies Limited II. GENERAL PROVISIONS This warranty sets forth the full extent of Cactus Technologies' responsibilities regarding the Cactus Technologies Industrial Grade CompactFlash Card.
All failing products returned to Cactus Technologies 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.