Hitachi 2.5 inch SATA Travelstar HTS543232L9A300 Oem Specification

Hitachi 2.5 inch SATA Travelstar HTS543232L9A300 Oem Specification

2.5 inch sata hard disk drive
Hide thumbs Also See for 2.5 inch SATA Travelstar HTS543232L9A300:
Table of Contents

Advertisement

Hitachi Global Storage Technologies
Hard Disk Drive Specificatio n
Hitachi Travelstar 5K320
2.5 inch SATA hard disk drive
Models:
HTS543232L9A300, HTS543232L9SA00
HTS543225L9A300, HTS543225L9SA00
HTS543216L9A300, HTS543216L9SA00
HTS543212L9A300, HTS543212L9SA00
HTS543280L9A300, HTS543280L9SA00
Revision 1.2
5K320 SATA OEM Specification
03 April, 2008
1

Advertisement

Table of Contents
loading

Summary of Contents for Hitachi 2.5 inch SATA Travelstar HTS543232L9A300

  • Page 1 5K320 SATA OEM Specification Hitachi Global Storage Technologies Hard Disk Drive Specificatio n Hitachi Travelstar 5K320 2.5 inch SATA hard disk drive Models: HTS543232L9A300, HTS543232L9SA00 HTS543225L9A300, HTS543225L9SA00 HTS543216L9A300, HTS543216L9SA00 HTS543212L9A300, HTS543212L9SA00 HTS543280L9A300, HTS543280L9SA00 Revision 1.2 03 April, 2008...
  • Page 2 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.
  • Page 3: Table Of Contents

    5K320 SATA OEM Specification Table of Contents GENERAL ............................9 ..................................9 NTRODUCTION Abbreviations ................................. 9 References ................................12 General caution ..............................12 Drive handling precautions..........................12 ..............................13 UTLINE OF THE DRIVE PART 1 FUNCTIONAL SPECIFICATION ..................1 4 ......................... 15 IXED DISK SUBSYSTEM DESCRIPTION Control Electronics ............................
  • Page 4: Part 1 Functional Specification

    5K320 SATA OEM Specification 11.6 Features Register ............................... 48 11.7 LBA High Register............................. 49 11.8 LBA Low Register .............................. 49 11.9 LBA Mid Register............................... 49 11.10 Sector Count Register ..........................49 11.11 Status Register..............................49 12 G ........................51 ENERAL PERATION ESCRIPTIONS 12.1 Reset Response ..............................
  • Page 5 5K320 SATA OEM Specification 14.28 Security Erase Prepare (F3h) .........................128 14.29 Security Erase Unit (F4h) ........................129 14.30 Security Freeze Lock (F5h) ........................131 14.31 Security Set Password (F1h)........................132 14.32 Security Unlock (F2h) ..........................134 14.33 Seek (7xh) ................................135 14.34 Sense Condition (F0h : vendor specific)....................136 14.35 Set Features (EFh) ............................137 14.36...
  • Page 6 5K320 SATA OEM Specification Table 15. Power consumption efficiency Table 16. Physical dimensions and weight Table 17. Random vibration PSD profile breakpoints (operating) Table 18. Swept sine vibration Table 19. Random Vibration PSD Profile Breakpoints (nonoperating) Table 20. Operating shock Table 21.
  • Page 7 5K320 SATA OEM Specification Table 76 Extended Error log data structure Table 77 Command data structure Table 78 Error data structure Table 79 Extended Self-test log data structure Table 80 Extended Self-test log descriptor entry Table 81 Command Error information Table 82 Phy Event Counter Identifier Table 83 Phy Event Counter information Table 84 Read Multiple Command (C4h)
  • Page 8 5K320 SATA OEM Specification Table 137 Write Sector(s) Ext Command (34h) Table 138 Write Uncorrectable Ext Command (45h) Table 139 Timeout Values...
  • Page 9: General

    5K320 SATA OEM Specification General 1 Introduction This document describes the specifications of the HITACHI Travelstar 5K320, a 2.5 -inch hard disk drive with Serial ATA interface: Drive Model Number Max data Capacity Height (mm) Rotation name transfer rate (GB)
  • Page 10 5K320 SATA OEM Specification European Economic Community electromagnetic compatibility Error Recovery Procedure electrostatic discharge Federal Communications Commission field replacement unit gravity, a unit of force 1 000 000 000 bits 1 000 000 0 00 bytes ground hexadecimal hard disk drive hertz Input integrated lead suspension...
  • Page 11 5K320 SATA OEM Specification Open Drain Programmed Input/Output Program I/O power on hours Pop. population part number peak-to-peak power spectral density radiated electromagnetic susceptibility radio frequency interference relative humidity % RH per cent relative humidity root mean square revolutions per minute reset read/write second...
  • Page 12: References

    5K320 SATA OEM Specification 1.2 References Serial ATA International Organization : Serial ATA Revision 2.6 1.3 General caution Do not apply force to the top cover (See figure below). Do not cover the breathing hole on the top cover (See figure below). Do not touch the interface connector pins or the surface of the printed circuit board.
  • Page 13: Outline Of The Drive

    5K320 SATA OEM Specification 2 Outline of the drive 2.5-inch, 9.5 -mm Height Perpendicular Recording Formatted capacities of 320GB, 250GB, 160GB,120GB and 80GB(512 bytes/sector) Interface conforming to Serial ATA International Organization: Serial ATA Revision SATA 2.6(15-February-2007) Integrated controller No-ID recording format Coding : 100/102 2b it parity (199/200 RC Modulation Encoding) Multi zone recording Enhanced...
  • Page 14: Part 1 Functional Specification 1

    5K320 SATA OEM Specification Part 1 Functional Specification...
  • Page 15: Fixed Disk Subsystem Description

    5K320 SATA OEM Specification 3 Fixed disk subsystem description 3.1 Control Electronics The control electronics works with the following functions: Ÿ SATA Interface Protocol Ÿ Embedded Sector Servo Ÿ No-ID (TM) formatting Ÿ Multizone recording Ÿ Code: 100/102 bit parity (199/200 RC Modulation Encoding) Ÿ...
  • Page 16: Fixed Disk Characteristics

    5K320 SATA OEM Specification 4 Fixed disk characteristics 4.1 Formatted capacity by model number HTS543232L9A300 HTS543225L9A300 Description HTS543232L9SA 00 HTS543225L9SA00 Physical Layout Bytes per Sector Number of Heads Number of Disks Logical Layout Number of Heads Number of Sectors/ Track Number of 16,383 16,38 3...
  • Page 17: Data Sheet

    5K320 SATA OEM Specification 4.2 Data sheet Rotational Speed (RPM) 5400 5400 5400 5400 5400 Data transfer rates (buffer to/from media) (Mbps) Data transfer rates (Gbit/sec) 1.5/ 1.5/ 1.5/ 1.5/ 1.5/ Recording density (Kbit/mm) (Max) (KBPI) (Max) 1154 1207 1154 1066 1154 Track density (K track/mm)(Max)
  • Page 18: Performance Characteristics

    5K320 SATA OEM Specification 4.4 Performance characteristics Drive performance is c haracterized 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.
  • Page 19 5K320 SATA OEM Specification Mechanical positioning 4.4.2 4.4.2.1 Average seek time (including settling) Command Type Typical (ms) Max. (ms) Read Write Table 5. Mechanical positioning performance Typical and Max. are defined throughout the performance specification as follows: Typical Average of the drive population tested at nominal environmental and voltage conditions. Max.
  • Page 20 5K320 SATA OEM Specification 4.4.2.5 Drive ready time Condition Typical (sec) Max. (sec) Power On To Ready Table 9. Drive ready time Ready The condition in which the drive is able to perform a media access command (for example—read, write) immediately. Power On To Ready This includes the time required for the internal self diagnostics.
  • Page 21 5K320 SATA OEM Specification Operating modes 4.4.3 Operating mode Descr iption Start up time period from spindle stop or power down. Spin-U p Seek operation mode Seek Write operation mode Write Read operation mode Read The device is capable of responding immediately to media access requests. All Performance idle electronic components remain powered and the full frequency servo remains operational.
  • Page 22: Data Integrity

    5K320 SATA OEM Specification 5 Data integrity 5.1 Data loss on power off Ÿ Data loss will not be caused by a power off during any operation except the write operation. Ÿ A power off during a write operati on causes the loss of any received or resident data that has not been written onto the disk media.
  • Page 23: Data Buffer Test

    5K320 SATA OEM Specification 5.5 Data buffer test The data buffer is tested at power on reset and when a drive self-test is requested by the host. The test consists of a write/read '00'x and 'ff'x pattern on all buffers. 5.6 Error recovery Errors occurring on the drive are handled by the error recovery procedure.
  • Page 24: Ecc

    5K320 SATA OEM Specification 5.8 ECC The 10 bit symbol non int e rleaved 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.
  • Page 25: Specification

    5K320 SATA OEM Specification 6 Specification 6.1 Environment Temperature and humidity 6.1.1 Operating conditions Temperature 5 to 55°C (See note below) Relative humidity 8 to 90% noncondensing Maximum wet bulb temperature 29.4°C noncondensing Maximum temperature gradient 20°C/hour Altitude –300 to 3048 m (10,000 ft) Nonoperating conditions Temperature –40 to 65°C...
  • Page 26 5K320 SATA OEM Specification Radiation noise 6.1.3 The disk drive shall work without degradation of the soft error rate under the following magnetic flux density limits at the enclosure surface. Frequency (KHz) Limits (uT RMS) 1500 0-p 0 < Frequency =< 60 500 RMS 60 <...
  • Page 27: Dc Power Requirements

    5K320 SATA OEM Specification 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. Item Requirements Nominal supply +5 Volt dc Supply voltage –0 .3 Volt to 6.0 Volt Power supply ripple (0–20...
  • Page 28: Table 15. Power Consumption Efficiency

    5K320 SATA OEM Specification Power consumption efficiency 6.2.1 Capacity 320GB 250GB 160GB 120GB 80GB Power Consumption Efficiency 0.0017 0.0022 0.0034 0.0046 0.0069 (Watts/GB) Table 15. Power consumption efficiency Note: Power consumption efficiency is calculated as Power Consumption of Low Power Idle Watt/ Capacity (GB).
  • Page 29: Reliability

    5K320 SATA OEM Specification 6.3 Reliability Data reliability 6.3.1 Ÿ Probability of not recovering data is 1 in 10 bits read Ÿ ECC implementation On-the-fly correction performed as a part of read channel function recovers up to 1 6 symbols of error in 1 sector (1 symbol is 10 bits).
  • Page 30: Preventive Maintenance

    In systems that use the Travelstar 5K320 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...
  • Page 31 Simple power cycling of the drive invokes the emergency unload mechanism and subjects the HDD to nontypical mechanical stress. Power cycling testing may be required to test the boot-up function of the system. In this case HItachi recommends that the power -off portion of the cycle contain the sequence specified in section 6.3 .6.2, "Required Power -Off Sequence”.
  • Page 32: Mechanical Specifications

    5K320 SATA OEM Specification 6.4 Mechanical specifications Physical dimensions and weight 6.4.1 The following figure lists the dimensions for the drive. Model Height (mm) Width (mm) Length (mm) Weight (gram) 320GB, 250GB models 9.5±0.2 69.85±0.25 100.2±0.25 102 Max 160GB, 120GB, 80GB models 9.5±0.2 69.85±0.25 100.2±0.25...
  • Page 33: Mounting Orientation

    5K320 SATA OEM Specification Connector description 6.4.3 Connector specifica tions are included in section 7.2, "Interface connector" . Mounting orientation 6.4.4 The drive will operate in all axes (six directions) and will stay within the specified error rates when tilted ±5 degrees from these positions.
  • Page 34: Vibration And Shock

    5K320 SATA OEM Specification 6.5 Vibration and shock All vibration and shock measurements in this section are for drives without mounting attachments for systems. The input level shall be applied to the normal drive mounting points. Vibration tests and shock tests are to be conducted by mounting the drive to a table using the bottom four mounting holes.
  • Page 35: Table 19. Random Vibration Psd Profile Breakpoints (Nonoperating)

    5K320 SATA OEM Specification Nonoperating vibration 6.5.2 The disk drive withstands the following vibration levels without any loss or permanent damage. 6.5.2.1 Random vibration The test consists of a random vibration applied in each of three mutually perpendicular axes for a duration of 15 minutes per axis.
  • Page 36: Acoustics

    5K320 SATA OEM Specification 6.6 Acoustics Sound power level 6.6.1 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.
  • Page 37: Identification Labels

    (EMC) requirements: United States Federal Communications Commission (FCC) Rules and Regulations (Class B), Part 15. RFI Suppression German National Requirements RFI Japan VCCI, Requirements of HITACHI products EU EMC Directive, Technical Requirements and Conformity Assessment Procedures CE Mark 6.8.1...
  • Page 38: Safety

    5K320 SATA OEM Specification 6.9 Safety UL and CSA approval 6.9.1 All models of the Travelstar 5K320 are qualified per UL60950 -1:2003 IEC compliance 6.9.2 All models of the Travelstar 5K320 comply with IEC 6 0950-1:2001 . German Safety Mark 6.9.3 All models of the Travelstar 5K320 are approved by TUV on Test Requirement: EN 60950-1:2001, but the GS mark has not been obtained.
  • Page 39: Electrical Interface Specifications

    5K320 SATA OEM Specification 7 Electrical interface specifications 7.1 Cabling The maximum cable length from the host system to the hard disk drive plus circuit pattern length in the host system shall not exceed 1 meter. 7.2 Interface connector The figure below shows the physical pin location. Figure 3.
  • Page 40: Signal Definitions

    5K320 SATA OEM Specification 7.3 Signal definitions The pin assignments of interface signals are listed as follows: Plug Connector pin definition Signal 2nd mate Differential signal A from Phy Input Input Signal 2nd mate Differential signal B from Phy Output Output 2nd mate Key and spacing separate signal and power...
  • Page 41 5K320 SATA OEM Specification...
  • Page 42 5K320 SATA OEM Specification Out of band signaling 7.3.3 Figure 4 s hows the timing of COMRESET, COMINIT and COMWAKE. C O M R E S E T / C O M I N I T C O M W A K E PARAMETER Nominal (ns) DESCRIPTION...
  • Page 43 5K320 SATA OEM Specification...
  • Page 44: Part 2 Interface Specification 4

    5K320 SATA OEM Specification Part 2 Interface Specification - 44 -...
  • Page 45: General

    5K320 SATA OEM Specification 8 General 8.1 Introduction This specification describes the host in terface of HTS5432XXL9SA00 / HTS5432XXL9A300. The interface conforms to following Working Document of Information technology with certain limitations described in the chapter 9 “Deviations from Standard” on Pa ge 45 .. Serial ATA International Organization : Serial ATA Revision 2.6 dated on 15 February 2007 AT Attachment 8 –...
  • Page 46: Deviations From Standard

    5K320 SATA OEM Specification 9 Deviations from Standard The device conforms to the referenced specifications, with deviations described below. The interface conforms to the Working Document of Information Technology, AT Attachment 8 – ATA/ATAPI Command Set (ATA/ATAPI8-ACS ) Revision 3f dated 11 Dec. 2006 , with deviation as follows: S.M.A.R.T.
  • Page 47: Register Naming Convention

    5K320 SATA OEM Specification 11.1 Register naming convention This specification uses the same naming conventions for the Command Block Registers as the ATA8-ACS standard. However, the register naming convention is different from that uses in the Serial ATA 2.6 specification. The following table defines the corresponding of the register names used in this specification with those used in the Serial ATA 2.6 specification.
  • Page 48: Device Register

    5K320 SATA OEM Specification Bit Definitions S RST (RST) Software Reset. The device is held reset when RST=1. Setting RST=0 reenables the device. The host must set RST=1 and wait for at least 5 microseconds before setting RST=0, to ensure that the device recognizes the reset. -IEN Interrupt Enable.
  • Page 49: Lba High Register

    5K320 SATA OEM Specification 11.7 LBA High Register This register contains Bits 16-23. At the end of the command, this register is updated to reflect the current LBA Bits 16-23. When 48 -bit addressing commands are used, the “most recently written” content contains LBA Bits 16-23, and the “previous content”...
  • Page 50 5K320 SATA OEM Specification DRDY (RDY) Device Ready. RDY=1 indicates that the device is capable of responding to a command. RDY will be set to 0 during power on until the device is ready to accept a command. Device Fault. DF=1 indicates that the device has detected a write fault condition. DF is set to 0 after the Status Register is read by the host.
  • Page 51: General Operation Descriptions

    5K320 SATA OEM Specification 12 General Operation Descriptions 12.1 Reset Response There are three types of reset in ATA as follows: Power On Reset (PO R) The device executes a series of electrical circuitry diagnostics, spins up the HDA, tests speed and other mechanical parametric, and sets default values. COMRESET COMRESET is issued in Serial ATA bus.
  • Page 52: Diagnostic And Reset Considerations

    5K320 SATA OEM Specification Register Default Value Error Diagnostic Code Sector Count LBA Low LBA Mid LBA High Device Status Alternate Status Table 30 Default Register Values The meaning of the Error Register diagnostic codes resulting from power on, COMRESET or the Execute Device Diagnostic command are shown in the following table.
  • Page 53: Power-Off Considerations

    5K320 SATA OEM Specification 12.3 Power-off considerations Load/Unload 12.3.1 Load/Unload is a functional mechanism of the HDD. It is controlled by the drive microcode. Specifically, unloading of the heads is invoked by the comman ds: Command Response Standby UL -> Comp. Standby immediate UL ->...
  • Page 54: Sector Addressing Mode

    5K320 SATA OEM Specification 12.4 Sector Addressing Mode All addressing of data sectors recorded on the device’s media is by a logical sector address. The logical CHS address for HTS5432XXL9SA00 / HTS5432XXL9A300 is different from the actual physical CHS location of the data sector on the disk media. HTS5432XXL9SA00 / HTS5432XXL9A300 support both Logical CHS Addressing Mode and LBA Addressing Mode as the sector addressing mode.
  • Page 55: Table 34 Power Conditions

    5K320 SATA OEM Specification Power Mode 12.5.1 Sleep Mode The lowest power consumption when the device is powered on occurs in Sleep Mode. When in sleep mode, the device requires a reset to be activated. Standby Mode The device interface is capable of accepting commands, but as the media may not immediately accessible, there is a delay while waiting for the spindle to reach operating speed.
  • Page 56: Advanced Power Management (Adaptive Battery Life Extender 3) Feature

    5K320 SATA OEM Specification Initial Power Mode at Power On 12.5.6 After power on the device goes to IDLE mode or STANDBY mode depending on the setting of the Power Up in Standby Feature set 12.6 Advanced Power Management (Adaptive Battery Life Extender 3) Feature This feature provides power saving without performance degradation.
  • Page 57: Interface Power Management Mode (Slumber And Partial)

    5K320 SATA OEM Specification Transition Time 12.6.4 The transition time is dynamically managed by users recent access pattern, instead of fixed times. The ABLE-3 algorithm monitors the interval between commands instead of the command frequency of ABLE-2. The algorithm supposes that next command will come with the same command interval distribution as the previous access pattern.
  • Page 58: Security Mode Feature Set

    5K320 SATA OEM Specification the device are predicting a lower probability of a degrading or fault condition existing. Accordingly, lower attribute values indicate that the analysis algorithms being used by the device are predicting a higher probability of a degrading or fault condition existing. There is no implied linear reliability relationship corresponding to the numerical relationship between different attribute values for any particular attribute.
  • Page 59: Security Level

    5K320 SATA OEM Specification entered after power on, otherwise it is entered by a security unlock or a security erase unit command. Device Frozen mode The device enables all commands except those which can update the device lock function, set/change password. The device enters this mode via a Security Freeze Lock command.
  • Page 60 5K320 SATA OEM Specification Figure 5 Initial Setting Operation from POR after User Password is set When Device Lock Function is enabled, the device rejects media access command until a Security Unlock command is successfully completed. - 60 -...
  • Page 61 5K320 SATA OEM Specification (*1) refer to Table 35 Command table for device lock operation on Page 63 and Table 36 Command table for device lock operation - continued on Page 64. Figure 6 Usual Operation User Password Lost If the User Password is forgotten and High level security is set, the system user can’t access any dat a.
  • Page 62 5K320 SATA OEM Specification Figure 7 Password Lost Attempt limit for SECURITY UNLOCK command The SECURITY UNLOCK command has an attempt limit. The purpose of this attempt limit is to prevent that someone attempts to unlock the drive by using various passwords many times. The device counts the password mismatch.
  • Page 63: Table 35 Command Table For Device Lock Operation

    5K320 SATA OEM Specification Command Device Device Device Locked Unlock Frozen Mode Mode Mode Check Power Mode Device Configuration RESTORE Device Configuration FREEZE LOCK Device Configuration IDENTIFY Device Configuration SET Download Microcode Execute Device Diagnostic Flush Cache Flush Cache Ext Format Track Format Unit Identify Device...
  • Page 64: Protected Area Function

    5K320 SATA OEM Specification Command Device Device Device Locked Unlock Frozen Mode Mode Mode Set Max Address Set Max Address Ext Set Max Freeze Lock Set Max Lock Set Max Set Password Set Max Unlock Set Multiple Mode Sleep S.M.A.R.T. Disable Operations S.M.A.R.T.
  • Page 65 5K320 SATA OEM Specification Set Max Set Password Set Max Lock Set Max Freeze Lock Set Max Unlock Example for operation (In LBA mode) 12.10.1 Assumptions : For better understanding, the following example uses actual values for LBA, size, etc. Since it is just an example, these values could be different.
  • Page 66: Table 37 Set Max Set Password Data Content

    5K320 SATA OEM Specification Set Max security extension commands 12.10.2 The Set Max Set P assword command allows the host to define the password to be used during the current power on cycle. This password is not related to the password used for the Security Mode Feature set.
  • Page 67: Seek Overlap

    5K320 SATA OEM Specification 12.11 Seek Overlap HTS5432XXL9SA00 / HTS5432XXL9A300 provide accurate seek time measurement method. The seek command is usua lly used to measure the device seek time by accumulating execution time for a number of seek commands. With typical implementation of the seek command, this measurement must including device host...
  • Page 68: 48-Bit Address Feature Set

    5K320 SATA OEM Specification The spare tracks for reassignment are located at regular intervals from Cylinder 0. As a result of reassignment, the physical location of logically sequenced sectors will be dispersed. Auto Reassign Function 12.13.1 The sectors that show some errors may be reallocated automatically when specific conditions are met. The spare tracks for reallocation are located at regular intervals from Cylinder 0.
  • Page 69: Software Setting Preservation Feature Set

    5K320 SATA OEM Specification 12.15 Software Setting Preservation Feature Set When a device is enumerated, software will configure the device using Set Features and other commands. These software setti ngs are often preserved across software reset but not necessarily across hardware reset. In Parallel ATA, only commanded hardware resets can occur, thus legacy software only reprograms settings that are cleared for the particular type of reset it has issued.
  • Page 70: Native Command Queuing

    5K320 SATA OEM Specification Setting Contents Initialize device parameters Track length Number of head Number of cylinder Capacity Power Management Feature Set Standby Time to fall into standby mode Timer Security mode state Security freeze lock Security unlock Set max address Capacity Set feature Write Cache Enable/Disable...
  • Page 71: Table 39 Sct Action Code Supported

    5K320 SATA OEM Specification 0003h Error Recovery Control command 0004h Feature Control command Feature Write Cache code 0001h Feature Time Interval for temperature code 0003h logging 0005h SCT Data Table command Table 39 SCT Action Code Supported - 71 -...
  • Page 72: Command Protocol

    5K320 SATA OEM Specification 13 Command Protocol The commands are grouped into different classes according to the protocols followed for command execution. The command classes with their associ ated protocols are defined below. Please refer to Serial ATA Revision 2.6 (Section 11. device command layer protocol) about each protocol.
  • Page 73: Non-Data Commands

    5K320 SATA OEM Specification Security Set Password Security Unlock Set Max Set P assword Set Max Unlock S.M.A.R.T Write Log Sector Write Buffer Write Log Ext Write Multiple Write Multiple Ext Write Sector(s) Write Sector(s) Ext Execution includes the transfer of one or more 512 byte (>512 bytes on Write Long) sectors of data from the host to the device.
  • Page 74: Dma Data Transfer Commands

    5K320 SATA OEM Specification Write Uncorrectable Ext Execution of these commands involves no data transfer. 13.4 DMA Data Transfer Commands These commands are: Read DMA Read DMA Ext Write DMA Write DMA E xt Initiation of the DMA transfer commands is identical to the Read Sector or Write Sector commands except that the host initializes the slave-DMA channel prior to issuing the command.
  • Page 75: Command Descriptions

    5K320 SATA OEM Specification 14 Command Descriptions Protocol Command Code (Hex) 7 6 5 4 3 2 1 0 Check Power Mode 1 1 1 0 0 1 0 1 Check Power Mode* 1 0 0 1 1 0 0 0 Device Co nfiguration R estore 1 0 1 0 0 0 0 1 Device Configuration Freeze Lock...
  • Page 76: Table 41 Command Set - Continued

    5K320 SATA OEM Specification Protocol Command Code (Hex) 7 6 5 4 3 2 1 0 Set Max Address 1 1 1 1 1 0 0 1 Set Max Address Ext 0 0 1 1 0 1 1 1 Set Max Freeze Lock 1 1 1 1 1 0 0 1 Set Max Lock 1 1 1 1 1 0 0 1...
  • Page 77: Table 42 Command Set (Subcommand)

    5K320 SATA OEM Specification (Hex) (S.M.A.R.T Function) S.M.A.R.T. Read Attribute Values S.M.A.R.T. Read Attribute Thresholds S.M.A.R.T. Enable/Disable Attribute Autosave S.M.A.R.T. Save Attribute Values S.M.A.R.T. Execute Off-line Immediate S.M.A.R.T. Read Log Sector S.M.A.R.T. Write Log Sector S.M.A.R.T. Enable Operations S.M.A.R.T. Disable Operations S.M.A.R.T.
  • Page 78 5K320 SATA OEM Specification Retry. Original meaning is already obsolete, there is no difference between 0 and 1. (Using 0 is recommended for future compatibility.) Option Bit. Indicates that the Option Bit of the Sector Count Register should be specified. (This bit is used by Set Max ADDRESS command) Valid.
  • Page 79: Check Power Mode (E5H/98H)

    5K320 SATA OEM Specification 14.1 Check Power Mode (E5h/98h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count V V V V V V V V...
  • Page 80: Device Configuration Overlay (B1H)

    5K320 SATA OEM Specification 14.2 Device Configuration Overlay (B1h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature 1 0 1 0 V V V V Error ...See Below...
  • Page 81 5K320 SATA OEM Specification DEVICE CONFIGURATION IDENTIFY (subcommand 14.2.3 C2h) The DEVICE CONFIGURATION IDENTIFY command returns a 512 byte data structure via PIO data-in transfer. The content of this data structure indicates the selectable commands, modes, and feature sets that the device is capable of supporting. If a DEVICE CONFIGURATION SET command has been issued reducing the capabilities, the response to an IDENTIFY DEVICE or ID ENTIFY PACKET DEVICE command will reflect the reduced s e t of capabilities, while the DEVICE CONFIGURATION IDENTIFY command will reflect the entire set of selectable capabilities.
  • Page 82: Table 46 Device Configuration Overlay Data Structure

    5K320 SATA OEM Specification Word Content 0002h Data Structure revision Multiword DMA modes supported 15-3 Reserved 2 1 = Multiword DMA mode 2 and below are supported 1 1 = Multiword DMA mode 1 and below are supported 0 1 = Multiword DMA mode 0 is supported Ultra DMA modes supported 15-6 Reserved 5 1 = Ultra DMA mode 5 and below are supported...
  • Page 83: Table 47 Dco Error Information Definition

    5K320 SATA OEM Specification LBA High invalid word location LBA Mid invalid bit location (bits (7:0)) LBA Low invalid bit location (bits (15:8)) Sector count error reason code & description 01h DCO feature is frozen 02h Device is now Security Locked mode 03h Device’s feature is already modified with DCO 04h User attempt to disable any feature enabled 05h Device is now SET MAX Locked or Frozen mode...
  • Page 84: Download Microcode (92H)

    5K320 SATA OEM Specification 14.3 Download Microcode (92h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature V V V V V V V V Error ...See Below...
  • Page 85 5K320 SATA OEM Specification DOWNLOAD M ICROCODE command buffer offset and t h e previous sector count. T h e first DOWNLOAD MICROCODE command shall have a buffer offset of zero. The new firmware becomes effective immediately after the transfer of the last data segment has completed.
  • Page 86: Execute Device Diagnostic (90H)

    5K320 SATA OEM Specification 14.4 Execute Device Diagnostic (90h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 87: Flush Cache (E7H)

    5K320 SATA OEM Specification 14.5 Flush Cache (E7h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 88: Flush Cache Ext (Eah)

    5K320 SATA OEM Specification 14.6 Flush Cache Ext (EAh) Command Block Output Registers Command Blo ck Input Registers Register Register 6 5 4 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current Sector Count HOB=0 Previous...
  • Page 89: Format Track (50H: Vendor Specific)

    5K320 SATA OEM Specification 14.7 Format Track (50h: Vendor Specific) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below...
  • Page 90: Format Unit (F7H: Vendor Specific)

    5K320 SATA OEM Specification 14.8 Format Unit (F7h: Vendor Specific) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature V V V V V V V V Error ...See Below...
  • Page 91: Identify Device (Ech)

    5K320 SATA OEM Specification 14.9 Identify Device (ECh) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 92: Table 55 Identify Device Information

    5K320 SATA OEM Specification Word Content Description 045xH Drive classification, bit assignments: 15 (=0): 1=ATAPI device, 0=ATA device 14 (=0): 1=format speed tolerance gap required 13 (=0): 1=track offset option available 12 (=0): 1=data strobe offset option available 11 (=0): 1=rotational speed tolerance > 0.5% 10 (=1): 1=disk transfer rate >...
  • Page 93: Table 56 Identify Device Information

    5K320 SATA OEM Specification Word Content Description 4000H Trusted Computing feature set options 15(=0) Always 0 14(=1) Always 1 13- 1(=0) Reserved 0(=0) 1=Trusted Computing feature set is supported 0F00H Capabilit ies, bit assignments: 15-14 (=0) Reserved 13 (=0) 0= Standby timer value are vendor specific 12 (=0) Reserved 11 (=1) 1= IORDY Supported 10 (=1) 1= IORDY can be disabled...
  • Page 94: Table 57 Identify Device Information

    5K320 SATA OEM Specification Word Content Description 0x07H Multiword DMA Transfer Capability 15-11(=0) Reserved 10 1=Multiword DMA mode 2 is selected 9 1=Multiword DMA mode 1 is selected 8 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 0003H...
  • Page 95: Table 58 Identify Device Information

    5K320 SATA OEM Specification Word Content Description 005EH SATA supported features 15-7(=0) Reserved 6(=1) 1=Software setting preservation supported 5(=0) Reserved 4(=1) 1=In -order data delivery supported 1=Device initiated interface power management 3(=1) supported 2(=1) 1=DMA Setup Auto-Activate optimization supported 1=Non-zero buffer offset in DMA Setup FIS 1(=1) supported 0(=0) Reserved...
  • Page 96: Table 59 Identify Device Information

    5K320 SATA OEM Specification Word Content Description 7F69H Command set supported 15 (=0) Always 14 (=1) Always 13 (=1) 1=FLUSH CACHE EXT command supported 12 (=1) 1=FLUSH CACHE command supported 11 (=1) 1=Device Configuration Overlay command supported 10 (=1) 1=48-bit Address feature set supported 9 (=1) 1=Automatic Acoustic Management supported 8 (=1) 1=SET MAX security extension supported 7 (=0) Reserved...
  • Page 97: Table 60 Identify Device Information

    5K320 SATA OEM Specification Word Content Description 74xxH Command set/feature enabled 15 (=0) Obsolete 14 (=1) 1=NOP command supported 13 (=1) 1=READ BUFFER command supported 12 (=1) 1=WRITE BUFFER command supported 11 (=0) Reserved 10 (=1) 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...
  • Page 98: Table 61 Identify Device Information

    5K320 SATA OEM Specification Word Content Description 6163H Command set/feature enabled 15 (=0) Always 14 (=1) Always 13 (=1) 1=IDLE IMMEDIATE with UNLOAD FEATURE supported 12- 9 (=0) Reserved 8 (=1) 1=64 bit World wide name supported 7 (=0) 1=WRITE DMA QUEUED FUA EXT command supported 6 (=1) 1=WRITE DMA FUA EXT and WRITE MULTIPLE FUA EXT command supported...
  • Page 99: Table 62 Identify Device Information

    5K320 SATA OEM Specification Word Content Description xxxxH Time required for security erase unit completion Time= value(xxxxh)*2 [minutes] xxxxH Tim e required for Enhanced security erase completion Time= value(xxxxh)*2 [minutes] 40xxH Current Advanced Power Management level 15- 8 (=40h) Reserved 7- 0 (=xxh) Currect Advanced Power Management level set by Set Features Command (01h to FEh) xxxxH...
  • Page 100 5K320 SATA OEM Specification Word Content Description 0xxxH Security status. Bit assignments 15-9 (=0) Reserved 8 (=x) Security Level 1= Maximum, 0= High 7-6 (=0) Reserved 5 (=1) 1=Enhanced security erase supported 4 (=x) 1=Security count expired 3 (=x) 1=Security Frozen 2 (=x) 1=Security locked 1 (=x) 1=Security enabled **0 (=1) 1=Security supported...
  • Page 101: Table 63 Identi F Y Device Information

    5K320 SATA OEM Specification Note.2 See following table “Table 6 4 Number of cylinders/heads/sectors by models for HTS5432XXL9SA00 / HTS5432XXL9A300” on Page 102 Table 63 Identify device information --- Continued ---...
  • Page 102: Table 64 Number Of Cylinders/Heads/Sectors By Models For Hts5432Xxl9Sa00 / Hts5432Xxl9A300

    5K320 SATA OEM Specification Model Number in ASCII Hitachi Hitachi Hitachi HTS543232L9SA00 HTS543225L9SA00 HTS543216L9SA00 Number of cylinders 3FFFh 3FFFh 3FFFh Number of heads Buffer size 3795h 3795h 3795h Total number of user 2542EAB0h FFFFFFF h FFFFFFF h addressable sectors (word...
  • Page 103: Idle (E3H/97H)

    5K320 SATA OEM Specification 14.10 Idle (E3h/97h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count LBA Low...
  • Page 104: Idle Immediate (E1H/95H)

    5K320 SATA OEM Specification 14.11 Idle Immediate (E1h/95h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 105: Initialize Device Parameters (91H)

    5K320 SATA OEM Specification 14.12 Initialize Device Parameters (91h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 106: Read Buffer (E4H)

    5K320 SATA OEM Specification 14.13 Read Buffer (E4h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 107: Read Dma(C8H/C9H)

    5K320 SATA OEM Specification 14.14 Read DMA(C8h/C9h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count V V V V V V V V...
  • Page 108: Read Dma Ext (25H)

    5K320 SATA OEM Specification 14.15 Read DMA Ext (25h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0 Previous...
  • Page 109: Read Fpdma Queued (60H)

    5K320 SATA OEM Specification 14.16 Read FPDMA Queued (60h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current V V V V V V V V Error ...See Below...
  • Page 110: Read Log Ext(2Fh)

    5K320 SATA OEM Specification 14.17 Read Log Ext(2Fh) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current - R- Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0...
  • Page 111: Table 74 General Purpose Log Directory

    5K320 SATA OEM Specification The Extended SMART self-test log sector shall support 48-bit and 28-bit addressing. All 28-bit entries contained in the SMART self-test log sector shall also be included in the Comprehensive SMART self-test log sector with the 48-bit entries. If the feature set associated with the log specified in the Sector Number register is not supported or enabled, or if the values in the Sector Count, Sector Number or Cylinder Low registers are invalid, the device shall return command aborted.
  • Page 112: Table 75 Extended Comprehensive Smart Error Log

    5K320 SATA OEM Specification Description Bytes Offset SMART error log version Reserved Error log index (7:0) Error log index (15:8) error log data structure error log data structure error log data structure error log data structure 178h Device error count 1F4h Reserved 1F6h...
  • Page 113: Table 77 Command Data Structure

    5K320 SATA OEM Specification Command data structure: Data format of each command data structure is shown below. Description Bytes Offset Device Control register Features register (7:0) (see Note) Features register (15:8) Sector count register (7:0) Sector count register (15:8) Sector number register (7:0) Sector number register (15:8) Cylinder Low register (7:0) Cylinder Low register (15:8)
  • Page 114: Table 79 Extended Self-Test Log Data Structure

    5K320 SATA OEM Specification State shall contain a value indicating the state of the device when the command was issued to the device or the reset occurred as described below. Value State Unknown Sleep Standby Active/Idle SMART Off-line or Self-test x5h -xAh Reserved xBh -xFh...
  • Page 115: Table 80 Extended Self-Test Log Descriptor Entry

    5K320 SATA OEM Specification 14.17.3.2 Self-test descriptor index This indicates the most recent self-test descriptor. If there have been no self-tests, this is set to zero. Valid values for the Self -test descriptor index are 0 to 18. 14.17.3.3 Extended Self-test log descriptor entry The content of the self-test descriptor entry is shown below.
  • Page 116: Table 82 Phy Event Counter Identifier

    5K320 SATA OEM Specification The bytes 1 to 13 correspond to the contents of Shadow Register Block when the error was reported. The Data Structure Checksum (Byte 511) contains the 2 ’s complement of the sum of the first 511 bytes in the data structure.
  • Page 117: Table 83 Phy Event Counter Information

    5K320 SATA OEM Specification Byte Counter 0001h Identifier Counter 0001h Value Counter 0009h Identifier Counter 0009 Value Counter 000Ah Identifier Counter 000Ah Value Counter 000Bh Identifier Counter 000Bh Value Counter 000Dh Identifier Counter 000Dh Value 26 - 510 Reserved ( 00h ) Data Structure Checksum Table 83 Phy Event Counter information The Data Structure Checksum (Byte 511) contains the 2 ’s complement of the sum of the first 511...
  • Page 118: Read Multiple (C4H)

    5K320 SATA OEM Specification 14.18 Read Multiple (C4h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 119: Read Multiple Ext (29H)

    5K320 SATA OEM Specification 14.19 Read Multiple Ext (29h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0 Previous...
  • Page 120: Read Native Max Address (F8H)

    5K320 SATA OEM Specification 14.20 Read Native Max Address (F8h) Block Output Registers Command Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data - - - Feature Error ...See Below...
  • Page 121: Read Native Max Address Ext (27H)

    5K320 SATA OEM Specification 14.21 Read Native Max Address Ext (27h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current Sector Count HOB=0...
  • Page 122: Read Sector(S) (20H/21H)

    5K320 SATA OEM Specification 14.22 Read Sector(s) (20h/21h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 123: Read Sector(S) Ext (24H)

    5K320 SATA OEM Specification 14.23 Read Sector(s) Ext (24h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0 Previous...
  • Page 124: Read Verify Sector(S) (40H/41H)

    5K320 SATA OEM Specification 14.24 Read Verify Sector(s) (40h/41h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 125: Read Verify Sector(S) Ext (42H)

    5K320 SATA OEM Specification 14.25 Read Verify Sector(s) Ext (42h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0...
  • Page 126: Recalibrate (1Xh)

    5K320 SATA OEM Specification 14.26 Recalibrate (1xh) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low LBA Low...
  • Page 127: Security Disable Password (F6H)

    5K320 SATA OEM Specification 14.27 Security Disable Password (F6h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 128: Security Erase Prepare (F3H)

    5K320 SATA OEM Specification 14.28 Security Erase Prepare (F3h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 129: Security Erase Unit (F4H)

    5K320 SATA OEM Specification 14.29 Security Erase Unit (F4h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 130 5K320 SATA OEM Specification This command disables the security mode feature (device lock function), however the master password is still stored internally within the device and may be re-activated later when a new user password is set. If you execute this command on disabling the security mode feature (device lock function), the password sent by the host is NOT compared with the password stored in the device for both the Master Password and the User Password, and then the device only erases all user data.
  • Page 131: Security Freeze Lock (F5H)

    5K320 SATA OEM Specification 14.30 Security Freeze Lock (F5h) Command Block Output Registers Command Block Input Registers Regis ter 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below...
  • Page 132: Security Set Password (F1H)

    5K320 SATA OEM Specification 14.31 Security Set Password (F1h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 133 5K320 SATA OEM Specification Security Level Zero indicates High level, one indicates Maximum level. If the host sets High level and the password is forgotten, then the Master Password can be used to unlock the device. If the host sets Maximum level and the user password is forgotten, only an Security Erase Prepare/Security Unit command can unlock the device and all data will be lost.
  • Page 134: Security Unlock (F2H)

    5K320 SATA OEM Specification 14.32 Security Unlock (F2h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 135: Seek (7Xh)

    5K320 SATA OEM Specification 14.33 Seek (7xh) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low V V V V V V V V...
  • Page 136: Sense Condition (F0H : Vendor Specific)

    5K320 SATA OEM Specification 14.34 Sense Condition (F0h : vendor specific) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature 0 0 0 0 0 0 0 1 Error ...See Below...
  • Page 137: Set Features (Efh)

    5K320 SATA OEM Specification 14.35 Set Features (EFh) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature V V V V V V V V Error ...See Below...
  • Page 138 5K320 SATA OEM Specification When Feature register is 03h (=Set Transfer mode), the Sector Count Register specifies the transfer mechanism. The upper 5 bits define the type of transfer and the low order 3 bits encode the mode value. bits bits (7:3) (2:0)
  • Page 139: Set Max Address (F9H)

    5K320 SATA OEM Specification 14.36 Set Max Address (F9h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature V V V V V V V V Error ...See Below...
  • Page 140 5K320 SATA OEM Specification SET MAX LOCK SET MAX UNLOCK SET MAX FREEZE LOCK When the Set Max ADDRESS command is executed, this register is ignored. Option bit for selection whether nonvolatile or volatile. B=0 is volatile condition. When B=1, MAX LBA/CYL which is set by Set Max ADDRESS command is preserved by POR.
  • Page 141: Set Max Address Ext (37H)

    5K320 SATA OEM Specification 14.37 Set Max Address Ext (37h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current Sector Count HOB=0 Previous...
  • Page 142 5K320 SATA OEM Specification LBA Low (HOB=1) Set Max LBA (31:24). LBA Mid (HOB=0) Set Max LBA (15:8). LBA Mid (HOB=1) Set Max LBA (39:32). LBA High (HOB=0) Set Max LBA (23:16). LBA High (HOB=1) Set Max LBA (47:40).
  • Page 143: Set Multiple (C6H)

    5K320 SATA OEM Specification 14.38 Set Multiple (C6h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 144: Sleep (E6H/99H)

    5K320 SATA OEM Specification 14.39 Sleep (E6h/99h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low LBA Low...
  • Page 145: Function Set (B0H)

    5K320 SATA OEM Specification 14.40 S.M.A.R.T Function Set (B0h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature V V V V V V V V Error ...See Below...
  • Page 146 5K320 SATA OEM Specification S.M.A.R.T. Read Attribute Thresholds (Subcommand D1h) This subcommand returns the device’s Attribute Thresholds t o the host. Upon receipt of the S.M.A.R.T. Read Attribute Thresholds subcommand from the host, the device reads t he Attribute Thresholds from the Attribute Threshold sectors and then waits for the host to transfer the 512 bytes of Attribute Thresholds information from the device.
  • Page 147 5K320 SATA OEM Specification Off -line mode: The device executes command completion before executing the specified routine. During execution of the routine the device will not set BSY nor clear DRDY. If the device is in the process of performing its routine and is interrupted by a new command from the host, the device will abort or suspend its routine and service the host within two seconds after receipt of the new command.
  • Page 148: Table 111 Log Sector Addresses

    5K320 SATA OEM Specification proceed to do an off-line read scan through all areas not included in the test spans. This off-line read scan shall completed as rapidly as possible, no pauses between block reads, and any errors encountered shall not be reported to the host. Instead error locations may be logged for future reallocation.
  • Page 149 5K320 SATA OEM Specification S.M.A.R.T. Disable Operations (Subcommand D9h) This subcommand disables all S.M.A.R.T.capabilities within the device including the device’s attribute autosave feature. After receipt of this subcommand the devi ce disables all S.M.A.R.T. operations. N o n s e l f -preserved Attribute Values will no longer be monitored. The state of S.M.A.R.T.
  • Page 150: Table 112 Device Attribute Data Structure

    5K320 SATA OEM Specification S.M.A.R.T. Execute Off-line Immediate(Subcommand D4h) or automatically if the off-line read scanning feature is disabled. A value of F8h written by the host into the device’s Sector Count register before issuing this subcommand shall cause the automatic Off-line data collection feature to be enabled. A value of F9 written by the host into the device’s Sector Count register before issuing this subcommand shall cause the off-line read scanning feature to be enabled.
  • Page 151: Table 113 Individual Attribute Data Structure

    5K320 SATA OEM Specification 14.40.2.2 Individual Attribute Data Structure The following defines the 12 bytes that make up the information for each Attribute entry in the Device Attribute Data Structure. Description Bytes Offset Format Attribute ID Number (01h to FFh) binary Status Flags bit flags...
  • Page 152: Table 114 Status Flag Definitions

    5K320 SATA OEM Specification Flag Name Definition If bit = 0, an Attribute Value less than or equal to its Pre-Failure/Advisory bit corresponding Attribute Threshold indicates an Advisory condition where the usage or age of the device has exceeded its intended design life period. If bit = 1, an Attribute Value less than or equal to its corresponding Attribute Threshold indicates a Pre-Failure condition where imminent...
  • Page 153 5K320 SATA OEM Specification The self-test routine in progress 14.40.2.5 Total Time in Seconds to Complete Off-line Data Collection Activity This field tells the host how many seconds the device requires to complete the off-line data collection activity. 14.40.2.6 Current Segment Pointer This byte is a counter indicating the next segment to execute as an off-line data collection activity.
  • Page 154: Table 115 Device Attribute Thresholds Data Structure

    5K320 SATA OEM Specification 14.40.2.11 Self-test completion time These bytes are the minimum time in minutes to complete self -test. 14.40.2.12 Data Structure Checksum The Data Structure Checksum is the 2’s compliment of the result of a simple 8-bit addition of the first 511 bytes in the data structure.
  • Page 155: Table 116 Individual Threshold Data Structure

    5K320 SATA OEM Specification Description Bytes Offset Format Attribute ID Number (01h to FFh) binary Attribute Threshold (for comparison with Attribute Values binary from 00h to FFh) 00h - “always passing” threshold value to be used for code test purposes minimum value for normal operation 01h - maximum value for normal operation...
  • Page 156: Table 118 S.m.a.r.t. Error Log Sector

    5K320 SATA OEM Specification fields shown in these data structures follow the ATA/ATAPI-6 specifications for byte ordering. Description Bytes Offset S.M.A.R.T. error log version Error log pointer error log data structure error log data structure error log data structure error log data structure 110h error log data structure 16Ah...
  • Page 157: Table 120 Command Data Structure

    5K320 SATA OEM Specification Command data structure: Data format of each command data structure is shown below. Description Bytes Offset Device Control register Features register Sect or count register LBA Low register LBA Mid register LBA High register Device register Command register Timestamp(milliseconds from Power On) Table 120 Command data structure...
  • Page 158: Table 122 Self-Test Log Data Structure

    5K320 SATA OEM Specification Self-test log data structure 14.40.6 The following defines the 512 bytes that make up the Self-test log sector. All multi-byte fields shown in these data structures follow the ATA/ATAPI-7 specifications for byte ordering. Description Bytes Offset Data structure revision Self-test number n*18h+02h...
  • Page 159: Table 123 Selective Self-Test Log Data Structure

    5K320 SATA OEM Specification Selective self-test log data structure 14.40.7 The Selective self-test log is a log that may be both written and read by the host. This log allows the host to select the parameters for the self-test and to monitor the progress of the self-test.
  • Page 160: Standby (E2H/96H)

    5K320 SATA OEM Specification 14.41 Standby (E2h/96h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Err or ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 161: Standby Immediate (E0H/94H)

    5K320 SATA OEM Specification 14.42 Standby Immediate (E0h/94h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 162: Write Buffer (E8H)

    5K320 SATA OEM Specification 14.43 Write Buffer (E8h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count Sector Count LBA Low...
  • Page 163: Write Dma (Cah/Cbh)

    5K320 SATA OEM Specification 14.44 Write DMA (CAh/CBh) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 164: Write Dma Ext (35H)

    5K320 SATA OEM Specification 14.45 Write DMA Ext (35h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0 Previous...
  • Page 165: Write Dma Fua Ext (3Dh)

    5K320 SATA OEM Specification 14.46 Write DMA FUA Ext (3Dh) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0...
  • Page 166: Write Fpdma Queued (61H)

    5K320 SATA OEM Specification 14.47 Write FPDMA Queued (61h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current V V V V V V V V Error ...See Below...
  • Page 167: Write Log Ext (3Fh)

    5K320 SATA OEM Specification 14.48 Write Log Ext (3Fh) Command Block Output Registers Command Block Input Registers Register Register Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0 Previous...
  • Page 168: Write Multiple (C5H)

    5K320 SATA OEM Specification 14.49 Write Multiple (C5h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 169: Write Multiple Ext (39H)

    5K320 SATA OEM Specification 14.50 Write Multiple Ext (39h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previou s Sector Count Current V V V V V V V V Sector Count HOB=0...
  • Page 170: Write Multiple Fua Ext (Ceh)

    5K320 SATA OEM Specification 14.51 Write Multiple FUA Ext (CEh) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Prev ious Sector Count Current V V V V V V V V Sector Count...
  • Page 171: Write Sector(S) (30H/31H)

    5K320 SATA OEM Specification 14.52 Write Sector(s) (30h/31h) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Data Feature Error ...See Below... Sector Count V V V V V V V V Sector Count...
  • Page 172: Write Sector(S) Ext (34H)

    5K320 SATA OEM Specification 14.53 Write Sector(s) Ext (34h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0 Previous...
  • Page 173: Write Uncorrectable Ext (45H)

    5K320 SATA OEM Specification 14.54 Write Uncorrectable Ext (45h) Command Block Output Registers Command Block Input Registers Register Register 5 4 3 Data Low Data Low Data High Data High Feature Current Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0 Previous...
  • Page 174 5K320 SATA OEM Specification Sector Count Current The number of continuous sectors to be marked low order, bits (7:0). Sector Count Previous The number of continuous sectors to be marked high order bits (15:8). If 0000h in the Sector Count register is specified, then 65,536 sectors will be transferred. LBA Low Current LBA (7:0).
  • Page 175: Timings

    5K320 SATA OEM Specification 15 Timings The timing of BSY and DRQ in Status Register are shown in the following table. The other timings are described in Functional Specification part. FUNCTION INTERVAL START STOP TIMEOUT Device Ready Power On and COMRESET Status Register 31 sec Power On and...
  • Page 176 5K320 SATA OEM Specification (Note.1) For SECURITY ERASE UNIT command, the execution time is referred to “14.29 Security Erase Unit (F4h)” on Page 129. (Note.2) FORMAT UNIT command, the execution time is referred to “ 14.8 Format Unit (F7h: Vendor Specific)”...
  • Page 177 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.

Table of Contents