5K320 SATA OEM Specification Hitachi Global Storage Technologies Hard Disk Drive Specification Hitachi Travelstar 5K320 2.5 inch SATA hard disk drive Models: HTS543232L9A300, HTS543232L9SA00 HTS543225L9A300, HTS543225L9SA00 HTS543216L9A300, HTS543216L9SA00 HTS543212L9A300, HTS543212L9SA00 HTS543280L9A300, HTS543280L9SA00 Revision 1.5 9 Apr.
5K320 SATA OEM Specification 1st Edition (Revision 1.0) (25 Feb 2008) 2nd Edition (Revision 1.1; Correction) (03 Apr 2008) 3rd Edition (Revision 1.2; Correction) (03 Apr 2008) 4th Edition (Revision 1.3; 250GB 4HD model added) (22 Jul 2008) 5th Edition (Revision 1.4) (09 Dec., 2009) 6th Edition (Revision 1.5) (09 Apr.
5K320 SATA OEM Specification Table of Contents GENERAL.................................................................................................................................................9 1 INTRODUCTION .......................................................................................................................................9 1.1 Abbreviations.............................................................................................................................9 1.
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 .......................................
K320 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) ......................................................
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. Nonoperating shock Table 22. Weighted sound power Table 23.
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) Table 85 Read Multiple Ext Command (29h) Table 86 Read Native Max Address Command (F8h) Table 87 Read Native Max Address Ext Command
5K320 SATA OEM Specification Table 137 Write Sector(s) Ext Command (34h) Table 138 Write Uncorrectable Ext Command (45h) Table 139 Timeout Values 172 173 175 8
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 name Model Number Travelstar 5K320-320 HTS543232L9A300 Max data transfer rate (Gbps) 3.0 HTS543232L9SA00 1.5 HTS543225L9A300 3.0 HTS543225L9SA00 1.5 HTS543216L9A300 3.0 HTS543216L9SA00 1.5 HTS543212L9A300 3.0 HTS543212L9SA00 1.5 HTS543280L9A300 3.0 HTS543280L9SA00 1.
5K320 SATA OEM Specification EEC European Economic Community EMC electromagnetic compatibility ERP Error Recovery Procedure Esd electrostatic discharge FCC Federal Communications Commission FRU field replacement unit G gravity, a unit of force Gb 1 000 000 000 bits GB 1 000 000 000 bytes GND ground h hexadecimal HDD hard disk drive Hz hertz I Input ILS integrated lead suspension imped impedance I/O Input/Output ISO International Standards Organization KB 1,000 bytes Kbi
5K320 SATA OEM Specification OD Open Drain Programmed Input/Output PIO Program I/O POH power on hours Pop. population P/N part number p-p peak-to-peak PSD power spectral density RES radiated electromagnetic susceptibility RFI radio frequency interference RH relative humidity % RH per cent relative humidity RMS root mean square RPM revolutions per minute RST reset R/W read/write sec second Sect/Trk sectors per track SELV secondary low voltage S.M.A.R.
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. The drive can be damaged by shock or ESD (Electric Static Discharge).
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) SATA Interface conforming to Serial ATA International Organization: Serial ATA Revision 2.
5K320 SATA OEM Specification Part 1 Functional Specification 14
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) System ECC Enhanced Adaptive Battery Life Extender 3.
5K320 SATA OEM Specification 4 Fixed disk characteristics 4.
5K320 SATA OEM Specification 4.2 Data sheet Rotational Speed (RPM) Data transfer rates (buffer to/from media) (Mbps) Data transfer rates (Gbit/sec) Recording density (Kbit/mm) (Max) (KBPI) (Max) Track density (Ktrack/mm)(Max) (KTPI)(Max) Areal density (Kbit/sq-mm.- Max) (Gbit/sq-inch - Max) Number of zones Table 2. Data sheet 4.3 320 GB 5400 729 250 GB 5400 775 160 GB 5400 729 120 GB 5400 674 80 GB 5400 729 1.5/ 3.0 1.5/ 3.0 1.5/ 3.0 1.5/ 3.0 1.5/ 3.
5K320 SATA OEM Specification 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.
5K320 SATA OEM Specification 4.4.2 Mechanical positioning 4.4.2.1 Average seek time (including settling) Command Type Typical (ms) Read 12 Write 13 Table 5. Mechanical positioning performance Max. (ms) 14 15 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.
5K320 SATA OEM Specification 4.4.2.5 Drive ready time Condition Power On To Ready Table 9. Drive ready time Typical (sec) 3.5 Max. (sec) 9.5 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.
5K320 SATA OEM Specification 4.4.3 Operating modes Operating mode Description Start up time period from spindle stop or power down. Spin-Up Seek operation mode Seek Write operation mode Write Read operation mode Read The device is capable of responding immediately to media access requests. All electronic components remain powered and the full frequency servo remains operational. The device is capable of responding immediately to media access requests.
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 operation causes the loss of any received or resident data that has not been written onto the disk media. A power off during a write operation might make a maximum of one sector of data unreadable. This state can be recovered by a rewrite operation. 5.
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. Errors that are uncorrectable after application of the error recovery procedure are reported to the host system as nonrecoverable errors. 5.
5K320 SATA OEM Specification 5.8 ECC The 10 bit 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.
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.
5K320 SATA OEM Specification 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. Frequency (KHz) DC 0 < Frequency =< 60 60 < Frequency =<100 100 < Frequency =< 200 200 < Frequency =< 400 Table 13. Magnetic flux density limits 6.1.
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 Nominal supply Supply voltage Power supply ripple (0–20 1 MHz) 2 Tolerance Supply rise time Requirements +5 Volt dc –0.3 Volt to 6.0 Volt 100 mV p-p max.
5K320 SATA OEM Specification 6.2.1 Capacity Power consumption efficiency 320GB 250GB 160GB 120GB 80GB Power Consumption Efficiency 0.0017 (Watts/GB) Table 15. Power consumption efficiency 0.0022 0.0034 0.0046 0.0069 Note: Power consumption efficiency is calculated as Power Consumption of Low Power Idle Watt/ Capacity (GB).
5K320 SATA OEM Specification 6.3 Reliability 6.3.1 Data reliability Probability of not recovering data is 1 in 1014 bits read ECC implementation 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 Failure prediction (S.M.A.R.T.) The drive supports Self-monitoring, analysis and reporting technology (S.M.A.R.T.) function. The details are described in section 11.8, "S.M.A.R.T.
5K320 SATA OEM Specification 6.3.5 Preventive maintenance None. 6.3.6 Load/unload The product supports a minimum of 600,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: Standby Standby immediate Sleep Load/unload is also invoked as one of the idle modes of the drive.
5K320 SATA OEM Specification turned off, emergency unload occurs, as well as the problems cited in section 5.1, "Data loss by power off" and section 5.2, “Write Cache”. 6.3.6.4 Test considerations Start/stop testing is classically performed to verify head/disk durability. The heads do not land on the disk, so this type of test should be viewed as a test of the load/unload function. Start/Stop testing should be done by commands through the interface, not by power cycling the drive.
5K320 SATA OEM Specification 6.4 6.4.1 Mechanical specifications Physical dimensions and weight The following figure lists the dimensions for the drive. Model Height (mm) 320GB, 250GB models 9.5±0.2 160GB, 120GB, 80GB models 9.5±0.2 Table 16. Physical dimensions and weight 6.4.2 Width (mm) 69.85±0.25 69.85±0.25 Mounting hole locations The mounting hole locations and size of the drive are shown below. Figure 2. Mounting hole locations 32 Length (mm) 100.2±0.25 100.2±0.
5K320 SATA OEM Specification 6.4.3 Connector description Connector specifications are included in section 7.2, "Interface connector" . 6.4.4 Mounting orientation The drive will operate in all axes (six directions) and will stay within the specified error rates when tilted ±5 degrees from these positions. Performance and error rate will stay within specification limits if the drive is operated in the other permissible orientations from which it was formatted.
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. 6.5.1 Operating vibration The drive will operate without a hard error while being subjected to the following vibration levels. 6.5.1.
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. The PSD levels for the test simulating the shipping and relocation environment is shown below. Hz 2.5 5 40 500 Table 19. Random Vibration PSD Profile Breakpoints (nonoperating) (m2/sec4)/Hz 0.
5K320 SATA OEM Specification 6.6 Acoustics 6.6.1 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 board down orientations. A-weighted Sound Power Typical (Bels) Maximum (Bels) Idle 2.4 2.7 Operating 2.6 2.9 Table 22.
5K320 SATA OEM Specification 6.7 Identification labels The following labels are affixed to every drive: A label which is placed on the top of the head disk assembly containing the statement "Made by Hitachi" or equivalent, part number A bar code label which is placed on the disk drive based on user request. The location on the disk drive is to be designated in the drawing provided by the user.
5K320 SATA OEM Specification 6.9 6.9.1 Safety UL and CSA approval All models of the Travelstar 5K320 are qualified per UL60950-1:2003 6.9.2 IEC compliance All models of the Travelstar 5K320 comply with IEC 60950-1:2001. 6.9.3 German Safety Mark 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. 6.9.
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. Interface connector pin assignments All pins are in a single row, with a 127 mm(.050”) pitch. The comments on the mating sequence in Table in the section 7.
5K320 SATA OEM Specification 7.3 Signal definitions The pin assignments of interface signals are listed as follows: Signal No. S1 S2 S3 S4 S5 S6 S7 GND A+ AGnd BB+ Gnd Plug Connector pin definition 2nd mate Differential signal A from Phy 2nd mate Differential signal B from Phy 2nd mate Key and spacing separate signal and power segments P1 V33 3.3V power P2 V33 3.3V power P3 V33 3.
5K320 SATA OEM Specification 41
5K320 SATA OEM Specification 7.3.3 Out of band signaling Figure 4 shows the timing of COMRESET, COMINIT and COMWAKE. t1 COMRESET/COMINIT t2 t3 COMWAKE t4 PARAMETER DESCRIPTION Nominal (ns) T1 ALINE primitives 106.7 T2 Spacing 320 T3 ALIGN primitives 106.7 T4 Psacing 106.7 Figure 4.
5K320 SATA OEM Specification 43
5K320 SATA OEM Specification Part 2 Interface Specification - 44 -
5K320 SATA OEM Specification 8 General 8.1 Introduction This specification describes the host interface 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 Page 45.. Serial ATA International Organization : Serial ATA Revision 2.
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. Return Status Check Power Mode S.M.A.R.T. RETURN STATUS subcommand does not check advisory attributes.
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.
5K320 SATA OEM Specification Bit Definitions SRST (RST) -IEN 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. Interrupt Enable. When IEN=0, and the device is selected, device interrupts to the host will be enabled. When IEN=1, or the device is not selected, device interrupts to the host will be disabled. 11.
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” contains Bits 40-47. The 48-bit Address feature set is described in “12.14 48-bit Address Feature Set”. 11.8 LBA Low Register This register contains Bits 0-7.
DRDY (RDY) DF DSC DRQ CORR (COR) IDX ERR 5K320 SATA OEM Specification 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. Device Seek Complete. DSC=1 indicates that a seek has completed and the device head is settled over a track.
5K320 SATA OEM Specification 12 General Operation Descriptions 12.1 Reset Response There are three types of reset in ATA as follows: The device executes a series of electrical circuitry diagnostics, spins up the HDA, tests speed and other mechanical parametric, and sets default values. COMRESET is issued in Serial ATA bus. COMRESET The device resets the interface circuitry as well as Soft Reset. SRST bit in the Device Control Register is set, then is reset.
5K320 SATA OEM Specification Register Default Value Diagnostic Code 01h 01h 00h 00h 00h 50h 50h Error 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.
5K320 SATA OEM Specification 12.3 Power-off considerations 12.3.1 Load/Unload 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 commands: Command Standby Standby immediate Sleep Response UL -> Comp. UL -> Comp. UL -> Comp. “UL” means “unload”. “Comp” means “complete”. Table 33 Device’s behavior by ATA commands Load/unload is also invoked as one of the idle modes of the drive.
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.
5K320 SATA OEM Specification 12.5.1 Power Mode Sleep Mode Standby Mode Idle Mode Active Mode 12.5.2 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. 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. Refer to the section of Adaptive Battery Life Extender Feature.
5K320 SATA OEM Specification 12.5.6 Initial Power Mode at Power On 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. 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.
5K320 SATA OEM Specification 12.6.4 Transition Time 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.
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. 12.8.
Device Frozen mode 12.9.2 5K320 SATA OEM Specification entered after power on, otherwise it is entered by a security unlock or a security erase unit command. 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. It cannot quit this mode until power off. Security Level Following security levels are provided. High level security Maximum level security 12.9.
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.
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 data. However the device can be unlocked using the Master Password. If a system user forgets the User Password and Maximum security level is set, data access is impossible.
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. If the password does not match, the device counts it up without distinguishing the Master password and the User password.
5K320 SATA OEM Specification Command 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 Idle Idle Immediate Idle Immediate with Unload option Initialize Device Parameters Read Buffer Read DMA Read DMA Ext Read FPDMA Queued Read Log Ext Read Multiple Read Multiple Ext Read Native Max Address Read Native Max Addre
5K320 SATA OEM Specification Command 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. Enable/Disable Automatic Offline S.M.A.R.T. Enable/Disable Attribute Autosave S.M.A.R.T. Enable Operations S.M.A.R.T. Execute Off-line Immediate S.M.A.R.T. Read Attribute Values S.M.A.R.T. Read Attribute Thresholds S.M.A.R.T. Read Log Sector S.M.A.R.T. Write Log Sector S.M.A.R.T. Return Status S.M.A.R.
5K320 SATA OEM Specification Set Max Set Password Set Max Lock Set Max Freeze Lock Set Max Unlock 12.10.1 Example for operation (In LBA mode) 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.
5K320 SATA OEM Specification 12.10.2 Set Max security extension commands The Set Max Set Password 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. When the password is set the device is in the Set Max Unlocked mode. This command requests a transfer of a single sector of data from the host. The table shown below defines the content of this sector of information.
5K320 SATA OEM Specification 12.11 Seek Overlap HTS5432XXL9SA00 / HTS5432XXL9A300 provide accurate seek time measurement method. The seek command is usually 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 the device and host command overhead. To eliminate this overhead, HTS5432XXL9SA00 / HTS5432XXL9A300 overlap the seek command as described below.
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. 12.13.1 Auto Reassign Function 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. The conditions for auto-reallocation are described below.
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 settings 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.
5K320 SATA OEM Specification Setting Contents Initialize device parameters Track length Number of head Number of cylinder Capacity Power Management Feature Set Standby Timer Time to fall into standby mode Security mode state Security freeze lock Security unlock Set max address Capacity Set feature Write Cache Enable/Disable Set Transfer Mode Advanced Power Management Enable/Disable Read Look-Ahead Reverting to Defaults Set multiple mode Block size Table 38 Preserved Software Setting 12.
5K320 SATA OEM Specification 0003h Error Recovery Control command 0004h Feature Control command 0005h Feature code 0001h Write Cache Feature code 0003h Time Interval for temperature logging SCT Data Table command Table 39 SCT Action Code Supported - 71 -
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 associated protocols are defined below. Please refer to Serial ATA Revision 2.6 (Section 11. device command layer protocol) about each protocol. For all commands, the host must first check if BSY=1, and should proceed no further unless and until BSY=0. For all commands, the host must also wait for RDY=1 before proceeding.
5K320 SATA OEM Specification Security Set Password Security Unlock Set Max Set Password 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. If the device detects an invalid parameter, then it will abort the command by setting BSY=0, ERR=1, ABT=1.
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 Ext 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.
5K320 SATA OEM Specification 14 Command Descriptions Protocol Command Code (Hex) E5 98 B1 B1 B1 B1 92 90 E7 EA 50 F7 EC E3 97 E1 95 E1 91 E4 C8 C9 25 60 2F C4 29 F8 27 20 21 24 40 41 42 1x F6 F3 F4 F5 F1 F2 7x F0 EF 3 Check Power Mode 3 Check Power Mode* 3 Device Configuration Restore 3 Device Configuration Freeze Lock 1 Device Configuration Identify 2 Device Configuration Set 2 Download Microcode 3 Execute Device Diagnostic 3 Flush Cache 3 Flush Cache Ext 2 Format Track 3+ Format Unit 1 Identify Device
5K320 SATA OEM Specification Protocol 3 3 3 3 2 2 3 3 3 3 3 3 3 3 1 1 1 3 3 2 3 3 3 3 2 4 4 4 4 5 2 2 2 2 2 2 2 3 Command Code (Hex) F9 37 F9 F9 F9 F9 C6 E6 99 B0 B0 B0 B0 B0 B0 B0 B0 B0 B0 B0 E2 96 E0 94 E8 CA CB 35 3D 61 3F C5 39 CE 30 31 34 45 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 Sleep* S.M.A.R.T. Disable Operations S.M.A.R.T. Enable/Disable Attribute Auto save S.M.A.R.T. Enable/Disable Automatic Off-line S.M.
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. Return Status S.M.A.R.T.
5K320 SATA OEM Specification Set Max ADDRESS command) Valid. Indicates that the bit is part of an output parameter and should be specified. V Indicates that the hex character is not used. x Indicates that the bit is not used. Input Registers Indicates that the bit is always set to 0. 0 Indicates that the bit is always set to 1. 1 Head number. Indicates that the head number part of the Device Register is an input parameter and will be set H by the device. Valid.
5K320 SATA OEM Specification 14.1 Check Power Mode (E5h/98h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 0 3 0 2 1 1 0 Command Block Input Registers Register 7 Data Error Sector Count V LBA Low LBA Mid LBA High Device Status 0 1 Error Register 4 3 2 1 IDN 0 ABT T0N 0 AM N 0 0 0 0 0 V 0 0 Table 43 Check Power Mode Command (E5h/98h) 7 6 BSY RDY 0 0 5 DF 0 6 5 4 3 2 1 - - - - - ...
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.2.3 DEVICE CONFIGURATION IDENTIFY (subcommand 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.
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 2 Ultra DMA modes supported 15-6 Reserved 5 1 = Ultra DMA mode 5 and below are supported 4 1 = Ultra DMA mode 4 and below are supported 3 1 = Ultra DMA mode 3 and below are supported 2 1 = Ultra DMA mode 2 and below are supported 1 1 = Ultra DMA mode 1
5K320 SATA OEM Specification LBA High LBA Mid LBA Low Sector count invalid word location invalid bit location (bits (7:0)) invalid bit location (bits (15:8)) 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 06h Protected area is now established 07h DCO is not supported 08h Subcommand code is invalid FFh other reaso
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification DOWNLOAD MICROCODE command buffer offset and the previous sector count. The 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. When the device detects the last download microcode command for the firmware download the device will perform any device required verification and save the complete set of downloaded microcode.
5K320 SATA OEM Specification 14.4 Execute Device Diagnostic (90h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 0 7 6 CRC UNC 5 0 5 0 4 1 3 0 2 0 1 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 AM N 0 V V V V V V V Table 49 Execute Device Diagnostic Command (90h) 7 6 BSY RDY 0 0 5 DF 0 6 5 4 3 2 1 - - - - - ...
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.8 Format Unit (F7h: Vendor Specific) Command Block Output Registers Register 7 6 Data - Feature V V Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 8 CRC UNC 9 0 5 V 1 4 V 1 3 V 0 2 V 1 Error Register 10 3 2 1 IDN 0 ABT T0N 0 0 0 V 0 V Table 53 Format Unit Command (F7h) 0 1 V 1 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 V 1 0 AM N 0 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...
5K320 SATA OEM Specification 14.9 Identify Device (ECh) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 0 3 1 Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 0 0 V 0 Table 54 Identify Device Command (ECh) 2 1 1 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 0 AM N 0 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification Word Description 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.
5K320 SATA OEM Specification Word Content 4000H Description 48 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 49 0F00H Capabilities, 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 9 (=1) 1=LBA Supported 8 (=1) 1=DMA Supported * 7- 0 (=0) Reserved 50 4000H Capabilities 15 (=0) 0=the contents of wor
5K320 SATA OEM Specification Word Content 0x07H Description 63 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 64 0003H Flow Control PIO Transfer Modes Supported 15- 8 (=0) Reserved 7- 0 (=3) Advanced PIO Transfer Modes Supported ‘11’ = PIO Mod
5K320 SATA OEM Specification Word Description 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 79 00xxH SATA enabled features 15-7(=0) Reserved 6(=x) 1=Software setting preservation enabled 5(=0) Reserved 4(=x) 1=In-order d
5K320 SATA OEM Specification Word Content 7F69H Description 83 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 (=0) Reserved 8 (=1) 1=SET MAX security extension supported 7 (=0) Reserved 6 (=1) 1=SET FEATURES subcommand required to spin-up 5 (=1) 1=Power-Up In Standby feature set supported 4 (=0) 1=Removable Media
5K320 SATA OEM Specification Word Content 74xxH Description 85 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 6 (=x) 1=look-ahead enabled 5 (=x) 1=write cache enabled 4 (=0) 1=supports PACKET Command Feature Set 3 (=1)
5K320 SATA OEM Specification Word Content 6163H Description 87 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 5 (=1) 1=General Purpose Logging feature set supported 4- 2 (=0) Reserved 1 (=1) 1=SMART self-test supported 0 (=1) 1=SMART error logging supported
5K320 SATA OEM Specification Word Content xxxxH Description 89 Time required for security erase unit completion Time= value(xxxxh)*2 [minutes] 90 xxxxH Time required for Enhanced security erase completion Time= value(xxxxh)*2 [minutes] 91 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) 92 xxxxH Current Master Password Revision Codes 93 0000H Reserved 94 0000H Reserved 95 0000H Stream Minimum R
5K320 SATA OEM Specification Word 128 Content 0xxxH Description 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 129 000xH * Current Set Feature Option.
5K320 SATA OEM Specification Note.
5K320 SATA OEM Specification Model Number in ASCII Hitachi HTS543232L9SA00 3FFFh 10h 3795h 2542EAB0h Number of cylinders Number of heads Buffer size Total number of user addressable sectors (word 60-61) Maximum user LBA 2542EAB0h address for 48-bit Address feature set (word 100-103) Model Number in ASCII Hitachi HTS543212L9SA00 3FFFh 10h 3795h DF94BB0h Number of cylinders Number of heads Buffer size Total number of user addressable sectors (word 60-61) Maximum user LBA DF94BB0h address for 48-bit Addre
5K320 SATA OEM Specification 14.10 Idle (E3h/97h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count V V LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 V 1 4 V 0 3 V 0 2 V 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 0 0 V Table 65 Idle Command (E3h/97h) 0 1 V 1 0 V 1 0 AM N 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.13 Read Buffer (E4h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 0 3 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 0 0 V Table 68 Read Buffer Command (E4h) 0 2 1 1 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 0 AM N 0 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
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.
5K320 SATA OEM Specification Description SMART error log version Reserved Error log index (7:0) Error log index (15:8) 1st error log data structure 2nd error log data structure 3rd error log data structure 4th error log data structure Device error count Reserved Data structure checksum Bytes 1 1 1 1 124 124 124 124 2 9 1 512 Offset 00h 01h 02h 03h 04h 80h FCh 178h 1F4h 1F6h 1FFh Table 75 Extended comprehensive SMART error Log 14.17.2.1 Error Log version The value of this version shall be 01h. 14.17.
5K320 SATA OEM Specification Command data structure: Data format of each command data structure is shown below.
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 x0h x1h x2h x3h x4h x5h-xAh xBh-xFh State Unknown Sleep Standby Active/Idle SMART Off-line or Self-test Reserved Vendor specific Note: The value of x is vendor specific. 14.17.2.
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.
5K320 SATA OEM Specification The Data Structure Checksum (Byte 511) contains the 2’s complement of the sum of the first 511 bytes in the data structure. The sum of all 512 bytes of the data structure will be zero when the checksum is correct. 14.17.5 Phy Event Counter Phy Event Counters are a feature to obtain more information about Phy level events that occur on the interface. The counter values are not retained across power cycles. The counter values are preserved across COMRESET and software resets.
5K320 SATA OEM Specification Byte 7 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 - 510 511 Table 83 Phy Event Counter information 6 5 4 3 2 1 0 00h 00h 00h 00h 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 00h 00h Reserved ( 00h ) Data Structure Checksum The Data Structure Checksum (Byte 511) cont
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.20 Read Native Max Address (F8h) Block Output Registers Command Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - L Command 1 1 7 6 CRC UNC 5 0 5 1 4 1 3 1 2 0 1 0 0 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 AM N 0 0 0 0 0 V 0 0 Table 86 Read Native Max Address Command (F8h) Command Block Input Registers Register 7 Data Error Sector Count LBA Low V LBA Mid V LBA High V Device Status 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.26 Recalibrate (1xh) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 0 0 7 6 CRC UNC 5 0 5 0 4 1 3 - Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 0 0 V Table 92 Recalibrate Command (1xh) V 2 - 1 - Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 - 0 AM N 0 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.27 Security Disable Password (F6h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 1 3 0 2 1 1 1 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 AM N 0 0 0 0 0 V 0 0 Table 93 Security Disable Password Command (F6h) 7 6 BSY RDY 0 V 5 DF 6 5 4 3 2 1 - - - - - ...
5K320 SATA OEM Specification 14.28 Security Erase Prepare (F3h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 1 3 0 2 0 1 1 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 1 Error Register 4 3 2 1 IDN 0 ABT T0N 0 AM N 0 0 0 0 0 V 0 0 Table 95 Security Erase Prepare Command (F3h) 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.29 Security Erase Unit (F4h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 1 3 0 2 1 Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 V 0 V 0 Table 96 Security Erase Unit Command (F4h) 1 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 0 AM N 0 7 6 BSY RDY 0 V 5 DF 0 6 5 4 3 2 1 - - - - - ...
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.
5K320 SATA OEM Specification 14.30 Security Freeze Lock (F5h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 1 3 0 2 1 Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 0 0 V 0 Table 98 Security Freeze Lock Command (F5h) 1 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 1 0 AM N 0 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.31 Security Set Password (F1h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 1 3 0 2 0 1 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 1 Error Register 4 3 2 1 IDN 0 ABT T0N 0 AM N 0 0 0 0 0 V 0 0 Table 99 Security Set Password Command (F1h) 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification Zero indicates High level, one indicates Maximum level. If the host sets High level and the Security Level 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. The text of the password - all 32 bytes are always significant. Password The Revision Code field is set with Master password.
5K320 SATA OEM Specification 14.32 Security Unlock (F2h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 1 3 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 V 0 0 0 V 0 Table 101 Security Unlock Command (F2h) 2 0 1 1 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 0 AM N 0 7 6 BSY RDY 0 V 5 DF 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.35 Set Features (EFh) Command Block Output Registers Register 7 6 Data - Feature V V Sector Count LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 4 3 2 - - - V V V V Note.
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.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification B LBA Low LBA High/Mid H L Input Parameters From The Device LBA Low LBA High/Mid H SET MAX LOCK 02h SET MAX UNLOCK 03h SET MAX FREEZE LOCK 04h 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. When B=0, MAX LBA/CYL which is set by Set Max ADDRESS command will be lost by POR.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification LBA Low (HOB=1) LBA Mid (HOB=0) LBA Mid (HOB=1) LBA High (HOB=0) LBA High (HOB=1) Set Max LBA (31:24). Set Max LBA (15:8). Set Max LBA (39:32). Set Max LBA (23:16). Set Max LBA (47:40).
5K320 SATA OEM Specification 14.38 Set Multiple (C6h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count V V LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 V 0 4 V 0 3 V 0 2 V 1 Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 0 0 V Table 108 Set Multiple Command (C6h) 0 1 V 1 0 V 0 0 AM N 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.39 Sleep (E6h/99h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 0 3 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 0 0 V Table 109 Sleep Command (E6h/99h) 0 2 1 1 1 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 0 AM N 0 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.40 S.M.A.R.T Function Set (B0h) Command Block Output Registers Register 7 6 Data - Feature V V Sector Count V V LBA Low - LBA Mid 0 1 LBA High 1 1 Device - Command 1 0 7 6 CRC UNC 5 0 5 V V 0 0 1 4 V V 0 0 1 3 V V 1 0 0 2 V V 1 0 0 1 V V 1 1 0 0 V V 1 0 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 AM N 0 0 0 0 0 V 0 0 Table 110 S.M.A.R.T.
5K320 SATA OEM Specification S.M.A.R.T. Read Attribute Thresholds (Subcommand D1h) This subcommand returns the device’s Attribute Thresholds to the host. Upon receipt of the S.M.A.R.T. Read Attribute Thresholds subcommand from the host, the device reads the 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. S.M.A.R.T.
5K320 SATA OEM Specification Reserved 131 Execute SMART selective self-test routine immediately in captive mode 132 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.
5K320 SATA OEM Specification than five, the self-test execution status in the S.M.A.R.T. READ DATA response to 00h, set a value of 03h in the off-line data collection status in the S.M.A.R.T. READ DATA response and shall 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.
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 device disables all S.M.A.R.T. operations. Non self-preserved Attribute Values will no longer be monitored. The state of S.M.A.R.T. (either enabled or disabled) is preserved by the device across power cycles.
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.
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.
5K320 SATA OEM Specification Bit 0 Flag Name Pre-Failure/Advisory bit Definition If bit = 0, an Attribute Value less than or equal to its 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 loss of data is being predicted.
5K320 SATA OEM Specification 15 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. Because the number of segments is 1, 01h is always returned in this field. 14.40.2.
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. 14.40.3 Device Attribute Thresholds Data Structure The following defines the 512 bytes that make up the Attribute Threshold information.
5K320 SATA OEM Specification Description Attribute ID Number (01h to FFh) Attribute Threshold (for comparison with Attribute Values from 00h to FFh) 00h - “always passing” threshold value to be used for code test purposes 01h - minimum value for normal operation FDh - maximum value for normal operation FEh - invalid for threshold value FFh - “always failing” threshold value to be used for code test purposes Bytes Reserved (00h) Total Bytes Table 116 Individual Threshold Data Structure 14.40.3.
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 1 00h Error log pointer 1 01h 1st error log data structure 90 02h 2nd error log data structure 90 5Ch 3rd error log data structure 90 B6h 4th error log data structure 90 110h 5th error log data structure 90 16Ah Device error count 2 1C4h Reserved 57 1C6h Data structure checksum 1 1FFh 512 Table 118 S.M.A.R.T. error log sector 14.
5K320 SATA OEM Specification Command data structure: Data format of each command data structure is shown below. Description Bytes Offset Device Control register 1 Features register 1 Sector count register 1 LBA Low register 1 LBA Mid register 1 LBA High register 1 Device register 1 Command register 1 Timestamp(milliseconds from Power On) 4 12 Table 120 Command data structure 00h 01h 02h 03h 04h 05h 06h 07h 08h Error data structure: Data format of error data structure is shown below.
5K320 SATA OEM Specification 14.40.6 Self-test log data structure 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.
5K320 SATA OEM Specification 14.40.7 Selective self-test log data structure 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. The following table defines the contents of the Selective self-test log which is 512 bytes long. All multi-byte fields shown in these data structures follow the specifications for byte ordering.
5K320 SATA OEM Specification 14.41 Standby (E2h/96h) Command Block Output Registers Register 7 6 5 4 3 2 Data - - - - - Feature - - - - - Sector Count V V V V V V LBA Low - - - - - LBA Mid - - - - - LBA High - - - - - Device - - - - - Command 1 1 1 0 0 0 Error Register 7 6 5 4 3 2 1 CRC UNC 0 IDN 0 ABT T0N 0 0 0 0 0 V Table 125 Standby Command (E2h/96h) 0 1 V 1 0 V 0 0 AM N 0 Command Block Input Registers Register 7 6 5 4 3 2 1 0 Data - - - - - - - Error ...See Below...
5K320 SATA OEM Specification 14.42 Standby Immediate (E0h/94h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 0 3 0 2 0 1 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 Error Register 4 3 2 1 IDN 0 ABT T0N 0 AM N 0 0 0 0 0 V 0 0 Table 126 Standby Immediate Command (E0h/94h) 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.43 Write Buffer (E8h) Command Block Output Registers Register 7 6 Data - Feature - Sector Count - LBA Low - LBA Mid - LBA High - Device - Command 1 1 7 6 CRC UNC 5 0 5 1 4 0 3 1 Error Register 4 3 2 1 IDN 0 ABT T0N 0 0 0 0 0 V 0 Table 127 Write Buffer Command (E8h) 2 0 1 0 Command Block Input Registers Register 7 Data Error Sector Count LBA Low LBA Mid LBA High Device Status 0 0 0 AM N 0 7 6 BSY RDY 0 V 6 5 4 3 2 1 - - - - - ...See Below...
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification 14.
5K320 SATA OEM Specification The number of continuous sectors to be marked low order, bits (7:0). Sector Count Current The number of continuous sectors to be marked high order bits (15:8). If 0000h in the Sector Count Previous Sector Count register is specified, then 65,536 sectors will be transferred. LBA (7:0). LBA Low Current LBA (31:24). LBA Low Previous LBA (15:8). LBA Mid Current LBA (39:32). LBA Mid Previous LBA (23:16). LBA High Current LBA (47:40).
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 After Power On BSY=0 and RDY=1 COMRESET and sends a Register FIS to the host.
(Note.1) (Note.2) 5K320 SATA OEM Specification For SECURITY ERASE UNIT command, the execution time is referred to “14.29 Security Erase Unit (F4h)” on Page 129. FORMAT UNIT command, the execution time is referred to “14.8 Format Unit (F7h: Vendor Specific)” on Page 90.
5K320 SATA OEM Specification © Copyright Hitachi Global Storage Technologies Hitachi Global Storage Technologies 3403 Yerba Buena Road San Jose, CA 95135 Produced in the United States 4/10 All rights reserved Travelstar™ is a trademark of Hitachi Global Storage Technologies. 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.