Professional Documents
Culture Documents
C3K80 SP v1.0
C3K80 SP v1.0
C3K80 SP v1.0
Hitachi C3K80
1.8 inch ATA/IDE hard disk drive
Models: HTC368080H8CE00 HTC368060H8CE00 HTC368040H5CE00 HTC368030H5CE00
1/129
C3K80 (PATA) Hard Disk Drive Specification 1st Edition: (Revision 1.0) (22 December 2006)
The following paragraph does not apply to the United Kingdom or any country where such provisions are inconsistent with local law: HITACHI GLOBAL STORAGE TECHNOLOGIES PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer or express or implied warranties in certain transactions, therefore, this statement may not apply to you. This publication could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. Hitachi may make improvements or changes in any products or programs described in this publication at any time. It is possible that this publication may contain reference to, or information about, Hitachi products (machines and programs), programming, or services that are not announced in your country. Such references or information must not be construed to mean that Hitachi intends to announce such Hitachi products, programming, or services in your country. Technical information about this product is available by contacting your local Hitachi Global Storage Technologies representative or on the Internet at http://www.hitachigst.com Hitachi Global Storage Technologies may have patents or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents. Copyright Hitachi Global Storage Technologies Note to U.S. Government Users Documentation related to restricted rights Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with Hitachi Global Storage Technologies.
2/129
Table of Contents
GENERAL .............................................................................................................................................. 9 1. INTRODUCTION ............................................................................................................................ 9 1.1. 1.2. 1.3. 1.4. 2. ABBREVIATIONS .............................................................................................................................. 9 REFERENCES................................................................................................................................. 11 GENERAL CAUTION ....................................................................................................................... 11 DRIVE HANDLING PRECAUTIONS ................................................................................................... 11
PART 1 FUNCTIONAL SPECIFICATION .......................................................................................... 13 3. FIXED DISK SUBSYSTEM DESCRIPTION ................................................................................ 14 3.1. 3.2. 4. CONTROL ELECTRONICS ............................................................................................................... 14 HEAD DISK ASSEMBLY DATA.......................................................................................................... 14
FIXED DISK CHARACTERISTICS .............................................................................................. 15 4.1. FORMATTED CAPACITY BY MODEL NUMBER .................................................................................. 15 4.2. DATA SHEET .................................................................................................................................. 15 4.3. CYLINDER ALLOCATION ................................................................................................................ 16 4.4. PERFORMANCE CHARACTERISTICS ................................................................................................ 18 4.4.1. COMMAND OVERHEAD ............................................................................................................... 18 4.4.1.1 AVERAGE SEEK TIME (INCLUDING SETTLING) ........................................................................ 19 4.4.1.2 FULL STROKE SEEK ................................................................................................................ 19 4.4.1.3 SINGLE TRACK SEEK TIME (WITHOUT COMMAND OVERHEAD, INCLUDING SETTLING) ........... 20 4.4.1.4 AVERAGE LATENCY ................................................................................................................ 20 4.4.1.5 DRIVE READY TIME ................................................................................................................ 20 4.4.2. OPERATING MODES.................................................................................................................... 21 4.4.2.1 DESCRIPTION OF OPERATING MODES ..................................................................................... 21 4.4.2.2 OPERATING MODE AT POWER ON ........................................................................................... 21 4.4.2.3 ADAPTIVE POWER SAVE CONTROL .......................................................................................... 21
5.
DATA INTEGRITY ........................................................................................................................ 22 5.1. 5.2. 5.3. 5.4. 5.5. 5.6. 5.7. 5.7.1. 5.7.2. 5.7.3. 5.8. DATA LOSS ON POWER OFF ............................................................................................................ 22 WRITE CACHE ............................................................................................................................... 22 EQUIPMENT STATUS...................................................................................................................... 22 WRITE SAFETY ............................................................................................................................ 22 DATA BUFFER TEST ....................................................................................................................... 22 ERROR RECOVERY ......................................................................................................................... 23 AUTOMATIC REALLOCATION.......................................................................................................... 23 NONRECOVERED WRITE ERRORS ............................................................................................... 23 NONRECOVERABLE READ ERROR ............................................................................................... 23 RECOVERED READ ERRORS ........................................................................................................ 23 ECC .............................................................................................................................................. 24
6.
SPECIFICATION .......................................................................................................................... 25 6.1. ENVIRONMENT .............................................................................................................................. 25 6.1.1. TEMPERATURE AND HUMIDITY .................................................................................................. 25 6.1.2. CORROSION TEST ....................................................................................................................... 26 6.1.3. RADIATION NOISE ...................................................................................................................... 26 6.1.4. CONDUCTIVE NOISE .................................................................................................................. 26 6.1.5. MAGNETIC FIELDS ..................................................................................................................... 26 6.2. DC POWER REQUIREMENTS .......................................................................................................... 27 6.2.1. POWER CONSUMPTION EFFICIENCY ........................................................................................... 28 6.3. RELIABILITY.................................................................................................................................. 29 3/129
C3K80 (PATA) Hard Disk Drive Specification 6.3.1. DATA RELIABILITY ..................................................................................................................... 29 6.3.2. FAILURE PREDICTION (S.M.A.R.T.) .......................................................................................... 29 6.3.3. CABLE NOISE INTERFERENCE .................................................................................................... 29 6.3.4. SERVICE LIFE AND USAGE CONDITION ....................................................................................... 29 6.3.5. PREVENTIVE MAINTENANCE...................................................................................................... 29 6.3.6. LOAD/UNLOAD ........................................................................................................................... 29 6.3.7. EMERGENCY UNLOAD ................................................................................................................ 30 6.3.8. REQUIRED POWER-OFF SEQUENCE .......................................................................................... 30 6.3.9. POWER SWITCH DESIGN CONSIDERATIONS ................................................................................ 30 6.3.10. TEST CONSIDERATIONS .......................................................................................................... 30 6.4. MECHANICAL SPECIFICATIONS ..................................................................................................... 32 6.4.1. PHYSICAL DIMENSIONS AND WEIGHT ........................................................................................ 32 6.4.2. MECHANICAL DIMENSIONS........................................................................................................ 32 6.4.3. CONNECTOR AND JUMPER DESCRIPTION ................................................................................... 33 6.4.4. MOUNTING ORIENTATION.......................................................................................................... 33 6.4.5. LOAD/UNLOAD MECHANISM....................................................................................................... 33 6.5. VIBRATION AND SHOCK ................................................................................................................. 34 6.5.1. OPERATING VIBRATION ............................................................................................................. 34 6.5.2. RANDOM VIBRATION .................................................................................................................. 34 6.5.3. SWEPT SINE VIBRATION ............................................................................................................. 34 6.5.4. NONOPERATING VIBRATION ...................................................................................................... 35 6.5.5. RANDOM VIBRATION .................................................................................................................. 35 6.5.6. SWEPT SINE VIBRATION ............................................................................................................. 35 6.5.7. OPERATING SHOCK .................................................................................................................... 35 6.5.8. NONOPERATING SHOCK ............................................................................................................. 36 6.6. ACOUSTICS .................................................................................................................................... 37 6.6.1. SOUND POWER LEVEL ................................................................................................................ 37 6.6.2. DISCRETE TONE PENALTY ......................................................................................................... 38 6.7. IDENTIFICATION LABELS ............................................................................................................... 39 6.8. ELECTROMAGNETIC COMPATIBILITY ............................................................................................. 39 6.8.1. CE MARK .................................................................................................................................. 39 6.8.2. C-TICK MARK ............................................................................................................................ 39 6.8.3. BSMI MARK .............................................................................................................................. 39 6.8.4. MIC MARK ................................................................................................................................ 39 6.9. SAFETY.......................................................................................................................................... 40 6.9.1. UL AND CSA APPROVAL ........................................................................................................... 40 6.9.2. IEC COMPLIANCE ...................................................................................................................... 40 6.9.3. GERMAN SAFETY MARK ............................................................................................................ 40 6.9.4. FLAMMABILITY .......................................................................................................................... 40 6.9.5. SECONDARY CIRCUIT PROTECTION ............................................................................................ 40 6.10. PACKAGING ............................................................................................................................... 40 6.11. SUBSTANCE RESTRICTION REQUIREMENTS ............................................................................... 40 7. ELECTRICAL INTERFACE SPECIFICATIONS ......................................................................... 41 7.1. 7.2. 7.3. 7.4. 7.5. 7.6. 7.7. 7.8. 7.9. 7.9.1. 7.9.2. 7.9.3. 7.9.4. 7.9.5. 7.9.6. CABLING ....................................................................................................................................... 41 INTERFACE CONNECTOR ............................................................................................................... 41 SIGNAL DEFINITIONS .................................................................................................................... 42 SIGNAL DESCRIPTIONS .................................................................................................................. 43 INTERFACE LOGIC SIGNAL LEVELS ................................................................................................ 45 RESET TIMINGS ............................................................................................................................. 45 PIO TIMINGS ................................................................................................................................. 46 MULTIWORD DMA TIMINGS ......................................................................................................... 47 ULTRA DMA TIMINGS ................................................................................................................... 48 INITIATING READ DMA............................................................................................................. 48 HOST PAUSING READ DMA ...................................................................................................... 49 HOST TERMINATING READ DMA .............................................................................................. 50 DEVICE TERMINATING READ DMA ........................................................................................... 51 INITIATING WRITE DMA ........................................................................................................... 52 DEVICE PAUSING WRITE DMA ................................................................................................. 53 4/129
C3K80 (PATA) Hard Disk Drive Specification 7.9.7. 7.9.8. 7.10. 7.10.1. 7.11. DEVICE TERMINATING WRITE DMA ......................................................................................... 54 HOST TERMINATING WRITE DMA ............................................................................................ 55 DRIVE ADDRESS SETTING .......................................................................................................... 56 DRIVE DEFAULT ADDRESS SETTING ....................................................................................... 56 ADDRESSING OF HDD REGISTERS ............................................................................................. 57
PART 2 INTERFACE SPECIFICATION ............................................................................................. 58 8. PARALLEL ATA COMMAND PROTOCOL .................................................................................. 59 8.1. 8.2. 8.3. 8.4. 9. PIO DATA IN COMMANDS ............................................................................................................. 59 PIO DATA OUT COMMANDS.......................................................................................................... 61 NON-DATA COMMANDS................................................................................................................. 62 DMA DATA TRANSFER COMMANDS .............................................................................................. 63
ATA REGISTERS .......................................................................................................................... 64 9.1. ATA REGISTERS ADDRESS............................................................................................................ 64 9.1.1. ALTERNATE STATUS REGISTER ................................................................................................. 64 9.1.2. COMMAND REGISTER ................................................................................................................ 64 9.1.3. DATA REGISTER ........................................................................................................................ 64 9.1.4. DEVICE CONTROL REGISTER ..................................................................................................... 65 9.1.5. DEVICE REGISTER ..................................................................................................................... 65 9.1.6. ERROR REGISTER ...................................................................................................................... 66 9.1.7. LBA HIGH REGISTER ................................................................................................................ 66 9.1.8. LBA MID REGISTER .................................................................................................................. 66 9.1.9. LBA LOW REGISTER ................................................................................................................. 66 9.1.10. STATUS REGISTER ................................................................................................................. 67
10.
GENERAL OPERATIONAL DESCRIPTIONS.......................................................................... 68 RESET RESPONSE ...................................................................................................................... 68 REGISTER INITIALIZATION ..................................................................................................... 69 POWER OFF CONSIDERATIONS................................................................................................... 70 REQUIRED POWER OFF SEQUENCE ........................................................................................ 70 EMERGENCY UNLOAD............................................................................................................ 70 SECTOR ADDRESSING MODE ..................................................................................................... 71 LOGICAL CHS ADDRESSING MODE ....................................................................................... 71 LBA ADDRESSING MODE (28 BIT ADDRESS).......................................................................... 71 LBA ADDRESSING MODE (48 BIT ADDRESS).......................................................................... 71 POWER MANAGEMENT FEATURE .............................................................................................. 72 POWER MODE ........................................................................................................................ 72 POWER MANAGEMENT COMMANDS ....................................................................................... 72 STANDBY COMMAND COMPLETION TIMING ........................................................................... 72 STANDBY TIMER .................................................................................................................... 72 STATUS .................................................................................................................................. 72 INTERFACE CAPABILITY FOR POWER MODES ........................................................................ 73 INITIAL POWER MODE AT POWER ON .................................................................................... 73 ADVANCED POWER MANAGEMENT FEATURE ............................................................................ 73 PERFORMANCE IDLE MODE ................................................................................................... 73 ACTIVE IDLE MODE ............................................................................................................... 73 LOW POWER IDLE MODE ....................................................................................................... 73 TRANSITION TIME .................................................................................................................. 74 SMART FUNCTION ................................................................................................................... 75 ATTRIBUTE VALUES ............................................................................................................... 75 ATTRIBUTE THRESHOLDS ...................................................................................................... 75 THRESHOLD EXCEEDED CONDITION ..................................................................................... 75 SMART COMMANDS ............................................................................................................. 75 SMART OPERATION WITH POWER MANAGEMENT................................................................ 75 WRITE CACHE FUNCTION.......................................................................................................... 76 REASSIGN FUNCTION ................................................................................................................ 77 AUTO REASSIGN FUNCTION ................................................................................................... 77 5/129
10.1. 10.1.1. 10.2. 10.2.1. 10.2.2. 10.3. 10.3.1. 10.3.2. 10.3.3. 10.4. 10.4.1. 10.4.2. 10.4.3. 10.4.4. 10.4.5. 10.4.6. 10.4.7. 10.5. 10.5.1. 10.5.2. 10.5.3. 10.5.4. 10.6. 10.6.1. 10.6.2. 10.6.3. 10.6.4. 10.6.5. 10.7. 10.8. 10.8.1.
C3K80 (PATA) Hard Disk Drive Specification 11. COMMAND DESCRIPTIONS ................................................................................................... 78 CHECK POWER MODE(E5H/98H)............................................................................................... 78 EXECUTE DEVICE DIAGNOSTIC (90H) ....................................................................................... 79 FLUSH CACHE (E7H) ................................................................................................................. 80 FLUSH CACHE EXT (EAH)........................................................................................................ 81 IDENTIFY DEVICE (ECH) ........................................................................................................... 82 IDLE (E3H/97H)......................................................................................................................... 90 IDLE IMMEDIATE (E1H/95H) ..................................................................................................... 91 IDLE IMMEDIATE WITH UNLOAD (E1H) ..................................................................................... 92 INITIALIZE DEVICE PARAMETERS (91H) .................................................................................... 93 READ BUFFER (E4H) ................................................................................................................. 94 READ DMA (C8H) ..................................................................................................................... 95 READ DMA EXT (25H) ............................................................................................................. 96 READ LONG (22H) ..................................................................................................................... 97 READ MULTIPLE (C4H) ............................................................................................................. 98 READ MULTIPLE EXT (29H) ..................................................................................................... 99 READ SECTORS (20H) .............................................................................................................. 100 READ SECTORS EXT (24H)...................................................................................................... 101 READ VERIFY SECTORS (40H) ................................................................................................. 102 READ VERIFY SECTORS EXT (42H)......................................................................................... 103 RECALIBRATE (1XH)................................................................................................................ 104 SEEK (7XH) ............................................................................................................................. 105 SENSE CONDITION (F0H:VENDOR UNIQUE)............................................................................ 106 SENSE DRIVE TEMPERATURE (FAH:VENDOR UNIQUE) .......................................................... 107 SET FEATURES (EFH).............................................................................................................. 108 SET MULTIPLE MODE (C6H) ................................................................................................... 110 SLEEP (E6H/99H) .................................................................................................................... 111 SMART FUNCTION SET (B0H)................................................................................................ 112 STANDBY (E2H/96H) ............................................................................................................... 116 STANDBY IMMEDIATE (E0H/94H) ............................................................................................ 117 WRITE BUFFER (E8H) ............................................................................................................. 118 WRITE DMA (CAH)................................................................................................................. 119 WRITE DMA EXT (35H) ......................................................................................................... 120 WRITE LONG (32H).................................................................................................................. 121 WRITE MULTIPLE (C5H).......................................................................................................... 122 WRITE MULTIPLE EXT (39H).................................................................................................. 123 WRITE SECTORS (30H) ............................................................................................................ 124 WRITE SECTORS EXT (34H).................................................................................................... 125 WRITE VERIFY (3CH, VENDOR UNIQUE)................................................................................. 126 ERROR POSTING ...................................................................................................................... 127 11.1. 11.2. 11.3. 11.4. 11.5. 11.6. 11.7. 11.8. 11.9. 11.10. 11.11. 11.12. 11.13. 11.14. 11.15. 11.16. 11.17. 11.18. 11.19. 11.20. 11.21. 11.22. 11.23. 11.24. 11.25. 11.26. 11.27. 11.28. 11.29. 11.30. 11.31. 11.32. 11.33. 11.34. 11.35. 11.36. 11.37. 11.38. 11.39. 12.
TIMINGS...................................................................................................................................128
6/129
List of Figures
Figure 1: Limits of temperature and humidity .................................................................................................... 26 Figure 2: Mounting Area locations ..................................................................................................................... 32 Figure 3: Interface connector location ................................................................................................................ 41
List of Tables
Table 1: Formatted capacity by model number Table 2: Data sheet Table 3: Cylinder allocation (40GB/p format) Table 4: Cylinder allocation (30GB/p format) Table 5: Performance characteristics Table 6: Mechanical positioning performance Table 7: Full stroke seek time Table 8: Single track seek time Table 9: Latency time Table 10: Drive ready time Table 11: Environmental condition Table 12: Magnetic flux density limits Table 13: DC Power requirements Table 14: Power consumption efficiency Table 15: Physical dimensions and weight Table 16: Random vibration PSD profile breakpoints (operating) Table 17: Swept sine vibration Table 18: Random Vibration PSD Profile Breakpoints (nonoperating) Table 19: Operating shock Table 20: Nonoperating shock Table 21: Weighted sound power Table 22: Connector pin assignment Table 23: Special signal definitions for Ultra DMA Table 24: Signal List Table 25: System reset timings Table 26: PIO cycle timings Table 27:Multiword DMA cycle timings Table 28: Ultra DMA cycle timings (Initiating Read) Table 29: Ultra DMA cycle timings (Host Pausing Read) Table 30: Ultra DMA cycle timings (Host Terminating Read) Table 31: Ultra DMA cycle timings (Device Terminating Read) Table 32: Ultra DMA cycle timings (Initiating Write) Table 33: Ultra DMA cycle timings (Device Pausing Write) Table 34: Ultra DMA cycle timings (Device Terminating Write) Table 35: Ultra DMA cycle timings (Host Terminating Write) Table 36: I/O address map Table 37 ATA Registers Address Table 38 Alternate Status Register Table 39 Device Control Register Table 40 Device Register Table 41 Error Register Table 42 Status Register Table 43 Reset Types Table 44 Reset Response Table 45 Default Register Values Table 46 Diagnostic Codes Table 10-47 Power Conditions Table 48 Check Power Mode Command Table 49 Execute Device Diagnostic command Table 50 Flush Cache Command Table 51 Flush Cache EXT Command 7/129 15 15 16 17 18 19 19 20 20 20 25 26 27 28 32 34 34 35 35 36 37 42 42 43 45 46 47 48 49 50 51 52 53 54 55 57 64 64 65 65 66 67 68 68 69 69 73 78 79 80 81
C3K80 (PATA) Hard Disk Drive Specification Table 52 Identify Device Command Table 53 Identify Device Data Structure Table 54 Identify Device Data Structure Table 55 Idle Command Table 56 Idle Immediate Command Table 57 Idle Immediate Command with Unload Table 58 Initialize Device Parameters Command Table 59 Read Buffer Command Table 60 Read DMA Command Table 61 Read DMA EXT Command Table 62 Read Long Command Table 63 Read Multiple Command Table 64 Read Multiple EXT Command Table 65 Read Sectors Command Table 66 Read Sectors EXT Command Table 67 Read Verify Sectors Command Table 68 Read Verify Sectors EXT Command Table 69 Recalibrate Command Table 70 Seek Command Table 71 Sense Condition Command Table 72 Sense Drive Temperature Command Table 73 Set Features Command Table 74 Supported Features Table 75 Set Multiple Mode Command Table 76 Sleep Command Table 77 SMART Function Set Command Table 78 SMART Subcommands Table 79 SMART Device Attribute Data Structure Table 80 SMART Individual Attribute Data Structure Table 81 SMART Attribute ID Table 82 Standby Command Table 83 Standby Immediate Command Table 84 Write Buffer Command Table 85 Write DMA Command Table 86 Write DMA EXT Command Table 87 Write Long Command Table 88 Write Multiple Command Table 89 Write Multiple EXT Command Table 90 Write Sectors Command Table 91 Write Sectors EXT Command Table 92 Error Reporting Table 93 Timeout Values
82 83 84 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 108 110 111 112 113 114 115 115 116 117 118 119 120 121 122 123 124 125 127 128
8/129
General 1. Introduction
This document describes the specifications of the Hitachi C3K80, a 1.8-inch hard disk drive with ATA/IDE interface: Drive name Model Number Capacity (GB) Height (mm) Rotation speed (rpm) C3K80-80 HTC368080H8CE00 80 8.0 3600 C3K80-60 C3K80-40 C3K80-30 HTC368060H8CE00 HTC368040H5CE00 HTC368030H5CE00 60 40 30 8.0 5.0 5.0 3600 3600 3600
Part 1 of this document beginning on page 13 defines the hardware functional specification. Part 2 of this document is the Interface specification.
1.1.
Abbreviation 32 KB 64 KB " A AC AT ATA Bels BIOS C CSA C-UL Cyl DC DMA ECC EEC EMC ERP ESD FCC G Gb GB GND h HDD Hz I I/O ISO KB Kbit/mm Kbit/sq-mm KHz
Abbreviations
Meaning 32 x 1024 bytes 64 x 1024 bytes inch amp alternating current Advanced Technology Advanced Technology Attachment unit of sound power Basic Input/Output System degrees Celsius Canadian Standards Association Canadian-Underwriters Laboratory cylinder direct current Direct Memory Access error correction code European Economic Community electromagnetic compatibility Error Recovery Procedure electrostatic discharge Federal Communications Commission gravity, a unit of force 1 000 000 000 bits 1 000 000 000 bytes ground hexadecimal hard disk drive hertz Input Input/Output International Standards Organization 1,000 bytes 1,000 bits per mm 1000 bits per square mm kilohertz 9/129
LBA Lw m max. or Max. MB Mbps Mb/sec MB/sec MHz mm ms ns us, s Nm No. or # oct/min O OD PIO POH P/N p-p PSD RH % RH RMS RPM RST R/W sec Sect/Trk SELV S.M.A.R.T Trk. TTL UL V W
C3K80 (PATA) Hard Disk Drive Specification logical block addressing unit of A-weighted sound power meter maximum 1,000,000 bytes 1,000,000 Bit per second 1,000,000 Bit per second 1,000,000 bytes per second megahertz millimeter millisecond nanosecond microsecond Newton meter number oscillations per minute Output Open Drain Programmed Input/Output
Programmed Input/Output
power on hours part number peak-to-peak power spectral density relative humidity per cent relative humidity root mean square revolutions per minute reset read/write second sectors per track A safety extra low voltage Self-monitoring, analysis, and reporting technology track transistor-transistor logic Underwriters Laboratory volt watt
10/129
1.2. 1.3.
References
ATA/ATAPI-7 (Revision 4b)
General caution
Do not apply force to the top cover (See figure below). Do not touch the interface connector pins or the surface of the printed circuit board. The drive can be damaged by shock or ESD (Electric Static Discharge). Any damages incurred to the drive after removing it from the shipping package and the ESD protective bag are the responsibility of the user
1.4.
11/129
1.8-inch, 8.0mm height (2-disk model) and 5.0mm height (1-disk model) Perpendicular Recording Formatted capacity : 80 and 60GB for 2-disk model, 40 and 30GB for 1-disk model 512 bytes/sector AT Interface (Enhanced IDE) conforming to ATA-7 Data Transfer Rate (Host-Device) -16.6 MB/sec: PIO mode-4/Multiword DMA mode-2 - 33.3 MB/sec: Ultra DMA mode-2 (Device-Buffer) - 288 Mbps(80 and 40GB)
Integrated controller including channel No-ID recording format MEEPRML 60/62 code with 1 bit parity Multi zone recording Enhanced ECC On-The-Fly 128kB Segmented Buffer with write cache Average seek time 14 ms for read Embedded Sector Servo Rotary Actuator Load/Unload Mechanism Auto Read Reassign/Auto Write Reassign FDB(Fluid Dynamics Bearing) Motor Low Power Consumption: 0.23W at Idle mode, 0.08W at Standby mode
12/129
13/129
Control Electronics
AT Interface Protocol Embedded Sector Servo No-ID (TM) formatting Multizone recording Code: 60/62 with 1 bit parity System ECC Enhanced Adaptive Battery Life Extender
3.2.
14/129
Description Physical Layout Bytes per Sector Sectors per Track Number of Heads Number of Disks Logical Layout Number of Heads Number of Sectors/ Track Number of Cylinders Number of Sectors Total Logical Data Bytes
4.2.
Data sheet
80GB 3600 288 33 38.3 973 5.24 133 201 130 24 60GB 3600 219 33 31.3 795 5.08 129 159 103 24 40GB 3600 288 33 38.3 973 5.24 133 201 130 24 30GB 3600 219 33 31.3 795 5.08 129 159 103 24
Rotational Speed (RPM) Data transfer rates (Max) (buffer to/from media) (Mbps) Data transfer rates (Mbyte/sec) ULTRA DMA 33 Recording density (Kbit/mm) (Max) (KBPI) (Max) Track density (Ktrack/mm) (KTPI) Areal density (Mbit/sq-mm.- Max) (Gbit/sq-inch - Max) Number of zones
15/129
4.3.
Cylinder allocation
Zone 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
No. of Sectors/Trk 873 868 868 840 806 798 784 772 739 728 714 705 672 651 638 616 604 576 571 560 546 504 470 436
16/129
Zone 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
No. of Sectors/Trk 672 672 651 651 616 616 616 616 604 604 576 560 546 546 532 504 470 456 448 436 408 378 364 336
17/129
4.4.
Performance characteristics
Drive performance is characterized by the following parameters: Command Overhead Mechanical Positioning Seek Time Latency Data Transfer Speed Buffering Operation (Look ahead/Write Cache) Note: All the above parameters contribute to drive performance. There are other parameters which contribute to the performance of the actual system. This specification defines the essential characteristics of the drive. This specification does not include the system throughput as this is dependent upon the system and the application. The following table gives a typical value for each parameter. The detailed descriptions are found in section 5.0.
4.4.1.
Command overhead
Command overhead time is defined as the interval from the time that a drive receives a command to the time that the actuator starts its motion.
18/129
Typical and Max. are defined throughout the performance specification as follows: Average of the drive population tested at nominal environmental and voltage conditions. Maximum value measured on any one drive over the full range of the environmental and voltage conditions. (See section 6.1, "Environment" on page 25 and section 6.2, "DC power requirements" on page 27) The seek time is measured from the start of motion of the actuator to the start of a reliable read or write operation. A reliable read or write operation implies that error correction/recovery is not employed to correct arrival problems. The Average Seek Time is measured as the weighted average of all possible seek combinations.
max. n=1
Typical Max.
(max. + 1 n)(Tnin + Tnout) Weighted Average = (max. + 1)(max) Where: max. = maximum seek length n = seek length (1-to-max.) Tnin = inward measured seek time for an n-track seek Tnout = outward measured seek time for an n-track seek
Full stroke seek time in milliseconds is the average time of 1000 full stroke seeks.
19/129
4.4.1.3 Single track seek time (without command overhead, including settling)
Table 8: Single track seek time
Command Type Read Write Typical (ms) 1.0 1.1 Maximum (ms) 3.0 3.0
Single track seek is measured as the average of one (1) single track seek from every track in both directions (inward and outward).
The condition in which the drive is able to perform a media access command (for exampleread, write) immediately. Power On To Ready This includes the time required for the internal self diagnostics.
Ready
20/129
4.4.2.
Operating modes
21/129
5. Data integrity
5.1. Data loss on power off
Power off during any operations except for write operation will not cause any data loss. Power off during a write operation causes the loss of data received by the drive but not yet written onto the disk media. There is a possibility that power off during a write operation might make a maximum of 1 sector of data unreadable. This state can be recovered by a rewrite operation.
5.2.
Write Cache
When write cache is enabled, there is a possibility that the write command completes before the actual disk write operation finishes. This means that there is a possibility that a power off event may occur even after a full write command finishes. This means that it is possible that even after a write command completion, a power off might cause the loss of the data in which the drive has received but not yet written onto the disk. In order to prevent data loss, confirm the completion of the actual write operation prior to the power off by issuing the Standby Immediate or Sleep command and confirming its completion. The default state of the write cache at power-on is "ON."
5.3.
Equipment status
The equipment status is available to the host system any time the drive is not ready to read, write, or seek. This status normally exists at the power-on time and will be maintained until the following conditions are satisfied: The access recalibration/tuning is complete. The spindle speed meets the requirements for reliable operation. The self-check of the drive is complete.
The appropriate error status is made available to the host system if any of the following conditions occur after the drive has become ready: The spindle speed lies outside the requirements for reliable operation. The occurrence of a Write Fault condition.
5.4.
WRITE safety
The drive ensures that the data is written into the disk media properly. The following conditions are monitored during a write operation. When one of these conditions exceeds the criteria, the write operation is terminated and the automatic retry sequence is invoked. Head off track External shock Low supply voltage Spindle speed out of tolerance Head open/short
5.5.
The data buffer is tested at Power-on-reset. The test consists of a write/read "00"x and "ff"x pattern on each buffer position.
5.6.
Error recovery
Errors occurring on the drive are handled by the error recovery procedure. Errors that are uncorrectable after application of the error recovery procedures are reported to the host system as nonrecoverable errors.
5.7.
Automatic reallocation
The sectors that show some errors may be reallocated automatically when specific conditions are met. The drive does not report any auto reallocation to the host system. The conditions for auto reallocation are described below.
5.7.1.
When a write operation cannot be completed after the Error Recovery Procedure (ERP) is fully carried out, the sectors are reallocated to the spare location. An error is reported to the host system only when the write cache is disabled and the auto reallocation has failed.
5.7.2.
When a read operation fails after ERP is fully carried out, a hard error is reported to the host system. This location is registered internally as a candidate for the reallocation. When a registered location is specified as a target of a write operation, a sequence of media verification is performed automatically. When the result of this verification meets the required criteria, this sector is reallocated.
5.7.3.
When a read operation for a sector fails and is recovered at the specific ERP step, the sector is reallocated automatically. A media verification sequence may be run prior to the reallocation according to the predefined conditions.
23/129
5.8.
ECC
The 10 bit 40 symbol non interleaved ECC processor provides user data verification and correction capability. The first 6 symbol of ECC are 4 check symbols for user data and the 2-symbol system ECC. The other 34 symbols are Read Solomon ECC. Hardware logic corrects up to 16 symbols (20 bytes) errors on the fly. 2 symbol System ECC is generated when HDC receives user data from HOST, and can correct up to 1 symbol(10bit) errors on-the-fly when one transfers to HOST.
24/129
6. Specification
6.1.
6.1.1.
Environment
Temperature and humidity
25/129
Specification ( Environment )
100
41'C/95%
90
31'C/90%
Relative Humidity ( % )
WetBulb 40'C
Non Operating
WetBulb 29.4'C
Operating
70'C/17%
50
60
70
80
Temperature ( degC )
Figure 1: Limits of temperature and humidity
6.1.3.
Radiation noise
The disk drive shall work without degradation of the soft error rate under the following magnetic flux density limits at the enclosure surface.
6.1.4.
Conductive noise
The drive works without degradation of the soft error rate with an AC current of up to 45mA(p-p) in the frequency rage from DC to 20 MHz via a 50 Ohm resister.
6.1.5.
Magnetic fields
The disk drive will withstand radiation and conductive noise within the limits.
26/129
6.2.
DC power requirements
Connection to the product should be made in a safety extra low voltage (SELV) circuits. The voltage specifications are applied at the power connector of the drive.
Requirements +3.3 Volt dc +3.3 Volt -15%/+5% 100 mV p-p max. 5% 100us 200 ms Watts (RMS Typical) 0.70 0.35 0.23 0.80 0.80 1.1 0.08 0.08 1.3 0.75
7
The maximum fixed disk ripple is measured at the 3.3 volt input of the drive. The disk drive shall not incur damage for an over voltage condition of +25% (maximum duration of 20 ms) on the 3.3 volt nominal supply. The idle current is specified at an inner track. The read/write current is specified based on three operations of 63 sector read/write per 100 ms. The seek average current is specified based on three operations per 100 ms. Maximum of 10ms averaged peak current in any operation mode. Typical mean average of the drive population tested at nominal environmental and voltage conditions.
27/129
6.2.1.
Capacity
Note: Power consumption efficiency is calculated as Power Consumption of Low Power Idle Watt/ Capacity (GB).
28/129
6.3.
6.3.1.
Reliability
Data reliability
Probability of not recovering data is 1 in 10 bits read ECC implementation
13
On-the-fly correction performed as a part of read channel function recovers up to 16 symbols of error in 1 sector (1 symbol is 10 bits).
6.3.2. 6.3.3.
The drive supports Self-monitoring, analysis and reporting technology (S.M.A.R.T.) function.
The common mode noise or voltage level difference between the system frame and power cable ground or AT interface cable ground should be in the allowable level specified in the power requirement section.
6.3.4.
The drive is designed to be used under the following conditions: The drive should be operated within specifications of shock, vibration, temperature, humidity, altitude, and magnetic field. The drive should be protected from ESD. Force should not be applied to the cover of the drive. The specified power requirements of the drive should be satisfied. The drive frame should be grounded electrically to the system. The interface requirements of the drive should satisfy ATA-7. The power-off sequence of the drive should comply with the sequence.35 6.4.6.2,"Required power-off
Service life of the drive is approximately 5 years or 1200 power on hours, whichever comes first, under the following assumptions: Less than 333 power on hours per month. Seeking/Writing/Reading operation is less than 20% of power on hours. This does not represent any warranty or warranty period. covered by the purchase agreement. Applicable warranty and warranty period are
6.3.5.
None.
Preventive maintenance
6.3.6.
Load/unload
The product supports a minimum of 300,000 normal load/unloads. Load/unload is a functional mechanism of the hard disk drive. It is controlled by the drive micro code. Specifically, unloading of the heads is invoked by the following commands: Hard reset 29/129
C3K80 (PATA) Hard Disk Drive Specification Standby Standby immediate Sleep
Load/unload is also invoked as one of the idle modes of the drive. The specified start/stop life of the product assumes that load/unload is operated normally, not in emergency mode.
6.3.7.
Emergency unload
When hard disk drive power is interrupted while the heads are still loaded the micro code cannot operate and the normal 3.3-volt power is unavailable to unload the heads. In this case, normal unload is not possible. The heads are unloaded by routing the back EMF of the spinning motor to the voice coil. The actuator velocity is greater than the normal case and the unload process is inherently less controllable without a normal seek current profile. Emergency unload is intended to be invoked in rare situations. Because this operation is inherently uncontrolled, it is more mechanically stressful than a normal unload. The drive supports a minimum of 20,000 emergency unloads.
6.3.8.
The required sequence for removing power from the drive is as follows: Step 1: Issue one of the following commands. Standby Standby immediate Sleep
Note: Do not use the Flush Cache command for the power off sequence because this command does not invoke Unload. Step 2: Wait until the Command Complete status is returned. In a typical case 350 ms are required for the command to finish completion; however, the host system time out value needs to be 30 seconds considering error recovery time. Step 3: Terminate power to HDD. This power-down sequence should be followed for entry into any system power-down state, system suspend state, or system hibernation state. In a robustly designed system, emergency unload is limited to rare scenarios, such as battery removal during operation.
6.3.9.
In systems that use the C3K80 consideration should be given to the design of the system power switch. HITACHI recommends that the switch operate under control of the host system, as opposed to being hardwired. The same recommendation is made for cover-close switches. When a hardwired switch is turned off, emergency unload occurs, as well as the problems cited in section 5.1, "Data loss by power off" on page 22 and section 5.2, Write Cache on page 22.
C3K80 (PATA) Hard Disk Drive Specification "Required Power-Off Sequence on page 30. If this is not done, the emergency unload function is invoked and nontypical stress results.
31/129
6.4.
6.4.1.
Mechanical specifications
Physical dimensions and weight
6.4.2.
Mechanical dimensions
The size and mounting area locations of the drive are shown below.
32/129
6.4.3.
A jumper is none. Connector specifications are included in section 7.2, "Interface connector" on page 41.
6.4.4.
Mounting orientation
The drive will operate in all axes (360). Performance and error rate will stay within specification limits if the drive is operated in the other permissible orientations from which it was formatted. Thus a drive formatted in a horizontal orientation is able to run vertically and vice versa. Vibration test and shock test are to be conducted by mounting the drive to the test table using a special fixture
6.4.5.
Load/unload mechanism
The head load/unload mechanism is provided to protect the disk during shipping, movement, or storage. Upon power down, a head unload mechanism secures the heads at the unload position. See Section, Nonoperating shock for additional details.
33/129
6.5.
All vibration and shock measurements in this section are for the drive without the mounting attachments for the systems. The input level is applied to the normal drive mounting points. Operating vibration The drive will operate without a hard error while being subjected to the following vibration levels.
6.5.1. 6.5.2.
The drive will operate without a hard error while being subjected to the following vibration levels.
The test consists of 30 minutes of random vibration using the power spectral density (PSD) levels below. 2 The vibration test level is 6.57 m/sec RMS (Root Mean Square) (0.67 G RMS).
6.5.3.
34/129
6.5.4. 6.5.5.
The disk drive withstands the following vibration levels without any loss or permanent damage.
The test consists of a random vibration applied in each of three mutually perpendicular axes for a duration of 15 minutes per axis. The PSD levels for the test simulating the shipping and relocation environment is shown below.
6.5.6.
6.5.7.
Operating shock
The hard disk drive meets the criteria in the table below while operating under these conditions: The shock test consists of 10 shock inputs in each axis and direction for a total of 60. There must be a minimum delay of 3 seconds between shock pulses. The disk drive will operate without a hard error while subjected to the following half-sine shock pulse.
35/129
6.5.8.
Nonoperating shock
The drive withstands the following half-sine shock pulse without any data loss or permanent damage.
36/129
6.6.
6.6.1.
Acoustics
Sound power level
The criteria of A-weighted sound power level are described below. Measurements are to be taken in accordance with ISO 7779. The mean of the sample of 40 drives is to be less than the typical value. Each drive is to be less than the maximum value. The drives are to meet this requirement in both top cover down orientations.
The background power levels of the acoustic test chamber for each octave band are to be recorded. Sound power tests are to be conducted with the drive supported by spacers so that the lower surface of the drive be located 1253 mm above from the chamber floor. No sound absorbing material shall be used. The acoustical characteristics of the disk drive are measured under the following conditions: Mode definitions Idle mode: Power on, disks spinning, track following, unit ready to receive and respond to control line commands. Operating mode: Continuous random cylinder selection and seek operation of the actuator
with a dwell time at each cylinder. The seek rate for the drive can be calculated as shown below. Ns = 0.4/(Tt + T1) where: Ns = average seek rate in seeks/s Tt = published seek time from one random track to another without including rotational latency T1= equivalent time in seconds for the drive to rotate by half a revolution
37/129
6.6.2.
Discrete tone penalties are added to the A-weighted sound power (Lw) with the following formula only when determining compliance. Lwt(spec) = Lw = 0.1Pt + 0.3 < 4.0 (Bels) where Lw = A-weighted sound power level Pt = Value of desecrate tone penalty = dLt 6.0(dBA) dLt = Tone-to-noise ratio taken in accordance with ISO 7779 at each octave band.
38/129
6.7.
Identification labels
The HITACHI logo Model name The capacity and rotational speed Part number The statement "Made by HGST" Country of origin The marks of Agencies approval Bar code of the serial numbers
The labels are affixed to every drive. The top side of the label contains
6.8.
Electromagnetic compatibility
When installed in a suitable enclosure and exercised with a random accessing routine at maximum data rate, the drive meets the following worldwide electromagnetic compatibility (EMC) requirements:
6.8.1. CE Mark
The product is certified for compliance with EC directive 89/336/EEC. The EC marking for the certification appears on the drive.
6.8.2.
C-Tick Mark
The product complies with the Australian EMC standard "Limits and methods of measurement of radio disturbance characteristics of information technology equipment, AS/NZS 3548: 1995."
6.8.3.
BSMI Mark
The product complies with the Taiwan EMC standard Limits and methods of measurement of radio disturbance characteristics of information technology equipment, CNS 13438 .35
6.8.4.
MIC Mark
The product complies with the Korea EMC standard. The regulation for certification of information and communication equipment is based on Telecommunications Basic Act and Radio Waves Act Korea EMC requirement are based technically on CISPR22:1993-12 measurement standards and limits. MIC standards are likewise based on IEC standards.
39/129
6.9.
6.9.1.
Safety
UL and CSA approval
The product is qualified per UL (Underwriters Laboratory) 60950-1 1st Edition and CAN/CSA C22.2 No.60950-1, for the use in Information Technology Equipment, including Electric Business Equipment. The UL Recognition or the CSA certification is maintained for the product life. The UL and C-UL recognition mark or the CSA monogram for CSA certification appears on the drive.
All models are approved by TUV on Test Requirement: EN 60950-1: 2001 +A11.
The printed circuit boards used in this product are made of material with a UL recognized flammability rating of V-1 or better. The flammability rating is marked or etched on the board. All other parts not considered electrical components are made of material with a UL recognized flammability rating of V-1 or better except minor mechanical parts.
6.9.5.
This product utilizes printed circuit wiring that must be protected against the possibility of sustained combustion due to circuit or component failures as defined in C-B 2-4700-034 (Protection Against Combustion). Adequate secondary over current protection is the responsibility of the using system. The user must protect the drive from its electrical short circuit problem. A 10 amp limit is required for safety purpose.
6.10.
Packaging
Drives are packed in ESD protective bags and shipped in appropriate containers.
40/129
The signal connector for AT attachment is designed to mate with DDK / type FF19W-40B-R11B (Gold plate contact) or equivalent. The figure shows the connector location and physical pin location.
41/129
7.3.
Signal definitions
pin 21 22 23 24 25 26 27 28 29 30 signal name GROUND DMARQ GROUND DIOW- (*) DIOR- (*) GROUND IORDY (*) GROUND DMACKINTRQ pin 31 32 33 34 35 36 37 38 39 40 signal name DA1 PDIAGDA0 DA2 CS0CS1DASP3.3V 3.3V Reserved
The pin assignments of interface signals are listed as follows: Table 22: Connector pin assignment pin signal name pin signal name 1 factory use 11 DD4 2 factory use 12 DD11 3 RESET13 DD3 4 GROUND 14 DD12 5 DD7 15 DD2 6 DD8 16 DD13 7 DD6 17 DD1 8 DD9 18 DD14 9 DD5 19 DD0 10 DD10 20 DD15
designates an output from the drive designates an input to the drive designates an input/output common designates an Open-Drain output designates a power supply to the drive designates reserved pins which must be left unconnected
The signal lines marked with (*) are redefined during the Ultra DMA protocol to provide special functions. These lines change from the conventional to special definitions at the moment the host decides to allow a DMA burst, if the Ultra DMA transfer mode was previously chosen via SetFeatures. The drive becomes aware of this change upon assertion of the DMACK- line. These lines revert back to their original definitions upon the deassertion of DMACK at the termination of the DMA burst.
Table 23: Special signal definitions for Ultra DMA Special Definition (for Ultra DMA) Write Operation DDMARDYHSTROBE STOP HDMARDYDSTROBE STOP
Conventional Definition
Read Operation
42/129
7.4.
Signal descriptions
The interface is an ATA(IDE) interface. Reserved pins should be left unconnected. The signal names and the pin numbers are shown in Figure 3 and Table 23 shows signal definitions. "I" of I/O type represents an input signal from the device and "O" represents an output signal from the device.
25
31,33,34 32 35 36 37
I I/O I I I/O
DMARQ DMACK-
22 29
O I
*1: Signal name in Ultra DMA mode *2: PDIAG-:CBLID- (Passed diagnostics: Cable assembly type identifier
43/129
C3K80 (PATA) Hard Disk Drive Specification The I/O signal levels are as follows. (1) Input signal High level 2.0V to Vcc0.5V Low level 0.5V to 0.8V (2) Output signal High level 2.4V to 3.46V or an open circuit Low level 0.4V or less (IOL=2mA), 0.5V or less (IOL=12mA) Note The I/F cable should be no longer than 90mm including the circuit pattern length in the host system. If the cable length is not within this specification, it may cause functional degradations or some errors.
44/129
7.5.
Inputs Outputs:
Current
7.6.
Reset timings
RESET t10
BUSY t1
t1 t10
45/129
7.7.
PIO timings
t0
t2i
t4
tRD IORDY tA tB
46/129
7.8.
t0 tD tE tF tG tH tI tJ tKR/tKW tLR/tLW tZ
47/129
7.9.
7.9.1.
DMARQ
The Ultra DMA timings meet Mode 0, 1 and 2 of the Ultra DMA Protocol.
tUI DMACKtACK STOP tACK HDMARDYtZIORDY DSTROBE DD(15:0) tAZ tAZD xxxxxxxxxxxxxxxxxxxxxxxxx Host drives DD tFS tCYC tENV t2CYC tCYC tENV
tDS tDH
MODE1
MIN (ns) MAX (ns)
MODE2
MIN (ns) MAX (ns)
0 20 20 0 0 112 230
70 230 10
0 20 20 0 0 73 154
70 200 10
0 20 20 0 0 54 115
70 170 10
0 15 5
0 10 5
0 7 5
48/129
7.9.2.
DMARQ
DMACK-
MODE1
MIN (ns) MAX (ns)
MODE2
MIN (ns) MAX (ns)
50 75
30 70
20 60
Note: When a host does not satisfy the tSR timing, the host should be ready to receive two more data words after HDMARDY- is negated.
49/129
7.9.3.
DMARQ
tMLI
tACK
tACK HDMARDYtRFS
tLI
DD(15:0)
Host drives DD
MODE 1
MIN (ns) MAX (ns)
MODE 2
MIN (ns) MAX (ns)
160 0
75 150 10 20
125 0
70 150 10 20
100 0
60 150 10 20
20 20 15 5 20
20 20 10 5 20
20 20 7 5 20
50/129
7.9.4.
DMARQ
tSS DMACKtLI STOP tLI HDMARDYtLI DSTROBE tAZ DD(15:0) xxxxx tZAH Device drives DD
tMLI
tACK
tACK
tIORDYZ
xxxxxxxxxx
Host drives DD
MODE1
MIN (ns) MAX (ns)
MODE2
MIN (ns) MAX (ns)
50
50
50
tLI tAZ
150 10 20
150 10 20
150 10 20
20 20 15 5 20
20 20 10 5 20
20 20 7 5 20
51/129
7.9.5.
DMARQ
tUI DMACKtACK STOP tZIORDY DDMARDYtACK HSTROBE tDS DD(15:0) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx tDH tUI tCYC tLI t2CYC tCYC tENV
Host drives DD
MODE1
MIN (ns) MAX (ns)
MODE2
MIN (ns) MAX (ns)
0 20 20 0 0 112 230 15 5
70 150
0 20 20 0 0 73 154 10 5
70 150
0 20 20 0 0 54 115 7 5
70 150
52/129
7.9.6.
DMARQ DMACK-
MODE1
MIN (ns) MAX (ns)
MODE2
MIN (ns) MAX (ns)
50
30
20
tRFS
75
70
60
Note: When a device does not satisfy the tSR timing, the device is ready to receive two more data words after DDMARDY- is negated.
53/129
7.9.7.
DMARQ
tRP DMACK-
tLI
tMLI
tACK STOP tIORDYZ DDMARDYtRFS HSTROBE tDH tDS DD(15:0) xxx WT Data xxxxxxxxxxxxxxxxxxxxxxxxxx CRC xxxxxxxxxx tLI tACK
Host drives DD
MODE1
MIN (ns) MAX (ns)
MODE2
MIN (ns) MAX (ns)
160 0 20 15 5 20
75 150 20
125 0 20 10 5 20
70 150 20
100 0 20 7 5 20
60 150 20
54/129
7.9.8.
DMARQ
tMLI
tACK
tIORDYZ
DD(15:0)
xxxxxxxxxx
MODE1
MIN (ns) MAX (ns)
MODE2
MIN (ns) MAX (ns)
50
50
50
0 20 15 5 20
150 20
0 20 10 5 20
150 20
0 20 7 5 20
150 20
55/129
7.10.
None
56/129
7.11.
The host addresses the drive through a set of registers called a Task File. These registers are mapped into the host's I/O space. Two chip select lines (CS0- and CS1-) and three address lines (DA00 02) are used to select one of these registers, while a DIOR- or DIOW- is provided at the specified time. The chip select line CS0- is used to address the Command Block registers while the CS1- is used to address Control Block registers. The following table shows the I/ O address map.
57/129
58/129
8.1.
These commands are; Identify Device Read Buffer Read Long Read Multiple Read Multiple EXT Read Sectors Read Sectors EXT SMART Function Set (Features code: D0h, D1h) Note: When a description is applicable for both 48 bit command and non 48 bit command, a notation like 'Read Multiple (EXT) command' is used throught out the specifications. Execution includes the transfer of one or more 512byte (>512 bytes on Read Long) sectors of data from the device to the host. 1. The host writes any required parameters to the Features, Sector Count, LBA Low, LBA Mid, LBA High and Device registers. 2. The host writes the command code to the Command register. 3. For each sector (or block) of data to be transferred: a. The device sets BSY=1 and prepares for data transfer. b. When a sector (or block) of data is available for transfer to the host, the device sets BSY=0, sets DRQ=1, and interrupts the host. c. In response to the interrupt, the host reads the Status register. d. The device clears the interrupt in response to the Status register being read. e. The host reads one sector (or block) of data via the Data register. f. The device sets DRQ=0 after the sector (or block) has been transferred to the host. 4. For the Read Long command: a. The device sets BSY=1 and prepares for data transfer. b. When the sector of data is available for transfer to the host, the device sets BSY=0, sets DRQ=1, and interrupts the host. c. In response to the interrupt, the host reads the Status register. d. The device clears the interrupt in response to the Status register being read. e. The host reads the sector of data including ECC bytes via the Data register. f. The device sets DRQ=0 after the sector has been transferred to the host. 59/129
C3K80 (PATA) Hard Disk Drive Specification The Read Multiple (EXT) commands transfers one block of data for each interrupt. The other commands transfer one sector of data for each interrupt. Note that the status data for a sector of data is available in the Status register before the sector is transferred to the host. If the device detects an invalid parameter, then it will abort the command by setting BSY=0, ERR=1, ABT=1, and interrupting the host. If an error occurs, the device will set BSY=0, ERR=1, and DRQ=1. The device will then store the error status in the Error register, and interrupt the host. The registers will contain the location of the sector in error. The error location will be reported with CHS mode or LBA mode, the mode is decided by the L bit (bit 6) of the Device register on issuing the command. If an Uncorrectable Data Error (UNC=1) occurs, the defective data will be transferred from the media to the sector buffer, and will be available to be transferred to the host, at the host's option. In case of Read Multiple (EXT) command, the host should complete transfer the block which includes the error from the sector buffer and terminate whatever kind of type of error occurred. All data transfers to the host through the Data register are 16 bits, except for the ECC bytes, which are 8 bits.
60/129
8.2.
Execution includes the transfer of one or more 512 bytes (>512 bytes on Write Long) sectors of data from the host to the device. 1. The host writes any required parameters to the Features, Sector Count, LBA Low, LBA Mid, LBA High and Device registers. 2. The host writes the command code to the Command register. 3. The device sets BSY=1. 4. For each sector (or block) of data to be transferred: a. The device sets BSY=0 and DRQ=1 when it is ready to receive a sector (or block). b. The host writes one sector (or block) of data via the Data register. c. The device sets BSY=1 after it has received the sector (or block). d. When the device has finished processing the sector (or block), it sets BSY=0, and interrupts the host. e. In response to the interrupt, the host reads the Status register. f. The device clears the interrupt in response to the Status register being read. 5. For the Write Long command: a. The device sets BSY=0 and DRQ=1 when it is ready to receive a sector. b. The host writes one sector of data including ECC bytes via the Data register. c. The device sets BSY=1 after it has received the sector. d. After processing the sector of data the device sets BSY=0 and interrupts the host. e. In response to the interrupt, the host reads the Status register. f. The device clears the interrupt in response to the Status register being read. The Write Multiple (EXT) command transfers one block of data for each interrupt. The other commands transfer one sector of data for each interrupt. If the device detects an invalid parameter, then it will abort the command by setting BSY=0, ERR=1, ABT=1, and interrupting the host. If an uncorrectable error occurs, the device will set BSY=0 and ERR=1, store the error status in the Error register, and interrupt the host. The registers will contain the location of the sector in error. The error location will be reported with CHS mode or LBA mode. The mode is decided by the L bit (bit 6) of the Device register on issuing the command. All data transfers to the device through the Data register are 16 bits, except for the ECC bytes, which are 8 bits.
61/129
8.3.
Non-Data Commands
These commands are; Check Power Mode Execute Device Diagnostic Flush Cache Flush Cache EXT Idle Idle Immediate Idle Immediate with Unload Initialize Device Parameters Read Verify Sectors Read Verify Sectors EXT Recalibrate Seek Sense Condition Sense Drive Temperature Set Features Set Multiple Mode Sleep SMART Function Set (Features codes: D2h, D4h, D8h, D9h, DAh) Standby Standby Immediate Execution of these commands involves no data transfer. 1. The host writes any required parameters to the Features, Sector Count, LBA Low, LBA Mid, LBA High and Device registers 2. The host writes the command code to the Command register. 3. The device sets BSY=1. 4. When the device has finished processing the command, it sets BSY=0, and interrupts the host. 5. In response to the interrupt, the host reads the Status Register 6 The device clears the interrupt in response to the Status register being read.
62/129
8.4.
These commands are; Read DMA Read DMA EXT Write DMA Write DMA EXT Data transfer using DMA commands differ in two ways from PIO transfers: Data transfers are performed using the slave-DMA channel. No intermediate sector interrupts are used. The DMA protocol allows high performance multi-tasking operating system to eliminate processor overhead associated with PIO transfer. 1. The host initializes the slave-DMA channel. 2. The host writes any required parameters to the Features, Sector Count, LBA Low, LBA Mid, LBA High and Device registers 3. The host writes the command code to the Command register. 4. The device sets DMARQ when it is ready to transfer any part of the data. 5. Host transfers the data using the DMA transfer protocol currently in effect. 6. When all of the data has been transferred, the device generates an interrupt to the host. 6 Host resets the slave-DMA channel 7 Host reads the Status register and, and optionally the Error register
63/129
9. ATA Registers
9.1. ATA Registers Address
The Command Block registers are used for sending commands to the device or posting status from the device. The Control Block registers are used for device control and to post alternate status.
1 1 1 1 1 1 1 1 0
0 0 0 0 0 0 0 0 1
0 0 0 0 1 1 1 1 1
0 0 1 1 0 0 1 1 1
0 1 0 1 0 1 0 1 0
RD Data Error Sector Count LBA Low LBA Mid LBA High Device Status Alternate Status
WR Data Features Sector Count LBA Low LBA Mid LBA High Device Command Device Control
This register contains the same information as the Status register. The only difference is that reading this register does not clear a pending interrupt.
64/129
This register is used to control 48 bit addressing and to issue an ATA soft reset to the card. This register can be written even if the device is BUSY. Bit Definitions HOB SRST nIEN
HOB (high order bit) is used to read the previous content of Features, Sector Count, LBA High/Mid/Low registers. A write to Command register clears HOB bit to zero. Soft Reset. The host must set SRST=1 and wait for at least 5 microseconds before resetting SRST=0 to ensure that the device recognizes the Soft Reset. Not Interrupt Enable. When nIEN=0 and the device is selected, device interrupts to the host are enabled. When nIEN=1 or the device is not selected, device interrupts to the host are disabled.
This register selects the CHS or LBA addressing mode, and has the head number or part of LBA bits. It also selects Device 0 (master) or Device 1 (slave). Bit Definitions L DEV HS3 - HS0 Address mode select. When L=0, addressing is by CHS mode. When L=1, addressing is by LBA mode. Device selection. When DEV=0, device 0 (master) is selected. When DEV=1, device 1 (slave) is selected. Head Select. HS0 is the least significant bit. In CHS mode, HS3 HS0 is selected head number. At command completion, these bits are updated to reflect the currently selected head. The head number may be from zero to the number of heads minus one. In LBA mode (28 bit address), HS3 - HS0 contain bits 24-27 of the LBA. At command completion, these bits are updated to reflect the current LBA bits 24-27.
65/129
This register contains status from the last command executed by the device, or a diagnostic code. At the completion of any command except Execute Device Diagnostic, the contents of this register are valid even if ERR=0 in the Status register. Following a power on, a reset, or completion of an Execute Device Diagnostic command, this register contains a diagnostic code. Refer to the section of Register Initialization.
66/129
This register contains the current device status. The contents are updated at the completion of each command. If BSY=1, no other bits in this register are valid. When BSY is cleared, the other bits in this register is valid within 400 ns. If the host reads this register when an interrupt is pending, the pending interrupt is cleared.
67/129
10.
10.1.
There are three types of resets in a device: a Power On Reset (POR), a Hard Reset, and a Soft Reset.
The table below shows detailed effects on the device of each type of resets.
Executed
Executed
Not Executed
Notes: (1) If the device receives a reset during cached writing, the reset completes after cached writing completes. (2) Initialized value of task file registers are shown in the section of Register Initialization. (3) If the device has received Set Features with feature code CCh prior to a reset, setting is reverted to the power on default.
68/129
The meaning of the Error register diagnostic codes resulting from POR, Hard Reset or the Execute Device Diagnostic command are shown in the following table.
69/129
10.2.
70/129
10.3.
71/129
10.4.
The power management feature set is supported to modify the behavior in a manner which reduces the power required to operate. The drive implements the following set of functions. 1. Standby Timer 2. Idle Command 3. Idle Immediate Command 4. Standby Command 5. Standby Immediate Command
Active Mode The device is in execution of a command or accessing the disk media with read look-ahead function or write cache function.
10.4.5. Status
In the active, idle and Standby modes, the device sets DRDY bit of the Status register. If BSY bit is not set, the device is ready to accept any command.
72/129
10.5.
The Advanced Power Management Feature set is supported to save power without performance degradation. The Adaptive Battery Life Extender 3 (ABLE-3) technology intelligently manages transition among power modes within the device by monitoring access patterns of the host. This technology has three idle modes; Performance Idle, Active Idle and Low Power Idle. This feature allows the host to select an advanced power management level. The advanced power management level is a scale from the lowest power consumption setting of 01h to the maximum performance level of FEh. Device performance may increase with increasing advanced power management levels. Device power consumption may increase with increasing advanced power management levels. The advanced power management levels contain discrete bands, described in the section of Set Features command in detail. This feature set uses the following functions: A Set Features subcommand to enable Advanced Power Management A Set Features subcommand to disable Advanced Power Management The Advanced Power Management feature is independent of the Standby Timer setting. If both Advanced Power Management level and the Standby Timer are set, the device will go to the Standby state when the timer times out or the device's Advanced Power Management algorithm indicates that it is time to enter the Standby state. The Identify Device response word 83, bit 3 indicates that Advanced Power Management feature is supported. Word 86, bit 3 indicates that Advanced Power Management is enabled if set. Word 96, bits 7-0 contain the current Advanced Power Management level if Advanced Power Management is enabled.
73/129
74/129
10.6.
SMART Function
The intent of Self-Monitoring, Analysis and Reporting Technology (SMART) is to protect user data and prevent unscheduled system downtime that may be caused by predicable degradation and/or fault of the drive. By monitoring and storing critical performance and calibration parameters, the drive employs sophisticated data analysis algorithms to predict the likelihood of near-term degradation or fault condition, the host system can warn the user of impending risk of data loss and advise the use of appropriate action. Since SMART utilizes the internal resource of the drive, there may be some small overhead associated with its operation. However, special care has been taken in the design of SMART algorithm to minimize the impact to host system performance. To further ensure minimal impact to the user, the drives are shipped from the manufacturer s factory with the SMART feature disabled.
75/129
10.7.
Write cache is a performance enhancement whereby the device reports completion of a write command to the host as soon as the device has received all of the data into its buffer. The device assumes responsibility to write the data subsequently onto the disk. While writing data after completed acknowledgment of a write command, Soft Reset or Hard Reset does not affect its operation. But power off terminates writing operation immediately and unwritten data are to be lost. Flush Cache (EXT), Standby, Standby Immediate, Sleep commands and Soft Reset are executed after the completion of writing to disk media on enabling write cache function. So the host system can confirm the completion of write cache operation by issuing these commands.
76/129
10.8.
Reassign Function
The Reassign Function is used with read and write commands. The sectors of data for reassignment are prepared as the spare data sector. The number of entries of spare sectors is 3687. One entry can register up to 255 consecutive sectors. This reassignment information is registered internally, and the information is available right after completing the reassign function. Also the information is used on the next power on reset or hard reset. If the number of the spare sector reaches 0, the reassign function will be disabled automatically. The spare tracks for reassignment are located at regular interval. As the result of reassignment, the physical location of logically sequenced sectors will be dispersed.
77/129
11.
Command Descriptions
See Below V V V V V V V V -
See Below
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY 0 5 DF 0
Status Register
4 DSC 3 DRQ 2 obs 0 1 obs 0 0 ERR V
The Check Power Mode command allows the host to determine the current power mode of the device. Input Parameters From The Device Sector Count The power mode code. The command returns FFh in the Sector Count register if the spindle motor is at speed and the device is not in Standby or Sleep mode. Otherwise, the Sector Count register will be set to 0.
78/129
11.2.
See Below -
Error Register
7 ICRC 0 6 UNC V 5 0 V 4 IDN V 3 0 V 2 ABT V 1 T0N V 0 AMN V 7 BSY 0 6 DRDY 0 5 DF 0
4 DSC -
3 DRQ -
2 obs 0
1 obs 0
0 ERR 0
The Execute Device Diagnostic command performs the internal diagnostic tests implemented by the device. The result of the test is stored in the Error register. The Error register contains a diagnostic code. Refer to the section of Register Initialization.
79/129
11.3.
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
This command causes the device to complete writing data from its write cache. The device returns a status, DRDY=1 and DSC=1 (50h), after the data in the write cache is written to the media.
80/129
11.4.
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
This command causes the device to complete writing data from its write cache. The device returns a status, DRDY=1 and DSC=1 (50h), after the data in the write cache is written to the media.
81/129
11.5.
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC -
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Identify Device command requests the device to transfer configuration information to the host. The device will transfer a sector to the host containing the information in the following tables.
82/129
Default Value 045Ah xxxx 0000h 0010h 003Fh 0000h xxxx 0003h 0155h 00xxh xxxx xxxx 8020h 0F00h 4000h 0200h 0000h 0007h xxxx xxxx xxxx xxxx
Total Bytes 2 2 2 2 2 6 20 4 2 2 8 40 2 2 2 2 2 2 2 2 2 4
Data Field Type Information Drive Classification Obsolete (default number of cylinders) Reserved Obsolete (default number of heads) Obsolete (default number of sectors per track) Reserved Serial number in ASCII (Right justified) Obsolete Obsolete Obsolete (# of ECC bytes as currently selected via the Set Features command) Vendor specific Firmware revision in ASCII Model number in ASCII (Left Justified) Maximum number of sectors on Read/Write Multiple command Capabilities Capabilities Obsolete Obsolete Translation parameters are valid Obsolete (current numbers of cylinders) Obsolete (current numbers of heads) Obsolete (current sectors per track) Obsolete (current capacity in sectors)
Note: Obsolete , Retired , Should be used in tables of this page and the following pages are status of these fields/bits in ATA-7. These fileds/bits may have values as in the older ATA specifications.
83/129
01xxh xxxx 0000h 0x07h 0003h 0078h 0078h 0078h 0078h 0000h 00FCh 0000h 7069h 7408h 6002h 7068h 3408h 6002h 0x07h 0000h 40xxh xxxx
2 4 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 2
Multiple sector setting Total number of sectors addressable in LBA mode Obsolete Multiword DMA transfer capability Flow Control PIO transfer modes supported Minimum Multiword DMA transfer cycle time (ns) Manufacturer's recommended Multiword DMA transfer cycle time Minimum PIO transfer cycle time without flow control Minimum PIO transfer cycle time with IORDY flow control Reserved Major Version Number Minor Version Number Command Set supported Command Set supported Command Set/Feature supported Extent ion Command Set/Feature Enabled Command Set/Feature Enabled Command Set/Feature Enabled Ultra DMA Transfer Capability Reserved Current Advanced Power Management Level Not used
84/129
C3K80 (PATA) Hard Disk Drive Specification Word 0: General Configuration Bit 15 0 1 = ATAPI device, 0 = ATA device 14 0 Retired 13 0 Retired 12 0 Retired 11 0 Retired 10 1 Retired 9 0 Retired 8 0 Retired 7 0 1 = removable cartridge device 6 1 Obsolete 5 0 Retired 4 1 Retired 3 1 Retired 2 0 1 = Identify data incomplete 1 1 Retired 0 0 reserved Word 9 - 10: Device Serial Number This field contains the serial number of the device. The contents of this field are right justified and padded with ASCII spaces (20h). Word 23 - 26: Firmware Revision This field contains the revision of the firmware in ASCII. Word 27 - 46: Model Number This field contains the model number of the device. The contents of this field are left justified and padded with ASCII spaces (20h). Type Model Name C3K80-80 Hitachi HTC368080H8CE00 C3K80-60 Hitachi HTC368060H8CE00 C3K80-40 Hitachi HTC368040H5CE00 C3K80-30 Hitachi HTC368030H5CE00 Word 49: Capabilities Bit 15-14 0 Reserved 13 0 0 = Standby Timer value is vendor specific 12 0 Reserved 11 1 1 = IORDY supported 10 1 1 = IORDY can be disabled 9 1 1 = LBA mode supported 8 1 1 = DMA transfer supported 7-0 0 Reserved Word 50: Capabilities Bit 15 0 0 = Contents of word 50 are valid 14 1 1 = Contents of word 50 are valid 13-1 0 Reserved 0 0 1 = the device has minimum Standby Timer value that is device specific
85/129
C3K80 (PATA) Hard Disk Drive Specification Word 53:Translation parameters are valid Bit 15-3 0 Reserved 2 1 1 = the fields reported in Word 88 are valid 1 1 1 = the fields reported in Words 64-70 are valid 0 1 Obsolete Word 59: Multiple Sector Setting Bit 15-9 0 Reserved 8 1 1 = Multiple sector setting is valid 7-0 XX XXh =Current setting for number of sectors transferred per interrupt on R/W multiple command Word 63: Multiword DMA Transfer Capability Bit 15-11 0 Reserved 10 X 1 = Multiword DMA mode 2 is selected 9 X 1 = Multiword DMA mode 1 is selected 8 X 1 = Multiword DMA mode 0 is selected 7-3 0 Reserved 2 1 1 = Multiword DMA mode 2 is supported 1 1 1 = Multiword DMA mode 1 is supported 0 1 1 = Multiword DMA mode 0 is supported Word 64: Flow Control PIO Transfer Modes Supported Bit 15-2 0 Reserved 1 1 1 = the device supports PIO mode 4 0 1 1 = the device supports PIO mode 3 Word 80: Major Version Number Bit 15-8 0 Reserved 7 1 1 = the device supports ATA/ATAPI-7 6 1 1 = the device supports ATA/ATAPI-6 5 1 1 = the device supports ATA/ATAPI-5 4 1 1 = the device supports ATA/ATAPI-4 3 1 Obsolete 2 1 Obsolete 1 0 Obsolete 0 0 Reserved Word 81: Minor Version Number Bit 15-0 0000h 0000h or FFFFh = device does not report version
86/129
C3K80 (PATA) Hard Disk Drive Specification Word 82: Command Sets Supported Bit 15 0 Reserved 14 1 1 = NOP command supported 13 1 1 = Read Buffer command supported 12 1 1 = Write Buffer command supported 11 0 Reserved 10 0 1 = Host Protected Area feature Set supported 9 0 1 = Device Reset command supported 8 0 1 = Service interrupt supported 7 0 1 = release interrupt supported 6 1 1 = look-ahead supported 5 1 1 = write cache supported 4 0 1 = PACKET command feature set supported 3 1 1 = Power Management feature set supported 2 0 1 = Removable Media feature set supported 1 0 1 = Security Mode feature set supported 0 1 1 = SMART feature set supported Word 83: Command Sets supported Bit 15 0 0 = should be 0 14 1 1 = should be 1 13 1 1 = Flush Cache EXT command supported 12 1 1 = Flush Cache command supported 11 0 1 = Device Configuration Overlay feature set supported 10 1 1 = 48 bit Address feature set supported 9 0 1 = Automatic Acoustic Management feature set supported 8 0 1 = Set Max security extension supported 7 0 reserved 6 0 1 = Set Feature subcommand required to spinup after power up 5 0 1 = Power up in Standby feature set supported 4 0 1 =Removable Media status Notification feature set supported 3 1 1 = Advanced Power Management feature set supported 2 0 1 = CFA feature set supported 1 0 1 = Read/Write DMA Queued supported 0 0 1 = Download Microcode command supported
87/129
C3K80 (PATA) Hard Disk Drive Specification Word 84: Command Sets Supported Extension Bit 15 0 0 = should be 0 14 1 1 = should be 1 13 1 1 = Idle Immediate with Unload feature supported 12 0 Reserved 11 0 Reserved 10 0 1 = URG bit supported for Write Stream (DMA) EXT 9 0 1 = URG bit supported for Read Stream (DMA) EXT 8 0 1 = 64 bit World wide name supported 7 0 1 = Write DMA Queued FUA EXT command supported 6 0 1 = Write DMA FUA EXT and Write Multiple FUA EXT supported 5 0 1 = General Purpose Logging feature set supported 4 0 1 = Streaming feature set supported 3 0 1 = Media Card Pass Through command feature set supported 2 0 1 = Media serial number supported 1 1 1 = SMART self-test supported 0 0 1 = SMART error logging supported Word 85: Command Set/Feature Enabled Bit 15 0 Obsolete 14 1 1 = NOP command enabled 13 1 1 = Read Buffer Command enabled 12 1 1 = Write Buffer Command enabled 11 0 Obsolete 10 0 1 = Host Protected Area Feature set supported 9 0 1 = Device Reset command supported 8 0 1 = Service interrupt enabled 7 0 1 = release interrupt enabled 6 X 1 = Look-Ahead enabled 5 X 1 = Write Cache enabled 4 0 1 = PACKET command feature set supported 3 1 1 = Power Management feature set enabled 2 0 1 = Removable Media feature set enabled 1 0 1 = Security Mode feature set enabled 0 X 1 = SMART feature set enabled
88/129
C3K80 (PATA) Hard Disk Drive Specification Word 86: Command Set/Feature Enabled Bit 15-14 0 Reserved 13 1 1 = Flush Cache EXT command supported 12 1 1 = Flush Cache command supported 11 0 1 = Device Configuration Overlay supported 10 1 1 = 48 bit Address feature set supported 9 0 1 = Automatic Acoustic Management feature set enabled 8 0 1 = Set Max security extension enabled by Set Max Set Password 7 0 reserved 6 0 1 = Set Feature subcommand required to spinup after power up 5 0 1 = Power up in Standby feature set enabled 4 0 1 =Removable Media status Notification feature set enabled 3 X 1 = Advanced Power Management feature set enabled 2 0 1 = CFA feature set enabled 1 0 1 = Read/Write DMA Queued supported 0 0 1 = Download Microcode command supported Word 87: Command Set/Feature default Bit 15 0 0 = should be 0 14 1 1 = should be 1 13 1 1 = Idle Immediate with Unload feature supported 12 0 Reserved 11 0 Reserved 10 0 1 = URG bit supported for Write Stream (DMA) EXT 9 0 1 = URG bit supported for Read Stream (DMA) EXT 8 0 1 = 64 bit World wide name supported 7 0 1 = Write DMA Queued FUA EXT command supported 6 0 1 = Write DMA FUA EXT and Write Multiple FUA EXT supported 5 0 1 = General Purpose Logging feature set supported 4 0 1 = Valid Configure Stream command has been executed 3 0 1 = Media Card Pass Through command feature set enabled 2 0 1 = Media serial number is valid 1 1 1 = SMART self-test supported 0 0 1 = SMART error logging supported Word 88: Ultra DMA Transfer Capability Bit 15-11 0 Reserved (Ultra DMA mode 3 or above not supported) 10 X 1 = Ultra DMA mode 2 is selected 9 X 1 = Ultra DMA mode 1 is selected 8 X 1 = Ultra DMA mode 0 is selected 7-3 0 Reserved (Ultra DMA mode 3 or above not supported) 2 1 1 = Ultra DMA mode 2 and below are supported 1 1 1 = Ultra DMA mode 1 and below are supported 0 1 1 = Ultra DMA mode 0 and below are supported Word 91: Current Advanced Power Management Level Bit 15-8 40h Obsolete 7-0 XXh Current Advanced Power Management level set by Set Features Command (01h FEh)
89/129
11.6.
Idle (E3h/97h)
Command Block Input Registers 1 0 Register Data Error Sector Count LBA Low LBA Mid LBA High Device Status 7 6 5 4 3 2 1 0 -
See Below -
V V V V V V V V 1 1 1 1 1 D 0 0 0 1 1
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Idle command causes the device to enter Idle mode immediately, and sets and starts the Standby Timer. When the Idle mode is entered, the device is spun up to operating speed. If the device is already spinning, the spin up sequence is not executed. During Idle mode, the device is spinning and ready to respond to host command immediately. Sector Count Output Parameters To The Device Standby Timer value. If zero, the Standby Timer is set for 109 minutes. If other than zero, the Standby Timer is set for (value x 5) seconds. The device will enter Standby mode automatically if the Standby Timer expires with no device access from the host. The Standby Timer value will be reinitialized if there is a device access before the timer expires.
90/129
11.7.
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Idle Immediate command causes the device to enter Idle mode. The device is spun up to operating speed. If the device is already spinning, the spin up sequence is not executed. During Idle mode, the device is spinning and ready to respond to host commands immediately. The Idle Immediate command does not affect the Standby Timer.
91/129
11.8.
See Below 0 0 0 1 0 0 -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Idle Immediate command with Unload option causes the device to immediately unload the heads. Although the time to complete the unload operation is vendor specific, the typical value is within 500 ms of receiving the command. The device will stay at Low Power Idle mode, will not go into Standby mode and will not load the heads until receiving a new command.
92/129
11.9.
See Below -
V V V V V V V V 1 1 0 1 0 -
D H H H H 1 0 0 0 1
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY 0 5 DF 0
4 DSC -
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Initialize Device Parameters command enables the host to set the number of sectors per track and the number of heads minus 1 per cylinder. The words 54-58 in Identify Device Information reflect these parameters. The parameters remain in effect until the following events; Another Initialize Device Parameters command is received The device is powered off Hard reset occurs Soft reset occurs and the Set Features option of CCh is set. Sector Count H Output Parameters To The Device The number of sectors per track. 0 does not mean there are 256 sectors per track, but there is no sector per track. The number of heads minus 1 per cylinder. The minimum is 0 and the maximum is 15.
93/129
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC -
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read Buffer command transfers a sector of data from the device s buffer to the host. The sector transferred will be the same part of the buffer written to by the last Write Buffer command. The contents of the sector may be different if any reads or writes have occurred since the Write Buffer command was issued.
94/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 1 1 1 0 D H H H H 0 1 0 0 0
Error Register
7 ICRC V 6 UNC V 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read DMA command reads one or more sectors of data from disk media, and then transfers the data from the device to the host. The host initializes a slave-DMA channel prior to issuing the command. The data transfers are qualified by DMARQ and are performed by the slave-DMA channel. The device issues only on interrupt per command to indicate that data transfer has terminated and status is available. If an un-correctable error occurs, the read will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
95/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 0 1 1 D H H H H 0 0 1 0 1
Error Register
7 ICRC V 6 UNC V 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read DMA EXT command reads one or more sectors of data from disk media, and then transfers the data from the device to the host. The host initializes a slave-DMA channel prior to issuing the command. The data transfers are qualified by DMARQ and are performed by the slave-DMA channel. The device issues only on interrupt per command to indicate that data transfer has terminated and status is available. If an un-correctable error occurs, the read will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
96/129
See Below V
V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 0 0 0 1 0
V V V V V V V V V V V V V V V V V V V V V V V V H H H H
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read Long command reads the designated one sector of data and the ECC bytes from the disk media, and then transfers the data and ECC bytes from the data and ECC bytes from the device to the host. After 512 bytes of data have been transferred, the device will keep setting DRQ=1 to indicate that the device is ready to transfer the ECC bytes to the host. The ECC bytes are transferred 8 bits at a time. The number of ECC bytes is 4 or 51 according to the setting of Set Feature option. The default setting is 4 bytes of ECC data. It should be noted that the device internally uses 51 bytes of ECC data on all data written or read from the disk. The 4 bytes mode of operation is provided for emulation. It is recommended that for testing the effectiveness and integrity of the device ECC functions that the 51 byte ECC mode should be used. The command makes a single attempt to read the data and does not check the data using ECC. Whatever is read is returned to the host. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
97/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 1 L 1 1 0 D H H H H 0 0 1 0 0
Error Register
7 ICRC 0 6 UNC V 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read Multiple command reads one or more sectors of data from disk media, and then transfers the data from the device to the host. The execution of the command is identical to the Read Sectors command except that an interrupt is generated for each block (as defined by the Set Multiple Mode command) instead of each sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
98/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 0 1 0 0 1
Error Register
7 ICRC 0 6 UNC V 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read Multiple EXT command reads one or more sectors of data from disk media, and then transfers the data from the device to the host. The execution of the command is identical to the Read Sectors EXT command except that an interrupt is generated for each block (as defined by the Set Multiple Mode command) instead of each sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
99/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 0 0 0 0 0
Error Register
7 ICRC 0 6 UNC V 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read Sectors command reads one or more sectors of data from disk media, and then transfers the data from the device to the host. If an un-correctable error occurs, the read will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
100/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 0 0 1 0 0
Error Register
7 ICRC 0 6 UNC V 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read Sectors EXT command reads one or more sectors of data from disk media, and then transfers the data from the device to the host. If an un-correctable error occurs, the read will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
101/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 0 0 0 0 0
Error Register
7 ICRC 0 6 UNC V 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read Verify Sectors command verifies one or more sectors on the device. No data is transferred to the host. The difference of Read Sectors command and Read Verify Sectors command is whether the data is transferred to the host or not. If an un-correctable error occurs, the read verify will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
102/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 0 0 0 1 0
Error Register
7 ICRC 0 6 UNC V 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN V 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Read Verify Sectors EXT command verifies one or more sectors on the device. No data is transferred to the host. The difference of Read Sectors EXT command and Read Verify Sectors EXT command is whether the data is transferred to the host or not. If an un-correctable error occurs, the read verify will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
103/129
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N V 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 COR 0
1 IDX 0
0 ERR V
The Recalibrate command moves the read/write heads from anywhere on the disk to cylinder 0. If the device can not reach cylinder 0, T0N (Track 0 Not Found ) will be set in the Error Register.
104/129
See Below -
V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 1 1 1 D H H H H 1 -
V V V V V V V V V V V V V V V V V V V V V V V V H H H H
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Seek command initiates a seek to the designated track and selects designated head.
105/129
See Below V V V V V V V V D -
V V V V V V V V V V V V V V V V V V V V V V V V 1 1 1 1 1 D 1 0 0 0 0
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY V 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs -
1 obs 0
0 ERR V
The Sense Condition command is used to sense temperature in a device. This command is executable without spinning up. Output Parameters To The Device Features The Features register must be set to 01h. All other value are rejected with setting ABRT bit in the Status register. Input Parameters From The Device Sector Count The Sector Count register contains result value. Value Description 00h Temperature is equal to or lower than -20 degC 01h-FEh Temperature is (Value / 2 - 20) deg C FFh Temperature is higher than 107 degC
106/129
See Below V V V V V V V V D -
V V V V V V V V V V V V V V V V V V V V V V V V 1 1 1 1 1 D 1 1 0 1 0
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY V 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs -
1 obs 0
0 ERR V
The Sense Drive Temperature command is used to sense temperature in a device. This command is executable without spinning up. Output Parameters To The Device Features The Features register must be set to 00h. All other value are rejected with setting ABRT bit in the Status register. Input Parameters From The Device Sector Count The Sector Count register contains temperature reading (added 32 in order to avoid minus values)
107/129
V V V V V V V V Note. 1 D 0 1
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY V 6 DRDY V 5 DF 0
4 DSC -
3 DRQ -
2 COR 0
1 IDX 0
0 ERR V
The Set Features command establishes the following parameters which affect the execution of certain features as shown in below table by the value in the Features register. ABT will be set to 1 in the Error register if the Features register contains any unsupported value.
Values 02h, 05h, AAh and BBh are the default features for the device, thus the host does not have to issue this command with these features unless it is necessary for compatibility reasons. Values 66h and CCh can be used to enable and disable whether the power on defaults will be set when a Soft Reset 108/129
C3K80 (PATA) Hard Disk Drive Specification occurs. The value 05h is used for advanced power management. The Sector Count register specifies the advanced power management level as below. The advanced power management level at POR is 60h. 80h FEh : Up to Low Power Idle mode 01h 7Fh : Up to Standby mode 00h, FFh : Reserved The value 85h is used to disable advanced power management.
109/129
See Below -
V V V V V V V V 1 1 1 1 0 D 0 0 1 1 0
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC -
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Set Multiple Mode command enables the device to perform Read and Write Multiple (EXT) commands and establishes the block size for these commands. The block size is the number of sectors to be transferred for each interrupt. The default block size after POR, or Hard Reset is 0, and Read Multiple and Write Multiple (EXT) commands are disabled. If an invalid block size is specified, and ABT bit in the Error register to indicate the command is aborted. Read Multiple and Write Multiple (EXT) commands will be disabled. Output Parameters To The Device Sector Count The block size to be used for Read Multiple and Write Multiple (EXT) commands. Valid block sizes can be selected from 0, 1, 2, 4, 8 or 16. If 0 is specified, then Read Multiple and Write Multiple (EXT) commands are disabled.
110/129
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Sleep command causes the device to enter the Sleep mode immediately. When this command is issued, the device confirms the completion of the cached write commands before it asserts INTRQ. Then the device is spun down. If the device is already spun down, the spin down sequence is not executed. It is not required to use Soft Reset or Hard Reset to recover from the Sleep mode, but the device goes out from the Sleep mode by a host command.
111/129
V V V V V V V V V V V V V V V V 0 1 1 1 1 1 0 0 0 0 1 1 0 0 D 1 1 0 0 1 0 0 1 1 0 1 0 0
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs -
0 ERR V
The SMART Function Set command provides access to Attribute Values, Attribute Thresholds and other low level subcommands that can be used for logging and reporting purpose and to accommodate special user needs. The SMART Function Set command has several separate subcommands which are selectable via the Features register when the SMART Function Set command is issued by the host.
112/129
C3K80 (PATA) Hard Disk Drive Specification In order to select a subcommand the host must write the subcommand code to the Features register before issuing the SMART Function Set command. The subcommand and their respective codes are listed below.
D4h
113/129
C3K80 (PATA) Hard Disk Drive Specification D8h This sub-command enables access to all SMART capabilities within the device. The state of SMART will be preserved by the device across power cycle. Once enabled, the receipt of subsequent SMART Enable Operations sub-command will not affect any of the Attribute Values. D9h This sub-command disables all SMART capabilities within the device. The state of SMART will be preserved by the device across power cycle. DAh This sub-command is used to communicate the reliability status of the device to the host s request. If the device does not detect a Threshold Exceeded Condition but involving attributes are advisory, the device loads 4Fh into the LBA Mid register and C2h into the LBA High register respectively. If the device detects a Threshold Exceeded Condition for prefailure attributes, the device loads F4h into the LBA Mid register and 2Ch into the LBA High register respectively.
Device Attribute Data Structure The following table describes the 512 byte Attribute Value information being accessed by the host using SMART Read Attribute Values sub-command. All multi-byte fields shown in these data structures follow the ATA/ATAPI-7 specification for byte ordering, namely that the least significant byte occupies the lowest numbered byte address location the field.
Offset 0 2
Size (bytes) 2 12
12 1 1 2
Current segment pointer Off-line data collection capability SMART capability SMART device error logging capability Self-test failure check point Short self-test completion time in minutes Extended self-test completion time in minutes Reserved Vendor Specific Data structure check sum
366 367 368 370 371 372 373 374 386 511
1 1 2 1 1 1 1 12 125 1
114/129
C3K80 (PATA) Hard Disk Drive Specification Individual Attribute Data Structure The following table describes the 12 byte each attribute entry in the device attribute data structure.
Offset 0 1
Size (bytes) 1 2
4 11
7 1
Attribute ID Numbers
Table 81 SMART Attribute ID ID 0 1 3 4 5 7 8 9 10 12 192 193 194 196 197 199 220 Description Indicates this entry in the data structure is not used Raw Read Error Rate Spin Up Time Start/Stop Count Reallocated Sector Count Seek Error Rate Seek Time Power On Hours Spin Retry Count Power Cycle Count Power Off Retract Count Load/Unload Cycle Count Device Temperature Reallocation Event Count Current Pending Sector Count Ultra DMA CRC Error Count Disk Shift Value Pre-failure
115/129
See Below -
V V V V V V V V 1 1 1 1 1 D 0 0 0 1 0
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Standby command causes the device to enter the Standby mode immediately, and sets the Standby Timer. When this command is issued, the device confirms the completion of the cached write commands before it asserts INTRQ. Then the device is spun down, but the interface remains active. If the device is already spun down, the spin down sequence is not executed. During the Standby mode, the device will respond to commands, but there is a delay while waiting for the spindle to reach operating speed. The timer starts counting down when the device returns to Idle mode. Output Parameters To The Device Standby Timer value. If zero, the Standby Timer is set to 109 minutes. If other than Sector Count zero, the timer is set to (value x 5) seconds. When the automatic power down sequence is enabled, the device will enter the Standby mode automatically if the timer expires with no device access from the host. The timer will be reinitialized if there is a device access before the timer expires.
116/129
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Standby Immediate command causes the device to enter the Standby mode Immediately. When this command is issued, the device confirms the completion of the cached write commands before asserts INTRQ. Then the device is spun down, but the interface remains active. If the device is already spun down, the spin down sequence is not executed. During the Standby mode, the device will respond to commands, but there is a delay while waiting for the spindle to reach operating speed. The Standby Immediate command will not affect the Standby Timer.
117/129
See Below -
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN 0 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF 0
4 DSC -
3 DRQ -
2 COR 0
1 IDX 0
0 ERR V
The Write Buffer command transfers a sector of data from the host to the sector buffer of the device. The Read Buffer and Write Buffer commands are synchronized such that sequential Write Buffer and Read Buffer commands access the same 512 byte within the buffer.
118/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 1 L 1 1 0 D H H H H 0 1 0 1 0
Error Register
7 ICRC V 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF V
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Write DMA command transfers one or more sectors of data from the host to the device, and then the data is written to the disk media. The host initializes a slave-DMA channel prior to issuing the command. Data transfers are qualified by DMARQ and are performed by the slave-DMA channel. The device issues only one interrupt per command to indicate that data transfer has terminated and status is available. If an un-correctable error occurs when write cache feature is disabled, the write will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
119/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 1 0 1 0 1
Error Register
7 ICRC V 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF V
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Write DMA EXT command transfers one or more sectors of data from the host to the device, and then the data is written to the disk media. The host initializes a slave-DMA channel prior to issuing the command. Data transfers are qualified by DMARQ and are performed by the slave-DMA channel. The device issues only one interrupt per command to indicate that data transfer has terminated and status is available. If an un-correctable error occurs when write cache feature is disabled, the write will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
120/129
See Below V
V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 1 0 0 1 0
V V V V V V V V V V V V V V V V V V V V V V V V H H H H
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF V
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Write Long command transfers the data and the ECC bytes of the designated one sector from the host to the device, and then the data and the ECC bytes are written to the disk media. After 512 bytes of data have been transferred, the device will keep setting DRQ=1 to indicate that the device is ready to receive the ECC bytes from the host. The ECC bytes are transferred 8 bits at a time. The number of ECC bytes is 4 or 51 according to setting of Set Feature option. The default number after power on is 4 bytes. The device internally uses 51 bytes of ECC on all data read or writes. The 4 byte mode of operation is provided via emulation technique. As a consequence of this emulation, it is recommended that 51 byte ECC mode is used for all tests to confirm the operation of device ECC hardware. Unexpected result may occur if such testing is performed using 4 byte mode.
121/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 1 L 1 1 0 D H H H H 0 0 1 0 1
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF V
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Write Multiple command transfers one or more sectors from the host to the device, and then the data is written to the disk media. The execution of command is identical to the Write Sectors command except that an interrupt is generated for each block (as defined by the Set Multiple Mode command) instead of for each sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
122/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 1 1 0 0 1
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF V
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Write Multiple EXT command transfers one or more sectors from the host to the device, and then the data is written to the disk media. The execution of command is identical to the Write Sectors EXT command except that an interrupt is generated for each block (as defined by the Set Multiple Mode command) instead of for each sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
123/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 1 0 0 0 0
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF V
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Write Sectors command transfers one or more sectors from the host to the device, and then the data is written to the disk media. If an un-correctable error occurs when write cache feature is disabled, the write will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
124/129
See Below V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V H H H H
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V 1 0 L 0 1 1 D H H H H 1 0 1 0 0
Error Register
7 ICRC 0 6 UNC 0 5 0 0 4 IDN V 3 0 0 2 ABT V 1 T0N 0 0 AMN 0 7 BSY 0 6 DRDY V 5 DF V
4 DSC V
3 DRQ -
2 obs 0
1 obs 0
0 ERR V
The Write Sectors EXT command transfers one or more sectors from the host to the device, and then the data is written to the disk media. If an un-correctable error occurs when write cache feature is disabled, the write will be terminated at the failing sector. Refer to the section of Sector Addressing Mode for Sector Count, LBA Low/Mid/High and Device registers.
125/129
126/129
COMMAND Check Power Mode Execute Device Diagnostic Flush Cache (EXT) Identify Device Idle Idle Immediate Initialize Device Parameters Read Buffer Read DMA (EXT) Read Long Read Multiple (EXT) Read Sectors (EXT) Read Verify Sectors (EXT) Recalibrate Seek Sense Condition Sense Drive Temperature Set Features Set Multiple Mode Sleep SMART Function Set Standby Standby Immediate Write Buffer Write DMA (EXT) Write Long Write Multiple (EXT) Write Sectors (EXT) Write Verify
ICRC
AMNF
V V V V
V V V V V V
V V V V V
V V V V V
127/129
12.
Timings
The timing of BSY and DRQ in Status Register are shown in the following figure. The other timings are described in the Part 1 Functional Specification.
Software Reset
Hard Reset
Data In Command
400 ns 30 sec
Non-Data Command
Command category is referred to "8 Parallel ATA Command Protocol " on page 59. We recommend that the host system executes Soft reset and then retry to issue the command if the host system timeout would occur for the device.
128/129
Copyright Hitachi Global Storage Technologies Hitachi Global Storage Technologies 5600 Cottle Road San Jose, CA 95193 Produced in the United States 12/06
Microsoft, Windows XP, and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. Other product names are trademarks or registered trademarks of their respective companies. References in this publication to Hitachi Global Storage Technologies products, programs or services do not imply that Hitachi Global Storage Technologies intends to make these available in all countries in which Hitachi Global Storage Technologies operates. Product information is provided for information purposes only and does not constitute a warranty. Information is true as of the date of publication and is subject to change. Actual results may vary. This publication is for general guidance only. graphs may show design models. 22 December 2006 Photo-
129/129