Hitachi HTS543212L9SA00 manual

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Hitachi HTS543212L9SA00, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Hitachi HTS543212L9SA00 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Hitachi HTS543212L9SA00. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Hitachi HTS543212L9SA00 should contain:
- informations concerning technical data of Hitachi HTS543212L9SA00
- name of the manufacturer and a year of construction of the Hitachi HTS543212L9SA00 item
- rules of operation, control and maintenance of the Hitachi HTS543212L9SA00 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Hitachi HTS543212L9SA00 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Hitachi HTS543212L9SA00, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Hitachi service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Hitachi HTS543212L9SA00.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Hitachi HTS543212L9SA00 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    5K320 SATA OEM Specification 1 H itachi Global Storage Technologies Hard Disk Drive Specificatio n Hitachi Travelstar 5 K 320 2.5 inch SATA hard disk drive Models: HTS 54 3232L 9A3 00 , HTS54 3232L 9SA00 HTS 54 3225L 9A3 00 , HTS54 3225L 9SA00 HTS 54 3216 L 9A3 00 , HTS54 3216 L 9SA00 HTS 54 321 2 L 9A3 00 , HTS54 3212 L 9SA00 HTS 54 3280L 9A3 00 ,[...]

  • Page 2

    5K320 SATA OEM Specification 2 1st Edition (Revision 1.0 ) ( 25 Feb 200 8 ) 2nd Edition (Revision 1.1; Correction ) ( 03 Apr 200 8 ) 3r d Edition (Revision 1. 2 ; Correction ) ( 03 Apr 200 8 ) The f ollowing paragraph does not apply to the United Kingdom or any country where such provisions are inconsistent with local law: HITACHI GLOBAL STORAGE TE[...]

  • Page 3

    5K320 SATA OEM Specification 3 Table of Contents GENERAL ........................................................................................................................................ 9 1 I NTRODUCTION ..........................................................................................................................................[...]

  • Page 4

    5K320 SATA OEM Specification 4 11.6 Features Register ................................................................................................................................ ............... 48 11.7 LBA High Register .............................................................................................................................[...]

  • Page 5

    5K320 SATA OEM Specification 5 14.28 Security Erase Prepare (F3h) ................................................................................................ ................. 128 14.29 Security Erase Unit (F4h) ................................................................................................ ........................ 129 14.30 S[...]

  • Page 6

    5K320 SATA OEM Specification 6 Table 15. Power consumption efficiency 28 Table 16. Physical dimensions and weight 32 Table 17. Random vibration PSD profile breakpoints (operating) 34 Table 18. Swept sine vibration 34 Table 19. Random Vibration PSD Profile Breakpoints (nonoperating) 35 Table 20. Operating shock 35 Table 21. Nonoperating shock 35 Tab[...]

  • Page 7

    5K320 SATA OEM Specification 7 Table 76 Extended Error log data structure 112 Table 77 Command data structure 113 Table 78 Error data structure 113 Table 79 Extended Self - test log data st ructure 114 Table 80 Extended Self - test log descriptor entry 115 Table 81 Command Error information 115 Table 82 Phy Event Counter Identifier 116 Table 83 Phy[...]

  • Page 8

    5K320 SATA OEM Specification 8 Table 137 Write Sector(s) Ext Command (34h) 172 Table 138 Write Uncorrectable Ext Command (45h) 173 Table 139 Timeout Values 175[...]

  • Page 9

    5K320 SATA OEM Specification 9 General 1 Introduction This document describes the specifications of the HITAC HI Travelstar 5K320 , a 2.5 - inch hard disk drive with Serial ATA interface: Drive name Model Number M ax data transfer rate (Gbps) Capacity (GB) Height (mm) Rotation speed (rpm) HTS 543232L9A3 00 3.0 Travelstar 5K320 - 320 HTS543232L9SA00[...]

  • Page 10

    5K320 SATA OEM Specification 10 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 0 00 bytes GND ground h hexadecimal HDD hard disk drive Hz hertz I I[...]

  • Page 11

    5K320 SATA OEM Specification 11 OD Open Drain Programmed Input/Output PIO Program I/O POH power on hours Pop. population P/N part n umber 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 revolut[...]

  • Page 12

    5K320 SATA OEM Specification 12 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 dri[...]

  • Page 13

    5K320 SATA OEM Specification 13 2 Outline of the drive 2.5 - inch, 9.5 - mm Height Perpendicular Recordin g Formatted capacities of 320GB, 250GB, 160GB,120GB and 80GB ( 512 bytes/sector ) SATA Interface conforming to Serial ATA International Organization: Serial ATA Revision 2.6(15 - February - 2007) Integrated controller No - ID recording format C[...]

  • Page 14

    5K320 SATA OEM Specification 14 Part 1 Functional Specification[...]

  • Page 15

    5K320 SATA OEM Specification 15 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 E CC Ÿ Enhanced Adaptive [...]

  • Page 16

    5K320 SATA OEM Specification 16 4 Fixed disk characteristics 4.1 Formatted capacity by model number Description HTS 543232L9A3 00 HTS 543232L9SA 00 HTS 543225L9A3 00 HTS 543225L9SA 00 Physical Layout Bytes per Sector 512 512 Number of Heads 4 3 Number of Disks 2 2 Logical Layout Number of Heads 16 16 Number of Sectors/ Track 63 63 Number of Cylinde[...]

  • Page 17

    5K320 SATA OEM Specification 17 4.2 Data sheet 320 GB 250 GB 160 GB 120 GB 80 GB Rotational Speed (RPM) 5400 5400 5400 5400 5400 Data transfer rates (buffer to/from medi a) (Mbps) 729 775 729 674 729 Data transfer rates ( Gbit /sec) 1.5/ 3.0 1.5/ 3.0 1.5/ 3.0 1.5/ 3.0 1.5/ 3.0 Recording density (Kbit/mm) (Max) (KBPI) (Max) 1154 1207 1154 1066 1154 [...]

  • Page 18

    5K320 SATA OEM Specification 18 4.4 Performance characteristics Drive performance is c haracterized by the following parameters: Ÿ Command Overhead Ÿ Mechanical Positioning w Seek Time w Latency Ÿ Data Transfer Speed Ÿ Buffering Operation (Look ahead/Write Cache) Note: All the above parameters contribute to drive performance. There are other pa[...]

  • Page 19

    5K320 SATA OEM Specification 19 4.4.2 Mechanical positioning 4.4.2.1 Average seek time (including settling) Command Type Typical (ms) Max. (ms) Read 12 14 Write 13 15 Table 5 . Mechanical positioning performance Typical and Max. are defined throughout the performance specification as follows: Typical Average of the drive population tested at nomina[...]

  • Page 20

    5K320 SATA OEM Specification 20 4.4.2.5 Drive ready time Condition Typical (sec) Max. (sec) Power On To Ready 3.5 9.5 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 diagnosti[...]

  • Page 21

    5K320 SATA OEM Specification 21 4.4.3 Operating modes Operating mode Descr iption Spin - Up Start up time period from spindle stop or power down. Seek Seek operation mode Write Write operation mode Read Read operation mode Performance idle The device is capable of responding immediately to media access requests. All electronic components remain pow[...]

  • Page 22

    5K320 SATA OEM Specification 22 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. Ÿ A power off during a write operation m[...]

  • Page 23

    5K320 SATA OEM Specification 23 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 '0 0'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 th[...]

  • Page 24

    5K320 SATA OEM Specification 24 5.8 ECC The 10 bit symbol non int erleaved 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(2 0 bytes) errors on - the - [...]

  • Page 25

    5K320 SATA OEM Specification 25 6 Specification 6.1 Environment 6.1.1 Temperature and humidity Operating conditio ns Temperature Relative humidity Maximum wet bulb temperature Maximum temperature gradient Altitude 5 to 55°C (See note below) 8 to 90% noncondensing 29.4°C noncondensing 20°C/hour – 300 to 3048 m (10,000 ft) Nonoperating condition[...]

  • Page 26

    5K320 SATA OEM Specification 26 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) Limits (uT RMS) DC 1500 0 - p 0 < Frequency =< 60 500 RMS 6 0 < Frequency =< 100 250 RMS 10 0 < Frequency =< 200 100 R[...]

  • Page 27

    5K320 SATA OEM Specification 27 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 MHz) 1 100 mV[...]

  • Page 28

    5K320 SATA OEM Specification 28 6.2.1 Power consumption efficiency Capacity 320GB 250GB 160GB 12 0GB 80GB Power Consumption Efficiency (Watts/GB) 0.0017 0.0022 0.0034 0.0 046 0.0069 Table 15 . Power consumption efficiency Note: Power consumption efficiency i s calculated as Power Consumption of Low Power Idle Watt/ Capacity (GB).[...]

  • Page 29

    5K320 SATA OEM Specification 29 6.3 Reliability 6.3.1 Data reliability Ÿ Probability of not recovering data is 1 in 10 14 bits read Ÿ ECC implementation On - the - fly correction performed as a part of read channel function reco vers up to 16 symbols of error in 1 sector (1 symbol is 10 bit s). 6.3.2 Failure prediction (S.M.A.R.T.) The drive supp[...]

  • Page 30

    5K320 SATA OEM Specification 30 6.3.5 Preventive maintenance None. 6.3.6 Load/unload The product supports a minimum of 6 00,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 [...]

  • Page 31

    5K320 SATA OEM Specification 31 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 ver ify head/disk durability. The heads do not land on the disk, so this type of test sho[...]

  • Page 32

    5K320 SATA OEM Specification 32 6.4 Mechanical specifications 6.4.1 Physical dimensions and weight 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, 80G B models 9.5±0.2 69.85±0.25 100.2±0.25 95 Max Table 16 . [...]

  • Page 33

    5K320 SATA OEM Specification 33 6.4.3 Connector description Connector specifica tions 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 wi[...]

  • Page 34

    5K320 SATA OEM Specification 34 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 mountin[...]

  • Page 35

    5K320 SATA OEM Specification 35 6.5.2 Nonoperating vibration The disk drive withstands the f ollowing 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 simulati[...]

  • Page 36

    5K320 SATA OEM Specification 36 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. Th e drives are to meet this re[...]

  • Page 37

    5K320 SATA OEM Specification 37 6.7 Iden tification 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 [...]

  • Page 38

    5K320 SATA OEM Specification 38 6.9 S afety 6.9.1 UL and CSA approval All models of the Travelstar 5K320 are qualified per UL 60950 - 1:2003 6.9.2 IEC compliance All models of the Travelstar 5K320 comply with IEC 60 950 - 1:2001 . 6.9.3 German Safety Mark All models of the Travelstar 5K320 are approved by TUV on Test Requirement: EN 60950 - 1 : 200[...]

  • Page 39

    5K320 SATA OEM Specification 39 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 l Al[...]

  • Page 40

    5K320 SATA OEM Specification 40 7.3 Signal definitions The pin assignments of interface signals are listed as follows: No. Plug Connector pin definition Signal I/O S1 GND 2nd mate Gnd S2 A+ Differentia l signal A from Phy RX+ Input S3 A - RX - Input Signal S4 Gnd 2nd mate Gnd S5 B - Differential signal B from Phy TX - Output S6 B+ TX+ Output S7 Gnd[...]

  • Page 41

    5K320 SATA OEM Specification 41[...]

  • Page 42

    5K320 SATA OEM Specification 42 7.3.3 Out of band signaling Figure 4 s hows the timing of COMRESET, COMINIT and COMWAKE . COMRESET/COM I N IT t1 t2 t3 t4 COMWAKE PARAMETER DESCRIPTION Nom inal (ns) T1 ALINE primitives 106.7 T 2 Spacing 320 T 3 ALIGN primitives 106.7 T4 Psacing 106.7 Figure 4 . Parameter descriptions[...]

  • Page 43

    5K320 SATA OEM Specification 43[...]

  • Page 44

    5K320 SATA OEM Specification - 44 - Part 2 Interface Specification[...]

  • Page 45

    5K320 SATA OEM Specification - 45 - 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 P a g e 4 5 .. Serial ATA Interna[...]

  • Page 46

    5K320 SATA OEM Specification - 46 - 9 Deviations from Standard The device conforms to the referenced specifications, with deviations described below. The interface conforms to the W orking Document of Information Technology, AT Attachment 8 – ATA/ATAPI Command Set (ATA/ATAPI 8 - ACS ) Revision 3f dated 11 Dec. 2006 , with deviation as follows: S.[...]

  • Page 47

    5K320 SATA OEM Specification - 47 - 11.1 Register naming convention This specification uses the same naming conventions for the Command B lock 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 na[...]

  • Page 48

    5K320 SATA OEM Specification - 48 - 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. When IEN=0, and the device is selected, de[...]

  • Page 49

    5K320 SATA OEM Specification - 49 - 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 - [...]

  • Page 50

    5K320 SATA OEM Specification - 50 - DRDY (RDY) Device Ready. RDY=1 indicates that the device is capable of responding to a comman d. RDY will be set to 0 during power on until the device is ready to accept a command. DF Device Fault. DF=1 indicates that the device has detected a write fault condition. DF is set to 0 after the Status Register is rea[...]

  • Page 51

    5K320 SATA OEM Specification - 51 - 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. COM R ESET COMRESET is issued in S[...]

  • Page 52

    5K320 SATA OEM Specification - 52 - Register Default Value Error Diagnostic Code Sector Count 01h LBA Low 01h LBA Mid 00h LBA High 00h Device 00h Status 50h Alternate Status 50h 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 [...]

  • Page 53

    5K320 SATA OEM Specification - 53 - 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 comman ds: Command Response Standby UL - > Comp. Standby immediate UL - > Comp. Sleep UL - > Comp. “UL” [...]

  • Page 54

    5K320 SATA OEM Specification - 54 - 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 suppo[...]

  • Page 55

    5K320 SATA OEM Specification - 55 - 12.5.1 Power Mode Sleep Mode The lowest power consumption when the device is powered on occurs in Sleep Mode. When in s leep 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 whil[...]

  • Page 56

    5K320 SATA OEM Specification - 56 - 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 Adapti[...]

  • Page 57

    5K320 SATA OEM Specification - 57 - 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 di[...]

  • Page 58

    5K320 SATA OEM Specification - 58 - 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 hi gher probability of a degrading or fault condition existing. There is no implied linear reliability relat[...]

  • Page 59

    5K320 SATA OEM Specification - 59 - entered after power on, otherwise it is entered by a security unlock or a sec urity 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. It cannot quit thi[...]

  • Page 60

    5K320 SATA OEM Specification - 60 - 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.[...]

  • Page 61

    5K320 SATA OEM Specification - 61 - (*1) refer to Table 35 Command table for device lock operation on Page 63 and Ta ble 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. However t[...]

  • Page 62

    5K320 SATA OEM Specification - 62 - 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 matc[...]

  • Page 63

    5K320 SATA OEM Specification - 63 - Command Device Locked Mode Device Unlock Mode Device Frozen Mode Check Power Mode o o o Device Configuration RESTORE x o o Device Conf iguration FREEZE LOCK o o o Device Configuration IDENTIFY x o o Device Configuration SET x o o Download Microcode x o o Execute Device Diagnostic o o o Flush Cache x o o Flush Cac[...]

  • Page 64

    5K320 SATA OEM Specification - 64 - Comman d Device Locked Mode Device Unlock Mode Device Frozen Mode Set Max A ddress x o o Set Max A ddress E xt x o o Set Max F reeze L ock o o o Set Max L ock o o o Set Max S et P assword o o o Set Max U nlock o o o Set Multiple Mode o o o Sleep o o o S.M.A.R.T. Disable Operations o o o S.M.A.R.T. Enable/Disable [...]

  • Page 65

    5K320 SATA OEM Specification - 65 - Set Max S et P assword Set Max L ock Set Max F reeze L ock Set Max U nlock 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. Device characteristics C apacity[...]

  • Page 66

    5K320 SATA OEM Specification - 66 - 12.10.2 Set Max security extension commands The Set Max S et P assword command allows the host to define the password to be used during the current power on cycle. This p assword 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 m[...]

  • Page 67

    5K320 SATA OEM Specification - 67 - 12.11 Seek Overlap HTS5432XXL9SA00 / HTS5432XXL9A300 provide accurate seek time m easurement method. The seek command is usua l ly 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[...]

  • Page 68

    5K320 SATA OEM Specification - 6 8 - 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 m[...]

  • Page 69

    5K320 SATA OEM Specification - 69 - 12.15 Software Setting Preservation Feature Set When a device is enumerated, software will configure the device using S et F eatures 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[...]

  • Page 70

    5K320 SATA OEM Specification - 70 - Setting Contents T rack length Number of head N um ber of cylinder Initialize device parameters C apacity Power Management Feature Set Standby Timer T ime to fall in to standby m o de Security freeze lock Security mode state Security unlock S et max address Capacity Write Cache Enable/Disable Set Transfer Mode Ad[...]

  • Page 71

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

  • Page 72

    5K320 SATA OEM Specification 72 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 S e rial ATA Revision 2.6 (Section 11. device command layer protocol) about each protocol. For all comm[...]

  • Page 73

    5K320 SATA OEM Specification 73 l Security Set Password l Security Unlock l Set Max S et P assword l Set Max U nlock l S.M.A.R.T Write L og S ector l Write Buffer l Write Log Ext l Write Multiple l Write Multiple E xt l Write Sector(s) l Write Sector(s) E xt Execution includes th e transfer of one or more 512 byte (>512 bytes on Write Long) sect[...]

  • Page 74

    5K320 SATA OEM Specification 74 l Write Uncorrectable Ext Execution of these commands involves no data transfer. 13.4 DMA Data Transfer Commands These commands are: l Read DMA l Read DMA E xt l Write DMA l 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[...]

  • Page 75

    5K320 SATA OEM Specification 75 14 Command Descriptions Code Protocol Command (Hex) 7 6 5 4 3 2 1 0 3 Check Power Mode E5 1 1 1 0 0 1 0 1 3 Check Power Mode * 98 1 0 0 1 1 0 0 0 3 Device Co nfiguration R estore B1 1 0 1 0 0 0 0 1 3 Device Configuration F reeze L ock B1 1 0 1 0 0 0 0 1 1 Device Configuration I dentify B1 1 0 1 0 0 0 0 1 2 Device Con[...]

  • Page 76

    5K320 SATA OEM Specification 76 Code Protoc ol Command (Hex) 7 6 5 4 3 2 1 0 3 Set Max A ddress F9 1 1 1 1 1 0 0 1 3 Set Max A ddress E xt 37 0 0 1 1 0 1 1 1 3 S et Max F reeze L ock F9 1 1 1 1 1 0 0 1 3 Set Max L ock F9 1 1 1 1 1 0 0 1 2 Set Max S et P assword F9 1 1 1 1 1 0 0 1 2 Set Max U nlock F9 1 1 1 1 1 0 0 1 3 Set Multiple Mode C6 1 1 0 0 0[...]

  • Page 77

    5K320 SATA OEM Specification 77 (Hex) (S.M.A.R.T Function) S.M.A.R.T. Read Attribute Values B0 D0 S.M.A.R.T. Read Attribute Thresholds B0 D1 S.M.A.R.T. Enable/Disable Attribute Autosave B0 D2 S.M.A.R.T. Save Attribute Values B0 D3 S.M.A.R.T. Execute Off - line Immediate B 0 D4 S.M.A.R.T. Read Log Sector B0 D5 S.M.A.R.T. Write Log Sector B0 D6 S.M.A[...]

  • Page 78

    5K320 SATA OEM Specification 78 R Retry. Original meaning is already obsolete, there is no difference between 0 and 1. (Using 0 is recommended for future compatibility.) B Option Bit. Indicates that the Option Bit of the Sector Count Register should be specified. (This bit is used by Set Max ADD RESS command) V Valid. Indicates that the bit is part[...]

  • Page 79

    5K320 SATA OEM Specification 79 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 LBA Low - - - - - - - - LBA L[...]

  • Page 80

    5K320 SATA OEM Specification 80 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... Sector Count - - - - - - - - Sector Count V V V V V V V V LBA Low - - - - - - -[...]

  • Page 81

    5K320 SATA OEM Specification 81 14.2.3 DEVICE CONFIGURATION IDENTIFY (subcommand C2h) The DEVICE CONFIGURATION IDENTIFY command returns a 512 byte data structure via PIO data - in transfer. T he content of this data structure indicates the selectable commands, modes, and feature sets that the device is capable of supporting. If a DEVICE CONFIGURATI[...]

  • Page 82

    5K320 SATA OEM Specification 82 Word Content 0 000 2 h Data Structure revision 1 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 [...]

  • Page 83

    5K320 SATA OEM Specification 83 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 03 h Device’s feature is already modified with DCO 04h User attempt to disable any fea[...]

  • Page 84

    5K320 SATA OEM Specification 84 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 - - - - - - - - Dat a - - - - - - - - Feature V V V V V V V V Error ...See Below... Sector Count V V V V V V V V Sector Count - - - - - - - - LBA Low V V V V V V V V LBA Lo[...]

  • Page 85

    5K320 SATA OEM Specification 85 DOWNLOAD M ICROCODE command buffer offset and the previous sector count. The first DOWNLOAD MICROCODE command shall h ave 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 t[...]

  • Page 86

    5K320 SATA OEM Specification 86 14.4 Execute Device Diagnostic (90h) C ommand 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

    5K320 SATA OEM Specification 87 14.5 Flush Cache (E7h) Command Block Output Registers Command Bl ock 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 - - - - - - - - L BA Low - - [...]

  • Page 88

    5K320 SATA OEM Specification 88 14.6 Flush Cache E xt (EAh) Command Block Output Registers Command Blo ck Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - - - - -[...]

  • Page 89

    5K320 SATA OEM Specification 89 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... Sector Count - - - - - - - - Sector Count - - - - - - - - LBA Low V V V V V V [...]

  • Page 90

    5K320 SATA OEM Specification 90 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... Sector Count - - - - - - - - Sector Count - - - - - - - - LBA Low - - - - - - -[...]

  • Page 91

    5K320 SATA OEM Specification 91 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 - - - - - - - - LBA Low - [...]

  • Page 92

    5K320 SATA OEM Specification 92 Word Content Description 00 045xH Drive classification, bit assignments: 15 (=0): 1=ATA PI 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=d [...]

  • Page 93

    5K320 SATA OEM Specification 93 Word Content Description 48 4 000H Trusted Computing feature set options 15(=0) A lways 0 14(=1) Always 1 13 - 1(=0) Reserved 0(=0) 1=Trusted Computing feature set is supported 49 0F00H Capabilit ies, bit assignments: 15 - 14 (=0) Reserved 13 (=0) 0= Standby timer value are vendor specific 12 (=0) Reserved 11 (=1) 1=[...]

  • Page 94

    5K320 SATA OEM Specification 94 Word Content Description 63 0x07H Multiword DMA Transfer Capability 15 - 11(=0) Reserved 10 1=Multiword DMA mode 2 is selected 9 1=Multiwor d 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=M[...]

  • Page 95

    5K320 SATA OEM Specification 95 Word Content Description 78 00 5E H 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 3(= 1 ) 1=D evice initiated interface power management supported 2(= 1 ) 1= D MA Setup Auto - Activate optimization supported 1(=[...]

  • Page 96

    5K320 SATA OEM Specification 96 Word Content Description 83 7F 69 H 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 [...]

  • Page 97

    5K320 SATA OEM Specification 97 Word Content Description 85 7 4xxH 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=SERVI[...]

  • Page 98

    5K320 SATA OEM Specification 98 Word Content Description 87 616 3H 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 a nd WRITE MULTIPLE FUA EXT[...]

  • Page 99

    5K320 SATA OEM Specification 99 Word Content Description 89 xxxxH Time required for security erase unit completion Time= value(xxxxh)*2 [minutes] 90 xxxx H Tim e 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 M[...]

  • Page 100

    5K320 SATA OEM Specification 100 Word Content Description 128 0xxxH Security status. Bit assign ments 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=Securi ty locked 1 (=x) 1=Security enabled **0 (=1) 1=[...]

  • Page 101

    5K320 SATA OEM Specification 101 Note.2 See following table “ Table 64 Number of cylinders/heads/sectors by models for HTS5432XXL9SA00 / HTS5432XXL9A300 ” on P a g e 102 Table 63 Identify device information --- Continued ---[...]

  • Page 102

    5K320 SATA OEM Specification 102 Model Number in ASCII Hitachi HTS543232L9SA00 Hitachi HTS543225L9SA00 Hitachi HTS543216L9SA00 Number of cylinders 3FFFh 3F FFh 3FFFh Number of heads 10h 10h 10h Buffer size 3795h 3795h 3795h Total number of user addressable sectors (word 60 - 61) 2542EAB0 h FFFFFFF h FFFFFFF h Maximum user LBA address for 48 - bit A[...]

  • Page 103

    5K320 SATA OEM Specification 103 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 - - - - - - - - LBA Low - - - -[...]

  • Page 104

    5K320 SATA OEM Specification 104 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 - - - - - - - - LBA L[...]

  • Page 105

    5K320 SATA OEM Specification 105 14.12 Initialize Device P arameters (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 - - - - - - - - LBA Low - - - - - [...]

  • Page 106

    5K320 SATA OEM Specification 106 14.13 Read Buffer (E4h) Command Block Output Registers Command Block Input Re gisters 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 107

    5K320 SATA OEM Specification 107 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 LBA Low V V V V V V V V LBA Low V V [...]

  • Page 108

    5K320 SATA OEM Specification 108 14.15 Read DMA E xt (25h) 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 Da ta Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - - - - - [...]

  • Page 109

    5K320 SATA OEM Specification 109 14.16 Read FP DMA Queu ed ( 60 h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current V V V V V V V V Error ...See Below... Feature Previous V V V V[...]

  • Page 110

    5K320 SATA OEM Specification 110 14.17 Read Log Ext(2Fh) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - R - Error ...See Below... Feature Previous - - - - - - - -[...]

  • Page 111

    5K320 SATA OEM Specification 111 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 se t associated with the log specified in the[...]

  • Page 112

    5K320 SATA OEM Specification 112 Description Bytes Offset SMART error log version 1 00h Reserved 1 01h Error log index (7:0) 1 02h Error log index (15:8) 1 03h 1 st error log data structure 124 04h 2 nd error log data structure 124 80h 3 rd error log data structure 124 FCh 4 th error log data structure 124 178h Device error count 2 1F4h Reserved 9 [...]

  • Page 113

    5K320 SATA OEM Specification 113 Command data structure: Data format of each command data structure is shown below. Description Bytes Offset Device Control register 1 00h Features register (7:0) (see Note) 1 01h Featur es register (15:8) 1 02h Sector count register (7:0) 1 03h Sector count register (15:8) 1 04h Sector number register (7:0) 1 05h Se[...]

  • Page 114

    5K320 SATA OEM Specification 114 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 x0h Unknown x1h Sleep x2h Standby x3h Active/Idle x4h SMART O ff - line or Self - test x5h - xAh Reserved xBh - xFh Vendor specific Note: The value of x is ve[...]

  • Page 115

    5K320 SATA OEM Specification 115 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 S elf - test log descriptor entry The content of the self - test descriptor entry is[...]

  • Page 116

    5K320 SATA OEM Specification 116 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 stru cture. The sum of all 512 bytes of the data structure will be zero when the checksum is correct.[...]

  • Page 117

    5K320 SATA OEM Specification 117 Byte 7 6 5 4 3 2 1 0 0 00h 1 00h 2 00h 3 00h 4 5 Counter 0001h Identifier 6 7 Counter 0001h Value 8 9 Counter 0009h Identifier 10 11 Counter 000 9 Value 12 13 Counter 000Ah Identifier 14 15 Counter 000Ah Value 16 17 Counter 000Bh Identifier 18 19 Counter 000Bh Value 20 21 Counter 000Dh Identifier 22 23 Counter 000Dh[...]

  • Page 118

    5K320 SATA OEM Specification 118 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 - - - - - - - - Erro r ...See Below... Sector Count V V V V V V V V Sector Count V V V V V V V V LBA Low V V V V V V V V LBA Low V[...]

  • Page 119

    5K320 SATA OEM Specification 119 14.19 Read Multiple E xt (29h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - - - [...]

  • Page 120

    5K320 SATA OEM Specification 120 14.20 Read Native Max A ddress (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... Sector Count - - - - - - - - Sector Count - - - - - - - - LBA Low - - - - - - - -[...]

  • Page 121

    5K320 SATA OEM Specification 121 14.21 Read Native Max A ddress E xt (27h) 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 Low - - - - - - - - Dat a Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previou[...]

  • Page 122

    5K320 SATA OEM Specification 122 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 Belo w... Sector Count V V V V V V V V Sector Count V V V V V V V V LBA Low V V V V V V V V LBA [...]

  • Page 123

    5K320 SATA OEM Specification 123 14.23 Read Secto r(s) E xt (24h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - - [...]

  • Page 124

    5K320 SATA OEM Specification 124 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 V V V V V V V V LBA Low V V V V V V V [...]

  • Page 125

    5K320 SATA OEM Specification 125 14.25 Read Verify Sector(s) E xt (42h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - [...]

  • Page 126

    5K320 SATA OEM Specification 126 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 - - - - - - - - Fe ature - - - - - - - - Error ...See Below... Sector Count - - - - - - - - Sector Count - - - - - - - - LBA Low - - - - - - - - LBA Low - -[...]

  • Page 127

    5K320 SATA OEM Specification 127 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

    5K320 SATA OEM Specification 128 14.28 Security Erase Prepare (F3h) Command Block Output Regist ers 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

    5K320 SATA OEM Specification 129 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 - - - - - - - - Featu re - - - - - - - - Error ...See Below... Sector Count - - - - - - - - Sector Count - - - - - - - - LBA Low - - - - - - - - LBA[...]

  • Page 130

    5K320 SATA OEM Specification 130 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 sen[...]

  • Page 131

    5K320 SATA OEM Specification 131 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... Sector Count - - - - - - - - Sector Count - - - - - - - - LBA Low - - - - - - - - LB[...]

  • Page 132

    5K320 SATA OEM Specification 132 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 - - - - - - - - LB[...]

  • Page 133

    5K320 SATA OEM Specification 133 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 unlo[...]

  • Page 134

    5K320 SATA OEM Specification 134 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 - - - - - - - - LBA Low [...]

  • Page 135

    5K320 SATA OEM Specification 135 14.33 Seek (7xh) Command Block Output Registers Command Block Input Regi sters 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 LBA Low V V V V V [...]

  • Page 136

    5K320 SATA OEM Specification 136 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... Sector Count - - - - - - - - Se ctor Count V V V V V V V V LBA Low - - -[...]

  • Page 137

    5K320 SATA OEM Specification 137 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... Sector Count Note.1 Sector Count - - - - - - - - LBA Low - - - - - - - - LBA Low - - - - - - [...]

  • Page 138

    5K320 SATA OEM Specification 138 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 (7:3) bits (2:0) PIO Default Transfer Mode 00000 000 PIO Default Transfer Mode, Disable IORDY 00000 001 PIO [...]

  • Page 139

    5K320 SATA OEM Specification 139 14.36 Set Max A ddress (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... Sector Count - - - - - - - B Sector Count - - - - - - - - LBA Low V V V V V V V V LBA Low[...]

  • Page 140

    5K320 SATA OEM Specification 140 02h SET MAX LOCK 03h SET MAX UNLOCK 04h SET MAX FREEZE LOCK When the Set Max ADDRESS command is executed, this register is ignored. B 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 [...]

  • Page 141

    5K320 SATA OEM Specification 141 14.37 Set Max A ddress E xt (37h) C ommand 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - [...]

  • Page 142

    5K320 SATA OEM Specification 142 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

    5K320 SATA OEM Specification 143 14.38 Set Multiple (C6h) Command Block Output R egisters 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 Lo w - - - - - - - - LBA Low -[...]

  • Page 144

    5K320 SATA OEM Specification 144 14.39 Sleep (E6h/99h) Command Block Output Registers Command Block Inpu t 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

    5K320 SATA OEM Specification 145 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... Sector Count V V V V V V V V Sector Count - - - - - - - - LBA Low - - - - - - - - L[...]

  • Page 146

    5K320 SATA OEM Specification 146 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 hos[...]

  • Page 147

    5K320 SATA OEM Specification 147 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 interr upted by a new command from the host, the device will abort or suspend it[...]

  • Page 148

    5K320 SATA OEM Specification 148 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. If the [...]

  • Page 149

    5K320 SATA OEM Specification 149 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. Non self - preserved Attribute Values will no longer be monitored.[...]

  • Page 150

    5K320 SATA OEM Specification 150 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 valu [...]

  • Page 151

    5K320 SATA OEM Specification 151 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) 1 00 h binary Status Flags 2 01h bit flags Bit 0 Pre - Failure/Advisory Bit 1[...]

  • Page 152

    5K320 SATA OEM Specification 152 Bit Flag Name Definition 0 Pre - Failure/Advisory bit 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 th e device has exceeded its intended design life period. If bit = 1, an Attribute Value less than or equal to its[...]

  • Page 153

    5K320 SATA OEM Specification 153 15 The self - test routine in progress 14.40.2.5 Tota l 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 segm[...]

  • Page 154

    5K320 SATA OEM Specification 154 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 Threshol[...]

  • Page 155

    5K320 SATA OEM Specification 155 Description Bytes Offset Format Attribute ID Number (01h to FFh) 1 00h binary Attribute Threshold (for comparison with Attribute Values from 00h to FFh) 1 01h binary 00 h - “ always passing ” threshold value to be used for code test purposes 01h - minimum value for normal operation FDh - maximum value for normal[...]

  • Page 156

    5K320 SATA OEM Specification 156 fields shown in these data structures follow the ATA/ATAPI -6 spe cifications for byte ordering. Description Bytes Offset S.M.A.R.T. error log version 1 00h Error log pointer 1 01h 1 st error log data structure 90 02h 2 nd error log data structure 90 5Ch 3 rd error log data structure 90 B6h 4 th error log data struc[...]

  • Page 157

    5K320 SATA OEM Specification 157 Command data structure: Data format of each command data structure is shown below. Description Bytes Offset Device Control register 1 00h Features register 1 01h Sect or count register 1 02h LBA Low register 1 03h LBA Mid register 1 04h LBA High register 1 05h Device register 1 06h Command register 1 07h Timestamp(m[...]

  • Page 158

    5K320 SATA OEM Specification 158 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. Description Bytes Offset Data structure revision 2 00h Self - test number 1 n*18h+02h S[...]

  • Page 159

    5K320 SATA OEM Specification 159 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 sele ct 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 [...]

  • Page 160

    5K320 SATA OEM Specification 160 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 - - - - - - - - LBA Low - - - - - - - - LBA Low - -[...]

  • Page 161

    5K320 SATA OEM Specification 161 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 - - - - - - - - LB[...]

  • Page 162

    5K320 SATA OEM Specification 162 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 - - - - - - - - LBA Low - -[...]

  • Page 163

    5K320 SATA OEM Specification 163 14.44 Write DMA (C A h/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 V V V V V V V V LBA Low V V V V V V V V LBA Low [...]

  • Page 164

    5K320 SATA OEM Specification 1 64 14.45 Write DMA E xt (3 5h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - - - - [...]

  • Page 165

    5K320 SATA OEM Specification 165 14.46 Write DMA FUA E xt (3 D h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - - [...]

  • Page 166

    5K320 SATA OEM Specification 166 14.47 Write FP DMA Queued ( 61 h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current V V V V V V V V Error ...See Below... Feature Previous V V V V[...]

  • Page 167

    5K320 SATA OEM Specification 167 14.48 Write Log Ext (3Fh) Command Block Output Registers Command Block Input Reg isters Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - - - - - [...]

  • Page 168

    5K320 SATA OEM Specification 168 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 V V V V V V V V LBA Low V V V V V V V V LBA L ow [...]

  • Page 169

    5K320 SATA OEM Specification 169 14.50 Write Multiple E xt (39h) Command Block Output Registers C ommand Block Input Registers Register 7 6 5 4 3 2 1 0 Register 7 6 5 4 3 2 1 0 Data Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previou s - - - -[...]

  • Page 170

    5K320 SATA OEM Specification 170 14.51 Write Multiple FUA E xt ( CE h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Prev ious - [...]

  • Page 171

    5K320 SATA OEM Specification 171 14.52 Write Sector(s) (30h/31h) Command Block Output Registers Command Block Input Regis ters 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 LBA Low V V V V V V V V LBA[...]

  • Page 172

    5K320 SATA OEM Specification 172 14.53 Write Sector(s) E xt (34h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - - - - [...]

  • Page 173

    5K320 SATA OEM Specification 173 14.54 Write Uncorrectable E xt ( 45 h) 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 Low - - - - - - - - Data Low - - - - - - - - Data High - - - - - - - - Data High - - - - - - - - Current - - - - - - - - Error ...See Below... Feature Previous - [...]

  • Page 174

    5K320 SATA OEM Specification 174 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). LBA Low Previou[...]

  • Page 175

    5K320 SATA OEM Specification 175 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 par t . FUNCTION INTERVAL START STOP TIMEOUT Power On and COMRESET Device Ready After Power On Power On and COMRESET Status Register BSY=0 and RDY=1 and sends a Regis[...]

  • Page 176

    5K320 SATA OEM Specification 176 (Note.1) For SECURITY ERASE UNIT command, the execution time is referred to “ 14.29 Security Erase Unit (F4h) ” on P a g e 129 . (Note.2) FORMAT UNIT command, the execution time is referred to “ 14.8 Format Unit (F7h: Vendor Specific) ” on P a g e 90 .[...]

  • Page 177

    5K320 SATA OEM Specification 177 © Copyright Hitachi Global Storage Technologies Hitachi Global Storage Technologies 5600 Cottle Road San Jose, CA 95193 Produced in the United States 0 3 /0 8 All rights reserved Travelstar™ is a trademark of Hitachi Global Storage Technologies. Microsoft, Windows XP, and Windows are trademarks of Microsoft Corpo[...]