To all our customers Regarding the change of names mentioned in the document, such as Hitachi Electric and Hitachi XX, to Renesas Technology Corp. The semiconductor operations of Mitsubishi Electric and Hitachi were transferred to Renesas Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.) Accordingly, although Hitachi, Hitachi, Ltd., Hitachi Semiconductors, and other Hitachi brand names are mentioned in the document, these names have in fact all been changed to Renesas Technology Corp. Thank you for your understanding. Except for our corporate trademark, logo and corporate statement, no changes whatsoever have been made to the contents of the document, and these changes do not constitute any alteration to the contents of the document itself. Renesas Technology Home Page: http://www.renesas.com Renesas Technology Corp. Customer Support Dept. April 1, 2003 Cautions Keep safety first in your circuit designs! 1. Renesas Technology Corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap. Notes regarding these materials 1. These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corporation product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corporation or a third party. 2. Renesas Technology Corporation assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. 3. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corporation or an authorized Renesas Technology Corporation product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Renesas Technology Corporation assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology Corporation by various means, including the Renesas Technology Corporation Semiconductor home page (http://www.renesas.com). 4. When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corporation assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. 5. Renesas Technology Corporation semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Renesas Technology Corporation or an authorized Renesas Technology Corporation product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. 6. The prior written approval of Renesas Technology Corporation is necessary to reprint or reproduce in whole or in part these materials. 7. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited. 8. Please contact Renesas Technology Corporation for further details on these materials or the products contained therein. HB28D096A8HSR/HB28D032A8HSR Wide Temperature Range Version FLASH ATA Card 96 MByte/32 MByte ADE-203-1378A (Z) Rev. 1.0 Dec. 10, 2002 Description HB28D096A8HSR, HB28D032A8HSR are Flash ATA card. This card complies with PC card ATA standard and is suitable for the usage of data storage memory medium for PC or any other electric equipment. This card is equipped with 0.18 µm CMOS 256 Mega bit Flash memory. This card is suitable for ISA (Industry Standard Architecture) bus interface standard , and read/write unit is 1 sector (512 bytes) sequential access. By using this card it is possible to operate good performance for the system which have PC card slots. Features • PC card ATA standard specification 68 pin two pieces connector and Type II (5 mm) • 3.3 V/5 V single power supply operation • ISA standard and Read/Write unit is 512 bytes (sector) sequential access Sector Read/Write transfer rate: 8MB/sec burst HB28D096/032A8HSR • Card density is 160 Mega bytes maximum This card is equipped 0.18 µm CMOS 256 Mega bit Flash memory • 3 variations of mode access Memory card mode I/O card mode True IDE mode • Internal self-diagnostic program operates at VCC power on • High reliability based on internal ECC (Error Correcting Code) function • Auto Sleep Function • Temperature range: −25 to +85°C • Data write is 300,000 cycles/block.* 1 Note: 1. One block consists of four sectors (512 byte × 4). Card Line Up*1 Type No. Card density Capacity* 4 Total sectors/ Sectors/ card* 3 track* 2 Number of head Number of cylinder HB28D096A8HSR 96 MB 95,944,704 byte 187,392 32 8 732 HB28D032A8HSR 32 MB 32,047,104 byte 62,592 32 4 489 Notes: 1. 2. 3. 4. 2 These data are written in ID. Total tracks = number of head × number of cylinder. Total sectors/card = sectors/track × number of head × number of cylinder. It is the logical address capacity including the area which is used for file system. HB28D096/032A8HSR Card Pin Assignment Memory card mode I/O card mode True IDE mode Pin No. Signal name I/O Signal name I/O Signal name I/O 1 GND — GND — GND — 2 D3 I/O D3 I/O D3 I/O 3 D4 I/O D4 I/O D4 I/O 4 D5 I/O D5 I/O D5 I/O 5 D6 I/O D6 I/O D6 I/O 6 D7 I/O D7 I/O D7 I/O 7 -CE1 I -CE1 I -CE1 I 8 A10 I A10 I A10 I 9 -OE I -OE I -ATASEL I 10 — — — — — — 11 A9 I A9 I A9 I 12 A8 I A8 I A8 I 13 — — — — — — 14 — — — — — — 15 -WE I -WE I -WE I 16 RDY/-BSY O -IREQ O INTRQ O 17 VCC — VCC — VCC — 18 — — — — — — 19 — — — — — — 20 — — — — — — 21 — — — — — — 22 A7 I A7 I A7 I 23 A6 I A6 I A6 I 24 A5 I A5 I A5 I 25 A4 I A4 I A4 I 26 A3 I A3 I A3 I 27 A2 I A2 I A2 I 28 A1 I A1 I A1 I 29 A0 I A0 I A0 I 30 D0 I/O D0 I/O D0 I/O 31 D1 I/O D1 I/O D1 I/O 32 D2 I/O D2 I/O D2 I/O 33 WP O -IOIS16 O -IOIS16 O 3 HB28D096/032A8HSR Memory card mode I/O card mode Pin No. Signal name I/O Signal name I/O Signal name I/O 34 GND — GND — GND — 35 GND — GND — GND — 36 -CD1 O -CD1 O -CD1 O 37 D11 I/O D11 I/O D11 I/O 38 D12 I/O D12 I/O D12 I/O 39 D13 I/O D13 I/O D13 I/O 40 D14 I/O D14 I/O D14 I/O 41 D15 I/O D15 I/O D15 I/O 42 -CE2 I -CE2 I -CE2 I 43 -VS1 O -VS1 O -VS1 O 44 -IORD I -IORD I -IORD I 45 -IOWR I -IOWR I -IOWR I 46 — — — — — — 47 — — — — — — 48 — — — — — — 49 — — — — — — 50 — — — — — — 51 VCC — VCC — VCC — 52 — — — — — — 53 — — — — — — 54 — — — — — — 55 — — — — — — 56 -CSEL I -CSEL I -CSEL I 57 -VS2 O -VS2 O -VS2 O 58 RESET I RESET I -RESET I 59 -WAIT O -WAIT O IORDY O 60 -INPACK O -INPACK O -INPACK O 61 -REG I -REG I -REG I 62 BVD2 I/O -SPKR I/O -DASP I/O 63 BVD1 I/O -STSCHG I/O -PDIAG I/O 64 D8 I/O D8 I/O D8 I/O 65 D9 I/O D9 I/O D9 I/O 66 D10 I/O D10 I/O D10 I/O 67 -CD2 O -CD2 O -CD2 O 68 GND — GND — GND — 4 True IDE mode HB28D096/032A8HSR Card Pin Explanation Signal name Direction Pin No. A10 to A0 I (PC Card Memory mode) Description 8, 11, 12, 22, 23, Address bus is A10 to A0. A10 is MSB and A0 is 24, 25, 26, 27, LSB. 28, 29 A10 to A0 (PC Card I/O mode) A2 to A0 (True IDE mode) 27, 28, 29 Address bus is A10 to A0. Only A2 to A0 are used, A10 to A3 should be grounded by the host. BVD1 I/O (PC Card Memory mode) 63 BVD1 outputs the battery voltage status in the card. This output line is constantly driven to a high state since a battery is not required for this product. -STSCHG (PC Card I/O mode) -STSCHG is used for changing the status of Configuration and status register in attribute area. -PDIAG (True IDE mode) -PDIAG is the Pass Diagnostic signal in Master/Slave handshake protocol. BVD2 I/O (PC Card Memory mode) 62 BVD2 outputs the battery voltage status in the card. This output line is constantly driven to a high state since a battery is not required for this product. -SPKR (PC Card I/O mode) -SPKR outputs speaker signals. This output line is constantly driven to a high state since this product does not support the audio function. -DASP (True IDE mode) -DASP is the Disk Active/Slave Present signal in the Master/Slave handshake protocol. -CD1, -CD2 O (PC Card Memory mode) 36, 67 -CD1 and -CD2 are the card detection signals. -CD1 and -CD2 are connected to ground in this card, so host can detect that the card is inserted or not. 7, 42 -CE1 and -CE2 are low active card select signals. Byte/Word/Odd byte mode are defined by combination of -CE1, -CE2 and A0. -CD1, -CD2 (PC Card I/O mode) -CD1, -CD2 (True IDE mode) -CE1, -CE2 I (PC Card Memory mode) Card Enable -CE1, -CE2 (PC Card I/O mode) Card Enable -CE1, -CE2 (True IDE mode) -CE2 is used for select the Alternate Status Register and the Device Control Register while -CE1 is the chip select for the other task file registers. 5 HB28D096/032A8HSR Signal name Direction Pin No. -CSEL I (PC Card Memory mode) 56 Description This signal is not used. -CSEL (PC Card I/O mode) -CSEL (True IDE mode) D15 to D0 I/O (PC Card Memory mode) This signal is used to configure this device as a Master or a Slave when configured in the True IDE mode. When this pin is grounded, this device is configured as a Master. When the pin is open, this device is configured as a Slave. Data bus is D15 to D0. D0 is the LSB of the even byte 41, 40, 39, 38, 37, 66, 65, 64, 6, of the word. D8 is the LSB of the odd byte of the 5, 4, 3, 2, 32, 31, word. 30 D15 to D0 (PC Card I/O mode) D15 to D0 (True IDE mode) GND — (PC Card Memory mode) 1, 34, 35, 68 Ground 60 This signal is not used and should not be connected at the host. GND (PC Card I/O mode) GND (True IDE mode) -INPACK O (PC Card Memory mode) -INPACK (PC Card I/O mode) Input Acknowledge This signal is asserted low by this card when the card is selected and responding to an I/O read cycle at the address that is on the address bus during -CE and -IORD are low. This signal is used for the input data buffer control. -INPACK (True IDE mode) This signal is not used and should not be connected at the host. -IORD I (PC Card Memory mode) 44 This signal is not used. -IORD (PC Card I/O mode) -IORD is used for control of read data in I/O task file area. This card does not respond to -IORD until I/O card interface setting up. -IORD (True IDE mode) -IORD is used for control of read data in I/O task file area. This card does not respond to -IORD until True IDE interface setting up. 6 HB28D096/032A8HSR Signal name Direction Pin No. -IOWR I (PC Card Memory mode) 45 Description This signal is not used. -IOWR (PC Card I/O mode) -IOWR is used for control of data write in I/O task file area. This card does not respond to -IOWR until I/O card interface setting up. -IOWR (True IDE mode) -IOWR is used for control of data write in I/O task file area. This card does not respond to -IOWR until True IDE interface setting up. -OE I (PC Card Memory mode) 9 -OE is used for the control of reading register’s data in attribute area or task file area. -OE (PC Card I/O mode) -OE is used for the control of reading register’s data in attribute area. -ATASEL (True IDE mode) To enable True IDE mode this input should be grounded by the host. RDY/-BSY O (PC Card Memory mode) 16 The signal is RDY/-BSY pin. RDY/-BSY pin turns low level during the card internal initialization operation at VCC applied or reset applied, so next access to the card should be after the signal turned high level. -IREQ (PC Card I/O mode) This signal is active low -IREQ pin. The signal of low level indicates that the card is requesting software service to host, and high level indicates that the card is not requesting. INTRQ (True IDE mode) This signal is the active high Interrupt Request to the host. -REG I (PC Card Memory mode) Attribute memory select 61 -REG is used during memory cycles to distinguish between task file and attribute memory accesses. High for task file, Low for attribute memory is accessed. -REG (PC Card I/O mode) -REG is constantly low when task file or attribute memory is accessed. -REG (True IDE mode) This input signal is not used and should be connected to VCC. 7 HB28D096/032A8HSR Signal name Direction Pin No. RESET I (PC Card Memory mode) 58 Description This signal is active high RESET pin. If this signal is asserted high, the card internal initialization begins to operate. During the card internal initialization RDY/-BSY is low. After the card internal initialization RDY/-BSY is high. RESET (PC Card I/O mode) This signal is active high RESET pin. If this signal is asserted high, the card internal initialization begins to operate. In this mode, RDY/-BSY signal can not be used, so using Status Register the Ready/Busy status can be confirmed. -RESET (True IDE mode) This signal is active low -RESET pin. If this signal is asserted low, all the register’s in this card are reset. In this mode, RDY/-BSY signal can not be used, so using status register the Ready/Busy status can be confirmed. VCC — (PC Card Memory mode) 17, 51 +5 V, +3.3 V power. 43, 57 These signals are intended to notify VCC requirement to host. -VS1 is held grounded and -VS2 is nonconnected in this card. 59 This signal is active low -WAIT pin. In this card this signal is constantly high level. VCC (PC Card I/O mode) VCC (True IDE mode) -VS1, -VS2 O (PC Card Memory mode) -VS1, -VS2 (PC Card I/O mode) -VS1, -VS2 (True IDE mode) -WAIT O (PC Card Memory mode) -WAIT (PC Card I/O mode) IORDY (True IDE mode) -WE I (PC Card Memory mode) This output signal may be used as IORDY. In this card this signal is constantly high impedance. 15 -WE is used for the control of writing register’s data in attribute memory area or task file area. -WE (PC Card I/O mode) -WE is used for the control of writing register’s data in attribute memory area. -WE (True IDE mode) This input signal is not used and should be connected to VCC by the host. 8 HB28D096/032A8HSR Signal name Direction Pin No. O WP (PC Card Memory mode) Write Protect 33 Description WP is held low because this card does not have write protect switch. -IOIS16 (PC Card I/O mode) -IOIS16 is asserted when task file registers are accessed in 16-bit mode. -IOIS16 (True IDE mode) This output signal is asserted low when this device is expecting a word data transfer cycle. Initial mode is 16-bit. If the user issues a Set Feature Command to put the device in Byte access mode, the card permits 8-bit accesses. 9 HB28D096/032A8HSR Card Block Diagram VCC internal VCC GND A0 to A10 Reset IC -CE1,-CE2 -OE/-ATASEL -WE -IORD X'tal -IOWR -REG RESET/-RESET -CSEL Controller Flash memory bus Flash memory D0 to D15 BVD1/-STSCHG/-PDIAG BVD2/-SPKR/-DASP Control signal RDY/-BSY/-IREQ/INTRQ WP/-IOIS16 -INPACK -WAIT/IORDY -VS1 -VS2 OPEN -CD1 -CD2 Note: -CE1, -CE2, -OE, -WE, -IORD, -IOWR, -REG, RESET, -CSEL, -PDIAG, -DASP pins are pulled up in card. -CE1, -CE2, -OE, -WE, -IORD, -IOWR, -REG pins are schmitt trigger type input buffer. 10 HB28D096/032A8HSR Card Function Explanation Register construction • Attribute region Configuration register • Configuration Option register • Configuration and Status register • Pin Replacement register • Socket and Copy register CIS (C ard Information S tructure) • Task File region Data register Error register Feature register Sector Count register Sector Number register Cylinder Low register Cylinder High register Drive Head register Status register Alternate Status register Command register Device Control register Drive Address register 11 HB28D096/032A8HSR Host access specifications 1. Attribute access specifications When CIS-ROM region or Configuration register region is accessed, read and write operations are executed under the condition of -REG = "L" as follows. That region can be accessed by Byte/Word/Odd-byte modes which are defined by PC card standard specifications. Attribute Read Access Mode Mode -REG -CE2 -CE1 A0 -OE -WE D8 to D15 D0 to D7 Standby mode × H H × × × High-Z High-Z Byte access (8-bit) L H L L L H High-Z even byte L H L H L H High-Z invalid Word access (16-bit) L L L × L H invalid even byte Odd byte access (8-bit) L L H × L H invalid High-Z Note: ×: L or H Attribute Write Access Mode Mode -REG -CE2 -CE1 A0 -OE -WE D8 to D15 D0 to D7 Standby mode × H H × × × Don’t care Don’t care Byte access (8-bit) L H L L H L Don’t care even byte L H L H H L Don’t care Don’t care Word access (16-bit) L L L × H L Don’t care even byte Odd byte access (8-bit) L L H × H L Don’t care Don’t care Note: ×: L or H Attribute Access Timing Example A0 to A10 -REG -CE2/-CE1 -OE -WE D0 to D15 Dout read cycle 12 Din write cycle HB28D096/032A8HSR 2. Task File register access specifications There are two cases of Task File register mapping, one is mapped I/O address area, the other is mapped Memory address area. Each case of Task File register read and write operations are executed under the condition as follows. That area can be accessed by Byte/Word/Odd Byte mode which are defined by PC card standard specifications. (1) I/O address map Task File Register Read Access Mode (1) Mode -REG -CE2 -CE1 A0 -IORD -IOWR -OE -WE D8 to D15 D0 to D7 Standby mode × H H × × × × × High-Z High-Z Byte access (8-bit) L H L L L H H H High-Z even byte L H L H L H H H High-Z odd byte L L L × L H H H odd byte even byte Odd byte access (8-bit) L L H × L H H H odd byte High-Z Word access (16-bit) Note: ×: L or H Task File Register Write Access Mode (1) Mode -REG -CE2 -CE1 A0 -IORD -IOWR -OE -WE D8 to D15 D0 to D7 Standby mode × H H × × × × × Don’t care Don’t care Byte access (8-bit) L H L L H L H H Don’t care even byte L H L H H L H H Don’t care odd byte L L L × H L H H odd byte even byte Odd byte access (8-bit) L L H × H L H H odd byte Don’t care Word access (16-bit) Note: ×: L or H Task File Register Access Timing Example (1) A0 to A10 -REG -CE2/-CE1 -IORD - IOWR D0 to D15 Din Dout read cycle write cycle 13 HB28D096/032A8HSR (2) Memory address map Task File Register Read Access Mode (2) Mode -REG -CE2 -CE1 A0 -OE -WE -IORD -IOWR D8 to D15 D0 to D7 Standby mode × H H × × × × × High-Z High-Z Byte access (8-bit) H H L L L H H H High-Z even byte H H L H L H H H High-Z odd byte H L L × L H H H odd byte even byte Odd byte access (8-bit) H L H × L H H H odd byte High-Z Word access (16-bit) Note: ×: L or H Task File Register Write Access Mode (2) Mode -REG -CE2 -CE1 A0 -OE -WE -IORD -IOWR D8 to D15 D0 to D7 Standby mode × H H × × × × × Don’t care Don’t care Byte access (8-bit) H H L L H L H H Don’t care even byte H H L H H L H H Don’t care odd byte H L L × H L H H odd byte even byte Odd byte access (8-bit) H L H × H L H H odd byte Don’t care Word access (16-bit) Note: ×: L or H Task File Register Access Timing Example (2) A0 to A10 -REG -CE2/-CE1 -OE -WE D0 to D15 Dout read cycle 14 Din write cycle HB28D096/032A8HSR 3. True IDE Mode The card can be configured in a True IDE mode of operation. This card is configured in this mode only when the -OE input signal is asserted GND by the host. In this True IDE mode Attribute Registers are not accessible from the host. Only I/O operation to the task file and data register are allowed. If this card is configured during power on sequence, data register are accessed in word (16-bit). The card permits 8-bit accesses if the user issues a Set Feature Command to put the device in 8-bit mode. True IDE Mode Read I/O Function Mode -CE2 -CE1 A0 to A2 -IORD -IOWR D8 to D15 D0 to D7 Invalid mode L L × × × High-Z High-Z Standby mode H H × × × High-Z High-Z Data register access H L 0 L H odd byte even byte Alternate status access L H 6H L H High-Z status out Other task file access H L 1-7H L H High-Z data Note: ×: L or H True IDE Mode Write I/O Function Mode -CE2 -CE1 A0 to A2 -IORD -IOWR D8 to D15 D0 to D7 Invalid mode L L × × × don’t care don’t care Standby mode H H × × × don’t care don’t care Data register access H L 0 H L odd byte even byte Control register access L H 6H H L don’t care control in Other task file access H L 1-7H H L don’t care data Note: ×: L or H True IDE Mode I/O Access Timing Example A0 to A2 -CE -IORD -IOWR -IOIS16 D0 to D15 Dout read cycle Din write cycle 15 HB28D096/032A8HSR Configuration register specifications This card supports four Configuration registers for the purpose of the configuration and observation of this card. These registers can be used in memory card mode and I/O card mode. In True IDE mode, these registers can not be used. 1. Configuration Option register (Address 200H) This register is used for the configuration of the card configuration status and for the issuing soft reset to the card. bit7 bit6 bit5 SRESET LevlREQ INDEX bit4 bit3 bit2 bit1 bit0 Note: initial value: 00H Name R/W Function SRESET (HOST->) R/W Setting this bit to "1", places the card in the reset state (Card Hard Reset). This operation is equal to Hard Reset, except this bit is not cleared. Then this bit set to "0", places the card in the reset state of Hard Reset (This bit is set to "0" by Hard Reset) . Card configuration status is reset and the card internal initialized operation starts when Card Hard Reset is executed, so next access to the card should be the same sequence as the power on sequence. LevlREQ (HOST->) R/W This bit sets to "0" when pulse mode interrupt is selected, and "1" when level mode interrupt is selected. INDEX (HOST->) R/W This bits is used for select operation mode of the card as follows. When Power on, Card Hard Reset and Soft Reset, this data is "000000" for the purpose of Memory card interface recognition. INDEX bit assignment INDEX bit 5 4 3 2 1 0 Card mode Task File register address Mapping mode 0 0 0 0 0 0 Memory card 0H to FH, 400H to 7FFH memory mapped 0 0 0 0 0 1 I/O card xx0H to xxFH contiguous I/O mapped 0 0 0 0 1 0 I/O card 1F0H to 1F7H, 3F6H to 3F7H primary I/O mapped 0 0 0 0 1 1 I/O card 170H to 177H, 376H to 377H secondary I/O mapped 16 HB28D096/032A8HSR 2. Configuration and Status register (Address 202H) This register is used for observing the card state. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 CHGED SIGCHG IOIS8 0 0 PWD INTR 0 Note: initial value: 00H Name R/W Function CHGED (CARD->) R This bit indicates that CRDY/-BSY bit on Pin Replacement register is set to "1". When CHGED bit is set to "1", -STSCHG pin is held "L" at the condition of SIGCHG bit set to "1" and the card configured for the I/O interface. SIGCHG (HOST->) R/W This bit is set or reset by the host for enabling and disabling the status-change signal (STSCHG pin). When the card is configured I/O card interface and this bit is set to "1", STSCHG pin is controlled by CHGED bit. If this bit is set to "0", -STSCHG pin is kept "H". IOIS8 (HOST->) R/W The host sets this field to "1" when it can provide I/O cycles only with on 8 bit data bus (D7 to D0). PWD (HOST->) R/W When this bit is set to "1", the card enters sleep state (Power Down mode). When this bit is reset to "0", the card transfers to idle state (active mode). RRDY/-BSY bit on Pin Replacement Register becomes BUSY when this bit is changed. RRDY/-BSY will not become Ready until the power state requested has been entered. This card automatically powers down when it is idle, and powers back up when it receives a command. INTR (CARD->) R This bit indicates the internal state of the interrupt request. This bit state is available whether I/O card interface has been configured or not. This signal remains true until the condition which caused the interrupt request has been serviced. If interrupts are disabled by the -IEN bit in the Device Control Register, this bit is a zero. 17 HB28D096/032A8HSR 3. Pin Replacement register (Address 204H) This register is used for providing the signal state of -IREQ signal when the card configured I/O card interface. bit7 bit6 bit5 bit4 0 0 CRDY/-BSY 0 bit3 bit2 bit1 bit0 1 1 RRDY/-BSY 0 Note: initial value: 0CH Name R/W Function CRDY/-BSY R/W (HOST->) This bit is set to "1" when the RRDY/-BSY bit changes state. This bit may also be written by the host. RRDY/-BSY R/W (HOST->) When read, this bit indicates +READY pin states. When written, this bit is used for CRDY/-BSY bit masking. 4. Socket and Copy register (Address 206H) This register is used for identification of the card from the other cards. Host can read and write this register. This register should be set by host before this card's Configuration Option register set. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0 0 0 DRV# 0 0 0 0 Note: initial value: 00H Name R/W Function DRV# (HOST->) R/W This fields are used for the configuration of the plural cards. When host configures the plural cards, written the card’s copy number in this field. In this way, host can perform the card’s master/slave organization. 18 HB28D096/032A8HSR CIS informations CIS informations are defined as follows. By reading attribute address from "0000 H", card CIS informations can be confirmed. Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 000H 01H CISTPL_DEVICE Device info tuple Tuple code 002H 04H TPL_LINK Link length is 4 byte Link to next tuple 004H DFH Device type 006H 4AH EXT Speed mantissa Speed exponent 400 ns if no wait Extended speed 008H 01H 2k units 2k byte of address space Device size 00AH FFH List end marker End of device END marker 00CH 1CH CISTPL_DEVICE_OC Other conditions device info tuple Tuple code 00EH 04H TPL_LINK Link length is 4 bytes Link to next tuple 010H 02H EXT Reserved 012H D9H Device type 014H 01H 016H W Device speed Device type = DH: I/O device Device type, WPS, speed P WPS = 1: No WP S Device speed = 7: ext speed 1x VCC MWAIT 3 V, wait is not used Other conditions info field W Device speed Device type = DH: I/O device Device type, WPS, speed P WPS = 1: No WP S Device speed = 1: 250 ns 1x 2k units 2k byte of address space Device size FFH List end marker End of device END marker 018H 18H CISTPL_JEDEC_C JEDEC ID common memory Tuple code 01AH 02H TPL_LINK Link length is 2 bytes 01CH DFH PCMCIA’s manufacturer’s JEDEC Manufacturer’s ID code ID code 01EH 01H PCMCIA JEDEC device code 2nd byte of JEDEC ID 020H 20H CISTPL_MANFID Manufacturer’s ID code Tuple code 022H 04H TPL_LINK Link length is 4 bytes Link to next tuple 024H 07H Low byte of PCMCIA manufacturer’s code HITACHI JEDEC manufacturer’s ID Low byte of manufacturer’s ID code 026H 00H High byte of PCMCIA manufacturer’s code Code of 0 because other byte High byte of manufacturer’s is JEDEC 1 byte ID code manufacture’s ID 028H 00H Low byte of product code HITACHI code for PC CARD Low byte of product code ATA 02AH 00H High byte of product code High byte of product code Link to next tuple JEDEC ID of PC Card ATA 19 HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 02CH 15H CISTPL_VERS_1 Level 1 version/product info Tuple code 02EH 15H TPL_LINK Link length is 15h bytes Link to next tuple 030H 04H TPPLV1_MAJOR PCMCIA2.0/JEIDA4.1 Major version 032H 01H TPPLV1_MINOR PCMCIA2.0/JEIDA4.1 Minor version 034H 48H ‘H’ Info string 1 036H 49H ‘I’ 038H 54H ‘T’ 03AH 41H ‘A’ 03CH 43H ‘C’ 03EH 48H ‘H’ 040H 49H ‘I’ 042H 00H Null terminator 044H 46H ‘F’ 046H 4CH ‘L’ 048H 41H ‘A’ 04AH 53H ‘S’ 04CH 48H ‘H’ 04EH 00H Null terminator 050H 35H ‘5’ 052H 2EH ‘.’ 054H 30H ‘0’ 056H 00H Null terminator 058H FFH List end marker End of device END marker 05AH 21H CISTPL_FUNCID Function ID tuple Tuple code 05CH 02H TPL_LINK Link length is 2 bytes Link to next tuple 05EH 04H TPLFID_FUNCTION = 04H Disk function, may be silicon, PC card function code may be removable 060H 01H Reserved R = 0: No BIOS ROM P = 1: Configure card at power on 20 R P Info string 2 Vender specific strings System initialization byte HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 062H 22H CISTPL_FUNCE Function extension tuple Tuple code 064H 02H TPL_LINK Link length is 2 bytes Link to next tuple 066H 01H Disk function extension tuple type Disk interface type Extension tuple type for disk 068H 01H Disk interface type PC card ATA interface Interface type 06AH 22H CISTPL_FUNCE Function extension tuple Tuple code 06CH 03H TPL_LINK Link length is 3 bytes Link to next tuple 06EH 02H Disk function extension tuple type Single drive 070H 0CH Reserved D U S V No VPP , silicon, single drive V = 0: No VPP required S = 1: Silicon U = 1: Unique serial # D = 0: Single drive on card 072H 0FH N P3 P2 P1 P0 P0: Sleep mode supported Basic ATA option parameters byte 2 P1: Standby mode supported P2: Idle mode suppported P3: Drive auto power control N: Some config excludes 3X7 E: Index bit is emulated I: Twin IOIS16# data reg only R: Reserved 074H 1AH CISTPL_CONFIG Configuration tuple Tuple code 076H 05H TPL_LINK Link length is 5 bytes Link to next tuple 078H 01H RFS 07AH 03H TPCC_LAST Entry with config index of 03H is final entry in table Last entry of config registers 07CH 00H TPCC_RADR (LSB) Configuration registers are located at 200H in REG space Location of config registers 07EH 02H TPCC_RADR (MSB) 080H 0FH Reserved I: Configuration index C: Configuration and status P: Pin replacement S: Socket and copy Configuration registers present mask TPCC_RMSK R I E RMS RAS S P C I Extension tuple type for disk Basic ATA option parameters byte 1 Size of fields byte TPCC_SZ RFS: Reserved RMS: TPCC_RMSK size - 1 = 0 RAS: TPCC_RADR size - 1 = 1 1 byte register mask 2 byte config base address 21 HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 082H 1BH CISTPL_CFTABLE_ENTRY Configuration table entry tuple Tuple code 084H 08H Link length is 8 bytes Link to next tuple TPL_LINK 086H C0H I D Configuration index Memory mapped I/O configuration I = 1: Interface byte follows D = 1: Default entry Configuration index = 0 Configuration table index byte TPCE_INDX 088H 40H R P B Interface type W = 0: Wait not used R = 1: Ready active P = 0: WP used B = 0: BVD1 and BVD2 not used IF type = 0: Memory interface Interface description field TPCE_IF 08AH A1H M MS IR IO T P Feature selection byte M = 1: Misc info present MS = 01: Memory space info TPCE_FS single 2-byte length IR = 0: No interrupt info present IO = 0: No I/O port info present T = 0: No timing info present P = 1: VCC only info 08CH 01H R DI PI AI SI HV LV NV Nominal voltage only follows Power parameters for VCC R: Reserved DI: Power down current info PI: Peak current info AI: Average current info SI: Static current info HV: Max voltage info LV: Min voltage info NV: Nominal voltage info 08EH 55H X Mantissa Nominal voltage = 5 V 090H 08H Length in 256 bytes pages (LSB) 092H 00H Length in 256 bytes pages (MSB) 094H 20H X 22 W R P Exponent RO A T VCC nominal value Length of memory space is 2 Memory space description kB structures (TPCE_MS) Miscellaneous features field X = 0: No more misc fields TPCE_MI R: Reserved P = 1: Power down supported RO = 0: Not read only mode A = 0: Audio not supported T = 0: Single drive HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 096H 1BH CISTPL_CFTABLE_ENTRY Configuration table entry tuple Tuple code 098H 06H Link length is 6 bytes Link to next tuple Configuration table index byte TPCE_INDX TPL_LINK 09AH 00H I D Configuration index Memory mapped I/O configuration I = 0: No Interface byte D = 0: No Default entry Configuration index = 0 09CH 01H M MS Feature selection byte M = 0: No Misc info MS = 00: No Memory space TPCE_FS info IR = 0: No interrupt info present IO = 0: No I/O port info present T = 0: No timing info present P = 1: VCC only info 09EH 21H R DI PI AI SI HV LV NV Nominal voltage only follows Power parameters for VCC R: Reserved DI: Power down current info PI: Peak current info AI: Average current info SI: Static current info HV: Max voltage info LV: Min voltage info NV: Nominal voltage info 0A0H B5H X Mantissa Nominal voltage = 3.0 V VCC nominal value 0A2H 1EH X Extension +0.3 V Extension byte 0A4H 4DH X Mantissa IR IO T P Exponent Exponent Max average current over 10 Max. average current msec is 45 mA 23 HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 0A6H 1BH CISTPL_CFTABLE_ ENTRY Configuration table entry tuple Tuple code 0A8H 0AH TPL_LINK Link length is 10 bytes Link to next tuple 0AAH C1H I D Configuration INDEX Contiguous I/O mapped ATA Configuration table index byte TPCE_INDX registers configuration I = 1: Interface byte follows D = 1: Default entry Configuration index = 1 0ACH 41H W R P B Interface type W = 0: Wait not used R = 1: Ready active P = 0: WP not used B = 0: BVS1 and BVD2 not used IF type = 1: I/O interface 0AEH 99H M MS IR IO T P M = 1: Misc info present Feature selection byte MS = 00: No memory space TPCE_FS info IR = 1: Interrupt info present IO = 1: I/O port info present T = 0: No timing info present P = 1: VCC only info 0B0H 01H R DI PI AI SI HV LV NV Nominal voltage only follows Power parameters for VCC R: Reserved DI: Power down Current info PI: Peak current info AI: Average current info SI: Static current info HV: Max voltage info LV: Min voltage info NV: Nominal voltage info 0B2H 55H X Mantissa Nominal voltage = 5 V 0B4H 64H R S E IO AddrLine 0B6H F0H S P L M V B I 24 Exponent Interface description field TPCE_IF VCC nominal value S = 1: 16-bit hosts supported I/O space description field E = 1: 8-bit hosts supported TPCE_IO IO AddrLine: 4 lines decoded N Interrupt request description S = 1: Share logic active structure P = 1: Pulse mode IRQ TPCE_IR supported L = 1: Level mode IRQ supported M = 1: Bit mask of IRQs present V = 0: No vender unique IRQ B = 0: No bus error IRQ I = 0: No IO check IRQ N = 0: No NMI HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 0B8H FFH IRQ IR IR IR IR IR IR IRQ0 7 Q Q Q Q Q Q 6 5 4 3 2 1 IRQ level to be routed 0 to 15 Mask extension byte 1 recommended TPCE_IR 0BAH FFH IRQ IR IR IR IR IR IR IRQ8 15 Q Q Q Q Q Q 14 13 12 11 10 9 Recommended routing to any Maskextension byte 2 “normal, maskable” IRQ. TPCE_IR 0BCH 20H Miscellaneous features field X = 0: Nomore misc fields TPCE_MI R: reserved P = 1: Power down supported RO = 0: Not read only mode A = 0: Audio not supported T = 0: Single drive X R P RO A T 25 HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 0BEH 1BH CISTPL_CFTABLE_ENTRY Configuration table entry tuple Tuple code 0C0H 06H TPL_LINK Link length is 6 bytes Link to next tuple 0C2H 01H I D Configuration index Contiguous I/O mapped ATA Configuration table index byte registers configuration TPCE_INDX I = 0: No Interface byte D = 0: No Default entry Configuration index = 1 0C4H 01H M MS Feature selection byte M = 0: No Misc info MS = 00: No Memory space TPCE_FS info IR = 0: No interrupt info present IO = 0: No I/O port info present T = 0: No timing info present P = 1: VCC only info 0C6H 21H R DI PI AI SI HV LV NV Nominal voltage only follows Power parameters for VCC R: Reserved DI: Power down current info PI: Peak current info AI: Average current info SI: Static current info HV: Max voltage info LV: Min voltage info NV: Nominal voltage info 0C8H B5H X Mantissa Nominal voltage = 3.0 V VCC nominal value 0CAH 1EH X Extension +0.3 V Extension byte 0CCH 4DH X Mantissa 26 IR IO T P Exponent Exponent Max average current over 10 Max. average current msec is 45 mA HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 0CEH 1BH CISTPL_CFTABLE_ENTRY Configuration table entry tuple Tuple code 0D0H 0FH Link length is 15 bytes Link to next tuple TPL_LINK 0D2H C2H I D Configuration INDEX ATA primary I/O mapped configuration I = 1: Interface byte follows D = 1: default entry follows Configuration index = 2 Configuration table index byte TPCE_INDX 0D4H 41H W R P B Interface type W = 0: Wait not used R = 1: Ready active P = 0: WP not used B = 0: BVS1 and BVD2 not used IF type = 1: I/O interface Interface description field TPCE_IF 0D6H 99H M MS IR IO T P M = 1: misc info present Feature selection byte MS = 00: No memory space TPCE_FS info IR = 1: Interrupt info present IO = 1: I/O port info present T = 0: No timing info present P = 1: VCC only info 0D8H 01H R DI PI AI SI HV LV NV Nominal voltage only follows Power parameters for VCC R: Reserved DI: Power down Current info PI: Peak current info AI: Average current info SI: Static current info HV: Max voltage info LV: Min voltage info NV: Nominal voltage info 0DAH 55H X Mantissa Nominal voltage = 5 V 0DCH EAH R 0DEH 61H LS S E AS Exponent IO AddrLine N range VCC nominal value I/O space description field R = 1: Range follows S = 1: 16-bit hosts supported TPCE_IO E = 1: 8-bit hosts supported IO AddrLines: 10 lines decoded LS = 1: Size of lengths is 1 I/O range format description byte AS = 2: Size of address is 2 bytes N Range = 1: Address range - 1 27 HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 1st I/O range address 0E0H F0H 1st I/O base address (LSB) 0E2H 01H 1st I/O base address (MSB) 0E4H 07H 1st I/O length - 1 1st I/O range length 0E6H F6H 2nd I/O base address (LSB) 2nd I/O range address 0E8H 03H 2nd I/O base address (MSB) 0EAH 01H 2nd I/O length - 1 2nd I/O range length 0ECH EEH S P L M IRQ level S = 1: Share logic active P = 1: Pulse mode IRQ supported L = 1: Level mode IRQ supported M = 0: Bit mask of IRQs present IRQ level is IRQ14 Interrupt request description structure TPCE_IR 0EEH 20H R P RO A T Miscellaneous features field X = 0: Nomore misc fields TPCE_MI R: reserved P = 1: Power down supported RO = 0: Not read only mode A = 0: Audio not supported T = 0: Single drive 28 X HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 0F0H 1BH CISTPL_CFTABLE_ENTRY Configuration table entry tuple Tuple code 0F2H 06H Link length is 6 bytes Link to next tuple Configuration table index byte TPCE_INDX TPL_LINK 0F4H 02H I D Configuration index ATA primary I/O mapped configuration I = 0: No Interface byte D = 0: No Default entry Configuration index = 2 0F6H 01H M MS Feature selection byte M = 0: No Misc info MS = 00: No Memory space TPCE_FS info IR = 0: No interrupt info present IO = 0: No I/O port info present T = 0: No timing info present P = 1: VCC only info 0F8H 21H R DI PI AI SI HV LV NV Nominal voltage only follows Power parameters for VCC R: Reserved DI: Power down current info PI: Peak current info AI: Average current info SI: Static current info HV: Max voltage info LV: Min voltage info NV: Nominal voltage info 0FAH B5H X Mantissa Nominal voltage = 3.0 V VCC nominal value 0FCH 1EH X Extension +0.3 V Extension byte 0FEH 4DH X Mantissa IR IO T P Exponent Exponent Max average current over 10 Max. average current msec is 45 mA 29 HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 100H 1BH CISTPL_CFTABLE_ENTRY Configuration table entry tuple Tuple code 102H 0FH Link length is 15 bytes Link to next tuple TPL_LINK 104H C3H I D Configuration INDEX ATA secondary I/O mapped configuration I = 1: Interface byte follows D = 1: default entry Configuration index = 3 Configuration table index byte TPCE_INDX 106H 41H W R P B Interface type W = 0: Wait not used R = 1: Ready active P = 0: WP not used B = 0: BVS1 and BVD2 not used IF type = 1: I/O interface Interface description field TPCE_IF 108H 99H M MS IR IO T P M = 1: misc info present Feature selection byte MS = 00: No memory space TPCE_FS info IR = 1: Interrupt info present IO = 1: I/O port info present T = 0: No timing info present P = 1: VCC only info 10AH 01H R DI PI AI SI HV LV NV Nominal voltage only follows Power parameters for VCC R: Reserved DI: Power down Current info PI: Peak current info AI: Average current info SI: Static current info HV: Max voltage info LV: Min voltage info NV: Nominal voltage info 10CH 55H X Mantissa Nominal voltage = 5 V 10EH EAH R 110H 61H 30 LS S E AS Exponent IO AddrLine N range VCC nominal value I/O space description field R = 1: Range follows S = 1: 16-bit hosts supported TPCE_IO E = 1: 8-bit hosts supported IO AddrLines: 10 lines decoded LS = 1: Size of lengths is 1 I/O range format description byte AS = 2: Size of address is 2 bytes N Range = 1: Address range - 1 HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 1st I/O range address 112H 70H 1st I/O base address (LSB) 114H 01H 1st I/O base address (MSB) 116H 07H 1st I/O length - 1 1st I/O range length 118H 76H 2nd I/O base address (LSB) 2nd I/O range address 11AH 03H 2nd I/O base address (MSB) 11CH 01H 2nd I/O length - 1 2nd I/O range length 11EH EEH S P L M IRQ level S = 1: Share logic active P = 1: Pulse mode IRQ supported L = 1: Level mode IRQ supported M = 0: Bit mask of IRQs present IRQ level is IRQ14 Interrupt request description structure TPCE_IR 120H 20H R P RO A T Miscellaneous features field X = 0: Nomore misc fields TPCE_MI R: reserved P = 1: Power down supported RO = 0: Not read only mode A = 0: Audio not supported T = 0: Single drive X 31 HB28D096/032A8HSR Address Data 7 6 5 4 3 2 1 0 Description of contents CIS function 122H 1BH CISTPL_CFTABLE_ENTRY Configuration table entry tuple Tuple code 124H 06H Link length is 6 bytes Link to next tuple Configuration table index byte TPCE_INDX TPL_LINK 126H 03H I D Configuration index ATA secondary I/O mapped configuration I = 0: No Interface byte D = 0: No Default entry Configuration index = 3 128H 01H M MS Feature selection byte M = 0: No Misc info MS = 00: No Memory space TPCE_FS info IR = 0: No interrupt info present IO = 0: No I/O port info present T = 0: No timing info present P = 1: VCC only info 12AH 21H R DI PI AI SI HV LV NV Nominal voltage only follows Power parameters for VCC R: Reserved DI: Power down current info PI: Peak current info AI: Average current info SI: Static current info HV: Max voltage info LV: Min voltage info NV: Nominal voltage info 12CH B5H X Mantissa Nominal voltage = 3.0 V VCC nominal value 12EH 1EH X Extension +0.3 V Extension byte 130H 4DH X Mantissa 132H 14H 134H 136H 32 IR IO T P CISTPL_NO_LINK Exponent Exponent Max average current over 10 Max. average current msec is 45 mA No link control tuple Tuple code 00H Link is 0 bytes Link to next tuple FFH CISTPL_END End of list tuple Tuple code HB28D096/032A8HSR Task File register specification These registers are used for reading and writing the storage data in this card. These registers are mapped five types by the configuration of INDEX in Configuration Option register. The decoded addresses are shown as follows. Memory map (INDEX = 0) -REG A10 A9 to A4 A3 A2 A1 A0 Offset -OE = L -WE = L 1 0 × 0 0 0 0 0H Data register Data register 1 0 × 0 0 0 1 1H Error register Feature register 1 0 × 0 0 1 0 2H Sector count register Sector count register 1 0 × 0 0 1 1 3H Sector number register Sector number register 1 0 × 0 1 0 0 4H Cylinder low register Cylinder low register 1 0 × 0 1 0 1 5H Cylinder high register Cylinder high register 1 0 × 0 1 1 0 6H Drive head register Drive head register 1 0 × 0 1 1 1 7H Status register Command register 1 0 × 1 0 0 0 8H Dup. even data register Dup. even data register 1 0 × 1 0 0 1 9H Dup. odd data register Dup. odd data register 1 0 × 1 1 0 1 DH Dup. error register Dup. feature register 1 0 × 1 1 1 0 EH Alt. status register Device control register 1 0 × 1 1 1 1 FH Drive address register Reserved 1 1 × × × × 0 8H Even data register Even data register 1 1 × × × × 1 9H Odd data register Odd data register 33 HB28D096/032A8HSR Contiguous I/O map (INDEX = 1) -REG A10 to A4 A3 A2 A1 A0 Offset -IORD = L -IOWR = L 0 × 0 0 0 0 0H Data register Data register 0 × 0 0 0 1 1H Error register Feature register 0 × 0 0 1 0 2H Sector count register Sector count register 0 × 0 0 1 1 3H Sector number register Sector number register 0 × 0 1 0 0 4H Cylinder low register Cylinder low register 0 × 0 1 0 1 5H Cylinder high register Cylinder high register 0 × 0 1 1 0 6H Drive head register Drive head register 0 × 0 1 1 1 7H Status register Command register 0 × 1 0 0 0 8H Dup. even data register Dup. even data register 0 × 1 0 0 1 9H Dup. odd data register Dup. odd data register 0 × 1 1 0 1 DH Dup. error register Dup. feature register 0 × 1 1 1 0 EH Alt. status register Device control register 0 × 1 1 1 1 FH Drive address register Reserved Primary I/O map (INDEX = 2) -REG A10 A9 to A4 A3 A2 A1 A0 -IORD = L -IOWR = L 0 × 1FH 0 0 0 0 Data register Data register 0 × 1FH 0 0 0 1 Error register Feature register 0 × 1FH 0 0 1 0 Sector count register Sector count register 0 × 1FH 0 0 1 1 Sector number register Sector number register 0 × 1FH 0 1 0 0 Cylinder low register Cylinder low register 0 × 1FH 0 1 0 1 Cylinder high register Cylinder high register 0 × 1FH 0 1 1 0 Drive head register Drive head register 0 × 1FH 0 1 1 1 Status register Command register 0 × 3FH 0 1 1 0 Alt. status register Device control register 0 × 3FH 0 1 1 1 Drive address register Reserved 34 HB28D096/032A8HSR Secondary I/O map (INDEX = 3) -REG A10 A9 to A4 A3 A2 A1 A0 -IORD = L -IOWR = L 0 × 17H 0 0 0 0 Data register Data register 0 × 17H 0 0 0 1 Error register Feature register 0 × 17H 0 0 1 0 Sector count register Sector count register 0 × 17H 0 0 1 1 Sector number register Sector number register 0 × 17H 0 1 0 0 Cylinder low register Cylinder low register 0 × 17H 0 1 0 1 Cylinder high register Cylinder high register 0 × 17H 0 1 1 0 Drive head register Drive head register 0 × 17H 0 1 1 1 Status register Command register 0 × 37H 0 1 1 0 Alt. status register Device control register 0 × 37H 0 1 1 1 Drive address register Reserved True IDE Mode I/O map -CE2 -CE1 A2 A1 A0 -IORD = L -IOWR = L 1 0 0 0 0 Data register Data register 1 0 0 0 1 Error register Feature register 1 0 0 1 0 Sector count register Sector count register 1 0 0 1 1 Sector number register Sector number register 1 0 1 0 0 Cylinder low register Cylinder low register 1 0 1 0 1 Cylinder high register Cylinder high register 1 0 1 1 0 Drive head register Drive head register 1 0 1 1 1 Status register Command register 0 1 1 1 0 Alt. status register Device control register 0 1 1 1 1 Drive address register Reserved 35 HB28D096/032A8HSR 1. Data register: This register is a 16-bit register that has read/write ability, and it is used for transferring 1 sector data between the card and the host. This register can be accessed in word mode and byte mode. This register overlaps the Error or Feature register. bit15 bit14 bit13 bit12 bit11 bit10 bit9 bit8 bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 D0 to D15 2. Error register: This register is a read only register, and it is used for analyzing the error content at the card accessing. This register is valid when the BSY bit in Status register and Alternate Status register are set to "0" (Ready). bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 BBK UNC “0” IDNF “0” ABRT “0” AMNF bit Name Function 7 BBK (Bad BlocK detected) This bit is set when a Bad Block is detected in requested ID field. 6 UNC (Data ECC error) This bit is set when Uncorrectable error is occurred at reading the card. 4 IDNF (ID Not Found) The requested sector ID is in error or cannot be found. 2 ABRT (ABoRTed command) This bit is set if the command has been aborted because of the card status condition. (Not ready, Write fault, Invalid command, etc.) 0 AMNF (Address Mark Not Found) This bit is set in case of a general error. 3. Feature register: This register is write only register, and provides information regarding features of the drive which the host wishes to utilize. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Feature byte 4. Sector count register: This register contains the numbers of sectors of data requested to be transferred on a read or write operation between the host and the card. If the value of this register is zero, a count of 256 sectors is specified. In plural sector transfer, if not successfully completed, the register contains the number of sectors which need to be transferred in order to complete the request. This register's initial value is "01H". bit7 bit6 bit5 bit4 bit3 Sector count byte 36 bit2 bit1 bit0 HB28D096/032A8HSR 5. Sector number register: This register contains the starting sector number which is started by following sector transfer command. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Sector number byte 6. Cylinder low register: This register contains the low 8-bit of the starting cylinder address which is started by following sector transfer command. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Cylinder low byte 7. Cylinder high register: This register contains the high 8-bit of the starting cylinder address which is started by following sector transfer command. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 Cylinder high byte 8. Drive head register: This register is used for selecting the Drive number and Head number for the following command. bit7 bit6 bit5 bit4 bit3 1 LBA 1 DRV Head number bit2 bit1 bit0 bit Name Function 7 1 This bit is set to "1". 6 LBA LBA is a flag to select either Cylinder / Head / Sector (CHS) or Logical Block Address (LBA) mode. When LBA=0, CHS mode is selected. When LBA=1, LBA mode is selected. In LBA mode, the Logical Block Address is interrupted as follows: LBA07-LBA00 : Sector Number Register D7-D0. LBA15-LBA08 : Cylinder Low Register D7-D0. LBA23-LBA16 : Cylinder High Register D7-D0. LBA27-LBA24 : Drive / Head Register bits HS3-HS0. 5 1 This bit is set to "1". 4 DRV (DRiVe select) This bit is used for selecting the Master (Card 0) and Slave (Card 1) in Master/Slave organization. The card is set to be Card 0 or 1 by using DRV# of the Socket and Copy register. 3 to 0 Head number This bit is used for selecting the Head number for the following command. Bit 3 is MSB. 37 HB28D096/032A8HSR 9. Status register: This register is read only register, and it indicates the card status of command execution. When this register is read in configured I/O card mode (INDEX = 1, 2, 3) and level interrupt mode, -IREQ is negated. This register should be accessed in byte mode. In word mode, it is recommended that Alternate status register may be used as this register. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 BSY DRDY DWF DSC DRQ CORR IDX ERR bit Name Function 7 BSY (BuSY) This bit is set when the card internal operation is executing. When this bit is set to "1", other bits in this register are invalid. 6 DRDY (Drive ReaDY) If this bit and DSC bit are set to "1", the card is capable of receiving the read or write or seek requests. If this bit is set to "0", the card prohibits these requests. 5 DWF (Drive Write Fault) This bit is set if this card indicates the write fault status. 4 DSC (Drive Seek Complete) This bit is set when the drive seek complete. 3 DRQ (Data ReQuest) This bit is set when the information can be transferred between the host and Data register. This bit is cleared when the card receives the other command. 2 CORR (CORRected data) This bit is set when a correctable data error has been occurred and the data has been corrected. 1 IDX (InDeX) This bit is always set to "0". 0 ERR (ERRor) This bit is set when the previous command has ended in some type of error. The error information is set in the other Status register or Error register. This bit is cleared by the next command. 10. Alternate status register: This register is the same as Status register in physically, so the bit assignment refers to previous item of Status register. But this register is different from Status register that -IREQ is not negated when data read. 11. Command register: This register is write only register, and it is used for writing the command at executing the drive operation. The command code written in the command register, after the parameter is written in the Task File during the card is Ready state. 38 HB28D096/032A8HSR Used parameter Command Command code FR SC SN CY DR HD LBA Check power mode E5H or 98H N N N N Y N N Execute drive diagnostic 90H N N N N Y N N Erase sector C0H N Y Y Y Y Y Y Format track 50H N Y N Y Y Y Y Identify Drive ECH N N N N Y N N Idle E3H or 97H N Y N N Y N N Idle immediate E1H or 95H N N N N Y N N Initialize drive parameters 91H N Y N N Y Y N Read buffer E4H N N N N Y N N Read multiple C4H N Y Y Y Y Y Y Read long sector 22H or 23H N N Y Y Y Y Y Read sector 20H or 21H N Y Y Y Y Y Y Read verify sector 40H or 41H N Y Y Y Y Y Y Recalibrate 1XH N N N N Y N N Request sense 03H N N N N Y N N Seek 7XH N N Y Y Y Y Y Set features EFH Y N N N Y N N Set multiple mode C6H N Y N N Y N N Set sleep mode E6H or 99H N N N N Y N N Stand by E2H or 96H N N N N Y N N Stand by immediate E0H or 94H N N N N Y N N Translate sector 87H N Y Y Y Y Y Y Wear level F5H N N N N Y Y N Write buffer E8H N N N N Y N N Write long sector 32H or 33H N N Y Y Y Y Y Write multiple C5H N Y Y Y Y Y Y Write multiple w/o erase CDH N Y Y Y Y Y Y Write sector 30H or 31H N Y Y Y Y Y Y Write sector w/o erase 38H N Y Y Y Y Y Y Write verify 3CH N Y Y Y Y Y Y 39 HB28D096/032A8HSR Note: FR: Feature register SC: Sector Count register SN: Sector Number register CY: Cylinder register DR: DRV bit of Drive Head register HD: Head Number of Drive Head register LBA: Logical Block Address Mode Supported Y: The register contains a valid parameter for this command. N: The register does not contain a valid parameter for this command. 12. Device control register: This register is write only register, and it is used for controlling the card interrupt request and issuing an ATA soft reset to the card. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 × × × × 1 SRST nIEN 0 bit Name Function 7 to 4 × don't care 3 1 This bit is set to "1". 2 SRST (Software ReSeT) This bit is set to "1" in order to force the card to perform Task File Reset operation. This does not change the Card Configuration registers as a Hardware Reset does. The card remains in Reset until this bit is reset to "0". 1 nIEN (Interrupt ENable) This bit is used for enabling -IREQ. When this bit is set to "0", -IREQ is enabled. When this bit is set to "1", -IREQ is disabled. 0 0 This bit is set to "0". 13. Drive Address register: This register is read only register, and it is used for confirming the drive status. This register is provides for compatibility with the AT disk drive interface. It is recommended that this register is not mapped into the host’s I/O space because of potential conflicts on bit7. bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 × nWTG nHS3 nHS2 nHS1 nHS0 nDS1 nDS0 bit Name Function 7 × This bit is unknown 6 nWTG (WriTing Gate) This bit is unknown 5 to 2 nHS3-0 (Head Select3-0) These bits is the negative value of Head Select bits (bit 3 to 0) in Drive/Head register. 1 nDS1 (Idrive Select1) This bit is unknown 0 nDS0 (Idrive Select0) This bit is unknown 40 HB28D096/032A8HSR ATA Command specifications This table summarizes the ATA command set with the paragraphs. Following shows the support commands and command codes which are written in command registers. ATA Command Set No. Command set Code FR SC SN CY DR HD LBA 1 Check power mode E5H or 98H — — — — Y — — 2 Execute drive diagnostic 90H — — — — Y — — 3 Erase sector(s) C0H — Y Y Y Y Y Y 4 Format track 50H — Y — Y Y Y Y 5 Identify Drive ECH — — — — Y — — 6 Idle E3H or 97H — Y — — Y — — 7 Idle immediate E1H or 95H — — — — Y — — 8 Initialize drive parameters 91H — Y — — Y Y — 9 Read buffer E4H — — — — Y — — 10 Read multiple C4H — Y Y Y Y Y Y 11 Read long sector 22H, 23H — — Y Y Y Y Y 12 Read sector (s) 20H, 21H — Y Y Y Y Y Y 13 Read verify sector (s) 40H, 41H — Y Y Y Y Y Y 14 Recalibrate 1XH — — — — Y — — 15 Request sense 03H — — — — Y — — 16 Seek 7XH — — Y Y Y Y Y 17 Set features EFH Y — — — Y — — 18 Set multiple mode C6H — Y — — Y — — 19 Set sleep mode E6H or 99H — — — — Y — — 20 Stand by E2H or 96H — — — — Y — — 21 Stand by immediate E0H or 94H — — — — Y — — 22 Translate sector 87H — Y Y Y Y Y Y 23 Wear level F5H — — — — Y Y — 24 Write buffer E8H — — — — Y — — 25 Write long sector 32H or 33H — — Y Y Y Y Y 26 Write multiple C5H — Y Y Y Y Y Y 27 Write multiple w/o erase CDH — Y Y Y Y Y Y 28 Write sector 30H or 31H — Y Y Y Y Y Y 29 Write sector(s) w/o erase 38H — Y Y Y Y Y Y 30 Write verify 3CH — Y Y Y Y Y Y 41 HB28D096/032A8HSR Note: FR: Feature Register SC: Sector Count register (00H to FFH) SN: Sector Number register (01H to 20H) CY: Cylinder Low/High register (to) DR: Drive bit of Drive/Head register HD: Head No.(0 to 3) of Drive/Head register NH: No. of Heads Y: Set up —: Not set up 1. Check Power Mode (code: E5H or 98H): This command checks the power mode. 2. Execute Drive Diagnostic (code: 90H): This command performs the internal diagnostic tests implemented by the Card. 3. Erase Sector(s) (code: C0H): This command is used to erase data sectors. 4. Format Track (code: 50H): This command writes the desired head and cylinder of the selected drive. But selected sector data is not exchange. This card excepts a sector buffer of data from the host to follow the command with same protocol as the Write Sector Command. 5. Identify Drive (code: ECH): This command enables the host to receive parameter information from the Card. 42 HB28D096/032A8HSR Identify Drive Information Word address Default value Total bytes Data field type information 0 848AH 2 General configuration bit-significant information 1 XXXX 2 Default number of cylinders 2 0000H 2 Reserved 3 00XXH 2 Default number of heads 4 0000H 2 Number of unformatted bytes per track 5 XXXX 2 Number of unformatted bytes per sector 6 XXXX 2 Default number of sectors per track 7 to 8 XXXX 4 Number of sectors per card (Word7 = MSW, Word8 = LSW) 9 0000H 2 Reserved 10 to 19 XXXX 20 Reserved 20 0002H 2 Buffer type (dual ported) 21 0002H 2 Buffer size in 512 byte increments 22 0004H 2 # of ECC bytes passed on Read/Write Long Commands 23 to 46 XXXX 48 Firmware revision in ASCII etc. 47 0001H 2 Maximum of 1 sector on Read/Write Multiple command 48 0000H 2 Double Word not supported 49 0200H 2 Capabilities: DMA NOT Supported (bit 8), LBA supported (bit9) 50 0000H 2 Reserved 51 0100H 2 PIO data transfer cycle timing mode 1 52 0000H 2 DMA data transfer cycle timing mode not Supported 53 to 58 XXXX 12 Reserved 59 010XH 2 Multiple sector setting is valid 60 to 61 XXXX 4 Total number of sectors addressable in LBA Mode 62 to 255 0000H 388 Reserved 6. Idle (code: E3H or 97H): This command causes the Card to set BSY, enter the Idle mode, clear BSY and generate an interrupt. If sector count is non-zero, the automatic power down mode is enabled. If the sector count is zero, the automatic power down mode is disabled. 7. Idle Immediate (code: E1H or 95H): This command causes the Card to set BSY, enter the Idle (Read) mode, clear BSY and generate an interrupt. 8. Initialize Drive Parameters (code: 91H): This command enables the host to set the number of sectors per track and the number of heads per cylinder. 9. Read Buffer (code: E4H): This command enables the host to read the current contents of the card's sector buffer. 43 HB28D096/032A8HSR 10. Read Multiple (code: C4H): This command performs similarly to the Read Sectors command. Interrupts are not generated on each sector, but on the transfer of a block which contains the number of sectors defined by a Set Multiple command. 11. Read Long Sector (code: 22H or 23H): This command performs similarly to the Read Sector(s) command except that it returns 516 bytes of data instead of 512 bytes. 12. Read Sector(s) (code: 20H, 21H): This command reads from 1 to 256 sectors as specified in the Sector Count register. A sector count of 0 requests 256 sectors. The transfer begins at the sector specified in the Sector Number register. 13. Read Verify Sector(s) (code: 40H or 41H): This command is identical to the Read Sectors command, except that DRQ is never set and no data is transferred to the host . 14. Recalibrate (code: 1XH): This command is effectively a NOP command to the Card and is provided for compatibility purposes. 15. Request Sense (code: 03H): This command requests an extended error code after command ends with an error. 16. Seek (code: 7XH): This command is effectively a NOP command to the Card although it does perform a range check. 17. Set Features (code: EFH): This command is used by the host to establish or select certain features. Feature Operation 01H Enable 8-bit data transfers. 55H Disable Read Look Ahead. 66H Disable Power on Reset (POR) establishment of defaults at Soft Reset. 81H Disable 8-bit data transfers. BBH 4 bytes of data apply on Read/Write Long commands. CCH Enable Power on Reset (POR) establishment of defaults at Soft Reset. 18. Set Multiple Mode (code: C6H): This command enables the Card to perform Read and Write Multiple operations and establishes the block count for these commands. 19. Set Sleep Mode (code: E6H or 99H): This command causes the Card to set BSY, enter the Sleep mode, clear BSY and generate an interrupt. 20. Stand By (code: E2H or 96H): 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. 21. Stand By Immediate (code: E0H or 94H): 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. 44 HB28D096/032A8HSR 22. Translate Sector (code: 87H): This card does not support by this command the function of determining the exact number of times a user sector has been erased and programmed because this card always responds with “00H”, though this command could provide information containing the desired cylinder, head and sector, including its Logical Address, etc. 23. Wear Level (code: F5H): This command effectively a NOP command and only implemented for backward compatibility. The Sector Count Register will always be returned with an 00H indicating Wear Level is not needed. 24. Write Buffer (code: E8H): This command enables the host to overwrite contents of the Card's sector buffer with any data pattern desired. 25. Write Long Sector (code: 32H or 33H): This command is provided for compatibility purposes and is similar to the Write Sector(s) command except that it writes 516 bytes instead of 512 bytes. 26. Write Multiple (code: C5H): This command is similar to the Write Sectors command. Interrupts are not presented on each sector, but on the transfer of a block which contains the number of sectors defined by Set Multiple command. 27. Write Multiple without Erase (code: CDH): This command is similar to the Write Multiple command with the exception that an implied erase before write operation is not performed. 28. Write Sector(s) (code: 30H or 31H): This command writes from 1 to 256 sectors as specified in the Sector Count register. A sector count of zero requests 256 sectors. The transfer begins at the sector specified in the Sector Number register. 29. Write Sector(s) without Erase (code: 38H): This command is similar to the Write Sector(s) command with the exception that an implied erase before write operation is not performed. 30. Write Verify (code: 3CH): This command is similar to the Write Sector(s) command, except each sector is verified immediately after being written. 45 HB28D096/032A8HSR Sector Transfer Protocol 1. Sector read: 1 sector read procedure after the card configured I/O interface is shown as follows. Start I/O Access, INDEX=1 Set the cylinder low / high register Set the head No. of drive head register (1)Set the logical sector number Set the sector number register Set "01H" in sector count register Set "20H" in Command register (2) Read the status register (3) N "58H"? Y Read 256 times the data register (512 bytes) (4)Burst data transfer Read the status register N (5) "50H"? Y Wait the command input 46 HB28D096/032A8HSR (1) A0 to A10 (2) 4H 5H 6H 3H 2H 7H (3) 7H (4) (5) 7H 0H 0H 58H Data transfer 7H 7H -CE1 -CE2 -IOWR -IORD D0 to D15 01H20H 80H 80H 50H -IREQ 47 HB28D096/032A8HSR 2. Sector write: 1 sector write procedure after the card configured I/O interface is shown as follows. Start I/O Access, INDEX=1 Set the cylinder low / high register Set the head No. of drive head register (1) Set the logical sector number Set the sector number register Set "01H" in sector count register Set "30H" in command register (2) Read the status register (3) N "58H"? Y Write 256 times the data register (512 bytes) (4) Burst data transfer Read the status register N (5) "50H"? Y Wait the command input 48 HB28D096/032A8HSR (1) A0 to A10 (2) 4H 5H 6H 3H 2H 7H (3) 7H (4) (5) 7H 0H 0H 58H Data transfer 7H 7H 80H 50H -CE1 -CE2 -IOWR -IORD D0 to D15 01H30H 80H -IREQ 49 HB28D096/032A8HSR Absolute Maximum Ratings Parameter Symbol Value Unit Note All input/output voltages Vin, Vout –0.3 to VCC + 0.3 V 1 VCC voltage VCC –0.3 to +6.5 V Operating temperature range Topr –25 to +85 °C Storage temperature range Tstg –25 to +85 °C Note: 1. Vin, Vout min = –2.0 V for pulse width ≤ 20 ns. Recommended DC Operating Conditions Parameter Symbol Min Typ Max Unit Operating temperature Ta –25 25 +85 ˚C VCC voltage VCC 5.0 − 10% 5.0 5.0 + 10% V 3.3 − 5% 3.3 + 5% 3.3 Note V Capacitance (Ta = 25˚C, f = 1MHz) Parameter Symbol Min Typ Max Unit Test conditions Input capacitance Cin — — 35 pF Vin = 0 V Output capacitance Cout — — 35 pF Vout = 0 V System Performance Item Performance Start up times (Reset to ready) 100 ms (max) Start up times (Sleep to idle) 2 ms (max) Data transfer rate to/from host 8 MB/s burst Controller overhead (Command to DRQ) 2 ms (max) Data transfer cycle end to ready (Sector write) 2 ms (typ) 50 HB28D096/032A8HSR DC Characteristics-1 (Ta = −25 to +85˚C, VCC = 5.0 V ± 10%) Parameter Symbol Min Typ Max Unit Test conditions Note Input leakage current I LI — — ±1 µA Vin = GND to VCC 1 Input voltage (CMOS) VIL — — 0.8 V VIH 4.0 — — V VIL — 2.0 — V VIH — 2.8 — V VOL — — 0.4 V I OL = 8 mA VOH VCC – 0.8 — — V I OH = –8 mA Input voltage (schmitt trigger) Output voltage Note: 1. Except pulled up input pin. DC Characteristics-2 (Ta = −25 to +85˚C, VCC = 3.3 V ± 5%) Parameter Symbol Min Typ Max Unit Test conditions Note Input leakage current I LI — — ±1 µA Vin = GND to VCC 1 Input voltage (CMOS) VIL — — 0.6 V VIH 2.4 — — V VIL — 1.0 — V VIH — 1.8 — V VOL — — 0.4 V I OL = 8 mA VOH VCC – 0.8 — — V I OH = –8 mA Input voltage (schmitt trigger) Output voltage Note: 1. Except pulled up input pin. 51 HB28D096/032A8HSR DC Characteristics-3 (Ta = −25 to +85˚C, VCC = 5.0 V ± 10%) 32MB 96MB Parameter Symbol Typ Max Typ Max Unit Test conditions Sleep/standby current I SP1 0.5 1.0 0.5 1.0 mA CMOS level (control signal = VCC – 0.2 V) (In Memory card mode and I/O card mode) Sector read current I CCR (RMS)*1 30 100 30 100 mA CMOS level (control signal = VCC – 0.2 V) during sector read transfer Sector write current I CCW (RMS)*1 40 100 60 100 mA CMOS level (control signal = VCC – 0.2 V) during sector write transfer Read/Write current peak I CC (Peak) 120 mA/ 50 µs*2 CMOS level (control signal = VCC – 0.2 V) Note: 120 mA/ 50 µs*2 1. Average value of the RMS operation current at the time of 128 sector transfer. 2. Reference value. DC Characteristics-4 (Ta = −25 to +85˚C, VCC = 3.3 V ± 5%) 32MB 96MB Parameter Symbol Typ Max Typ Max Unit Test conditions Sleep/standby current I SP1 0.3 1.0 0.3 1.0 mA CMOS level (control signal = VCC – 0.2 V) (In Memory card mode and I/O card mode) Sector read current I CCR (RMS)*1 20 75 20 75 mA CMOS level (control signal = VCC – 0.2 V) during sector read transfer Sector write current I CCW (RMS)*1 30 75 50 75 mA CMOS level (control signal = VCC – 0.2 V) during sector write transfer Read/Write current peak I CC (Peak) 120 mA/ 50 µs*2 CMOS level (control signal = VCC – 0.2 V) Note: 52 120 mA/ 50 µs*2 1. Average value of the RMS operation current at the time of 128 sector transfer. 2. Reference value. HB28D096/032A8HSR AC Characteristics (Ta = −25 to +85˚C, VCC = 5.0 V ± 10%, VCC = 3.3 V ±5%) Attribute Memory Read AC Characteristics 250 ns Parameter Symbol Min Typ Max Unit Read cycle time tCR 250 — — ns Address access time ta(A) — — 250 ns -CE access time ta(CE) — — 250 ns -OE access time ta(OE) — — 125 ns Output disable time (-CE) tdis(CE) — — 100 ns Output disable time (-OE) tdis(OE) — — 100 ns Output enable time (-CE) ten(CE) 5 — — ns Output enable time (-OE) ten(OE) 5 — — ns Data valid time (A) tv(A) 0 — — ns Address setup time tsu(A) 30 — — ns Address hold time th(A) 20 — — ns -CE setup time tsu(CE) 0 — — ns -CE hold time th(CE) 20 — — ns Attribute Memory Read Timing tCR A0 to A10 -REG ta(A) th(A) tv(A) ta(CE) -CE2/-CE1 tsu(A) tsu(CE) th(CE) ta(OE) tdis(CE) -OE ten(OE) tdis(OE) ten(CE) D0 to D15 Valid Output -WE, -IOWR, -IORD : High Fix 53 HB28D096/032A8HSR Attribute Memory Write AC Characteristics 250 ns Parameter Symbol Min Typ Max Unit Write cycle time tCW 250 — — ns Write pulse time tw(WE) 150 — — ns Address setup time tsu(A) 30 — — ns Address setup time (-WE) tsu(A-WEH) 180 — — ns -CE setup time (-WE) tsu(CE-WEH) 180 — — ns Data setup time (-WE) tsu(D-WEH) 80 — — ns Data hold time th(D) 30 — — ns Write recover time trec(WE) 30 — — ns Output disable time (-WE) tdis(WE) — — 100 ns Output disable time (-OE) tdis(OE) — — 100 ns Output enable time (-WE) ten(WE) 5 — — ns Output enable time (-OE) ten(OE) 5 — — ns Output enable setup time (-WE) tsu(OE-WE) 10 — — ns Output enable hold time (-WE) th(OE-WE) 10 — — ns -CE setup time tsu(CE) 0 — — ns -CE hold time th(CE) 20 — — ns Attribute Memory Write Timing tCW A0 to A10 -REG tsu(CE-WEH) -CE2/-CE1 tsu(A-WEH) tsu(CE) th(CE) -OE tsu(A) -WE tw(WE) tsu(OE-WE) tsu(D-WEH) D0 to D15(Din) trec(WE) th(OE-WE) th(D) Input Data tdis(OE) tdis(WE) ten(OE) D0 to D15(Dout) ten(WE) -IOWR, -IORD : High Fix 54 HB28D096/032A8HSR I/O Access Read AC Characteristics Parameter Symbol Min Typ Max Unit Data delay after -IORD td(IORD) — — 100 ns Data hold following -IORD th(IORD) 0 — — ns -IORD pulse width tw(IORD) 165 — — ns Address setup before -IORD tsuA(IORD) 70 — — ns Address hold following -IORD thA(IORD) 20 — — ns -CE setup before -IORD tsuCE(IORD) 5 — — ns -CE hold following -IORD thCE(IORD) 20 — — ns -REG setup before -IORD tsuREG(IORD) 5 — — ns -REG hold following -IORD thREG(IORD) 0 — — ns -INPACK delay falling from -IORD tdfINPACK(IORD) 0 — 45 ns -INPACK delay rising from -IORD tdrINPACK(IORD) — — 45 ns -IOIS16 delay falling from address tdfIOIS16(ADR) — — 35 ns -IOIS16 delay rising from address tdrIOIS16(ADR) — — 35 ns I/O Access Read Timing A0 to A10 thA(IORD) tsuREG(IORD) thREG(IORD) -REG tsuCE(IORD) thCE(IORD) -CE2/-CE1 tw(IORD) -IORD tdrINPACK(IORD) tsuA(IORD) -INPACK tdfIOIS16(ADR) tdrIOIS16(ADR) tdfINPACK(IORD) -IOIS16 th(IORD) D0 to D15 Valid Output td(IORD) -WE, -OE, -IOWR : High Fix 55 HB28D096/032A8HSR I/O Access Write AC Characteristics Parameter Symbol Min Typ Max Unit Data setup before -IOWR tsu(IOWR) 60 — — ns Data hold following -IOWR th(IOWR) 30 — — ns -IOWR pulse width tw(IOWR) 165 — — ns Address setup before -IOWR tsuA(IOWR) 70 — — ns Address hold following -IOWR thA(IOWR) 20 — — ns -CE setup before -IOWR tsuCE(IOWR) 5 — — ns -CE hold following -IOWR thCE(IOWR) 20 — — ns -REG setup before -IOWR tsuREG(IOWR) 5 — — ns -REG hold following -IOWR thREG(IOWR) 0 — — ns -IOIS16 delay falling from address tdfIOIS16(ADR) — — 35 ns -IOIS16 delay rising from address tdrIOIS16(ADR) — — 35 ns I/O Access Write Timing A0 to A10 thA(IOWR) tsuREG(IOWR) thREG(IOWR) -REG tsuCE(IOWR) thCE(IOWR) -CE2/-CE1 tsuA(IOWR) tw(IOWR) -IOWR tdfIOIS16(ADR) tdrIOIS16(ADR) -IOIS16 tsu(IOWR) D0 to D15 th(IOWR) Data In -WE, -OE, -IORD : High Fix 56 HB28D096/032A8HSR Common Memory Access Read AC Characteristics Parameter Symbol Min Typ Max Unit -OE access time ta(OE) — — 125 ns Output disable time (-OE) tdis(OE) — — 100 ns Address setup time tsu(A) 30 — — ns Address hold time th(A) 20 — — ns -CE setup time tsu(CE) 0 — — ns -CE hold time th(CE) 20 — — ns Common Access Read Timing A0 to A10 th(A) tsu(A) -REG -CE2/-CE1 tsu(CE) th(CE) ta(OE) -OE tdis(OE) D0 to D15 Valid Output -WE, -IORD, -IOWR : High Fix 57 HB28D096/032A8HSR Common Memory Access Write AC Characteristics Parameter Symbol Min Typ Max Unit Data setup time (-WE) tsu(D-WEH) 80 — — ns Data hold time th(D) 30 — — ns Write pulse time tw(WE) 150 — — ns Address setup time tsu(A) 30 — — ns -CE setup time tsu(CE) 0 — — ns Write recover time trec(WE) 30 — — ns -CE hold following -WE th(CE) 20 — — ns Common Access Write Timing A0 to A10 -REG trec(WE) tsu(CE) -CE2/-CE1 tsu(A) -WE th(CE) tw(WE) tsu(D-WEH) D0 to D15 th(D) Data In -IOWR, -IORD, -OE : High Fix 58 HB28D096/032A8HSR True IDE Mode Access Read AC Characteristics Parameter Symbol Min Typ Max Unit data delay after IORD td(IORD) — — 100 ns data hold following IORD th(IORD) 0 — — ns IORD width time tw(IORD) 165 — — ns address setup before IORD tsuA(IORD) 70 — — ns address hold following IORD thA(IORD) 20 — — ns CE setup before IORD tsuCE(IORD) 5 — — ns CE hold following IORD thCE(IORD) 20 — — ns IOIS16 delay falling from address tdfIOIS16(ADR) — — 35 ns IOIS16 delay rising from address tdrIOIS16(ADR) — — 35 ns True IDE Mode Access Read Timing A0 to A2 thA(IORD) thCE(IORD) tsuA(IORD) tsuCE(IORD) -CE2/-CE1 tw(IORD) -IORD td(IORD) tdrlOIS16(ADR) -IOIS16 tdflOIS16(ADR) th(IORD) D0 to D15 Valid Output -IOWR: High Fix, -OE: Low Fix, -WE: High Fix, A3 to A10: GND 59 HB28D096/032A8HSR True IDE Mode Access Write AC Characteristics Parameter Symbol Min Typ Max Unit Data setup before IOWR tsu(IOWR) 60 — — ns data hold following IOWR th(IOWR) 30 — — ns IORD width time tw(IOWR) 165 — — ns address setup before IOWR tsuA(IOWR) 70 — — ns address hold following IOWR thA(IOWR) 20 — — ns CE setup before IOWR tsuCE(IOWR) 5 — — ns CE hold following IOWR thCE(IOWR) 20 — — ns IOIS16 delay falling from address tdfIOIS16(ADR) — — 35 ns IOIS16 delay rising from address tdrIOIS16(ADR) — — 35 ns True IDE Mode Access Write Timing A0 to A2 tsuA(IOWR) tsuCE(IOWR) -CE2/-CE1 thA(IOWR) thCE(IOWR) tw(IOWR) -IOWR tdrlOIS16(ADR) -IOIS16 tdflOIS16(ADR) D0 to D15 tsu(IOWR) th(IOWR) Valid Output -IORD: High Fix, -OE: Low Fix, -WE: High Fix, A3 to A10: GND 60 HB28D096/032A8HSR Reset Characteristics (only Memory Card Mode or I/O Card Mode) Hard Reset Characteristics Parameter Symbol Min Typ Max Unit Reset setup time tsu(RESET) 20 — — ms -CE recover time trec(VCC) 1 — — µs VCC rising up time tpr 0.1 — 100 ms VCC falling down time tpf 3 — 300 ms Reset pulse width tw(RESET) 10 — — µs th(Hi-ZRESET) 1 — — ms ts(Hi-ZRESET) 0 — — ms Note: Test conditions Note 1 1. As for this specification, it is fitted activity state when change. When reset signal is non-activity state and a card is ready state, can shift to power supply cutoff sequence instantly. Hard Reset Timing tpr tpf 90% Vcc 90% trec(Vcc) 10% 10% -CE1, -CE2 th(Hi-ZRESET) tsu(RESET) tw(RESET) RESET High-Z Low ts(Hi-ZRESET) High-Z 61 HB28D096/032A8HSR Power on Reset Characteristics All card status are reset automatically without Hard reset when V CC voltage goes over about 2.3 V. Parameter Symbol Min Typ Max Unit -CE setup time tsu(VCC) 20 — — ms VCC rising up time tpr 0.1 — 100 ms Test conditions Power on Reset Timing tpr Vcc tsu(vcc) -CE1, -CE2 Attention for Card Use • In the reset or power off, all register informations are cleared. • All card status are cleared automatically when V CC voltage turns below about 2.5V. • Notice that the card insertion/removal should not be executed while host is active, if the card is used in True IDE mode. • After the card hard reset, soft reset, or power on reset, ATA reset, command applied the card cannot access during +RDY/-BSY pin is "low" level. Flash card can’t be operated in this case. • Card removal or power off should not be done during internal operations. When the removal or power off occurrs during internal operation, there is a possibility that data are lost. • Before the card insertion VCC can not be supplied to the card. After confirmation that -CD1, -CD2 pins are inserted, supply VCC to the card. • -OE must be kept at the VCC level during power on reset in memory card mode and I/O card mode. -OE must be kept constantly at the GND level in True IDE mode. • We recommend that a circuit to detect the level of power supply voltage be added to the host. • When a read error occurs, rewriting of the sector is recommended. This may avoid the error. 62 HB28D096/032A8HSR Physical Outline As of January, 2002 Surface A 5.0 (max) Unit: mm Surface A 54.0 ± 0.1 85.6 ± 0.2 10.0 min 3.3 ± 0.1 Surface A 34 pin 1 pin 1.27 ± 0.1 68 pin 35 pin 1.27 ± 0.1 41.91 (Reference value) Surface B 63 HB28D096/032A8HSR Caution for Handling Cards • • • • • • • 64 Confirm the direction of insertion before inserting the card. Be careful not to damage the connector. To avoid damaging the card, never insert it in the wrong direction. Do not bend the card; do not drop the card or expose the card to mechanical shock of any other kind. Never modify or disassemble the card. Do not expose the card to static electricity or electrical noise. Make regular backups of the data in the card. HB28D096/032A8HSR Cautions 1. Hitachi neither warrants nor grants licenses of any rights of Hitachi’s or any third party’s patent, copyright, trademark, or other intellectual property rights for information contained in this document. Hitachi bears no responsibility for problems that may arise with third party’s rights, including intellectual property rights, in connection with use of the information contained in this document. 2. Products and product specifications may be subject to change without notice. Confirm that you have received the latest product standards or specifications before final design, purchase or use. 3. Hitachi makes every attempt to ensure that its products are of high quality and reliability. However, contact Hitachi’s sales office before using the product in an application that demands especially high quality and reliability or where its failure or malfunction may directly threaten human life or cause risk of bodily injury, such as aerospace, aeronautics, nuclear power, combustion control, transportation, traffic, safety equipment or medical equipment for life support. 4. Design your application so that the product is used within the ranges guaranteed by Hitachi particularly for maximum rating, operating supply voltage range, heat radiation characteristics, installation conditions and other characteristics. Hitachi bears no responsibility for failure or damage when used beyond the guaranteed ranges. Even within the guaranteed ranges, consider normally foreseeable failure rates or failure modes in semiconductor devices and employ systemic measures such as fail-safes, so that the equipment incorporating Hitachi product does not cause bodily injury, fire or other consequential damage due to operation of the Hitachi product. 5. This product is not designed to be radiation resistant. 6. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document without written approval from Hitachi. 7. Contact Hitachi’s sales office for any questions regarding this document or Hitachi semiconductor products. Hitachi, Ltd. Semiconductor & Integrated Circuits Nippon Bldg., 2-6-2, Ohte-machi, Chiyoda-ku, Tokyo 100-0004, Japan Tel: (03) 3270-2111 Fax: (03) 3270-5109 URL http://www.hitachisemiconductor.com/ For further information write to: Hitachi Semiconductor (America) Inc. 179 East Tasman Drive San Jose,CA 95134 Tel: <1> (408) 433-1990 Fax: <1>(408) 433-0223 Hitachi Europe Ltd. Electronic Components Group Whitebrook Park Lower Cookham Road Maidenhead Berkshire SL6 8YA, United Kingdom Tel: <44> (1628) 585000 Fax: <44> (1628) 585200 Hitachi Europe GmbH Electronic Components Group Dornacher Strasse 3 D-85622 Feldkirchen Postfach 201,D-85619 Feldkirchen Germany Tel: <49> (89) 9 9180-0 Fax: <49> (89) 9 29 30 00 Hitachi Asia Ltd. Hitachi Tower 16 Collyer Quay #20-00 Singapore 049318 Tel : <65>-6538-6533/6538-8577 Fax : <65>-6538-6933/6538-3877 URL : http://semiconductor.hitachi.com.sg Hitachi Asia Ltd. (Taipei Branch Office) 4/F, No. 167, Tun Hwa North Road Hung-Kuo Building Taipei (105), Taiwan Tel : <886>-(2)-2718-3666 Fax : <886>-(2)-2718-8180 Telex : 23222 HAS-TP URL : http://www.hitachi.com.tw Hitachi Asia (Hong Kong) Ltd. Group III (Electronic Components) 7/F., North Tower World Finance Centre, Harbour City, Canton Road Tsim Sha Tsui, Kowloon Hong Kong Tel : <852>-2735-9218 Fax : <852>-2730-0281 URL : http://semiconductor.hitachi.com.hk Copyright C Hitachi, Ltd., 2002. All rights reserved. Printed in Japan. Colophon 6.0 65