Home
Hitachi HTS541612J9SA00 User's Manual
Contents
1. 17 Data transfer speed nennen nenne 17 DC power requirements e di eus 27 Deviations from standard essen eene 44 Device Configuration Overlay eese 74 Device Head Register essent E nnne nnn 45 DMA Data Transfer commands ssseeeeeeeeneeen ene 68 Drive characterisueSs SOS eod PEE Ue ende oases 16 Driveeady time 20 E Electrical interface e n Re tecto leet a a 39 Electromagnetic compatibility eese 37 163 167 Travelstar 5K160 SATA Hard Disk Drive Specification Environment 22x35 nno esci idee date 25 Execute Device Diagnostic nne enne 77 Fixed disk subsystem _ neret 15 Flammability eh eene renes n 38 Plush Cache o ee metuere ERE E M M UE 78 bormat TFaCk neue es eee Ree Re Rs 80 e ee 81 Functional specification sesssssssssseeeeee eene enne nennen 14 G ettet Satake pisci ces ID PM c DE Mean tor MEOS rd OE 9 43 General features eked eroe sober decided rogi 9 General operation ee Fette 48 H Head disk assembly data 222 nnn 15 Heads unload aee Eee ee Vene s 33 Hutmdity 25 Identification labels 5 5 n 37 Identity
2. M kia e Error Register 5 IEEE phere paa 1 Error See Below i VIVIV Status Register 7 6 54521 Ez MEN Verify ETT TT NEM The Read Verify Sector s verifies one or more sectors on the device No data is transferred to the host The difference of Read Sector s command and Read Verify Sector s command is whether the data is transferred to the host or not If an uncorrectable error occurs the read verify will be terminated at the failing sector Output Parameters To The Device Sector Count will be verified The number of continuous sectors to be verified If zero is specified then 256 sectors LBA Low The sector number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 LBA High Mid The cylinder number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 8 15 Mid 16 23 High L 1 H The head number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 L 1 R The retry bit but this bit is ignored Input Parameters From The Device Sector Count error occurs The number of requested sectors not verified This will be zero unless an unrecoverable LBA Low The sector number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LB
3. Feature FEEL I lemr __ SeeBelow DE E E Sector Count ma di Count HOB 0 ia ad fnoB 1 T T LBA Low 1 Previous IHOB 1 IHoB 1 eh ipe ee Viv IHoB 1 IHoB 1 s EE Error Register Pe 5 4 13121110 7 6 51413 2 1 o pow x87 ov oe psc DRO COR x es Figure 103 Write Log Ext Command BA High Device LV ce L Mi LBA Mid L o o ommand This command writes a specified number of 512 byte data sectors to the specific log The device shall interrupt for each DRQ block transferred Output Parameters To The Device Sector Count Current The number of sectors to be written to the specified log low order bits 7 0 Sector Count Previous The number of sectors to be written to the specified log high orders bits 15 8 If the number of sectors is greater than the number indicated in the Log directory which is available in Log number zero the device shall return command aborted The log transferred to the device shall be stored by the device starting at the first sector in the specified log Sector Number Current The log to be written as de
4. Re E ES Ero Sector Come 55 viv Device _ I T TTA cu P T T4 Ss oa lo Oo To Ly EN ES Device KEKEE Overlay Command B1h Individual Device Configuration Overlay feature set commands are identified by the value placed in the Features register The table below shows these Features register values con DEVICE CONFIGURATION RESTORE Cih DEVICE CONFIGURATION FREEZE LOCK Ch DEVICE CONFIGURATION IDENTIFY C DEVICE CONFIGURATION SET Figure 25 Device Configuration Overlay Features register values 14 2 1 DEVICE CONFIGURATION RESTORE subcommand The DEVICE CONFIGURATION RESTORE command discard any setting previously made by a DEVICE CONFIGURATION SET command and return the content of the IDENTIFY DEVICE command response to the original settings as indicated by the data returned from the execution of a DEVICE CONFIGURATION IDENTIFY command 14 2 2 DEVICE CONFIGURATION FREEZE LOCK subcommand C1h The DEVICE CONFIGURATION FREEZE LOCK command prevents accidental modification of the Device Configuration Overlay settings After successful execution of a DEVICE CONFIGURATION FREEZE LOCK command all DEVICE CONFIGURATION SET DEVICE CONFIGURATION FREEZE LOCK DEVICE CONFIGURATION IDENTIFY and DEVICE CONFIGURATION RESTORE c
5. 82 EIA Le TE 91 Idle Inimetdiate 207 x etm n ERU ooi ot eae 92 L Labels Identification 37 Latency average REESE re esses 19 Load unload ne 30 M Mechanical positioning sese enne 19 Mechanical specifications a a a ener 32 Mode transition trme 1 esce teer corio eto Les ee erase rei ries 21 Mounting hole locations esent nne nennen 32 Mounting orientation 2 eene nennen etre ettet entrent 33 N Non data commands 67 O Operating modes description _ 2 22 21 Operating shock pesi eee brit e e e cere 35 Operating vibration nennen nnne enne 34 P ee cun aT 38 Performance characteristics nenne eene nnne 18 164 167 Travelstar 5K160 SATA Hard Disk Drive Specification Physical dimensions essere nennen nnne 32 PIO Data In command rete ete Io ode tet 70 Power management commands esee nennen 51 Power management features sessi 5 Power Management Mode Slumber and Partial 53 Protected Area PUnCt ON i c terii erbe 60 R Read 94 Read DMA 95 Read eee 9
6. roe es let Flea Ce Ere PART 1 FUNCTIONAL SPECIFICATION cccccccccccceccceececceececeeeeeeseeeeeesecesaeasaeaaaeaseeeessegsseessssssesess 3 FIXED DISK SUBSYSTEM DESCRIPTION seen see 9 l Control Electronies zoe eterne emt etie t Ext pee Weds eue re EAE deeds 3 2 Head disk assembly data cccccssscccccccsssesssessssececcesseesssesssneeeeceessseessessseeeeeeeeesceeseessaaeeeseeens 4 FIXED DISK CHARACTERISTICS enne e rh sen rien an ss eret ense eerte seen 4 1 Formatted capacity by model 4 2 d melts 43 Gylindetallocationz uei e eoe UG NER GERE ESTO RENE se AE aS 4 4 Performance characteristics D DATA TNTEGRELDY een Nano eto tes tee ace ade coa IUS 5 1 Datadoss on power 4 tiet ete eo testet a tete coe ie bee e PE Pe SUE R de qute biases Bins Write Cache scatet ette etos titi M e M CELL Bede eee n tete tei enit tete ertet ade E toos 54 WRITE ernieren ren eee e Ee VER EET VERE besos ERE Soro buller testae esee e raus eade teres ute Ve rid 5 6 1 ueteri ette e ee seated Ate eder deed eed See nre taped de osea gnat Bt Ku utomaticreallocationz ioi iid e ri I e PE UE Cre
7. 1 1 1 1 LT J Sector Coun BA Low eoa tow A Mid ua via Loa High Error Register Status Register fs f T TI ST 5 L 2 PY EE EE E N se Figure 43 Idle Immediate Command E1h 95h The Idle Immediate command causes the device to enter performance Idle mode The device is spun up to operating speed If the device is already spinning the spin up sequence is not executed During Idle mode the device 1s spinning and ready to respond to host commands immediately The Idle Immediate command will not affect the auto power down timeout parameter 92 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 11 Initialize Device Parameters 91h Command Block Output Registers Command Block Input Registers 17 6 Figure 44 Initialize Device Parameters Command 91h The Initialize Device Parameters command enables the host to set the number of sectors per track and the number of heads minus 1 per cylinder Words 54 58 in Identify Device Information reflects these parameters The parameters remain in effect until the following events Another Initialize Device Parameters command is received The device is powered off Soft reset occurs and the Set Feature option of CCh is set Output Parameters To The Device
8. Previous ioB 1 pw En E pus Previous HOB 1 ips I I I I HE E pue NIN IN ss High HoB 0 J BE Bl HOB 1 44 EB BESEBE o o f ER paver fom EELELE LBA High Bes E a a cac vc o ix 0 Aer amn RDY pr DSC ERR v Lo L9 LV 19 19 ES Figure 49 Read Log Ext Command 2Fh This command returns the specified log to the host The device shall interrupt for each DRQ block transferred Output Parameters To The Device R Phy Event Counter Reset bit When Log address is 1 1h Phy Event Counter and this bit is set to 1 all Phy Event Counter values are reset to 0 after sending the current counter valules Sector Count Current The number of sectors to be read from the specified log low order bits 7 0 The log transferred by the drive shall start at the sector in the specified log at the specified offset regardless of the sector count requested Sector Count Previous The number of sectors to be read from the specified log high orders bits 15 8 LBA Low Current The log to be returned as described in table 50 LBA Mid Current The first sector of the log to be read low order bits 7 0 LBA Mid Previous The first sector
9. 14 45 Write DMA Ext 35h ooo ce cceecceccescesscccececccssccsccesscesssecsscessecsecesecssecssessssecssecsseesssessss 1446 Write DMA PUA Fa 3Dbh ii eene cede aede doe cte epe doeet 14 47 Write FPDMA Queued 61h sse nennen nennen nennt nnne i448 Write Log Ext SPA i enacted 14 49 Write Long 32h 33T states cct ete de tee oad IRR e USER 14 50 Write Multiple C5h irienna i E E AE E A a o a i e 14 51 Write Multiple Ext 89h aa aa 14 52 Write Multiple FUA Ext 14 58 Write Sector s 30h 831h essere ener eerte rettet eret res erret eres res eret eres senes 14 54 Write Sector s Ext 84h eene enmt eeeen neret teneret reset resistens teens ToSPIMINGS 16 2 x9 codes eo DOSEN EX MM E DEM NC M RE MEE MN NOR METER 5 167 Travelstar 5K160 SATA Hard Disk Drive Specification List of Figures Figure 1 Limits of temperature and humidity Figure 2 Mounting hole locations Figure 3 Interface connector pin assignments Figure 4 Parameter descriptions Figure 5 Reset Response Table Figure 6 Default Register Values Figure 7 Diagnostic Codes Figure 8 Reset error register values Figure 9 Device s behavior by ATA commands Figure 10 Power conditions Figure 11 Initial Setting Figure 12 Usual Operation Figure 13 Password Lost Figure
10. SN MIU O SPEGIEICATION 8 i p eei See Svea seed a etl DRIN UA leas ede ees Geld BEnyarotmetit 45 ste cede e mer aioe eae Ave euet e Pee ER 6 2 DC power requirementsz oce dues cedet eee Eee Tee esu e ood Tego voee dea cee coda ches dece ete Pike credi 6 92 Reliability oe eset nuit ac Mam er ee 6 4 Mechanical specifications ere eere vere e Ve ee ve eee ve e vo ts a S TT VER 6 5 Vibration and shokesas neninn N EARNE EEEN ENE EAEE NEEN ENSE CO AOU es Gi Identification labels aO REGII RNOGREI ba ced ww pv bees aa aaa RENI UE E TRES 6 8 Electromagnetic 1 ene nenne nennen nennen esee nennen nnn sed ta to Aet ttd sont ON Mie tah MANES Le tte n mem ead iue AA Mee 6 107 PACKAGING eei tente ete e ede D e EUER IRE a retenti eade d e eR TNR Eee S 6 11 Substance restriction requirements 7 ELECTRICAL INTERFACE SPECIFICATIONS ccccccsssccccessccesececesececeecseeseceseueeceeeecssuusessseueeceusesseuneeseues dE 7 2 Interface Ta Sighal PART 2 INTERFACE SPECIFICATION
11. settling Command Type Typical ms Maximum ms Read 1 0 2 0 Write 1 1 2 2 Table 7 Single track seek time Single track seek is measured as the average of one 1 single track seek from every track in both directions inward and outward 4 4 2 4 Average latency Rotational Speed Time for one revolution Average Latency RPM ms ms 5400 Table 8 Latency time 19 167 Travelstar 5K160 SATA Hard Disk Drive Specification 4 4 2 5 Drive ready time Typical sec Max sec Power On To Read 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 diagnostics 20 167 Travelstar 5K160 SATA Hard Disk Drive Specification 4 4 8 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 idle media access requests All Performance electronic components remain powered and the full frequency servo remains operational The device is capable of responding immediately to media access requests Some circuitry including servo system and R W electronics is in power saving mode Active idle The head is parked near the mid diameter the disk without s
12. cccccccsscceeeeeceeeeecceeeeceeeeeeseeeeeeseeesauaaaaaaaaeeeaesseessgessssesseess GENERAD PRO ved ee Ss IntroducliODs vector ee ide Mte E EE E ete veces eo e nest 8 2 Terminology occi rmt ete E AE ORT Goes Tee E baw Tn Cede res 9 DEVIATIONS FROM STANDARD cccccsssssssescccnssscsccscccessscesccceecessessceusessssescccccsevssesceeeensasscseeusssssssscees TO PHYSICAL INTERFACE aranana TEES Se SEVERE ov TI REGISTERS 11 1 Register naming convention nnns seen nnn T1 2 Command regiSteta c sioe soU GRE DII IUIS 11 3 Device Control Register ccccccccccccsssssssceceeeeeceeeseessseeasaeeeeeeeessesseeaseeeesseeeseesssaeaaeeeeseeeeeeeeses TT Device ettet e Me edt tmt e e RR 11 5 NErtor Registers oett ttt acad te AT E d Travelstar 5K160 SATA Hard Disk Drive Specification 11 6 Features Register tee iter e ERE WE VETE e PETER Ea da IE BBASHighiReegist t acer tte eite eee ete ERE RA TES BBALow Registet netter tic seks tette ee EE beta ERU en e eu ue esee de 11 9 Mid Register o rte tires tief etes eee ee Opere ETE Ce TRY 11 10 Sector Count Register cc cccccccssssssssccssccccessssssnssscnsscccesesssnsseasansseeecssssssseesscesseeeeseesseeess ILII Status REGUS et sce VET
13. dd Write MulipleExt E S T Write MulipleFUA Ext o d d fWrite Sectons gt gt Figure 15 Command table for device lock operation continued M MEME x 12 10 Protected Area Function Protected Area Function is to provide the protected area which can not be accessed via conventional method This protected area is used to contain critical system data such as BIOS or system management information The contents of entire system main memory may also be dumped into protected area to resume after system power off The LBA CYL changed by following command affects the Identify Device Information Two commands are defined for this function Read Native Max Address F8 h Set Max Address F9 h Four security extension commands are implemented as sub functions of the Set Max Address 60 167 Travelstar 5K160 SATA Hard Disk Drive 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 1s just an example these values could be different Device characteristics Capacity native 536 870 912 byte 536MB Max LBA native 1 048 575 OFFFFFh Required size for protected area 8 388 608 byte Required blocks for protected area 16 384 0040
14. 105 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 18 Read Multiple C4h Command Block Output Registers Command Block Input Registers Register Data Error HE Sector Count LBA Low LBA Mid LBA High Device Status Figure 62 Read Multiple Command C4h The Read Multiple command reads one or more sectors of data from disk media then transfers the data from the device to the host The sectors are transferred through the Data Register 16 bits at a time Command execution is identical to the Read Sectors command except that an interrupt is generated for each block as defined by the Set Multiple command instead of for each sector Output Parameters To The Device Sector Count The number of continuous sectors to be transferred If zero is specified then 256 sectors will be transferred LBA Low The sector number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 LBA High Mid The cylinder number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 8 15 Mid 16 23 High L 1 H The head number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 L 1 Input Parameters From The Device Sector Count The number of requested sectors not transferred This will be zero unless an unrecoverable error occurs LBA Low The sector number of the last transferred secto
15. the LBA High and LBA Mid registers A S M A R T FUNCTION SET command was received by the device with a subcommand value in the Features Register that is either invalid or not supported by this device A S M A R T FUNCTION SET command subcommand other than S M A R T ENABLE OPERATIONS was received by the device while the device was in a S M A R T disabled state The device is unable to read its Attribute Values or 10h or 40h Attribute Thresholds data structure The device is unable to write to its Attribute Values data 10h or Olh structure Figure 95 S M A R T Error Codes 146 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 41 Standby E2h 96h Command Block Output Registers Command Block Input Registers Rese PRELE Da TH bI Error See Below Sector Count v v v v v v v v SectorCom LET ET BALow 1 LBA Lov A Mia ua Deve LI 0 5 command 0 11 19 sas Error Register Status Register 6 ER ES ESE Ee I pm Gal i N LBA Hisn High H 1 Figure 96 Standby Command E2h 96h The Standby command causes the device enter the Standby Mode immediately and set auto power down timeout parameter standby timer When this command is issued the device confirms the completion of the
16. Read Native Max Address Read Native Max Address Ext Read Sector s Read Sector s Ext Read Verify Sector s o Read Verify Sector s Ext o o Recalibrate fo 9 Security Disable Password o ooo x 9 x Security Erase Prepare 9 9 o Security Erase Unit 9 9 x Security Freeze Lock 9 9 Security SetPassword CX Jo x Security Unlock CO o x e Sense Condition ooo 9 9 Set Features dodod o Figure 14 Command table for device lock operation 59 167 Travelstar 5K160 SATA Hard Disk Drive Specification Command Locked Unlock Frozen 0 Set Max Freeze Lock o_ o _ oJ oY 6 A T Set Multiple Mode 2 fo Sip Cd of oY oY SMART Disable Operations oo gt o Enable Disable Automatic Ofine o o gt o S Enable Disable Attibute Autosave o o SMART Enable Operations Jo SMART Execute Off line Immediate 0 o o SMART Read Attibute Values 9 9 SMART Read Attibute Thresholds 9 o o SMART RedLogSemg o 0 SMART Write Log Sector Sid oo SMART RewmStaus 4166416450 SMART Save Attribute Values o_ _o _ Standby es Standby Immediate S d d xo fo fwriteDMAExt Td Write FPDMA 41664650 W eLong fo J oY Write Multiple
17. Content field indicates the use of those parameters that are vendor specific I2 160 8 EN ll UM ee ll G Note 2 The feature marked is able to be unsupported by the Device Configuration Overlay command Figure 38 Identify device information Continued xxxxH Time required for security erase unit completion Time value xxxxh 2 minutes 0000H Time required for Enhanced security erase completion 0000 Not supported Current Advanced Power Management level 88 167 Travelstar 5K160 SATA Hard Disk Drive Specification 7 0 xxh Currect Advanced Power Management level set by Set Features Command 01h to FEh gt xH Current Master Password Revision Codes Note 1 The mark in Content field indicates the use of those parameters that are vendor specific Figure 39 Identify device information Continued 80xH Automatic Acoustic Management value 15 8 Vendor s Recommended Acoustic Management level 7 0 Current Automatic Acoustic Management value Default value is FEh tream Minimum Request Size 0000H 0000H 0000H 0000H Note 2 nan Streaming Transfer Time DMA Streaming Access Latency DMA and PIO Streaming Performance Granularity 97 98 99 100 103 104 105 106 107 108 111 112 118 119 Maximum user LBA address for 48 bit Address feature set Streaming Transfer
18. Diagnostic Codes on Page 5 for the definition Bit Definitions ICRCE CRC Interface CRC Error CRC 1 indicates a CRC error has occurred on the data bus during a Ultra DMA transfer UNC Uncorrectable Data Error UNC 1 indicates an uncorrectable data error has been encountered IDNF IDN ID Not Found IDN 1 indicates the requested sector s ID field could not be found ABRT ABT Aborted Command ABT 1 indicates the requested command has been aborted due to a device status error or an invalid parameter in an output register TKONF TON Track 0 Not Found TON 1 indicates track 0 was not found during a Recalibrate command AMNF AMN Address Mark Not Found AMN 1 indicates the data address mark has not been found after finding the correct ID field for the requested sector This bit is obsolete 11 6 Features Register This register is command specific This is used with the Set Features command S M A R T Function Set command and Format Unit command 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 5 16 11 8 LBA Low Register This register contains Bits 0 7 At the end of the command this register is updated to reflect the current
19. Error Register 5 ES EC cd Nc Er REOR Command Block Input Registers Register 76 5 413 211 To Error Sector Count LBA Low LBA Mid LBA High Device SO il Gi al a a ll a ll Gf ed n 68 mu Freeze Lock Command F5h The Security Freeze Lock Command allows the device to enter frozen mode immediately After this command is completed the command which updates Security Mode Feature Device Lock Function is rejected Frozen mode is quit only by Power off The following commands are rejected when the device is in frozen mode For detail refer to Command table for device lock operation on Page 5 5 Security Set Password Security Unlock Security Disable Password Security Erase Unit 119 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 81 Security Set Password F1h Command Block Output Registers Command Block Input Registers eese P Rese piis HTE DI LE Lene Sector Cou 1 J Sector Coun _ tBA tow A Mia ua via Loa High Lice High command ft fr fr fr fofo off Error Register Status Register 5 Nc Er REOR 716 5 1 3 2 Ji il Gi al a a a n 69 ERE E Password Command F a The Security Set Password command enables security mode feature device lock function and sets the master password or the user pass
20. Ext Command 34h Figure 118 Timeout Values 7 167 CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA Travelstar 5K160 SATA Hard Disk Drive Specification List of Tables Table 1 Formatted capacity by model number Table 2 Data sheet Table 3 Cylinder allocation Table 4 Performance characteristics Table 5 Mechanical positioning performance Table 6 Full stroke seek time Table 7 Single track seek time Table 8 Latency time Table 9 Drive ready time Table 10 Table 11 Table 12 Table 13 Table 14 Table 15 Table 16 Table 17 Table 18 Table 19 Table 20 Table 21 Table 22 Table 23 Table 24 Table 25 Table 26 Table 27 Table 28 Operating mode Drive ready time Environmental condition Magnetic flux density limits DC Power requirements Power consumption efficiency Physical dimensions and weight Random vibration PSD profile breakpoints operating Swept sine vibration Random Vibration PSD Profile Breakpoints nonoperating Operating shock Nonoperating shock Weighted sound power Interface connector pins and I O signals Register naming convention and correspondence Device Control Register Device Register Error Register Status Register 8 167 Un CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA ann Travelstar 5K160 SATA H
21. Mid 16 23 High L 1 H The head number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 24 27 L 1 159 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 54 Write Sector s Ext 34h Command Block Output Registers Command Block Input Registers Register v e s J4 s 2 r o Reese v e s a s 2 1 o EE pep SES a TI pL ERS ee ee See Below eios T T T T T 1 Sector Count Es OO Deme Pew v Iv Iv vv Iv INT T T T 1 1 AA A DA CA NA pm EE DACA NA v ERR pes Koa KA KAKA KA KK pen CBA men moo ec nons See Below ET Saas Register 7T TISLALLEILISAILLLELLCLDILZLLL exc uc v ios f o faer avs sy froy or psc pra cor ox ferr Figure 109 Write STU Ext Command 34h The Write Sector s Ext command transfers one or more sectors from the host to the device then the data is written to the disk media The sectors are transferred through the Data Register 16 bits at a time If an uncorrectable error occurs the write will be terminated at the failing sector Output Parameters To The Device Sector Count Current The number of continuous sectors to be transferred low order bits 7 0 Sector Count Previous The number of continuo
22. Once device receives this command all accesses beyond that Address are rejected with setting ABORT bit in status register When the address requested is greater than 268 435 455 words 103 100 shall be modified to reflect the requested value but words 61 60 shall not modified When the address requested is equal to or less than 268 435 455 words 103 100 shall be modified to reflect the requested value and words 61 60 shall also be modified If this command is not supported the maximum value to be set exceeds the capacity of the device a host protected area has been established by a Set Max Address command the command is not immediately preceded by a Read Native Max Address Ext command or the device is in the Set Max Locked or Set Max Frozen state the device shall return command aborted The device returns the command aborted for a second non volatile Set Max Address Ext command until next power on Output Parameters To The Device B Option bit for selection whether nonvolatile or volatile B 0 is volatile condition When B 1 Max Address which is set by Set Max Address Ext command is preserved by POR When B 0 Max Address which is set by Set Max Address Ext command will be lost by POR LBA Low Current Set Max LBA 7 0 LBA Low Previous Set Max LBA 31 24 LBA Mid Current Set Max LBA 15 8 LBA Mid Previous Set Max LBA 39 32 LBA High Current Set Max LBA 23 16 LBA High Previous Set Max LBA 47 40 Input Parameters F
23. 01h to FFh Status Flags Bit 0 Pre Failure Advisory F Bit 1 On line Collection Bit 2 5 Reserved may either 0 or 1 Bit 6 15 Reserved all 0 Attribute Value valid values from 01h to FEh Oh invalid for attribute value not to be used Olh minimum value 64h initial value for all attributes prior to any data collection FDh maximum value FEh value is not valid FFh invalid for attribute value not to be used ovi Reserved may not be 0 Reserved may not be 0 Reserved 00h Total Bytes Figure 84 Individual Attribute Data Structure Artibute Value valid values from Oin o FE f 7 in 1 e Reserved E Attribute ID Numbers Any non zero value in the Attribute ID Number indicates an active attribute The device supports following Attribute ID Numbers Those marked with indicate that corresponding Attribute Values can be either collected on line or off line ID Attribute Name 0 Indicates that this entry in the data structure is not used 1 Raw Read Error Rate 2 Throughput Performance 3 Spin Up Time 4 Start Stop Count 5 Reallocated Sector Count 7 Seek Error Rate 8 Seek Time Performance 9 Power On Hours Count 10 Spin Retry Count 12 Device Power Cycle Count 191 G Sense error rate 192 Power off retract count 193 Load Unload cycle count 194 Device Temperature 196 Reallocation Event Count 197 Current Pending Sector Count 198 Off
24. 1 9 HL EHE HL Figure 100 Write DMA Ext Command 35h E o The Write DMA Ext command transfers one or more sectors of data from the host to the device then the data is written to the disk media The sectors of data are transferred through the Data Register 16 bits at a time The host initializes a slave DMA channel prior to issuing the command Data transfers are qualified by DMARQ and are performed by the slave DMA channel The device issues only one interrupt per command to indicate that data transfer has terminated and status is available If an uncorrectable error occurs the write will be terminated at the failing sector Output Parameters To The Device Sector Count Current The number of continuous sectors to be transferred low order bits 7 0 Sector Count Previous The number of continuous sectors to be transferred high order bits 15 8 If zero is specified in the Sector Count register then 65 536 sectors will be transferred LBA Low Current LBA 7 0 LBA Low Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the add
25. 14 Command table for device lock operation Figure 15 Command table for device lock operation continued Figure 16 Set Max Set Password data content Figure 17 Set Max security mode transition Figure 18 Seek overlap Figure 19 Preserved Software Setting Figure 20 Command set Figure 21 Command Set continued Figure 22 Command Set Subcommand Figure 23 Check Power Mode Command E5h 98h Figure 24 Device Configuration Overlay Command B1h Figure 25 Device Configuration Overlay Features register values Figure 26 Device Configuration Overlay Data structure Figure 27 DCO error information definition Figure 28 Execute Device Diagnostic Command 90h Figure 29 Flush Cache Command E7h Figure 30 Flush Cache EXT Command EAh Figure 31 Format Track Command 50h Figure 32 Format Unit Command F7h Figure 33 Identify Device Command ECh Figure 34 Identify device information Figure 35 Identify device information Continued Figure 36 Identify device information Continued Figure 37 Identify device information Continued Figure 38 Identify device information Continued Figure 39 Identify device information Continued Figure 40 Identify device information Figure 41 Number of cylinders heads sectors by models for HTS5416XXJ9SA00 Figure 42 Idle Command E3h 97h Figure 43 Idle Immediate Command E1h 95h Figure 44 Initialize Device Parameters Command 91h Figure 45 Read Buffer Command E4h Figure 46 Rea
26. Device Control Register Bit Definitions SRST 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 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 4 Device Register Device Register Table 26 Device Register This register contains the device and head numbers Bit Definitions L Binary encoded address mode select When L 0 addressing is by CHS mode When L 1 addressing is by LBA mode HS3 HS2 HS1 HS0 The HS3 through HSO contain bits 24 27 of the LBA At command completion these bits are updated to reflect the current LBA bits 24 27 11 5 Error Register 45 167 Travelstar 5K160 SATA Hard Disk Drive Specification 5 as 2 2 t p o 9 TENE Rus Table 27 Error Register This register contains status from the last command executed by the device or a diagnostic code At the completion of any command except Execute Device Diagnostic the contents of this register are valid always even if ERR 0 in the Status Register Following a power on a reset or completion of an Execute Device Diagnostic command this register contains a diagnostic code See
27. Drive Specification 1 2 References Serial ATA High Speed Serialized AT Attachment Reversion 1 0a 7 January 2003 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 Any damages incurred to the drive after removing it from the shipping package and the ESD protective bag are the responsibility of the user 1 4 Drive handling precautions Do not press Do not press on the drive cover during handling Do not cover this hole C NA Covering this hole will result in loss of data 12 167 Travelstar 5K160 SATA Hard Disk Drive Specification 2 Outline of the drive 2 5 inch 9 5 mm Height Perpendicular Recording Formatted capacities of 160GB 120GB 80GB 60GB and 40GB 512 bytes sector SATA Interface conforming to Serial ATA High Speed Serialized AT Attachment Reversion 1 0a 7 January 2003 Integrated controller No ID recording format Coding 100 106 Multi zone recording Enhanced ECC 10 bit 40 symbol non Interleaved Read Solomon code Non interleave On The Fly correction Included 2 symbol system ECC Segmented Buffer with write cache 8192 KB Upper 441 KB is used for firmware Fast data transfer rate up to 1 5 Gbit s Media data transfer rate max 540 Mb s Avera
28. Enable Power Up in Standby feature 2 bytes of ECC apply on Read Write Long Disable read look ahead feature Disable Advanced Power Management feature Enable read look ahead feature bytes of ECC apply on Read Write Long Disable AAM Set Max security extension et Max Set Password Set Max Lock et Max Unlock et Max Freeze Lock Device Configuration Overlay Device Configuration Identify Figure 22 Command Set Subcommand Command set on 5 shows the commands that are supported by the device Command Set Subcommand on Page 5 shows the sub commands that are supported by each command or feature The following symbols are used in the command descriptions Output Registers 0 Indicates that the bit must be set to 0 1 Indicates that the bit must be set to 1 71 167 m iz V x Input Ze meso Travelstar 5K160 SATA Hard Disk Drive Specification Head number Indicates that the head number part of the Device Register is an output parameter and should be specified LBA mode Indicates the addressing mode Zero specifies CHS mode and one does LBA addressing mode Retry Original meaning is already obsolete there is no difference between 0 and 1 Using 0 is recommended for future compatibility Option Bit Indicates that the Option Bit of the Sector Count Register should be specified This bit is used by Set Max ADDRESS command Valid Indicates that the bit is part of an output param
29. Figure 64 Password Information for Security Disable Password command The device will compare the password sent from this host with that specified in the control word Identifier Zero indicates that the device should check the supplied password against the user password stored internally One indicates that the device should check the given password against the master password stored internally 115 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 28 Security Erase Prepare F3h Command Block Output Registers Command Block Input Registers eese Sector Cou 1 1 1 1 LT J Sector Coun BA Low eoa tow s Mia usa mia Loa High 1 10 High Device Comma footer Error Register Status Register fs f T TI 5T 5 5 T2 2 pP IEEE EE EE N Figure 65 Security Erase Prepare Command F3h The Security Erase Prepare Command must be issued immediately before the Security Erase Unit Command to enable device erasing and unlocking The Security Erase Prepare Command must be issued immediately before the Format Unit Command This command is to prevent accidental erasure of the device This command does not request to transfer data 116 167 Travelstar 5K160 SATA Hard Disk Drive Specif
30. Function Set Command BOh The S M A R T Function Set command provides access to Attribute Values Attribute Thresholds and other low level subcommands that can be used for logging and reporting purposes and to accommodate special user needs The S M A R T Function Set command has several separate subcommands which are selectable via the device s Features Register when the S M A R T Function Set command is issued by the host 14 40 1 S M A R T Sub commands In order to select a subcommand the host must write the subcommand code to the device s Features Register before issuing the S M A R T Function Set command The subcommands and their respective codes are listed below Code Subcommand DOh S M A R T Read Attribute Values Dih S M A R T Read Attribute Thresholds D2h S M A R T Enable disable Attribute Autosave D3h S M A R T Save Attribute Values D4h S M A R T Execute Off line Immediate D5h S M A R T Read Log Sector D6h S M A R T Write Log Sector D8h S M A R T Enable Operations D9h S M A R T Disable Operations DAh S M A R T Return Status DBh S M A R T Enable Disable Automatic Off Line 14 40 1 1S M A R T Read Attribute Values Subcommand DOh This subcommand returns the device s Attribute Values to the host Upon receipt of the S M A R T Read Attribute Values subcommand from the host the device saves any updated Attribute Values to the Attribute Data sectors and then waits for the host to transfer the 512 byte
31. IS to the Host Status Register 400 ns BSY 1 SETUP FIS for data in Status Register 30 sec transfer BSY 0 and DRQ 1 and sends a PIO SETUP FIS to the host Device Busy A PIO SETUP FIS is Status Register 10 us After Data Transfer In ransferred to the host BSY 1 Sets proper values in the Status Register 400 ns BSY 1 Device Busy Sends a Data FIS to the device Status Register 5 us After Data Transfer Out BSY 1 Status Register 30 sec IBSY 0 and RDY 1 Note 1 land sends a PIO SETUP FIS to the host Status Register 400 ns BSY 1 A Register FIS to report Sets the status of the 30 sec Command Complete command to the Status Note 2 Register and sends a Register FIS to the host Status Register BSY 1 command Figure 110 Timeout Values Command category is referred to 6 0 Command Protocol on Page 5 The abbreviations ns us ms and sec mean nanoseconds microseconds milliseconds and seconds respectively We recommend that the host system executes Soft reset and then retry to issue the command if the host system timeout would occur for the device 161 167 Note 1 Note 2 Travelstar 5K160 SATA Hard Disk Drive Specification For SECURITY ERASE UNIT command the execution time is referred to 7 27 Security Erase Unit F4h on Page 5 FORMAT UNIT command the execution time is referred to 7 7 Format Unit F7h Vendor Specific on Page 5 Security Disable Password S
32. Input levels are measured on a base plate where the drive is attached with four screws 35 167 Travelstar 5K160 SATA Hard Disk Drive 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 160GB 120GB models Idle 2 5 2 7 Operating 2 7 2 9 80GB 60GB 40GB models Idle 2 2 2 4 Operating 2 4 2 6 Table 22 Weighted sound power The background power levels of the acoustic test chamber for each octave band are to be recorded Sound power tests are to be conducted with the drive supported by spacers so that the lower surface of the drive be located 25 3 mm above from the chamber floor No sound absorbing material shall be used The acoustical characteristics of the disk drive are measured under the following conditions Mode definitions Idle mode Power on disks spinning track following unit ready to receive and respond to control line commands Operating mode Continuous random cylinder selection and seek operation of the actuator with a dwell time at each cylinder The seek rate for the drive can be calculated as shown below N
33. LBA Bits 0 7 When 48 bit commands are used the most recently written content contains LBA Bits 0 7 and the previous content contains Bits 24 31 11 9 LBA Mid Register This register contains Bits 8 15 At the end of the command this register is updated to reflect the current LBA Bits 8 15 When 48 bit addressing commands are used the most recently written content contains LBA Bits 8 15 and the previous content contains Bits 32 39 46 167 Travelstar 5K160 SATA Hard Disk Drive Specification 11 10 Sector Count Register This register contains the number of sectors of data requested to be transferred on a read or write operation between the host and the device If the value in the register is set to 0 a count of 256 sectors in 28 bit addressing or 65 536 sectors in 48 bit addressing is specified If the register is zero at command completion the command was successful If not successfully completed the register contains the number of sectors which need to be transferred in order to complete the request The contents of the register are defined otherwise on some commands These definitions are given in the command descriptions 11 11 Status Register Status Register Table 28 Status Register This register contains the device status The contents of this register are updated whenever an error occurs and at the completion of each command If the host reads this register when an interrupt is pending it i
34. Line Scan Uncorrectable Sector Count 199 Ultra DMA CRC Error Count Status Flag Definitions 139 167 Travelstar 5K160 SATA Hard Disk Drive Specification Flog Name 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 Pre Failure Advisory bit 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 On Line Collective bit If bit 0 the Attribute Value is updated only during Off Line testing If bit 1 the Attribute Value is updated during On Line testing or during both On Line and Off Line testing zs Rewwedbis may either Oor 1 6 15 Reserved bits Alvayso Figure 85 Status Flag Definitions Normalized Values The device will perform conversion of the raw Attribute Values to transform them into normalized values which the host can then compare with the Threshold values A Threshold is the excursion limit for a normalized Attribute Value In normalizing the raw data the device will perform any necessary statistical validity checks to ensure that an instantaneous raw value is not improperly reflected in the normalized Attribute Value i e one read error in the first 10 reads being interpreted as exceeding the read error rate
35. M A R T Off line or Self test x5h xAh Reserved xBh xFh Vendor specific Note The value of x is vendor specific 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 Data structure revision Self test number Self test execution status Life time power on hours Self test failure check point LBA of first failure Vendor specific n 18h 0Bh Vendor specific 1FAh Self test log pointer 1FCh Reserved 1FDh Data structure checksum 1FFh saf S Note n is 0 through 20 Figure 93 Self test log data structure The data structure contains the descriptor of Self test that the device has performed Each descriptor is 24 bytes long and the self test data structure is capable to contain up to 21 descriptors After 21 descriptors has been recorded the oldest descriptor will be overwritten with new descriptor Self test log pointer points the most recent descriptor When there is no descriptor the value is 0 When there is descriptor s the value is 1 through 2l 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
36. Multiple setting bit assignments 1s Reserved q d sj 1 Multiple Sector Setting is Valid Current setting for number of sectors Note Toal Number of User Addressable Sectors 83 167 Travelstar 5K160 SATA Hard Disk Drive Specification Word 60 specifies the low word of the number FFFFFFFh The 48 bit native max address is greater than 268 435 455 0000H Reserved Note 1 The mark in Content field indicates the use of those parameters that are vendor specific Note 2 See following table Number of cylinders heads sectors by models for Number of cylinders heads sectors by models for HTS5416XXJ9SA00 on Page 5 84 167 Travelstar 5K160 SATA Hard Disk Drive Specification Figure 35 Identify device information Continued Multiword DMA Transfer Capability 15 11 0 Reserved 10 1 Multiword DMA mode 2 is selected 1 Multiword DMA mode 1 is selected 1 Multiword DMA mode 0 is selected Reserved 2 z1 I1zMultiword DMA mode 2 is supported 1 z1 1zMultiword DMA mode 1 is supported 0 21 1 Multiword DMA mode 0 is supported 15 8 0 7 03 15 0 C780 15 0 C780 15 0 C780 15 0 C780 EXE 4 0 1Fh 15 1160 9 1 Receipt of host initiated interface power management requests SEx 7 30 2 0 IEI aco SATA supported features 15 770 6x 50 ex TE ic oco SATA enabled features 85 167 7 3 20 l
37. Read FPDMA Queued 60h Command Block Output Registers Command Block Input Registers Register fo fs 3 2 ti fol Register v e s a s o r o pparx eee I L Curent v v v v v v v v Emr See Below Previews DA KA KA KA KA KA KA KA D 3 Sector Count T T T TIT porcum OEIL IET eios T T T T T T T T T 1 1 pim TE DAA DAA DACA NA Previous v vIv v vIvIv v Ee ERR ee ee e mere ele e ehe X Previous Vv v v vIv v v pen LBA High V v See Below nor Regis ET Seas Register Exo ED pz Ter pecie cac o ix 0 Aer TON amn RDY pr sc xv vov Eod v pofoflo v pod v Tz E Figure 48 Read FPDMA Queued Command 60h The Read FPDMA Queued command reads one or more sectors of data from disk media then transfers the data from the device to the host If an uncorrectable error occurs the read will be terminated at the failing sector Output Parameters To The Device Feature Current The number of sectors to be transferred low order bits 7 0 Feature Previous The number of sectors to be transferred high order bits 15 8 T TAG value It shall be assigned to be different from all other queued commands The value shall not exceed the m
38. Sector Count The number of sectors per track 0 does not mean there are 256 sectors per track but there is no sector per track H The number of heads minus 1 per cylinder The minimum is 0 and the maximum is 15 93 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 12 Read Buffer E4h Command Block Output Registers Command Block Input Registers eese PEELEN Rese pa HTE Err Sector Cou J Sector Coun BA Low eoa tow A Mid ua Mia Loa High 20 nien Device Comma Miei Error Register Status Register TY T TI ts Ts 2 T2 2 Sess SPSS Pest E N vot Figure 45 Read Buffer Command 4 The Read Buffer command transfers a sector of data from the sector buffer of device to the host The sector is transferred through the Data Register 16 bits at a time The sector transferred will be from the same part of the buffer written to by the last Write Buffer command The contents of the sector may be different if any reads or writes have occurred since the Write Buffer command was issued 94 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 13 Read DMA C8h C9h Command Block Output Registers Command Block Input Registers Register Data Error HE Sector Count LBA Low LBA Mid
39. Time PIO Reserved Inter seek delay time 1 5tt 2 5tl orld Wide Name Reserved 0000H p lt 2 0000 4000 Supported Setting 15 20 14 21 13 3 20 2 0 1 0 0 0 Enabled Setting 15 20 14 21 13 3 0 2 0 0 0 0 JBE pu cud 120 f ee NE S LL ss E LR j 1L Always Always Reserved 1 WRITE UNCORRECTABLE is supported 1 Write Read Verify feature set is supported Reserved Always Always Reserved 1 WRITE UNCORRECTABLE is supported 1 Write Read Verify feature set is enabled Reserved aris iz Removable Media Status No ficatonfewureset status Sd LLL sese Lev Maximum 0c High security erase supported 4 x l Security count expired 3 zx I Security Frozen 2 1 1 x 0 1 urrent Set Feature Option Bit assignments 89 167 Security locked Security enabled Security supported 129 000xH 1 eserved Auto reassign enabled Travelstar 5K160 SATA Hard Disk Drive Specification x 1 Reverting enabled 1 Read Look ahead enabled 1 Write Cache enabled nitial Power Mode Selection Bit assignments 0 ftnitial Power Mode 1 Standby 0 Idle 132 254 35 15 8 zxxh Checksum 7 0 2A5h Signa
40. andby tandby Immediate WS Il h gt nan nan tandby Immediate rite Buffer rite DMA rite DMA rite DMA Ext rite DMA FUA Ext rite FRDMA Queued rite Log Ext rite Long rite Long rite Multiple rite Multiple Ext rite Multiple FUA Ext rite Sector s rite Sector s rite Sector s Ext as 3 EE E 2 a 5 1 a za a 3 B 5 aa aa EE 23 EUM EEN 5 za Ea za om a 2 2 2 2 2 2 Protocol 1 PIO data IN command PIO data OUT command Non data command DMA command First parity DMA command Vendor specific command T Figure 21 Command Set continued Commands marked are alternate command codes for previously defined commands 70 167 Travelstar 5K160 SATA Hard Disk Drive Specification Command Subcommand Command code Feature Register S M A R T Function M A R T Read Attribute Values M A R T Read Attribute Thresholds M A R T Enable Disable Attribute Autosave M A R T Save Attribute Values M A R T Execute Off line Immediate M A R T Read Log Sector 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 Enable Disable Automatic Off line Set Features Enable Write Cache Set Transfer Mode Enable Advanced Power Management feature
41. 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 If the count reaches 5 EXPIRE bit bit 4 of Word 128 in Identify Device information is set and then SECURITY ERASE UNIT command and SECURITY UNLOCK command are aborted until a power off The count and EXPIRE bit are cleared after a power on reset 12 9 6 Command Table This table shows the device s response to commands when the Security Mode Feature Set Device lock function is enabled Command Device Locked Unlock Frozen Mode Check Power Mode sd Device Configuration RESTORE gt o o Device Configuration FREEZE LOCK 9 o o Device Configuration IDENTIEY o o Device Configuration SETS xf dt Execute Device Diagnostic o o C x fd Flush Cache Ext E da ac entity Device SSS of dt od deimmedi T T Initialize Device Paramees o o Re DMA x od 58 167 Travelstar 5K160 SATA Hard Disk Drive Specification Read FPDMA Queued Read Long Read Multiple Read Multiple Ext
42. been no error log entries it is cleared to 0 Valid values for the error log index are 0 to 4 14 16 2 3 Extended Error log data structure An error log data structure shall be presented for each of the last four errors reported by the device These error log data structure entries are viewed as a circular buffer The fifth error shall create an error log structure that replaces the first error log data structure The next error after that shall create an error log data structure that replaces the second error log structure etc Unused error log data structures shall be filled with zeros Data format of each error log structure 1s shown below Description Bytes Offset lst command data structure 18 00h 2 command data structure 18 12h 3rd command data structure 18 24h 4th command data structure 18 36h bth command data structure 18 48h Error data structure 34 5Ah 124 Figure 53 Extended Error log data structure Command data structure Data format of each command data structure is shown below Bytes Offset Device Control register 1 00h Features register 7 0 see Note 1 Olh Features register 15 8 1 02h Sector count register 7 0 1 03h 1 04h 05h 1 06h Cylinder Low register 7 0 1 07h Cylinder Low register 15 8 1 08h Cylinder High register 7 0 1 09h Cylinder High register 15 8 1 OAh Device register 1 OBh 1 OCh 1 ODh 1 OEh ER uu 18 Error data structure Data format of
43. check of the drive is complete The appropriate error status is made available to the host system if any of the following conditions occur after the drive has become ready e The spindle speed lies outside the requirements for reliable operation occurrence of a Write Fault condition 5 4 WRITE safety The drive ensures that the data is written into the disk media properly The following conditions are monitored during a write operation When one of these conditions exceeds the criteria the write operation is terminated and the automatic retry sequence is invoked Head off track External shock Low supply voltage Spindle speed out of tolerance Head open short 22 167 Travelstar 5K160 SATA Hard Disk Drive 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 7 Automatic reallocation The sectors that show some errors may be reallocated automatically when specific conditions are met The drive does not report any auto reallocation to the host system The conditions for auto reallocation are described below 5 7 1 Nonrecov
44. command for log page 11h and bit 0 in Feature register is set to one the drive returns the current counter values for the command and then resets all Phy event counter values 14 16 5 2 Counter Identifiers Each counter begins with a 16 bit identifier The following table defines the counter value for each identifier For all counter descriptions transmitted refers to items sent by the drive to the host and received refers to items received by the drive from the host Bits 14 12 of the counter identifier convey the number of significant bits that counter uses All counter values consumes a multiple of 16 bits The valid values for bit 14 12 and the corresponding counter size are 1h 16 bit counter 2h 32 bit counter 3h 48 bit counter 4h 64 bit counter 103 167 Identifier Bits 11 0 000h 001h 009h 00ARh 00Bh 00Dh Travelstar 5K160 SATA Hard Disk Drive Specification Description No counter value marks end of counters in the page Command failed due to ICRC error Transfer from drive PhyRdy to drive PhyNRdy Signature D2H register FISes sent due to a COMRESET CRC errors within the FIS received Non CRC errors within the FIS received Table 299 Phy Event Counter Identifier 14 16 5 3 The following table defines the format of the Phy Event counter data structure Read Log Ext Log Page 11h Byte MUSS EUER EOS ERE 0 00h 1 00h 2 00h 3 00h Counter 0001h Identifie
45. commands are e Read DMA e Read DMA Ext e Write DMA e 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 The DMA protocol allows high performance multi tasking operating systems to eliminate processor overhead associated with PIO transfers Refer HTS5416XXJ98A00 Final Functional Specification for further details 13 5 First parity DMA Commands These commands are e Read FPDMA Queued e Write FPDMA Queued Execution of this class of commands includes command queuing and the transfer of one or more blocks of data between the device and the host The protocol is described in the section 4 2 Native Command Queuing of Serial ATA II Extensions to Serial ATA 1 02 68 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 Command Descriptions Command heck Power Mode heck Power Mode Execute Device Diagnostic Identify Device Idle Immediate Idle Immediate Initialize Device Parameters Read Buffer IRead DMA IRead DMA IRead DMA Ext Read FRDMA Queued Read Log Ext IRead Long IRead Long IRead Multiple IRead Multiple Ext Read Native Max Address IRead Native Max Address Ext Read Sector s Read Sector s Read Sector s Ext Read Verify Sector s IRead Verify Sector s Read Verify Sector s Ext ecurity Disable Passw
46. 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 12 9 2 Security Level Following security levels are provided High level security When the device lock function is enabled and the User Password is forgotten the device can be unlocked via a Master Password Maximum level security When the device lock function is enabled and the User Password is forgotten then only the Master Password with a Security Erase Unit command can unlock the device Then user data is erased 12 9 3 Password This function can have 2 types of passwords as described below Master Password When the Master Password is set the device does NOT enable the Device Lock Function and the device can NOT be locked with the Master Password but the Master Password can be used for unlocking the device locked User Password The User Password should be given or changed by a system user When the User Password is set the device enables the Device Lock Function and then the device is locked on next power on reset If Software Setting Preservation is disabled the device is locked on COMRESET as well 55 167 Travelstar 5K160 SATA Hard Disk Drive Specification The system manufacturer dealer who intends to enable the device lock function for the end users must set the master password even if only single level passw
47. 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 The Device perform the off line read scanning at the off line data collection activities which is initiated by the S M A R T Execute Off line Immediate Subcommand D4h even if the automatic off line feature is disabled Any other non zero value written by the host into this register before issuing this subcommand is vender specific and will not change the current Automatic Off Line Data Collection and Off line Read Scanning status but device may respond with the error code specified in S M A R T Error Codes on Page 5 14 40 2 Device Attributes Data Structure The following defines the 512 bytes that make up the Attribute Value information This data structure is accessed by the host in its entirety using the S M A R T Read Attribute Values subcommand All multi byte fields shown in these data structures follow the ATA ATAPI 6 specification for byte ordering namely that the least significant byte occupies the lowest numbered byte address location in the field Description Data Structure Revision Number 2 0 binary ooon Devie Attribute 3
48. error data structure is shown below Description Offset 00h 100 167 Travelstar 5K160 SATA Hard Disk Drive Specification 1 Olh 1 02 Sector count register 15 8 see Note 1 03h Sector number register 7 0 1 04h 1 05h 1 06h 1 07h 1 08h 1 09h 1 OAh 1 0Bh 19 OCh 1 1Fh 2 20h eases al 34 Note bits 7 0 refer to the contents if the register is read with bit 7 of the Device Control register cleared to zero Bits 15 8 refer to the contents if the register is read with bit 7 of the Device Control register set to one Figure 55 Error data structure 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 xOh Unknown xth Sleep x2h Standby x3h Active Idle x4h SMART Off line or Self test x5h xAh Reserved xBh xFh Vendor specific Note The value of x is vendor specific entries contained in the SMART self test log defined in Self test log data structure shall also be included in the Extended SMART self test log with all 48 bit entries Offset Self test log data structure revision number 00h Self test descriptor index 7 0 Lo 1 02h Self test descriptor index 15 8 03h 101 167 if Travelstar 5K160 SATA Hard Disk Drive Specification Descriptor entry 1 2 04h Descriptor entry 2 1Eh 6 i 26 11 1 Vendor specific 1F2h 1F4h Data structure checksum 1F
49. except the emergency unload even if the attribute auto save feature is not enabled The head unload is done not only by Standby Standby Immediate or Sleep command but also by the automatic power saving functions like ABLE 3 or Standby timer So basically it is not necessary for a host system to enable the attribute auto save feature when it utilizes the power management If the attribute auto save feature is enabled attribute values will be saved after 30minutes passed since the last saving besides above condition 12 9 Security Mode Feature Set Security Mode Feature Set is a powerful security feature With a device lock password a user can prevent unauthorized access to hard disk device even if the device is removed from the computer New commands are supported for this feature as below Security Set Password Security Unlock F2 h Security Erase Prepare F3 h Security Erase Unit F4 h Security Freeze Lock F5 h Security Disable Password F6 h 12 9 1 Security mode Following security modes are provided Device Locked mode The device disables media access commands after power on Media access commands are enabled by either a security unlock command or a security erase unit command Device Unlocked mode The device enables all commands If a password is not set this mode is entered after power on otherwise it is entered by a security unlock or a security erase unit command Device Frozen mode The
50. from its cache The device returns a status RDY 1 and DSC 1 50h after following sequence Data in the write cache buffer is written to disk media Return a successfully completion 78 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 5 Flush Cache Ext EAD EommandBlckOupurRegises Command Biock peperen pato Daanin Lips tie Feature 1111 See Below i Previous ctor Count I I Sector Count Current J Previous E b Pes EEE EEE LBALow Previous pape EEEE I 1 Ame EL 0 SEE EEE pos 1 i Bae e HE a o Status See Below enor Register E Sus Register cac o ix 0 er amn 55v pr DSC ERR o olo T9 v 1 9 o 1 Figure 30 Flush Cache EXT Command EAh Cum Previous Bea Previous B B This command causes the device to complete writing data from its cache The device returns good status after data in the write cache is written to disk media 79 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 6 Format Track 50h Vendor Specific Command Block Output R
51. host or not If an uncorrectable error occurs the Read Verify Sector s Ext will be terminated at the failing sector Output Parameters To The Device Sector Count Current The number of sectors to be transferred low order bits 7 0 Sector Count Previous The number of sectors to be transferred 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 Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 113 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 26 Recalibrate 1xh Command Block Output Registers Command Block Input Registers ese pa Sector Cou 1 1 1 1 LT J Sector Coun uBa tow sa Mia ua mia Loa High I II I II Lic
52. if the Feature register contains any undefined values After power on reset the device 1s set to the following features as default Write cache Enable ECC bytes 4 bytes Read look ahead Enable Reverting to power on defaults Disable Device initiated interface power state Disable transition Software setting preservation Enable Output Parameters To The Device Feature Destination code for this command 02H Enable write cache Note 2 03H Set transfer mode based on value in sector count register 05H Enable Advanced Power Management 06H Enable Power Up in Standby feature set 07H Power Up in Standby feature set device spin up 10H Enable use of Serial ATA feature 42H Enable Automatic Acoustic Management feature set 44H 52 bytes of ECC apply on Read Long Write Long commands 55H Disable read look ahead feature 66H Disable reverting to power on defaults 82H Disable write cache 85H Disable Advanced Power Management Note 3 86H Disable Power UP in Standby feature set 90H Disable use of Serial ATA feature AAH Enable read look ahead feature BBH 4 bytes of ECC apply on Read Long Write Long commands C2H Disable Automatic Acoustic Management feature set CCH Enable reverting to power on defaults Note 1 125 167 Travelstar 5K160 SATA Hard Disk Drive Specification When Feature register is 03h Transfer mode the Sector Count Register specifies the transfer mechanism The upper 5 bits define the type of transfe
53. is shown in Default Register Values on Page 5 3 The Set Features command with Feature register CCh enables the device to revert these parameters to the power on defaults 4 In the case of sleep mode the device goes to standby mode In other case the device does not change current mode 5 According to the initial power mode selection 6 See 5 15 Software Setting Preservation feature Figure 5 Reset Response Table 12 1 4 Register Initialization After power on COMRESET or software reset the register values are initialized as shown in the following table Register Default Value Diagnostic Code Status 48 167 Travelstar 5K160 SATA Hard Disk Drive Specification Alternate Status 50h Figure 6 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 03h Sector buffer error Controller microprocessor error Figure 7 Diagnostic Codes 12 2 Diagnostic and Reset considerations The Set Max password the Set Max security mode and the Set Max unlock counter don t retain over a Power On Reset but persist over a COMRESET or Soft Reset For each Reset and Execute Device Diagnostic the Diagnostic is done as follows Execute Device Diagnostic In all the above cases Power on COMRESET Soft reset and the EXECUTE DEVICE DIAGNOSTIC command the Error register is
54. no special care to use this device for normal use 3 Advanced usage using protected area The data in the protected area is accessed by following Issue Read Native Max Address command to get the real device max LBA CYL Returned value shows that native device Max LBA is OFFFFFh regardless of the current setting Make entire device be accessible including the protected area by setting device Max LBA as OFFFFFh via Set Max Address command with volatile option By using this option unexpected power removal or reset will not make the protected area remained accessible Read information data from protected area Issue POR to inhibit any access to the protected area 61 167 Travelstar 5K160 SATA Hard Disk Drive 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 The password is retained by the device until the next power cycle When the device accepts this command the device is in Set Max Unlocked mode Content Reserved Password 32 bytes Figure 16 Set Max Set Password data content The Set Max Lock comman
55. of the first unrecoverable error 157 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 52 Write Multiple FUA Ext CEh Command Block Output Registers Command Block Input Registers Register ___ v e s J4 s 2 r o Reise Peish To Dias a See Below Pei ET Sector Count Es CO eT Previous VV V V v VT T T T T 1 1 Current V KACA NA KA A DA TE ee eee Previous Vv v v vIv v v Current an eeen v Previous Vv v v vIv v v x sm Esame IV IV IV possc viv Es viv v caren VIV TT RR O Error Register i Status Register See Below IV Previous E Ee rs eas crc UNC o IDN 0 ABT Fro ws BST xov or DSC ps cox rs 0 9 peor o zo v pos pco o EJ Figure 107 Write Multiple FUA Ext Command CEh The Write Multiple FUA Ext command transfers one or more sectors from the host to the device then the data is written to the disk media This command provides the same function as the Write Multiple Ext command except that the transferred data shall be written to the media before the ending status for this command is reported also when write caching is enabled Output Parameters To The Device Sector Count Current The number of con
56. of the log to be read high order bits 15 8 Log Content Feature set Type address 00h Log directory N A Read Only 03h Extended Comprehensive SMART SMART error ReadOnly error log logging 07h Extended SMART self test log SMART self test Read Only 10h Command Error Native Command Read Only Queuing 11h Phy Event Counter Phy Event Counter Read Only 80h 9Fh Host vendor specific SMART Read Wri te Figure 50 Log address definition 98 167 Travelstar 5K160 SATA Hard Disk Drive Specification The Extended SMART self test log sector shall support 48 bit and 28 bit addressing All 28 bit entries contained in the SMART self test log sector shall also be included in the Comprehensive SMART self test log sector with the 48 bit entries If the feature set associated with the log specified in the Sector Number register is not supported or enabled or if the values in the Sector Count Sector Number or Cylinder Low registers are invalid the device shall return command aborted 14 16 1 General purpose Log Directory Figure 51 defines the 512 bytes that make up the General Purpose Log Directory Offset General Purpose Logging Version 00h 02h umber of sectors in the log at log address Olh 7 0 umber of sectors in the log at log address Olh 15 8 03h umber of sectors in the log at log address 02h 7 0 04h umber of sectors in the log at log address 02h 15 8 05h umber of sectors in the log at log
57. programs programming or services that are not announced in your country Such references or information must not be construed to mean that Hitachi intends to announce such Hitachi products programming or services in your country Technical information about this product is available by contacting your local Hitachi Global Storage Technologies representative or on the Internet at http www hitachigst com Hitachi Global Storage Technologies may have patents or pending patent applications covering subject matter in this document The furnishing of this document does not give you any license to these patents OCopyright Hitachi Global Storage Technologies Note to U S Government Users Documentation related to restricted rights Use duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with Hitachi Global Storage Technologies 2 167 Travelstar 5K160 SATA Hard Disk Drive Specification Table of Contents aine AE aa tv edic vee vv E oed T INTRODUCTION Certes eot eve ee cos eet eese eye ev Deae eoe le Toe Ce ue eeu Mle AbbEeviatiOli sett stent este sistat t eed L2 Referentes 1 87 General caution i Aer ETRURIAE OIN UR RI E IE 1 4 Drive handling precautions ne nnns nennen 2 OUTEINE OFTHE DRIVE
58. sectors are transferred through the Data Register 16 bits at a time The host initializes a slave DMA channel prior to issuing the command The data transfers are qualified by DMARQ and are performed by the slave DMA channel The device issues only one interrupt per command to indicate that data transfer has terminated and status is available If an uncorrectable error occurs the read will be terminated at the failing sector Output Parameters To The Device Sector Count Current The number of sectors to be transferred low order bits 7 0 Sector Count Previous The number of sectors to be transferred 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 Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 96 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 15
59. shown in the following table Device 0Passed EnorRegisier Olh Oxh Where x indicates the appropriate Diagnostic Code for the Power on COMRESET Soft reset or Device Diagnostic error Figure 8 Reset error register values 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 tandby Standby immediate Sleep UL means unload Comp means complete Figure 9 Device s behavior by ATA commands Load unload is also invoked as one of the idle modes of the drive The specified start stop life of the product assumes that load unload is operated normally NOT in emergency mode 49 167 Travelstar 5K160 SATA Hard Disk Drive Specification 12 3 2 Emergency unload When HDD power is interrupted while the heads are still loaded the microcode cannot operate and the normal 5V power is unavailable to unload the heads In this case normal unload is not possible so the heads are unloaded by routing the back EMF of the spinning motor to the voice coil The actuator velocity is greater than the normal case and the unload process is inherently less controllable without a normal seek current profile Emergency unload is intended to be invoked in rare situations Because this operation is inherently uncontrolled it is more mechanically stressful than
60. the Travelstar 5K160 comply with IEC 60950 1 2001 6 9 3 German Safety Mark All models of the Travelstar 5K160 are approved by TUV on Test Requirement EN 60950 1 2001 but the GS mark has not been obtained 6 9 4 Flammability The printed circuit boards used in this product are made of material with a UL recognized flammability rating of V 1 or better The flammability rating is marked or etched on the board All other parts not considered electrical components are made of material with a UL recognized flammability rating of V 1 or better except minor mechanical parts 6 9 5 Secondary circuit protection This product utilizes printed circuit wiring that must be protected against the possibility of sustained combustion due to circuit or component failures as defined in C B 2 4700 034 Protection Against Combustion Adequate secondary over current protection is the responsibility of the using system The user must protect the drive from its electrical short circuit problem A 10 amp limit 1s required for safety purpose 6 10 Packaging Drives are packed in ESD protective bags and shipped in appropriate containers 6 11 Substance restriction requirements The product complies with the Directive 2002 95 EC of the European Parliament on the restrictions of the use of the certain hazardous substances in electrical and electronic equipment RoHS 38 167 Travelstar 5K160 SATA Hard Disk Drive Specification 7 Electrical interface speci
61. the device no longer supports the indicated command mode or feature set If a bit is set in the overlay transmitted by the device that is not set in the overlay received from a DEVICE CONFIGURATION IDENTIFY command no action is taken for that bit The format of the overlay transmitted by the device is described in the table at next page The restrictions on changing these bits are described in the text following that table If any of the bit modification restrictions described are violated or any setting is changed with DEVICE CONFIGURATION SET command the device shall return command aborted At that case error reason code is returned to sector count register invalid word location is returned to LBA High register and invalid bit location is returned to LBA Mid register The Definition of error information is shown on the next page ERROR INFORMATION EXAMPLE 1 After establish a protected area with SET MAX address if a user attempts to execute DC SET or DC RESTORE device abort that command and return error reason code as below LBA High 03h word 3 is invalid LBA Mid 00h this register is not assigned in this case Sector count 06h Protected area is now established ERROR INFORMATION EXAMPLE 2 When device is enabled the Security feature set if user attempts to disable that feature device abort that command and return error reason code as below LBA High 07h word 7 is invalid LBA Mid 08h bit 3 is invalid Sector co
62. to read the data and does not check the data using ECC Whatever is read is returned to the host Output Parameters To The Device Sector Count The number of continuous sectors to be transferred The Sector Count must be set to one LBA Low The sector number of the sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 LBA High Mid The cylinder number of the sector to be transferred L 0 In LBA mode this register contains LBA bits 8 15 Mid 16 23 High L 1 H The head number of the sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 L 1 R The retry bit but this bit is ignored Input Parameters From The Device Sector Count The number of requested sectors not transferred LBA Low The sector number of the transferred sector L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid The cylinder number of the transferred sector L 0 In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H The head number of the transferred sector L 0 In LBA mode this register contains current LBA bits 24 27 L 1 It should be noted that the device internally uses 52 bytes of ECC data on all data written or read from the disk The 4 byte mode of operation is provided via an emulation It is reeommended that for testing the effectiveness and integrity of the devices ECC functions that the 52 byte ECC mode should be used
63. unload position See section 6 6 4 Nonoperating shock on page 36 for additional details 33 167 Travelstar 5K160 SATA Hard Disk Drive 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 1 Random vibration The test consists of 30 minutes of random vibration using the power spectral density PSD levels below The vibration test level is 6 57 m sec RMS Root Mean Square 0 67 G RMS Random vibration PSD profile Breakpoint 500 4 8 x E 2 3 7 7 x E 1 2 Table 17 Random vibration PSD profile breakpoints operating 6 5 1 2 Swept sine vibration Swept sine vibration zero to peak 5 to Sweep rate oct min 500 to 5 Hz sine wave 9 8 1 5 500 Hz Table 18 Swept sine vibration 34 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 5 2 Nonoperating vibration 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 perpend
64. will be preserved in the device s Attribute Data Sectors If the device 1s re enabled these Attribute Values will be updated as needed upon receipt of a S M A R T Read Attribute Values or S M A R T Save Attribute Values command 14 40 1 10 S M A R T Return Status Subcommand DAh This command is used to communicate the reliability status of the device to the host s request Upon receipt of the S M A R T Return Status subcommand the device asserts BSY saves any updated Attribute Values to the reserved sector and compares the updated Attribute Values to the Attribute Thresholds If the device does not detect a Threshold Exceeded Condition or detects a Threshold Exceeded Condition but involving attributes are advisory the device loads 4Fh into the LBA Mid register C2h into the LBA High register If the device detects a Threshold Exceeded Condition for prefailure attributes the device loads F4h into the LBA Mid register 2Ch into the LBA High register Advisory attributes never result in negative reliability condition 14 40 1 11 S M A R T Enable Disable Automatic Off Line Subcommand DBh This subcommand enables and disables the optional feature that cause the device to perform the set of off line data collection activities that automatically collect attribute data in an off line mode and then save this data to the device s non volatile memory This subcommand may either cause the device to automatically initiate or resume performanc
65. 0 Device Attribute iEn Off line data collection status AY eD Self test execution status BY e eD Total time in seconds to complete off line data collection actviyy 2 16 2 Current segment pointer Off line data collection capability 0 1Bh SMART capablity HD 5 device error logging capability Self test failure check point f i3 Shor self test completion ime imminates f 104 6 Extended self test completion time in minutes 1 5n C2 Reserved d Vendor specific SP d 03 Data structure checksum PHY a Ce 1 See following definitions 2 Value varied by actual operating condition 3 Filled with 00h Figure 83 Device Attribute Data Structure 1 1 1 14 40 2 1 Data Structure Revision Number The Data Structure Revision Number identifies which version of this data structure is implemented by the device This revision number will be set to 0005h This revision number identifies both the Attribute Value and Attribute Threshold Data structures 138 167 Travelstar 5K160 SATA Hard Disk Drive 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 Offset Olh Description Attribute ID Number
66. 00h Customer usable device size 528 482 304 byte 528MB Customer usable sector count 1 032 192 LBA range for protected area OFCOO0h to OFFFFFh Shipping HDDs from HDD manufacturer When the HDDs are shipped from HDD manufacturer the device has been tested to have a capacity of 536 flagging the media defects not to be visible by system 1 Preparing HDDs at system manufacturer Special utility software is required to define the size of protected area and store the data into it The sequence is Issue Read Native Max Address command to get the real device max of LBA CYL Returned value shows that native device Max LBA is OFFFFFh regardless to the current setting Make entire device be accessible including the protected area by setting device Max LBA as OFFFFFh via Set Max Address command The option could be either nonvolatile or volatile Test the sectors for protected area LBA gt OFCOO00h if required Write information data such as BIOS code within the protected area Change maximum LBA using Set Max Address command to OFBFFFh with nonvolatile option From this point the protected area cannot be accessed until next Set Max Address command is issued Any BIOSes device drivers or application software access the HDD as if that is the 528MB device because the device acts exactly same as real 528MB device does 2 Conventional usage without system software support Since the HDD works as 528MB device there is
67. 041 885 696 120 034 123 776 Bytes Description HTS541680J9SA00 HTS541660J9SA00 HTS541640J9SA00 Physical Layout Bytes per Sector 512 512 512 Sectors per Track 480 1272 480 1272 480 1272 Number of Heads 1 Number of Disks 1 Logical Layout Number of Heads 16 Number of Sectors 63 Track Number of Cylinders 16 383 16 383 Number of Sectors 156 301 488 117 210 240 78 140 160 Total Logical Data 80 026 361 856 60 011 642 880 40 007 761 920 Bytes Table 1 Formatted capacity by model number 16 167 Travelstar 5K160 SATA Hard Disk Drive Specification 4 2 Data sheet 1058 Rotational Speed RPM 5400 5400 5400 Data transfer rates Max 540 466 540 buffer to from media Mbps Data transfer rates Mbyte sec 100 100 100 ULTRA DMA 100 Recording density Kbit mm Max 30 2 35 5 Max 769 902 769 902 Track density ktrack mm j 5 7 5 0 5 7 KTPI 146 Areal density Kbit sq mm Max 203 8 Gbit sq inch Max 131 5 Number of zones 24 Table 2 Data sheet 4 9 Cylinder allocation Data format is allocated by each head characteristics Typical format is described below 80GB p format Oylinder No of Sectors Trk gt 6067 1116 9101 1104 13245 1080 17389 1056 21163 1032 26713 1008 d 29747 984 2 33891 960 gt 38035 936 2 42179 912 a 45583 888 49727 54537 828 57201 816 60605 792 64675 7
68. 1 3 Ji i a prr pepper prp eap qae EE Write ERER Command 30h 3 it The Write Sector s command transfers one or more sectors from the host to the device the data is written to the disk media then The sectors are transferred through the Data Register 16 bits at a time If an uncorrectable error occurs the auto reassign function is disable Output Parameters To The Device Sector Count will be transferred the write will be terminated at the failing sector when The number of continuous sectors to be transferred If zero is specified then 256 sectors LBA Low The sector number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 LBA High Mid The cylinder number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 8 15 Mid 16 23 High L 1 H The head number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 Lz1 R The retry bit but this bit is ignored Input Parameters From The Device Sector Count The number of requested sectors not transferred This will be zero unless an unrecoverable error occurs LBA Low The sector number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid The cylinder number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 8 15
69. 34 Signal definitions ener eterne 40 SIDE 132 Specification este Ie cette eee Io Ete eae ee TREE 25 Standby 147 Standby 4e retient rie t ERE Re CREER PRA Rc E 51 TEE 47 165 167 Travelstar 5K160 SATA Hard Disk Drive Specification T Tetnperatute POR ERE 25 Timeout values eret ete Debe 161 TUM ES Hides 161 Transition tte eei et meet eo ed Ts 53 U UL approval todas oe et 38 V VAD oM e o A DUM UD M Mod ues DM MELDE ER 34 W Weight 32 Write Butter toto tese toc elo ede 149 Write Cache function 63 166 167 Travelstar 5K160 SATA Hard Disk Drive Specification Copyright Hitachi Global Storage Technologies Hitachi Global Storage Technologies 5600 Cottle Road San Jose CA 95193 Produced in the United States 07 06 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 References in this publication to Hitachi Global Stora
70. 6 Physical dimensions and weight 6 42 Mounting hole locations The mounting hole locations and size of the drive are shown below 1002 026 018 REF BREATHER HOLE D 7 5 a_i i a re ils ar iO WwW DETAIL B SCALE 2 1 NOTE 1 CONNECTOR PROTRUSION NOT TO BE INCLLCED IN THESE CEMENSIONS Figure 2 Mounting hole locations 32 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 4 3 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 Thus a drive formatted in a horizontal orientation will be able to run vertically and vice versa The recommended mounting screw torque is 0 3 0 05 Nm The recommended mounting screw depth is 3 0 0 3 mm for bottom and 3 5 0 5 mm for horizontal mounting The user is responsible for using the appropriate screws or equivalent mounting hardware to mount the drive securely enough to prevent excessive motion or vibration of the drive at seek operation or spindle rotation 6 4 44 Load unload mechanism The head load unload mechanism is provided to protect the disk data during shipping movement or storage Upon power down a head unload mechanism secures the heads at the
71. 6 Read Long sce teet noe eee DERE E 104 Read Native Max ADDRESS 108 Re d 110 Read Verify SeCtot re e eec ed enn 112 Recalibrate peer rte rds 114 Referenc s eee elo oes rete cecus eiue aeree 12 Register initialization 22 nnne 48 c D 44 Registers EPOR IRI RIMIS 44 R liability acacia states dila odd ottenuto facts 29 Reset respons 48 S SMART Function idet e I erret nee Piet euet 54 Nr MEC Y 38 Secondary circuit protection 35 Security Disable Password 2 115 security Erase Unit 4 5 5 eed oes IRR e ceres pa tee ede in 117 Security Set Password 120 Security Unlock re rrr Renee 122 DECK er UC ys 123 Seek Overlap se oet dais ee iot e ee Seed altace 63 Seek time AVETAGS MM DE E 19 jullliciq cA EE 19 singletrack eh 19 Sens Condition UC 124 Service life Lue e ee e ei ii a i a 29 Set Featufes tede Rete e e et tese ree EERENS 125 Set Max ADDRESS 127 Set Max ADDRESS EXT certet nente ener eterne enne 129 Set Multiple etre e err te ERE ERU HERE aetna 131 SOCK quM PD S
72. 60 SATA Hard Disk Drive Specification 4 4 2 Mechanical positioning 4 4 2 1 Average seek time including settling 14 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 nominal environmental and voltage conditions Max Maximum value measured on any one drive over the full range of the environmental and voltage conditions See section 6 1 Environment on page 23 and section 6 2 DC power requirements on page 25 The seek time is measured from the start of motion of the actuator to the start of a reliable read or write operation A reliable read or write operation implies that error correction recovery is not employed to correct arrival problems The Average Seek Time is measured as the weighted average of all possible seek combinations max X max 1 TNout Weighted Average max 1 max Where max maximum seek length n seek length 1 to max Thi inward measured seek time for an n track seek Tho outward measured seek time for an n track seek 4 4 2 2 Full stroke seek Command Type Typical ms Max ms Read 20 0 25 0 Write 21 0 26 0 Table 6 Full stroke seek time Full stroke seek time in milliseconds is the average time of 1000 full stroke seeks 4 4 2 3 Single track seek time without command overhead including
73. 68 68079 744 72593 720 74887 696 7 78661 672 82435 648 85099 624 87763 600 i 90575 576 DOP DOPE N PO CO O1 A CO PO N Table 3 Cylinder allocation 17 167 Travelstar 5K160 SATA Hard Disk Drive 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 This specification does not include the system throughput as this is dependent upon the system and the application The following table gives a typical value for each parameter The detailed descriptions are found in section 5 0 Average Random Seek Time Read ms Average Random Seek Time Write ms Rotational Speed RPM Power on to ready sec Command overhead ms Disk buffer data transfer Mb s max Buffer host data transfer Gbit s max Table 4 Performance characteristics 4 4 1 Command overhead Command overhead time is defined as the interval from the time that a drive receives a command to the time that the actuator starts its motion 18 167 Travelstar 5K1
74. A High Mid The cylinder number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H The head number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 24 27 L 1 112 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 25 Read Verify Sector s Ext 42h Command Block Output Registers Command Block Input Registers Register v e s 4 s 2 r o Resister v e s a s o s o EE pep SEE a T p ERS ee ee See Below eios T T T T T 1 Sector Count Es OO Deme Pew v Iv Iv vv Iv INT T T T 1 1 AA A DA CA NA pm EE DACA NA v ERR eane ofo AE pen fofi See Below B o Error Regis ET Saas Register 7T TISLALLEILLISALLLELLCLD ILZLLLL cac UNC o ix 0 er amn pr bsc ERR o T v LoT v L9 v HD HL 1 Figure 61 Read Verify Sector s Ext Command 42h The Read Verify Sector s Ext verifies one or more sectors on the device No data is transferred to the host The difference between the Read Sector s Ext command and the Read Verify Sector s Ext command 1s whether the data 1s transferred to the
75. BA addressed sector sector 0 being the same sector as the first logical CHS addressed sector cylinder 0 head 0 sector 1 Irrespective of the logical CHS translation mode currently in effect the LBA address of a given logical sector does not change The following is always true LBA cylinder heads per cylinder heads sectors per track sector 1 where heads per cylinder and sectors per track are the current translation mode values On LBA addressing mode the LBA value is set to the following register Device LBA bits 27 24 LBA High LBA bits 23 16 LBA Mid lt LBA bits 15 8 LBA Low LBA bits 7 0 12 5 Power Management Feature The power management feature set permits a host to modify the behavior in a manner which reduces the power required to operate The power management feature set provides a set of commands and a timer that enables a device to implement low power consumption modes HTS5416XXJ98A00 implement the following set of functions A Standby timer Idle command Idle Immediate command Sleep command Standby command Standby Immediate command 12 5 1 Power Mode racc Sleep Mode The lowest power consumption when the device is powered on occurs in Sleep Mode When in sleep mode the device requires a reset to be activated Standby Mode The device interface is capable of accepting commands but as the media may not immediately accessible there is a delay while wai
76. BSY 0 ERR 1 ABT 1 If an uncorrectable error occurs the device will set BSY 0 and ERR 1 store the error status in the Error Register The registers will contain the location of the sector in error The errored location will be reported with CHS mode or LBA mode The mode is decided by mode select bit bit 6 of Device register on issuing the command All data transfers to the device through the Data Register are 16 bits except for the ECC bytes which are 8 bits 13 3 Non Data Commands These commands are Check Power Mode Device Configuration Freeze Lock Device Configuration Restore Execute Device Diagnostic Flush Cache Flush Cache Ext Format Unit Idle Idle Immediate Initialize Device Parameters Read Native Max Address Read Native Max Address Ext Read Verify Sector s Read Verify Sector s Ext Recalibrate Security Erase Prepare Security Freeze Lock Seek Sense Condition Set Features Set Max Address Set Max Address Ext Set Max Lock Set Max Freeze Lock Set Multiple Mode 67 167 Travelstar 5K160 SATA Hard Disk Drive Specification Sleep S M A R T Disable Operations S M A R T Enable Disable Attribute Autosave S M A R T Enable Disable Automatic Off line S M A R T Enable Operations S M A R T Execute Off line Immediate S M A R T Return Status S M A R T Save Attribute Values Standby Standby Immediate Execution of these commands involves no data transfer 13 4 DMA Data Transfer Commands These
77. CHE command supported Configuration Overlay supported r3 9 1 Acoustic Management enabled ERE 05 8 x I SET MAX security extension enabled tU IssET FEATURES subcommand required to 5 x 1 Power Up In Standby feature set has been enabled via the SET FEATURES command 4 20 1 Removable Media Status Notification Feature Set 87 167 Travelstar 5K160 SATA Hard Disk Drive Specification 3 x IZAdvanced Power Management Feature Set enabled 2 20 IZCFA Feature Set supported i supported TEN Command set feature enabled 15 Co MCI 13 0 1 IDLE IMMEDIATE with UNLOAD FEATURE supported Uc d EXT and WRITE STREAM EXT di EXT and READ STREAM EXT TEN supported es FUA EXT command supported ges 4 2 20 Reserved TED TE 14 0 IZUItraDMA mode 6 is selected 13 zx 1 UltraDMA mode 5 is selected 12 zx IZUItraDMA mode 4 is selected 11 x TUItraDMA mode 3 is selected 10 x 1 UltraDMA mode 2 is selected 9 x 1 UltraDMA mode 1 is selected 8 x 1 UltraDMA mode 0 is selected 7 20 Reserved 6 20 IZUItraDMA mode 6 is supported 5 21 1 UltraDMA mode 5 is supported 4 21 1 UltraDMA mode 4 is supported 5 1 UltraDMA mode 3 is supported 2 1 ItraDMA mode 2 is supported z1 1 UltraDMA mode 1 is supported 0 z1 1 UltraDMA mode 0 is supported Note 1 The mark in
78. Drive Specification 14 32 Security Unlock F2h Command Block Output Registers Command Block Input Registers TT Register Daa Teama LBA Hien Device Status Register 1 T3 1 173 TON IDX NN N Re Pee eo Figure 71 Security Unlock Command F2h This command unlocks the password and causes the device to enter device unlock mode If COMRESET with Software Setting Preservation disable or power on reset is done without executing the Security Disable Password command after this command is completed the device will be in device lock mode The password has not been changed yet The Security Unlock command requests to transfer a single sector of data from the host including information specified in Security Unlock Information on Page 5 If the Identifier bit is set to master and the file is in high security mode then the password supplied will be compared with the stored master password If the file is in maximum security mode then the security unlock will be rejected If the Identifier bit is set to user then the file compares the supplied password with the stored user password If the password compare fails then the device returns an abort error to the host and decrements the unlock attempt counter This counter is initially set to 5 and is decremented for each password mismatch When this counter re
79. EN F8h This command returns the native max LBA CYL of HDD which is not effected by Set Max Address command The 48 bit native max address 1s greater than 268 435 455 the Read Native Max Address command return a value of 268 435 455 Output Parameters To The Device L LBA mode Indicates the addressing mode L 0 specifies CHS mode and L 1 does LBA addressing mode D The device number bit Indicates that the device number bit of the Device Register should be specified D 0 selects the master device and D 1 selects the slave device Indicates that the bit is not used Input Parameters From The Device LBA Low In LBA mode this register contains native max LBA bits 0 7 L 1 In CHS mode this register contains native max LBA Low L 0 LBA High Mid In LBA mode this register contains native max LBA bits 8 15 Mid 16 23 High L 1 In CHS mode this register contains native max cylinder number L 0 H In LBA mode this register contains native max LBA bits 24 27 L 1 In CHS mode this register contains native max head number L 0 V Valid Indicates that the bit is part of an input parameter and will be set to 0 or 1 by the device Indicates that the bit is not used 108 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 21 Read Native Max Address Ext 27h Command Block Output Registers J Command Block Input Registers Ru A e ee Be DELE E BL Dat
80. Fh Figure 56 Extended Self test log data structure These descriptor entries are viewed as a circular buffer The nineteenth self test shall create a descriptor entry that replaces descriptor entry 1 The next self test after that shall create a descriptor entry that replaces descriptor entry 2 etc All unused self test descriptors shall be filled with zeros 14 16 3 1 Self test log data structure revision number The value of this revision number shall be O1h 14 16 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 16 3 3 Extended Self test log descriptor entry The content of the self test descriptor entry is shown below Description Offset Self test number 00h Self test execution status Olh Power on life timestamp in hours 02h Self test failure check point 04h Failing LBA 7 0 05h Failing LBA 15 8 06h Failing LBA 23 16 07h Failing LBA 31 24 08h Failing LBA 39 32 09h Failing LBA 47 40 OAh Vendor specific OBh Figure 57 Extended Self test log descriptor entry 14 16 4 Command Error Figure 58 defines the format of the Command Error data structure Byte LT NL a ih Sede n 578 1g 0 TAG 1 Reserved 2 Status 3 Error 4 LBA Low 5 LBA Mid 102 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 LBA
81. HS Addressing Mode and LBA Addressing Mode as the sector addressing mode The host system may select either the currently selected CHS translation addressing or LBA addressing a command by command basis by using the L bit in the DEVICE register So a host system must set the L bit to 1 if the host uses LBA Addressing mode 12 4 1 Logical CHS Addressing Mode The logical CHS addressing is made up of three fields the cylinder number the head number and the sector number Sectors are numbered from 1 to the maximum value allowed by the current CHS translation mode but can not exceed 255 0FFh Heads are numbered from 0 to the maximum value allowed by the current CHS translation mode but can not exceed 15 0Fh Cylinders are numbered from 0 to the maximum value allowed by the current CHS translation mode but cannot exceed 65535 0FFFFh When the host selects a CHS translation mode using the INITIALIZE DEVICE PARAMETERS command the host requests the number of sectors per logical track and the number of heads per logical cylinder The device then computes the number of logical cylinders available in requested mode 50 167 Travelstar 5K160 SATA Hard Disk Drive Specification The default CHS translation mode is described in the Identify Device Information The current CHS translation mode also 1s described in the Identify Device Information 12 4 2 LBA Addressing Mode Logical sectors on the device shall be linearly mapped with the first L
82. High 7 Device 8 LBA Low Previous 9 LBA Mid Previous 10 LBA High Previous 11 Reserved 12 Sector Count 13 Sector Count Previous 14 255 Reserved 256 510 Vendor Unique 511 Data Structure Checksum Figure 58 Command Error information The TAG field Byte 0 bits 4 0 contains the tag number corresponding to a queued command if the NQ bit 1s cleared The NQ field Byte 0 bit 7 indicates whether the error condition was a result of a non queued or not If it is cleared the error information corresponds to a queued command specified by the tag number indicated in the TAG field The bytes 1 to 13 correspond to the contents of Shadow Register Block when the error was reported The Data Structure Checksum Byte 511 contains the 2 s complement of the sum of the first 511 bytes in the data structure The sum of all 512 bytes of the data structure will be zero when the checksum is correct 14 16 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 14 16 5 1 Counter Reset Mechanisms There are 2 mechanisms by which the host can explicitly cause the Phy counters to be reset The first mechanism is to issue a BIST Activate FIS to the drive The second mechanism uses the Read Log Ext command When the drive receives a Read Log Ext
83. In LBA mode this register contains LBA bits 24 27 L 1 R The retry bit but this bit is ignored Input Parameters From The Device Sector Count The number of requested sectors not transferred This will be zero unless an unrecoverable error occurs LBA Low The sector number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid The cylinder number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H The head number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 24 27 L 1 150 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 45 Write DMA Ext 35h Command Block Output Registers Command Block Input Registers Register 7fefs4 s 2 fi o Resister v e s a s o t o 1 Daton ee See Below eios T T T T T 1 Sector Count Es OO Deme Pew v Iv Iv vv Iv INT T T T 1 1 AA A DA CA NA pm EE DACA NA Y ERR x pei V V LBA High pen LBA High V Eon Device ommand o offi fofa See Below Eror Regis ET Satu Register 7T TL cac UNC o ix 0 er amn pr DSC ERR v 9 1 v T9 v H9
84. L CH Ere PUES ee We sy Pret eee PEE Cosa PETRA PORE TUREEORERUS 18 11 eere ERE PAN E ERE ERA Ie u ge T ee ene e Eva eai eet ie 13 2 Data Qut Commands eere eee de 18 3 None Data Commatids s si ibn er ESI 13 4 DMA Data Transfer 13 5 First parity DMA T4 COMMAND DESGRIPTIONS dece tote eee metes lovee eo ee rede eng 141 Check Power Mode E5H 98h ccccccccccccescesccescesscesceseesescsecsscsscesessecssscsscescesecssceesensesseeseeats 14 2 Device Configuration Overlay B1h cccccccccscsscssesscecseescescsecseesecsecsecsecscasssceassassecseessease 143 Execute Device Diagnostic 90h ccccccescessesesseseescesecseesceacsecsecseesecsecseesesassscsecacsecaeesseassaes 14 4 Flush Cached Byh oiov p At tatum RE 14 5 Plush Cache Ixt BAT v oer tt ital tee A esee eet dede eet te 14 6 Format Track 50h Vendor Specific ccccccccccscesccsscesscesesscesscsseeseesseescesscsscescessesesessesseeseeaes 14 7 Format Unit F7h Vendor Specific sese ener 14 8 Identify Device ECh ssesessseeeeeeeee tenente trennen TA Te CHI GTI a M et ie 14 10 Idle Tmmediate ETIh OBED octets sett re fefc
85. LBA High Device Status Figure 46 Read DMA Command C8h C9h The Read DMA command reads one or more sectors of data from disk media then transfers the data from the device to the host The sectors are transferred through the Data Register 16 bits at a time The host initializes a slave DMA channel prior to issuing the command The data transfers are qualified by DMARQ and are performed by the slave DMA channel The device issues only one interrupt per command to indicate that data transfer has terminated and status is available If an uncorrectable error occurs the read will be terminated at the failing sector Output Parameters To The Device Sector Count The number of continuous sectors to be transferred If zero is specified then 256 sectors will be transferred LBA Low The sector number of the first sector to be transferred L 0 In LBA mode this register specifies LBA address bits 0 7 to be transferred L 1 LBA High Mid The cylinder number of the first sector to be transferred L 0 In LBA mode this register specifies LBA address bits 8 15 Mid 16 23 High to be transferred L 1 H The head number of the first sector to be transferred L 0 In LBA mode this register specifies LBA bits 24 27 to be transferred L 1 R The retry bit but this bit is ignored Input Parameters From The Device Sector Count The number of requested sectors not transferred This will be zero unless an unrecoverable error oc
86. Output Parameters To The Device Sector Count The number of continuous sectors to be transferred The Sector Count must be set to one LBA Low The sector number of the sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 LBA High Mid The cylinder number of the sector to be transferred L 0 In LBA mode this register contains LBA bits 8 15 Mid 16 23 High L 1 H The head number of the sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 L 1 R The retry bit but this bit is ignored Input Parameters From The Device Sector Count The number of requested sectors not transferred LBA Low The sector number of the sector to be transferred L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid The cylinder number of the sector to be transferred L 0 In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H The head number of the sector to be transferred L 0 In LBA mode this register contains current LBA bits 24 27 L 1 The file internally uses 52 bytes of ECC on all data read or writes The 4 byte mode of operation is provided via an emulation technique As a consequence of this emulation it is recommended that 52 byte ECC mode is used for all tests to confirm the operation of the files ECC hardware Unexpected results may occur if such testing is performed using 4 byte mode 155 167 Travels
87. REA ERE VERE RS YER RR YT 12 GENERAL OPERATION DESCRIPTIONS nenne rennen 12 1 Reset Response x ios uiis heredes et ier eee tee desc ipee Potro dee acere de ee e oed dde OR de dee ta 12 2 Diagnostic and Reset considerations cccccccccccssssssssneeeeeceeceesseessseeeeeceeseceesesssaeeeceeeseeesseeags 12 3 Power off 12 4 Sector Addressing Mode ine etie t e 12 5 Power Management Feature i a nennen enne 12 6 Advanced Power Management Adaptive Battery Life Extender 3 Feature 12 7 Interface Power Management Mode Slumber and Partial 12 8 SMART F nction nre ERE EAR E NEG ces Soon ERE eda ea ESTEE ERR KENNT 12 9 Security Mode Feature Set sss eene ennn nnn nn nnne ener nen nnne nnns nennen 12 10 Protected Area Function e aR TAT E 12 12 Write Cache Functions e RENE NER Ee TEE PEE E Ee TTE EU T2 19 Reassign Bunctionz tacet te ER t e tede 12 14 48 bit Address Feature Bet rectis erit HIR 12 15 Software Setting Preservation Feature Set nennen 12 16 Native Command Queuing ccccccsssscccccccssessssesssneeeeeeceeesessesssaeeeeeeesesessesssaeeeeseeseeesseeanea I8 COMMAND PROTOCO
88. Travelstar 5K160 SATA Hard Disk Drive Specification Hitachi Global Storage Technologies HITACHI Inspire the Next Hard Disk Drive Specification Hitachi Travelstar 5K160 2 5 inch SATA hard disk drive Models HTS541616J9SA00 HTS541612J9SA00 HTS541680J9SA00 HTS541660J9SA00 HTS541640J9SA00 Revision 1 2 12 July 2006 1 167 Travelstar 5K160 SATA Hard Disk Drive Specification 1st Edition Revision 1 0 31 May 2006 2nd Edition Revision 1 1 02 June 2006 3rd Edition Revision 1 2 12 July 2006 The following paragraph does not apply to the United Kingdom or any country where such provisions are inconsistent with local law HITACHI GLOBAL STORAGE TECHNOLOGIES PROVIDES THIS PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE Some states do not allow disclaimer or express or implied warranties in certain transactions therefore this statement may not apply to you This publication could include technical inaccuracies or typographical errors Changes are periodically made to the information herein these changes will be incorporated in new editions of the publication Hitachi may make improvements or changes in any products or programs described in this publication at any time It is possible that this publication may contain reference to or information about Hitachi products machines and
89. a freature v v v ene Sector Count 1 J Sector Coun eo bow A Mia esa via Loa High Ba nien Dei 111 ESE Register Status Register IH RR REN EH ERR ER ERE ERE Si al ald a i id inal EN NEN Unit com TU The Format Unit command initializes all user data sectors after merging reassigned sector location into the defect information of the device and clearing the reassign information Both new reassign information and new defect information are available right after this command completion and are also used on next power on reset Both previous information are erased from the device by this command Note that the Format Unit command initializes from LBA 0 to Native MAX LBA Host MAX LBA set by Initialize Drive Parameter or Set MAX ADDRESS command is ignored So the protected area by Set MAX ADDRESS commands is also initialized The security erase prepare command should be completed immediately prior to the Format Unit command If the device receives a Format Unit command without a prior Security Erase Prepare command the device aborts the Format Unit command If Feature register is NOT 11h the device returns Abort error to the host This command does not request to data transfer Output Parameters To The Device Feature Destination code for this command 11H Merge reassigned location into
90. a High ___ Feature E EEEE E See Below PISIS Sector Count 1 Count Bee ESESESESESERIS EX ioB 1 EE Previous Bae prama Em Previous Bae 0 igoB 1 EE ipoB 1 m ees 0 HOB 1 poes ee eee SEE ee d I I IE T p ofi floflofi fifi Pius See Below error Register SCS SCS Register CRC DN o ABT BsY DF DSC DRQ COR IDX ERR Log opo opor gx Figure 595 Read Native Max Address Ext Command 29h This command returns the native max LBA of HDD which is not effected by Set Max Address Ext command Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the Native max address LBA Low HOB 1 LBA 31 24 of the address of the Native max address LBA Mid HOB 0 LBA 15 8 of the address of the Native max address LBA Mid HOB 1 LBA 39 32 of the address of the Native max address LBA High HOB 0 LBA 23 16 of the address of the first Native max address LBA High HOB 1 LBA 47 40 of the address of the first Native max address 109 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 22 Rea
91. a normal unload A single emergency unload operation is more stressful than 100 normal unloads Use of emergency unload reduces the start stop life of the HDD at a rate at least 100X faster than that of normal unload and may damage the HDD 12 8 3 Required power off sequence Problems can occur on most HDDs when power is removed at an arbitrary time Examples Data loss from the write buffer If the drive is writing a sector a partially written sector with an incorrect ECC block results The sector contents are destroyed and reading that sector results in a hard error Heads possibly land in the data zone instead of landing zone depending on the design of the HDD You may then turn off the HDD in the following order 1 Issue Standby Immediate or sleep command 2 Wait until COMMAND COMPLETE STATUS is returned It may take up to 350 ms in typical case 3 Terminate power to HDD This power down sequence should be followed for entry into any system power down state or system suspend state or system hibernation state In a robustly designed system emergency unload is limited to rare scenarios such as battery removal during operation 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 HT85416XXJ98A00 is different from the actual physical CHS location of the data sector on the disk media HTS5416XXJ98A00 support both Logical C
92. aches zero then all password protected commands are rejected until a power off Word Description 00 Controt word ors bytes 17 255 Figure 72 Security Unlock Information Identifier Zero indicates that device regards Password as User Password One indicates that device regards Password as Master Password The user can detect if the attempt to unlock the device has failed due to a mismatched password as this is the only reason that an abort error will be returned by the file AFTER the password information has been sent to the device If an abort error is returned by the device BEFORE the password data has been sent to the file then another problem exists 122 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 33 Seek 7xh Command Block Output Registers Iesse PEELEN pa LET Sector Cou 1 1 1 arw sama Ls High v vIvIv v viv v nie Error Register ze See eae Regier phere pua T I EL Error See Below Ero VIV Status Register ERR ER ERE ERE Si etl d aldo nd d iin al mm ec NEN TT 7xh The Seek command initiates a seek to the designated track and selects the designated head The device need not be formatted for a seek to execute properly Output Parameters To The De
93. address 80h 7 0 1 100h umber of sectors in the log at log address 80h 15 8 1 101h 1 1 umber of sectors in the log at log address FFh 7 0 1FEh 1 2 umber of sectors in the log at log address FFh 15 8 1FFh ES ee Figure 51 General purpose Log Directory The value of the General Purpose Logging Version word shall be 0001h A value of 0000h indicates that there is no General Purpose Log Directory The logs at log addresses 80 9Fh shall each be defined as 16 sectors long 14 16 2 Extended comprehensive SMART error log Figure 52 defines the format of each of the sectors that comprise the Extended Comprehensive SMART error log Error log data structure shall not include errors attributed to the receipt of faulty commands such as command codes not implemented by the device or requests with invalid parameters or in valid addresses SMART error log version 00h Error log index 7 0 1 02h 03h 1st error log data structure 04h 80h 3rd error log data structure FCh 4th error log data structure 124 178h LF4h Reserved 1 1 0 1 o 1F6h 1 Data structure checksum 1 FFh Figure 52 Extended comprehensive SMART error Log 99 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 16 2 1 Error Log version The value of this version shall be 01h 14 16 2 2 Error log index This indicates the error log data structure representing the most recent error If there have
94. and WRITE STREAM EXT 1 URG bit supported for READ STREAM DMA EXT and READ STREAM EXT 1 64 bit World wide name supported 1 WRITE DMA QUEUED FUA EXT command supported 1 WRITE DMA FUA EXT and WRITE MULTIPLE FUA EXT commands supported 1 General Purpose Logging feature set supported 9 0 8 1 7 0 6 1 5 1 4 2 0 l E I ie 770 E EE ET ES ES E m E eserved SMART self test supported SMART error logging supported 74xxH Command set feature enabled bsolete command supported READ BUFFER command supported WRITE BUFFER command supported exerved 0 p Host Protected Area Feature Set supported DEVICE RESET command supported SERVICE interrupt enabled release interrupt enabled look ahead enabled write cache enabled Pf 4 yf supports PACKET Command Feature Se Pf ei supports Power Management Feature Se yf supports Removable Media Feature Set Pf 1 eof eSecurity Feature Setenabied Pf fe MART Feature Set enabled sd Note 1 The mark in Content field indicates the use of those parameters that are vendor specific ll 85 Note 2 The feature marked is able to be unsupported by the Device Configuration Overlay command Figure 37 Identify device information Continued uxt 1 i FLUSH CACHE EXT command supported 12 i FLUSH CA
95. and is reported also when write caching is enabled The sectors of data are transferred through the Data Register 16 bits at a time The host initializes a slave DMA channel prior to issuing the command Data transfers are qualified by DMARQ and are performed by the slave DMA channel The device issues only one interrupt per command to indicate that data transfer has terminated and status is available If an uncorrectable error occurs the write will be terminated at the failing sector Output Parameters To The Device Sector Count Current The number of continuous sectors to be transferred low order bits 7 0 Sector Count Previous The number of continuous sectors to be transferred high order bits 15 8 If zero is specified in the Sector Count register then 65 536 sectors will be transferred LBA Low Current LBA 7 0 LBA Low Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the fir
96. ard Disk Drive Specification General 1 Introduction This document describes the specifications of the HITACHI Travelstar 5K160 a 2 5 inch hard disk drive with Serial ATA interface Drive name Model Number Capacity GB Height Rotation mm speed rpm Travelstar HTS541616J9SA00 160 9 5 5400 5K160 160 Travelstar HTS541612J9SA00 120 9 5 5400 5K160 120 Travelstar HTS541680J9SA00 80 9 5 5400 5K160 80 Travelstar HTS541660J9SA00 60 9 5 5400 5K160 60 Travelstar HTS541640J9SA00 40 9 5 5400 5K160 40 Part 1 of this document beginning on page 5 defines the hardware functional specification Interface specification is separately issued 1 1 Abbreviations Abbreviation Meaning 32 KB 32 x 1024 bytes 64 KB 64 x 1024 bytes inch A amp AC alternating current AT Advanced Technology ATA Advanced Technology Attachment Bels unit of sound power BIOS Basic Input Output System C degrees Celsius CSA Canadian Standards Association C UL Canadian Underwriters Laboratory Cyl cylinder DC direct current DFT Drive Fitness Test DMA Direct Memory Access ECC error correction code EEC European Economic Community EMC electromagnetic compatibility ERP Error Recovery Procedure 9 167 Esd FCC FRU Gb GB GND HDD Hz I ILS imped IO ISO KB Kbit mm Kbit sq mm KHz LBA Lw m max or Max MB Mbps Mb sec MB sec MHz MLC No or oct min O OD PIO POH Travelstar 5K160 SATA Hard Disk Drive Specifi
97. ase Prepare Media access Non Media access command 1 command 1 V M Password Erase Unit Reject Complete Match Password N Match Y V V Enter Device Complete Unlock mode Erase Unit V Lock function Disable V gt Normal operation All commands are available V Freeze Lock command V Enter Device Frozen mode Normal Operation except Set Password Disable Password Erase Unit Unlock commands 1 refer to Figure 14 Command table for device lock operation on page 5 and Figure 15 Command table for device lock operation continued on page 5 Figure 12 Usual Operation 12 9 1 3 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 However the device can be unlocked using the Security Erase Unit command to unlock the device and erase all user data with the Master Password 57 167 Travelstar 5K160 SATA Hard Disk Drive Specification User Password Lost V High LEVEL gt Unlock CMD with Master Password Maximum Erase Prepare Command Erase Unit Command with Master Password v Normal operation but data lost Normal operation Figure 13 Password Lost 12 9 1 4 Attempt limit for SECURITY UNLOCK command The SECURITY UNLOCK command has an
98. ass 14 29 Security Erase Unit F4h oo ccccccccccesccssescsscsecseesecsecseescsscsscsecsscsscsecsecasacseseassasecseesseas Travelstar 5K160 SATA Hard Disk Drive Specification 14 30 Security Freeze Lock F5h cccccccccscssescessescsscsecsecsscsecsecscscsscesseacsecsecsecascsecseescsasecssesenes 14 31 Security Set Password Ell eee ettet et tege eund etes 1432 Security Unlock F2B tt atii i ESTO RE eite Pte itaque cats 14 38 ehe rette eo 14 84 Sense Condition FOh vendor specific ccccccccsescesseescesscssceseeseessecsscsseesceseessecsseeseeseeses 14 85 Set Features EFh o oo eeccescccccsscccescccesccccesscccsscecsessccesacecsscecsenaccesacecsacecsececeesaceesacecsenace 14 86 Set Max Address F9h cccccescccescscesccccesssccsesecsecececsceceseceesecseucecssseceeseceesececstseeesaseenecs 14 87 Set Max Address Ext 37h rsa ae a n e aaa daan Soas an Sae aae toana koae Soes j438 E S EN LOKANA O S nI E E e eite ete es 14 39 Sleep EONO oeaan A ANAN RNA AN E EA TANANAN 14 489 8 MART Function Set 0 deiat d e LNL Ea TEAT Standby E2T 9061 nice ton c e te eR a et Sen dise A dedo eden 14 42 Standby Immediate EOh 94h 0 0 1449 Write Buffer eter Ud uiv 14 44 Write CAh GBh inti tertio I DERI
99. associated with its operation However special care has been taken in the design of the S M A R T algorithms to minimize the impact to host system performance Actual impact of S M A R T overhead is dependent on the specific device design and the usage patterns of the host system To further ensure minimal impact to the user S M A R T capable devices are shipped from the device manufacturer s factory with the S M A R T feature disabled S M A R T capable devices can be enabled by the system OEMs at time of system integration or in the field by aftermarket products 12 8 1 Attributes Attributes are the specific performance or calibration parameters that are used in analyzing the status of the device Attributes are selected by the device manufacturer based on that attribute s ability to contribute to the prediction of degrading or faulty conditions for that particular device The specific set of attributes being used and the identity of these attributes is vendor specific and proprietary 12 82 Attribute values Attribute values are used to represent the relative reliability of individual performance or calibration attributes Higher attribute values indicate that the analysis algorithms being used by 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 fau
100. ata structure 14 40 4 S M A R T Log Directory Figure 95 defines the 512 bytes that make up the S M A R T Log Directory The S M A R T Log Directory is on S M A R T Log Address zero and is defined as one sector long Description Bytes Offset S M A R T Logging Version 2 00h Number of sectors in the log at log address 1 I 02h Reserved 1 03h Number of sectors in the log at log address 2 I 04h Reserved 1 05h Number of sectors in the log at log address 255 1 1FEh Reserved 1 1FFh 512 Figure 88 SMART Log Directory The value of the S M A Logging Version word shall be Olh The logs at log addresses 80 9Fh are defined as 16 sectors long 14 40 5 S M A R T error log sector The following defines the 512 bytes that make up the S M A R T error log sector All multi byte fields shown in these data structures follow the ATA ATAPI 6 specifications for byte ordering Description a oe Errorlogpoimter S is NTemorledamsmeue Bh o I error log 90 16a Device error count Device error count Tg C 1C6h 143 167 Travelstar 5K160 SATA Hard Disk Drive Specification Data structure checksum 1FFh ey 2 Figure 89 S M A R T error log sector 14 40 5 1 S M A R T error log version This value is set to Olh 14 40 5 2 Error log pointer This points the most recent error log data struc
101. aximum queue depth specified by the Word 75 of the Identify Device information LBA Low Current LBA 7 0 LBA Low Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 F FUA bit When the FUA bit is set to 1 the requested data is always retrieved from the media regardless of whether the data are held in the sector buffer or not When the FUA bit is set to 0 the data may be retrieved from the media or from the cached data left by previously processed Read or Write commands Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 97 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 16 Read Log Ext 2Fh Command Block Output Registers T Command Block Input Registers Rene ee Reamer DISSI pee E e 34 44 34 Data High T T pes EEEEELEE IBS Below E v Rector Come Eos
102. cached write commands Then the device is spun down but the interface remains active If the device is already spun down the spin down sequence is not executed During the Standby mode the device will respond to commands but there is a delay while waiting for the spindle to reach operating speed The timer starts counting down when the device returns to Idle mode Output Parameters To The Device Sector Count Timeout Parameter If zero the timeout interval Standby Timer is disabled If other than zero the timeout interval is set for Timeout Parameter x5 seconds When the automatic power down sequence is enabled The device will enter Standby mode automatically if the timeout interval expires with no device access from the host The timeout interval will be reinitialized if there is a device access before the timeout interval expires 147 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 42 Standby Immediate E0h 94h Command Block Output Registers Register 76 5 4 3 2 1 To Data 2 18 28 8 8 Feature __ Sector Count J LBA Low o J I I H J T LBA Hisn J p ee Command 11 0 01 Error Register 5 NOR REOR Command Block Input Registers Register 7 6 5 4 3 2 1 0 Error Sector Count LBA Low LBA Mid LBA High Device TO a ld al Gf ead 975 Imm
103. cation If the device is powered down before the off line scan is completed the off line scan shall resume when the device is again powered up From power up the resumption of the scan shall be delayed the time indicated in the Selective self test pending time field in the Selective self test log During this delay time the pending flag shall be set to one and the active flag shall be set to zero in the Selective self test log Once the time expires the active flag shall be set to one and the off line scan shall resume When the entire media has been scanned the off line scan shall terminate both the pending and active flags shall be cleared to zero and the off line data collection status in the S M A R T READ DATA response shall be set to 02h indicating completion During execution of the Selective self test the self test executions time byte in the Device S M A R T Data Structure may be updated but the accuracy may not be exact because of the nature of the test span segments For this reason the time to complete off line testing and the self test polling times are not valid Progress through the test spans 1s indicated in the selective self test log A COMRESET or software reset shall abort the Selective self test except when the pending bit 1s set to one in the Selective self test log see 7 39 7 The receipt of a S M A R T EXECUTE OFF LINE IMMEDIATE command with OFh Abort off line test routine in the LBA Low register shall abort Selectiv
104. cation electrostatic discharge Federal Communications Commission field replacement unit gravity a unit of force 1 000 000 000 bits 1 000 000 000 bytes ground hexadecimal hard disk drive hertz Input integrated lead suspension impedance Input Output International Standards Organization 1 000 bytes 1 000 bits per mm 1000 bits per square mm kilohertz logical block addressing unit of A weighted sound power meter maximum 1 000 000 bytes 1 000 000 Bit per second 1 000 000 Bit per second 1 000 000 bytes per second megahertz Machine Level Control millimeter millisecond microsecond Newton meter number oscillations per minute Output Open Drain Programmed Input Output power on hours 10 167 Pop P N pp PSD RES RFI RH RH RMS RPM RST R W sec Sect Trk SELV S M A R T Trk TTL UL V VDE W 3 state Travelstar 5K160 SATA Hard Disk Drive Specification population part number peak to peak power spectral density radiated electromagnetic susceptibility radio frequency interference relative humidity per cent relative humidity root mean square revolutions per minute reset read write second sectors per track secondary low voltage Self monitoring analysis and reporting technology track transistor transistor logic Underwriters Laboratory volt Verband Deutscher Electrotechniker watt transistor transistor tristate logic 11 167 Travelstar 5K160 SATA Hard Disk
105. ce enabled the receipt of subsequent S M A R T Enable Operations subcommands will not affect any of the Attribute Values Upon receipt of the S M A R T Enable Operations subcommand from the host the device enables S M A R T capabilities and functions 136 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 40 1 9 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 Note that this subcommand does not preclude the device s power mode attribute autosaving Upon receipt of the S M A R T Disable Operations subcommand from the host the device disables S M A R T capabilities and functions After receipt of the device of the S M A R T Disable Operations subcommand from the host all other S M A R T subcommands with the exception of S M A R T Enable Operations are disabled and invalid and will be aborted by the device including the S M A R T Disable Operations subcommand returning the error code as specified in S M A R T Error Codes on Page 5 Any Attribute Values accumulated and saved to volatile memory prior to receipt of the S M A R T Disable Operations command
106. ction of self test where the device detected a failure 141 167 Travelstar 5K160 SATA Hard Disk Drive 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 This data structure is accessed by the host in its entirety using the S M A R T Read Attribute Thresholds All multi byte fields shown in these data structures follow the ATA ATAPI 6 specification for byte ordering namely that the least significant byte occupies the lowest numbered byte address location in the field The sequence of active Attribute Thresholds will appear in the same order as their corresponding Attribute Values Description Data Structure Revision Number 0010h T Attribute Threshold 30 Attribute Threshold SEH Reserved AJ Vendor specific Ch Data structure checksum tr o 1 See following definitions 2 Value varied by actual operating condition x3 Filled with 00h Figure 86 Device Attribute Thresholds Data Structure 14 40 3 1 Data Structure Revision Number This value is the same as the value used in the Device Attributes Values Data Stru
107. cture 14 40 3 2 Individual Thresholds Data Structure The following defines the 12 bytes that make up the information for each Threshold entry in the Device Attribute Thresholds Data Structure Attribute entries in the Individual Threshold Data Structure is in the same order and correspond to the entries in the Individual Attribute Data Structure Description Format Attribute ID Number 01h to FFh 00h binary Attribute Threshold for comparison with Attribute Values from 00h to FFh binary minimum value for normal operation maximum value for normal operation 00h always passing threshold value to be used for code test purposes 142 167 Travelstar 5K160 SATA Hard Disk Drive Specification invalid for threshold value mE HEN always failing threshold value to be used FFh for code test purposes Reserved 00h 1 Total Bytes 12 Figure 87 Individual Threshold Data Structure 14 40 3 3 Attribute ID Numbers Attribute ID Numbers supported by the device are the same as Attribute Values Data Structures 14 40 3 4 Attribute Threshold These values are preset at the factory and are not meant to be changeable However the host might use S T Write Attribute Threshold subcommand to override these preset values in the Threshold sectors 14 40 3 5 Data Structure Checksum The Data Structure Checksum 1s the 2 s compliment of the result of a simple 8 bit addition of the first 511 bytes in the d
108. curs LBA Low The sector number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid The cylinder number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H The head number of the sector to be transferred L 0 In LBA mode this register contains current LBA bits 24 27 L 1 95 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 14 Read DMA Ext 25h Command Block Output Registers Block Input Register pIpIjRse 5 2 5 2 1 Te p Ee pueros FEEL A pe e Prevos T Sector Count ee OO oe pesos v KA KAKA DA KA KARA op 1 1 Curent Tv viv v v v v v psAtev 0 Curent v pes v V V v vIV V VT pen men Previous TV WIV Error Regis TONG TON pos sv pe BRO COR 29 v L9 LV 19 19 Figure 47 Read DMA Ext Command 25h See Below The Read DMA Ext command reads one or more sectors of data from disk media then transfers the data from the device to the host The
109. d DMA Command C8h C9h Figure 47 Read DMA Ext Command 25h Figure 48 Read FPDMA Queued Command 60h Figure 49 Read Log Ext Command 2Fh Figure 50 Log address definition Figure 51 General purpose Log Directory Figure 52 Extended comprehensive SMART error Log Figure 53 Extended Error log data structure Figure 54 Command data structure Figure 55 Error data structure Figure 56 Extended Self test log data structure Figure 57 Extended Self test log descriptor entry Figure 58 Command Error information Figure 65 Read Native Max Address Ext Command 29h Figure 66 Read Sector s Command 20h 21h 6 167 CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA CA UA UA UA CA CA Travelstar 5K160 SATA Hard Disk Drive Specification Figure 69 Read Verify Sector s Ext Command 42h Figure 70 Recalibrate Command 1xh Figure 71 Security Disable Password Command F6h Figure 72 Password Information for Security Disable Password command Figure 73 Security Erase Prepare Command F3h Figure 74 Security Erase Unit Command F4h Figure 75 Erase Unit Information Figure 76 Security Freeze Lock Command F5h Figure 77 Security Set Password Command F1h Figure 78 Security Set Password Information Figure 79 Security Unlock Command F2h Figure 80 Security Unlock Information Figure 81 Seek Com
110. d Sector s 20h 21h Command Block Output Registers Iesse PEELEN pa Sector Cou sarn 12 M kia e Error Register 5 IEEE 1 0 1 Error See Below i VIVIV Status Register ERR ER ERE ERE i id lin al M PTS ET BENEN The Read Sector s command reads one or more sectors of data from disk media then transfers the data from the device to the host The sectors are transferred through the Data Register 16 bits at a time If an uncorrectable error occurs the read will be terminated at the failing sector Output Parameters To The Device Sector Count will be transferred The number of continuous sectors to be transferred If zero is specified then 256 sectors LBA Low The sector number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 LBA High Mid The cylinder number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 8 15 Mid 16 23 High L 1 H The head number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 L 1 R The retry bit but this bit is ignored Input Parameters From The Device Sector Count unrecoverable error occurs The number of request
111. d The text of the password all 32 bytes are always significant Master Password The Revision Code field is set with Master password If Identifier is User the Revision Revision Code Code is not set The Revision Code field is returned in Identify Device word 92 The valid Revision Codes are 0000h to FFFDh Default Master Password Revision Code is FFFEh FFFFh is reserved The setting of the Identifier and Security level bits interact as follows Identifier User Security level High The password supplied with the command will be saved as the new user password The security mode feature lock function will be enabled from the next power on The file may then be unlocked by either the user password or the previously set master password Identifier Master Security level High This combination will set a master password but will NOT enable the security mode feature lock function Identifier User Security level Maximum The password supplied with the command will be saved as the new user password The security mode feature lock function will be enabled from the next power on The file may then be unlocked by only the user password The master password previously set is still stored in the file but may NOT be used to unlock the device Identifier Master Security level Maximum This combination will set a master password but will NOT enable the security mode feature lock function 121 167 Travelstar 5K160 SATA Hard Disk
112. d allows the host to disable the Set Max commands except Set Max Unlock and Set Max Freeze Lock until the next power cycle or the issuance and acceptance of the Set Max Unlock command When this command is accepted the device is in the Set Max Locked mode The Set Max Unlock command changes the device from the Set Max Locked mode to the Set Max Unlocked mode This command requests a transfer of a single sector of data from the host The figure 16 shown above defines the content of this sector of information The password supplied in the sector of data transferred is compared with the stored Set Max password If the password compare fails then the device returns command aborted and decrements the unlock counter On the acceptance of the Set Max Lock command this counter is set to a value of five and is decremented for each password mismatch when Set Max Unlock is issued and the device is locked When this counter reaches zero then the Set Max Unlock command returns command aborted until a power cycle The Set Max Freeze Lock command allows the host to disable the SET Max commands including Set Max Unlock until the next power cycle When this command is accepted the device is in the Set Max Frozen mode The password the Set Max security mode and the unlock counter don t persist over a power cycle but does persist over a COMRESET or software reset Note that If this command is immediately preceded by a Read Native Max Address command regardle
113. demde 1411 Initialize Device Parameters 91h sssseeeeeeeeeee eene nennen 1419 Head Buffer ca Pb WR PRO YN sig ERN dU ARR TU YS 14 13 Read DNA QC SIUE tee 14 14 Read DMA Ext BB tro rea freu treiben pest E RO Hee SN 14 15 Read FPDMA Queued 60h sse i416 Read Log oet Rn e Rete oA 1447 Read Tong 22 286 Ate th e t tak ve t EOD ARRA ens 14 18 Read Multiple CAM s sese ie oaa eo tei ten i cde atl ded ir pA 14 19 Read Multiple soa Matriti eed duet 14 20 Read Native Max Address F8h cccccccccccesssssssscesscescsscesecsscessesessessscsscssesseessecssesseeseeseents 14 21 Read Native Max Address Ext 27h eene nnne eren nnne 14 22 Read Sector s 20h 21h o eeecececccccccescescescescsscssssecsecssssecsescsscsesssesscsussecsesscsscesessessssesseeaes 14 23 Read Sectors Ext eterne e eee tt ee e e edet 14 24 Read Verify Sector s 40h 41h 14 25 Read Verify Sector s Ext 42h eene nne enne nne 1426 Hecalibrate CUIU coss vero oett UO PO E aW ud fet Ee puer 14 27 Security Disable Password F6h c cccccccccssescsscsscsscsecseescescsscesseacsecsecsecaecsscseeassacsscseesaenes 14 28 Security Erase Prepare F3h c ccccccesccssesssscsseseesecsscseescacsscsecsecsecsecsecacsacsecesssassecseesee
114. diction 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 Function on page 84 and in Section 13 32 S M A R T Function Set BOh on page 163 6 3 3 Cable noise interference To avoid any degradation of performance throughput or error when the interface cable is routed on top or comes in contact with the HDA assembly the drive must be grounded electrically to the system frame by four screws The common mode noise or voltage level difference between the system frame and power cable ground or AT interface cable ground should be in the allowable level specified in the power requirement section 6 3 4 Service life and usage condition The drive is designed to be used under the following conditions The drive should be operated within specifications of shock vibration temperature humidity altitude and magnetic field The drive should be protected from ESD The breathing hole in the top cover of the drive should not be covered Force should not be applied to the cover of the drive The specified power requirements of the drive should be satisfied The drive frame should be grounded electrically to the system through four screws The drive should be mounted with the recommended screw depth and torque The interface physical and electrical requirements of the drive should satisfy ATA 6 e power off seque
115. dressing mode In LBA mode this register contains Adjusted max LBA bits 0 7 L 1 In CHS mode this register contains max LBA Low 63 L 0 In LBA mode this register contains Adjusted max LBA bits 8 15 Mid 16 23 High L 1 In CHS mode this register contains max cylinder number which is set L 0 In LBA mode this register contains Adjusted max LBA bits 24 27 L 1 In CHS mode this register contains max head number 15 L 0 128 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 37 Set Max Address Ext 37h Command Block Output Registers Command Block Input Registers Register v e s 4 s 2 r o Resister v e s a s o s o EE pep SES a pL baai re See Below Pew Sector Count eus ImmmHHHHHHHHI T T T 1 1 Dmm REEL v ERR rss MA EA DA A A aa fofi AE pen 1 fofi See Below TL Seas Register pos 88v e BRO COR TDK TERR o olo olv 1 9 1 9 1 Figure 77 Set Max Address Ext Command 37h This command is immediately preceded by a Read Native Max Address Ext command This command overwrites the maximum number of Address of HDD in a range of actual device capacity
116. e and humidity drop to 25 C 40 RH in 2 hours 25 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 11 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 7 DuD 0 500 61 100 101 200 Table 13 Magnetic flux density limits 6 1 4 Conductive noise The disk drive shall work without soft error degradation in the frequency range from DC to 20 Mhz injected through any two of the mounting screw holes of the drive when an AC current of up to 45 mA p p is applied through a 50 ohm resistor connected to any two mounting screw holes 6 1 5 Magnetic fields The disk drive will withstand radiation and conductive noise within the limits shown below The test method is defined in the Noise Susceptibility Test Method specification P N 95F3944 26 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 2 DC power requirements Connection to the product should be made in a safety extra low voltage SELV circuits The voltage specifications are applied at the power connector of the drive Item Requirements Nominal supply 5 Volt dc Supply voltage 0 3 Volt to 6 0 Volt Power supply ripple 0 20 100 mV p p max MHZ Supply rise time Watts RMS Typical Performance Idle average Active Idle average Low Power Idle average Read average Wri
117. e changed to the native maximum address the value placed in words 61 60 shall be 268 435 455 and the value placed in words 103 100 shall be the native maximum address If a host protected area has been established by a Set Max Address Ext command the device shall return command aborted Output Parameters To The Device Feature Destination code for this command 01h SET MAX SET PASSWORD 127 167 Travelstar 5K160 SATA Hard Disk Drive Specification LBA Low LBA High Mid H L Input Parameters From The Device LBA Low LBA High Mid 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 Option bit for selection whether nonvolatile or volatile 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 in LBA mode this register contains LBA bits 0 7 which is to be input L 1 In CHS mode this register is ignored L 0 In LBA mode this register contains LBA bits 8 15 Mid 16 23 High which is to be set L 1 In CHS mode this register contains max cylinder number which is to be set L 0 In LBA mode this register contains LBA bits 24 27 which is to be input L 1 In CHS mode this register is ignored L 0 LBA mode Indicates the addressing mode L 0 specifies CHS mode and L 1 does LBA ad
118. e nien Dei Comma Error Register Status Register TY T TI ST 5 5 T2 2 i E E RN ER d d Pepe d N Lov 1o Figure 62 Recalibrate Command 1 The Recalibrate command moves the read write heads from anywhere on the disk to cylinder 0 If the device cannot reach cylinder 0 TON Track 0 Not Found will be set in the Error Register 114 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 27 Security Disable Password F6h Command Block Output Registers Figure 63 Security Disable Password Command F6h The Security Disable Password command disables the security mode feature device lock function The Security Disable Password command requests a transfer of a single sector of data from the host including information specified in Password Information for Security Disable Password command on Page 5 Then the device checks the transferred password If the User Password or Master Password matches the given password the device disables the security mode feature device lock function This command does not change the Master Password which may be re activated later by setting User Password This command should be executed in device unlock mode Word Description 00 Control word O OE Identifier 1 Mater 0 User bit 1 15 Reserved wi paswa bytes
119. e of its off line data collection activities or cause the automatic off line data collection feature to be disabled This subcommand also enables and disables the off line read scanning feature that cause the device to perform the entire read scanning with defect reallocation as the part of the off line data collection activities The Sector Count register shall be set to specify the feature to be enabled or disabled Sector Count Feature Description 00h Disable Automatic Off line Olh Disable Off line Read Scanning F8h Enable Automatic Off line F9h Enable Off line Read Scanning A value of zero 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 disabled Disabling this feature does not preclude the device from saving attribute values to non volatile memory during some other normal operation such as during a power on or power off sequence or during an error recovery sequence A value of one 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 disabled The Device does not perform the off line read scanning at the off line data collection activities which is initiated by the 137 167 Travelstar 5K160 SATA Hard Disk Drive Specification S M A R T Execute Off line Immediate Subcommand D4h or automatically if the off line read scanning feature is
120. e sector of data is initialized correctly Also the defective sector information and the reassigned sector information for the device are not updated The security erase prepare command should be completed immediately prior to the Security Erase Unit command If the device receives a Security Erase Unit command without a prior Security Erase Prepare command the device aborts the security erase unit command 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 117 167 Travelstar 5K160 SATA Hard Disk Drive Specification 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 The execution time of this command is shown below HTS541616J9SA00 82 min HTS541612J9SA00 72 min HTS541680J9SA00 42 min HTS541660J9SA00 38 min HTS541640J9SA00 22 min 118 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 80 Security Freeze Lock F5h Command Block Output Registers Register 7 6 5 403 2 1 To Data Feature __ Sector Count LBA Low BAMd o I H J T LBA Hisn SASS Command fof
121. e self test regardless of where the device is in the execution of the command If a second self test is issued while a selective self test is in progress the selective self test is aborted and the newly requested self test 1s executed 14 40 1 6 S M A R T Read Log Sector Subcommand D5h This command returns the specified log sector contents to the host The 512 bytes data are returned at a command and the Sector Count value shall be set to one The LBA Low shall be set to specify the log sector address Tg sector address 00h Directory Read Only S M A R T Error Log Read Only Selective self test log ROOF Host vendor specific Figure 82 Log sector addresses S M A R T Self test Log Read Only 14 40 1 7 S M A R T Write Log Sector Subcommand D6h This command writes 512 bytes data to the specified log sector The 512 bytes data are transferred at a command and the Sector Count value shall be set to one The LBA Low shall be set to specify the log sector address Figure 89 If Read Only log sector is specified the device returns ABRT error 14 40 1 8S M A R T Enable Operations Subcommand D8h This subcommand enables access to all S M A R T capabilities within the device Prior to receipt of a S M A R T Enable Operations subcommand Attribute Values are neither monitored nor saved by the device The state of S M A R T either enabled or disabled will be preserved by the device across power cycles On
122. ecurity Erase Unit Security Set Password Security Unlock 162 167 Travelstar 5K160 SATA Hard Disk Drive Specification 16 Index A AbDbreyiatloris testet eive vent desi 9 ACOUSUCS creo ee rend eH eec Er Eee eve ge 36 ge pM T 13 Advanced Power Management ABLE 3 feature 75 B BS MU tia rk 1 tiii eiie eere eet exec eats 37 Cable noise interference 29 Capacity formatted 8 tte tet eet ei euo seines 16 CAUTION aont ate a a doter E BEN tok ee Sass ate 12 CE natk eee 37 Check Power Mode 22 es 73 Command descriptions ener enne netten 69 Command overhead 1 eene nre se nee 18 Command protocol 66 Command table scerna i E a N ADE ae 58 Connector location 39 Connector locations 32 Control electronics i inier ersiveeeeciii ip aS 15 COTTOSIOBDLeSE dle ete tte R 25 CSAcapproval te gestae e t e e eee 38 CCP 37 Cylinder allocation woese iiia T a enne 17 Cylinders heads sectors by model eene 16 D Data In commands ter bees ese 66 Data Out Commands doania aE eene nnne nenne etra AANER 67 Data Reliability nme nece eiit eni 29 Data Sheet
123. ed sectors not transferred This will be zero unless an LBA Low The sector number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid The cylinder number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H The head number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 24 27 L 1 110 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 23 Read Sector s Ext 24h Command Block Output Registers Command Block Input Registers Register 7fefs4 s 2 fi o Register v e s a s o t o 1 Daton ee See Below eios T T T T T 1 Sector Count Es OO Deme Pew v Iv Iv vv Iv INT T T T 1 1 AA A DA CA NA pm EE DACA NA Y ERR x pei V V LBA High pen LBA High V Eon Device Sessa ommand o o 1 o 1fofo saus See Below Error Regis ET Saas Register 7T TISLALLEILLISALLLELLCLDILLLLL cac UNC o ix 0 Aer amn RDY pr DSC ERR o T v LoT v 9 HL EHE HL Figure 67 Read Sector s Ext Command 24h E o The Read Sector s Ext command reads from 1 to 65 536 sectors of data from disk media then
124. ediate Command E0h 94h The Standby Immediate command causes the device to enter Standby mode immediately When this command is issued the device confirms the completion of the cached write commands Then the device is spun down but the interface remains active If the device is already spun down the spin down sequence is not executed During the Standby mode the device will respond to commands but there is a delay while waiting for the spindle to reach operating speed The Standby Immediate command will not affect the auto power down timeout parameter 148 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 48 Write Buffer E8h Command Block Output Registers Register 7 6 5 4 3 2 1 0 Data 2 18 28 8 8 Feature __ Sector Count J LBA Low J T I H J T CBA High J pese SAB ee Command 1 0 01 Error Register 5 Er REOR Command Block Input Registers Register 76 5 453 211 To Error Sector Count LBA Low LBA Mid LBA High Device Wa ld eap qae mm ws Write Buffer Command CST The Write Buffer command transfers a sector of data from the host to the sector buffer of the device The sectors of data are transferred through the Data Register 16 bits at a time The Read Buffer and Write Buffer commands are synchronized such that sequent
125. egisters Command Block Input Registers Register 07 v e sT4Ts 2 1T Figure 31 Format Track Command 50h The Format Track command formats a single logical track on the device Each good sector of data on the track will be initialized to zero with write operation At this time whether the sector of data is initialized correctly is not verified with read operation Any data previously stored on the track will be lost Output Parameters To The Device LBA Low In LBA mode this register specifies LBA address bits 0 7 to be formatted L 1 LBA High Mid The cylinder number of the track to be formatted L 0 In LBA mode this register specifies LBA address bits 8 15 Mid 16 23 High to be formatted L 1 H The head number of the track to be formatted L 0 In LBA mode this register specifies LBA address bits 24 27 to be formatted L 1 Input Parameters From The Device LBA Low In LBA mode this register specifies current LBA address bits 0 7 L 1 LBA High Mid In LBA mode this register specifies current LBA address bits 8 15 Mid 16 23 High H In LBA mode this register specifies current LBA address bits 24 27 L 1 In LBA mode this command formats a single logical track including the specified LBA 80 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 7 Format Unit F7h Vendor Specific Command Block Output Registers Command Block Input Registers eese p
126. er sy froy pr psc pra cor ox ERR Figure 106 Write Ext Command 39h The Write Multiple Ext command transfers one or more sectors from the host to the device then the data is written to the disk media Command execution is identical to the Write Sector s Ext command except that an interrupt is generated for each block as defined by the Set Multiple command instead of for each sector The sectors are transferred through the Data Register 16 bits at a time Output Parameters To The Device Sector Count Current The number of continuous sectors to be transferred low order bits 7 0 Sector Count Previous The number of continuous sectors to be transferred high order bits 15 8 If zero is specified in the Sector Count register then 65 536 sectors shall be transferred LBA Low Current LBA 7 0 LBA Low Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address
127. eration a sequence of media verification is performed automatically When the result of this verification meets the criteria this sector is reallocated Recovered read errors When a read operation for a sector failed once then recovered at the specific ERP step this sector of data is reallocated automatically A media verification sequence may be run prior to the relocation according to the pre defined conditions 12 14 48 bit Address Feature Set The 48 bit Address feature set allows devices with capacities up to 281 474 976 710 655 sectors This allows device capacity up to 144 115 188 075 855 360 bytes In addition the number of sectors that may be transferred by a single command are increased by increasing the allowable sector count to 16 bits Commands unique to the 48 bit Address feature set are Flush Cache Ext Read DMA Ext Read Multiple Ext Read Native Max Address Ext Read Sector s Ext Read Verify Sector s Ext Set Max Address Ext Write DMA Ext Write Multiple Ext Write Sector s Ext The 48 bit Address feature set operates in LBA addressing only Devices also implement commands using 28 bit addressing and 28 bit and 48 bit commands may be intermixed Support of the 48 bit Address feature set 1s indicated in the Identify Device response bit 10 word 83 In addition the maximum user LBA address accessible by 48 bit addressable commands is contained in Identify Device response words 100 through 103 When the 48 bi
128. ered write errors When a write operation cannot be completed after the Error Recovery Procedure ERP is fully carried out the sectors are reallocated to the spare location An error is reported to the host system only when the write cache is disabled and the auto reallocation has failed 5 7 2 Nonrecoverable read error When a read operation fails after ERP is fully carried out a hard error is reported to the host system This location is registered internally as a candidate for the reallocation When a registered location is specified as a target of a write operation a sequence of media verification is performed automatically When the result of this verification meets the required criteria this sector is reallocated 5 7 3 Recovered read errors When a read operation for a sector fails and is recovered at the specific ERP step the sector is reallocated automatically A media verification sequence may be run prior to the reallocation according to the predefined conditions 23 167 Travelstar 5K160 SATA Hard Disk Drive Specification 5 8 ECC The 10 bit 40 symbol non interleaved ECC processor provides user data verification and correction capability The first 6 symbol of ECC are 4 check symbols for user data and the 2 symbol system ECC The other 34 symbols are Read Solomon ECC Hardware logic corrects up to 16 symbols 20 bytes errors on the fly 2 symbol System ECC is generated when HDC receives user data from HOST and can correc
129. ervoing A device in Active idle mode may take longer to complete the execution of a command because it must activate that circuitry The head is unloaded onto the ramp position The spindle motor is rotating at full Low power idle speed The device interface is capable of accepting commands The spindle motor is Standby stopped All circuitry but the host interface is in power saving mode The execution of commands is delayed until the spindle becomes ready The device requires a soft reset or a hard reset to be activated All electronics including spindle motor and host interface are shut off Sleep Table 10 Operating mode 4 4 3 1 transition time From To Transition Transition Time Time typ max Standby Idle 2 5 9 5 Table 11 Drive ready time 4 4 3 2 Operating mode at power on The device goes into Idle mode after power on or hard reset as an initial state Initial state may be changed to Standby mode using pin C on the interface connector Refer to section 7 10 on page 58 Drive address setting for details 4 4 3 3 Adaptive power save control The transient timing from Performance Idle mode to Active Idle mode and Active Idle mode to Low Power Idle mode is controlled adaptively according to the access pattern of the host system transient timing from Low Power Idle mode to Standby mode is also controlled adaptively if it is allowed by Set Features Enable Advanced Power Manage
130. eter and should be specified Indicates that the hex character is not used Indicates that the bit is not used Registers Indicates that the bit is always set to 0 Indicates that the bit is always set to 1 Head number Indicates that the head number part of the Device Register is an input parameter and will be set by the device Valid Indicates that the bit is part of an input parameter and will be set to 0 or 1 by the device Not recommendable condition for start up Indicates that the condition of device is not recommendable for start up Indicates that the bit is not part of an input parameter The command descriptions show the contents of the Status and Error Registers after the device has completed processing the command 72 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 1 Check Power Mode E5h 98h Gi Block Region c Figure 23 Check Power Mode Command E5h 98h The Check Power Mode command will report whether the device is spun up and the media is available for immediate access Input Parameters From The Device Sector Count The power mode code The command returns FFh in the Sector Count Register if the spindle motor is at speed and the device is not in Standby or Sleep mode Otherwise the Sector Count Register will be set to 0 73 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 2 Device Configuration Overlay B1h Command Block Registers gue
131. ets the execution result in the Self test execution status byte and ATA registers as below and executes command completion Status Set ERR to one when self test has failed Error Set ABRT to one when self test has failed LBA Mid Set to F4h when self test has failed LBA High Set to 2Ch when self test has failed SMART Selective self test routine When the value in the LBA Low register is 4 or 132 the Selective self test routine shall be performed This self test routine shall include the initial tests performed by the Extended self test routine plus a selectable read scan The host shall not write the Selective self test log while the execution of a Selective self test command is in progress The user may choose to do read scan only on specific areas of the media To do this user shall set the test spans desired in the Selective self test log and set the flags in the Feature flags field of the Selective self test log to indicate do not perform off line scan In this case the test spans defined shall be read scanned in their entirety The Selective self test log is updated as the self test proceeds indicating test progress When all specified test spans have been completed the test is terminated and the appropriate self test execution status is reported in the S M A R T READ DATA response depending on the occurrence of errors Figure 88 shows an example of a Selective selftest definition with three test spans defined In this example the test term
132. eued commands The value shall not exceed the maximum queue depth specified by the Word 75 of the Identify Device information LBA Low Current LBA 7 0 LBA Low Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 F FUA bit When the FUA bit is set to 1 the completion status is indicated after the transferred data are written to the media also when Write Cache is enabled When the FUA bit is set to 0 the completion status may be indicated before the transferred data are written to the media successfully when Write Cache is enabled Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 153 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 48 Write Log Ext Command Brock Output Registers Command BlockinpurRegisers Register v e s 4 s 2 r o Reisec v e s a s 2 i o Daatow zo Data High
133. fications 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 Signal Segment Figure 3 Interface connector pin assignments Allpins are in a single row with a 127 mm 050 pitch The comments on the mating sequence in Table in the section 7 3 apply to the case of back plane blind mate connector only In this case the mating sequences are 1 the ground pins P4 and P12 2 the pre charge power pins and the other ground pins and 3 the signal pins and the rest of the power pins There are three power pins for each voltage One pin from each voltage is used for pre charge in the backplane blind mate situation fadevice uses 3 3V then all V33 pins must be terminated Otherwise it is optional to terminate any of the V33 pins e fadevice uses 5 0V then all V5 pins must be terminated Otherwise it is optional to terminate any of the V5 pins device uses 12 0V then all V12 pins must be terminated Otherwise it is optional to terminate any of the V12 pins 39 167 Travelstar 5K160 SATA Hard Disk Drive Specification 7 8 Signal definitions The pin assignments of interface signals are listed as follows No Plug Connector pin definition Signal 10 Si GND id 52 A Differential signal A from Phy RX I
134. g worldwide electromagnetic compatibility EMC requirements United States Federal Communications Commission FCC Rules and Regulations Class B Part 15 RFI Suppression German National Requirements RFI Japan VCCI Requirements of HITACHI products EU EMC Directive Technical Requirements and Conformity Assessment Procedures 6 8 1 CE Mark The product is certified for compliance with EC directive 89 336 EEC The EC marking for the certification appears on the drive 6 82 C Tick Mark The product complies with the Australian EMC standard Limits and methods of measurement of radio disturbance characteristics of information technology equipment AS NZS 3548 1995 Class B 6 8 3 BSMI Mark The product complies with the Taiwan EMC standard Limits and methods of measurement of radio disturbance characteristics of information technology equipment CNS 13438 Class B 6 8 4 Mark The product complies with the Korea EMC standard The regulation for certification of information and communication equipment is based on Telecommunications Basic Act and Radio Waves Act Korea EMC requirment are based technically on CISPR22 1993 12 measurement standards and limits MIC standards are likewise based on IEC standards 37 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 9 Safety 6 9 1 UL and CSA approval All models of the Travelstar 5K160 are qualified per UL60950 1 2003 6 9 2 IEC compliance All models of
135. ge Technologies products programs or services do not imply that Hitachi Global Storage Technologies intends to make these available in all countries in which Hitachi Global Storage Technologies operates Product information is provided for information pur poses only and does not constitute a warranty Information is true as of the date of publication and is subject to change Actual results may vary This publication is for general guidance only Photo graphs may show design models 31 May 2006 167 167
136. ge seek time 11 ms for read Closed loop actuator servo Embedded Sector Servo Rotary voice coil motor actuator Load Unload mechanism Mechanical latch 0 65 Watts at idle state Power on to ready 3 5 sec Operating shock 3185 m sec2 325 G 2ms 1568 m sec2 160G 1ms Nonoperating shock 9800 m sec2 1000 G 1ms 13 167 Travelstar 5K160 SATA Hard Disk Drive Specification Part 1 Functional Specification 14 167 Travelstar 5K160 SATA Hard Disk Drive Specification 3 Fixed disk subsystem description 3 1 Control Electronics The control electronics works with the following functions SATA Interface Protocol Embedded Sector Servo e No ID TM formatting Multizone recording e Code 100 106 System ECC Enhanced Adaptive Battery Life Extender 3 2 Head disk assembly data The following technologies are used in the drive Femto Slider Perpendicular recording disk and write head e head Integrated lead suspension ILS e Load unload mechanism Mechanical latch 15 167 Travelstar 5K160 SATA Hard Disk Drive Specification 4 Fixed disk characteristics 4 1 Formatted capacity by model number HTS541616J9SA00 HTS541612J9SA00 Bytes per Sector 512 512 Sectors per Track 480 1272 480 1272 Number of Heads 4 4 Number of Disks 2 2 Logical Layout Number of Heads 16 16 Number of Sectors 63 63 Track Number of Cylinders 16 383 16 383 Number of Sectors 312 581 808 234 441 648 Total Logical Data 160
137. he switch operate under control of the host system as opposed to being hardwired The same recommendation is made for cover close switches When a hardwired switch is turned off emergency unload occurs as well as the problems cited in section 5 1 Data loss by power off on page 19 and section 5 2 Write Cache on page 19 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 Simple power cycling of the drive invokes the emergency unload mechanism and subjects the HDD to nontypical mechanical stress Power cycling testing may be required to test the boot up function of the system In this case Hltachi recommends that the power off portion of the cycle contain the sequence specified in section 6 4 6 2 Required Power Off Sequence page 29 If this is not done the emergency unload function is invoked and nontypical stress results 31 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 4 Mechanical specifications 6 41 Physical dimensions and weight The following figure lists the dimensions for the drive Height mm Width mm 160 GB 120 GB models 9 5 0 2 69 85 0 25 100 2 0 25 102 80 GB 60 GB 40 GB models 9 5 0 2 69 85 0 25 100 2 0 25 95 Table 1
138. ial Write Buffer and Read Buffer commands access the same 512 byte within the buffer 149 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 44 Write DMA CAh CBh Command Block Output Registers Reiter PRELE Data Fere LBA Mid LBA Hien Figure 99 Write DMA Command CAh CBh The Write DMA command transfers one or more sectors of data from the host to the device then the data is written to the disk media The sectors of data are transferred through the Data Register 16 bits at a time The host initializes a slave DMA channel prior to issuing the command Data transfers are qualified by DMARQ and are performed by the slave DMA channel The device issues only one interrupt per command to indicate that data transfer has terminated and status is available If an uncorrectable error occurs the write will be terminated at the failing sector Output Parameters To The Device Sector Count The number of continuous sectors to be transferred If zero is specified then 256 sectors will be transferred LBA Low The sector number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 LBA High Mid The cylinder number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 8 15 Mid 16 23 High L 1 H The head number of the first sector to be transferred L 0
139. ication 14 29 Security Erase Unit F4h Command Block Output Registers Command Block Input Registers LBA Mid LBA High Figure 66 Security Erase Unit Command F4h The Security Erase Unit command initializes all user data sectors then disables the device lock function Note that the Security Erase Unit command initializes from LBA 0 to Native Max LBA Host Max LBA set by Initialize Drive Parameter or Set Max Address command is ignored So the protected area by Set Max Address command is also initialized This command requests to transfer a single sector data from the host including information specified in Erase Unit Information on Page 5 If the password does not match then the device rejects the command with an Aborted error Word Description 0 Controt word EET 1 15 Reserved 01 16 Password Figure 67 Erase Unit Information Identifier Zero indicates that the device should check the supplied password against the user password stored internally One indicates that the device should check the given password against the master password stored internally The Security Erase Unit command erases all user data and disables the security mode feature device lock function So after completing this command all user data will be initialized to zero with write operation At this time it is not verified with read operation whether th
140. icular axes for a duration of 15 minutes per axis The PSD levels for the test simulating the shipping and relocation environment is shown below m sec Hz 0 096 Table 19 Random Vibration PSD Profile Breakpoints nonoperating Note Overall RMS level of vibration is 29 50 m sec 3 01 6 5 2 2 Swept sine vibration 49 m sec 5 G zero to peak 10 to 500 to 10 Hz sine wave 0 5 oct min sweep rate 25 4 mm peak to peak displacement 5 to 10 to 5 Hz 6 5 3 Operating shock The hard disk drive meets the criteria in the table below while operating under these conditions The shock test consists of 10 shock inputs in each axis and direction for a total of 60 There must be a minimum delay of 3 seconds between shock pulses The disk drive will operate without a hard error while subjected to the following half sine shock pulse Duration of 1 ms Duration of 2 ms 1568 m sec 160 G 3185 325 Table 20 Operating shock The input level shall be applied to the normal disk drive subsystem mounting points used to secure the drive in a normal system 6 5 4 Nonoperating shock The drive withstands the following half sine shock pulse without any data loss or permanent damage Duration of 1 ms Duration of 11 ms 9800 m sec 1000 G 1470 150 Table 21 Nonoperating shock The shocks are applied for each direction of the drive for three mutually perpendicular axes one axis at a time
141. inates when all three test spans have been scanned User LBA space LBA max Starting LBA for Starting LBA for Starting LBA for test span 1 test span 2 test span 3 Ending LBA for Ending LBA for Ending LBA for test span 1 test span 2 test span 3 Figure 81 Selective self test test span example After the scan of the selected spans described above a user may wish to have the rest of media read scanned as an off line scan In this case the user shall set the flag to enable off line scan in addition to the other settings If an error occurs during the scanning of the test spans the error is reported in the self test execution status in the S M A R T READ DATA response and the off line scan is not executed When the test spans defined have been scanned the device shall then set the offline scan pending and active flags in the Selective self test log to one the span under test to a value greater 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 135 167 Travelstar 5K160 SATA Hard Disk Drive Specification proceed to do an off line read scan through all areas not included in the test spans This off line read scan shall completed as rapidly as possible no pauses between block reads and any errors encountered shall not be reported to the host Instead error locations may be logged for future reallo
142. ion ROMS MD EDT Overhead A B A Total time n 1 Seek operation A B 2 Without overlap Host process Device process gs Seek operation Overhead La Total time n Seek operation B Figure 18 Seek overlap 12 12 Write Cache Function Write cache is a performance enhancement whereby the device reports completion of the write command Write Sector s and Write Multiple to the host as soon as the device has received all of the data into its buffer The device assumes responsibility to write the data subsequently onto the disk While writing data after completed acknowledgment of a write command soft reset COMRESET does not affect its operation But power off terminates writing operation immediately and unwritten data are to be lost Flush cache Soft reset Standby Standby Immediate and Sleep are executed after the completion of writing to disk media on enabling write cache function So the host system can confirm the completion of write cache operation by issuing flush cache command Soft reset Standby command Standby Immediate command or Sleep command and then by confirming its completion 12 13 Reassign Function The reassign Function is used with read commands and write commands The sectors of data for reassignment are prepared as the spare data sector The one entry can register 256 consecutive sectors maximally This reassignment information is registered internal
143. ion to be executed LBA Low Operation to be executed 0 Execute S M A R T off line data collection routine immediately 1 Execute S M A R T Short self test routine immediately in off line mode 2 Execute S M A R T Extended self test routine immediately in off line mode 3 Reserved 4 Execute SMART Selective self test routine immediately in off line mode 127 Abort off line mode self test routine 128 Reserved 129 Execute S M A R T Short self test routine immediately in captive mode 130 Execute S M A R T Extended self test routine immediately in captive mode 131 Reserved 132 Execute SMART selective self test routine immediately in captive mode 134 167 Travelstar 5K160 SATA Hard Disk Drive Specification Off line mode The device executes command completion before executing the specified routine During execution of the routine the device will not set BSY nor clear DRDY If the device is in the process of performing its routine and is interrupted by a new command from the host the device will abort or suspend its routine and service the host within two seconds after receipt of the new command After servicing the interrupting command the device will resume its routine automatically or not start its routine depending on the interrupting command Captive mode When executing self test in captive mode the device sets BSY to one and executes the specified self test routine after receipt of the command At the end of the routine the device s
144. is provides instantaneous response to the next command The duration of this mode is intelligently managed as described below 12 6 3 Active Idle mode In this mode power consumption is 45 5596 less than that of Performance Idle mode Additional electronics are powered off and the head is parked near the mid diameter of the disk without servoing Recovery time to Active mode is about 20ms 12 6 3 Low Power Idle mode Power consumption is 6096 6596 less than that of Performance Idle mode The heads are unloaded on the ramp however the spindle is still rotated at the full speed Recovery time to Active mode is about 300ms 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 The algorithm calculates the expected average saving energy and response delay for next command in several transition time case based on this assumption And it selects the most effective transition time with the condition that the calculated response delay is shorter than the value calculated from the specified level by Set Feature Enable Advanced Power Management command The optimal time to enter Active Idle mode is variable depending on the users recent behavior It is not p
145. l have RDY bit of the status register set If BSY bit is not set device shall be ready to accept any command In sleep mode the device s interface is not active A host shall not attempt to read the device s status or issue commands to the device 12 5 5 Interface Capability for Power Modes Each power mode affects the physical interface as defined in the following table RDY T Interface active Mea Yes Active eive Yes Inactive es es es No Figure 10 Power conditions Ready RDY is not a power condition A device may post ready at the interface even though the media may not be accessible 12 5 6 Initial Power Mode at Power On After power on the device goes to IDLE mode or STANDBY mode depending on the option Refer HTS5416XXJ9SA00 Final Functional Specification P N TBD for the initial power mode selection 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 This technology has three idle modes Performance Idle mode Active Idle mode and Low Power Idle mode This feature allows the host to select an advanced power management level The advanced power management level is a scale from the lowest power consumption setting of Olh to the
146. lt condition existing There is no implied linear reliability relationship corresponding to the numerical relationship between different attribute values for any particular attribute 12 8 3 Attribute thresholds Each attribute value has a corresponding attribute threshold limit which is used for direct comparison to the attribute value to indicate the existence of a degrading or faulty condition The numerical value of the attribute thresholds are determined by the device manufacturer through design and reliability testing and analysis Each attribute threshold represents the lowest limit to which its corresponding attribute value can be equal while still retaining a positive reliability status Attribute thresholds are set at the device manufacturer s factory and cannot be changed in the field The valid range for attribute thresholds is from 1 through 253 decimal 12 84 Threshold exceeded condition If one or more attribute values are less than or equal to their corresponding attribute thresholds then the device reliability status is negative indicating an impending degrading or faulty condition 12 8 5 S M A R T commands The S M A R T commands provide access to attribute values attribute thresholds and other logging and reporting information 54 167 Travelstar 5K160 SATA Hard Disk Drive Specification 12 86 S M A R T operation with power management modes The device saves attribute values automatically on every head unload timing
147. ly and the information is available right after completing the reassign function Also the information is used on the next power on reset If the number of the spare sector reaches 0 sector the reassign function will be disabled automatically 63 167 Travelstar 5K160 SATA Hard Disk Drive 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 Non recovered write errors When a write operation can not be completed after the Error Recovery Procedure ERP is fully carried out the sector s are reallocated to the spare location An error is reported to the host system only when the write cache is disabled and the auto reallocation fails If the number of available spare sectors reaches 16 sectors the write cache function will be disabled automatically Non recovered read errors When a read operation fails after defined ERP is fully carried out a hard error is reported to the host system This location is registered internally as a candidate for the reallocation When a registered location is specified as a target of a write op
148. mand 7xh Figure 82 Sense Condition Command FOh Figure 83 Set Features Command EFh Figure 84 Set Max Address Command F9h Figure 85 Set Max Address Ext Command 37h Figure 86 Set Multiple Command C6h Figure 87 Sleep Command E6h 99h Figure 88 S M A R T Function Set Command BOh Figure 89 Selective self test test span example Figure 90 Log sector addresses Figure 91 Device Attribute Data Structure Figure 92 Individual Attribute Data Structure Figure 93 Status Flag Definitions Figure 94 Device Attribute Thresholds Data Structure Figure 95 Individual Threshold Data Structure Figure 96 SMART Log Directory Figure 97 S M A R T error log sector Figure 98 Error log data structure Figure 99 Command data structure Figure 100 Error data structure Figure 101 Self test log data structure Figure 102 Selective self test log data structure Figure 103 S M A R T Error Codes Figure 104 Standby Command E2h 96h Figure 105 Standby Immediate Command EOh 94h Figure 106 Write Buffer Command E8h Figure 107 Write DMA Command CAh CBh Figure 108 Write DMA Ext Command 35h Figure 109 Write DMA FUA Ext Command 3Dh Figure 110 Write FPDMA Queued Command 61h Figure 111 Write Log Ext Command Figure 112 Write Long Command C5h Figure 113 Write Multiple Command C5h Figure 114 Write Multiple Ext Command 39h Figure 115 Write Multiple FUA Ext Command CEh Figure 116 Write Sector s Command 30h 31h Figure 117 Write Sector s
149. mand code of 06h Software settings preservation is enabled by default 12 15 1 Preserved software settings If Software setting preservation is enabled the following settings are preserved across COMRESET Otherwise settings are cleared across COMRESET Setting Initialize device parameters Track length Number of head Number of cylinder Capacity Security mode state Set feature Figure 19 Preserved Software Setting 12 16 Native Command Queuing Native Command Queuing feature Read Write FPDMA Queued commands is supported Please refer to the Serial ATA II Specification about Native Command Queuing The host shall not issue a legacy ATA command while a native queued command is outstanding Upon receiving a legacy ATA command while a native queued command is outstanding the device aborts the command and halts command processing of outstanding native queued commands 65 167 Travelstar 5K160 SATA Hard Disk Drive 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 1 0a Section 9 device command layer protocol and Serial ATA II Extensions to Serial ATA 1 0a Section 4 Command layer 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 command
150. mands Valid block sizes can be selected from 0 1 2 4 8 or 16 If 0 is specified then Read Multiple and Write Multiple commands are disabled 131 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 39 Sleep E6h 99h Command Block Output Registers Register 7 6 5 4 3 2 1 0 Data EEE Feature __ Sector Cou iBA tow Bamia E LBA Hisn EE Device n ALLL Command ir rjrfofojrjifo Error Register 5 NC EE REOR Command Block Input Registers Register 76 5 453 211 To Error Sector Count LBA Low LBA Mid LBA High Device TO i a al d Gl d ld fifi dd 79 Sleep Command E6h 99h This command is the only way to cause the device to enter Sleep Mode When this command is issued the device confirms the completion of the cached write commands Then the device is spun down and the interface becomes inactive The only way to recover from Sleep Mode is with a software reset COMRESET If the device is already spun down the spin down sequence is not executed 132 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 40 S M A R T Function Set BOh Command Block Output Registers Command Block Input Registers sse 17 6 5 Paa 1 Fue vv LBAtow T Ph BA High i B EJ g 0 Figure 80 S M A R T
151. maximum performance level of FEh Device performance may increase with increasing advanced power management levels Device power consumption may increase with increasing advanced power management levels The advanced power management levels contain discrete bands described in the section of Set Feature command in detail This feature set uses the following functions A SET FEATURES subcommand to enable Advanced Power Management A SET FEATURES subcommand to disable Advanced Power Management e 52 167 Travelstar 5K160 SATA Hard Disk Drive Specification The Advanced Power Management feature is independent of the Standby timer setting If both Advanced Power Management level and the Standby timer are set the device will go to the Standby state when the timer times out or the devices Advanced Power Management algorithm indicates that it is time to enter the Standby state The IDENTIFY DEVICE response word 83 bit 3 indicates that Advanced Power Management feature is supported if set Word 86 bit 3 indicates that Advanced Power Management is enabled if set Word 91 bits 7 0 contain the current Advanced Power Management level if Advanced Power Management is enabled 12 6 1 Performance Idle mode This mode is usually entered immediately after Active mode command processing is complete instead of conventional idle mode In Performance Idle mode all electronic components remain powered and full frequency servo remains operational Th
152. ment subcommand 21 167 Travelstar 5K160 SATA Hard Disk Drive Specification 5 Data integrity 5 1 Data loss on power off Dataloss 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 2 Write Cache When the write cache is enabled the write command may complete before the actual disk write operation finishes This means that a power off even after the write command completion could cause the loss of data that the drive has received but not yet written onto the disk In order to prevent this data loss confirm the completion of the actual write operation prior to the power off by issuing a Soft reset Hard reset Flush Cache command Standby command Standby Immediate command Sleep command Confirm the command s completion 5 9 Equipment status The equipment status is available to the host system any time the drive is not ready to read write or seek This status normally exists at the power on time and will be maintained until the following conditions are satisfied The access recalibration tuning is complete The spindle speed meets the requirements for reliable operation The self
153. n error occurs the device will set BSY 0 ERR 1 and DRQ 1 The device will then store the error status in the Error Register The registers will contain the location of the sector in error The erroneous location will be reported with CHS mode or LBA mode the mode is decided by mode select bit bit 6 of Device register on issuing the command If an Uncorrectable Data Error UNC 1 occurs the defective data will be transferred from the media to the sector buffer and will be available to be transferred to the host at the host s option In case of Read Multiple command the host should complete transfer the block which includes the error from the sector buffer and terminate whatever kind of type of error occurred All data transfers to the host through the Data Register are 16 bits except for the ECC bytes which are 8 bits 66 167 Travelstar 5K160 SATA Hard Disk Drive Specification 13 2 Data Out Commands These commands are Device Configuration Set Format Track Security Disable Password Security Erase Unit Security Set Password Security Unlock Set Max Set Password Set Max Unlock S M A R T Write Log Sector Write Buffer Write Long Write Multiple Write Multiple Ext Write Sector s Write Sector s Ext Execution includes the transfer of one or more 512 byte 2512 bytes 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
154. nabled L5 Device is now SET MAX Locked or Frozen mode oo Protected area is now established SSCS a _ cess Subcommand code is invalid Figure 27 error information definition 16 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 3 Execute Device Diagnostic 90h Command Block Output Registers Command Block Input Registers eese P Rese pa HTE Fue CEEE Err Sector Cou C EEEE T Sector Coun BA Low eoa tow A Mia usa via Loa High tba High Device Dei Command 010101040 Error Register Status Register Pas fs f ts fet T TI ST 5 T 5 T2 2 SIR Pepe Pep Pepe ELLE N Aka bane ER Re Figure 28 Execute Device Diagnostic Command 90h The Execute Device Diagnostic command performs the internal diagnostic tests implemented by the device The results of the test are stored in the Error Register The normal Error Register bit definitions do not apply to this command Instead the register contains a diagnostic code See Diagnostic Codes on Page 5 for the definition 77 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 4 Flush Cache E7h Gi Block Ong Region EN Flush Cache Command m This command causes the device to complete writing data
155. nce of the drive should comply with the 60 4 6 2 Required power off sequence Service life of the drive is approximately 5 years or 20 000 power on hours whichever comes first under the following assumptions e Less than 333 power on hours per month e Seeking Writing Reading operation is less than 20 of power on hours This does not represent any warranty or warranty period Applicable warranty and warranty period are covered by the purchase agreement 29 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 3 5 Preventive maintenance None 6 36 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 COMRESET Standby Standby immediate Sleep Load unload is also invoked as one of the idle modes of the drive The specified start stop life of the product assumes that load unload is operated normally not in emergency mode 6 3 6 1 Emergency unload When hard disk drive power is interrupted while the heads are still loaded the micro code cannot operate and the normal 5 volt power is unavailable to unload the heads In this case normal unload is not possible The heads are unloaded by routing the back EMF of the spinning motor to the voice coil The actuator velocity is greater than the normal case and the unload pr
156. ng standard shall be referenced about signal specifications Serial ATA High Speed Serialized AT Attachment Revision 1 0a 7 January 2003 40 167 Travelstar 5K160 SATA Hard Disk Drive Specification 7 89 8 Out of band signaling Figure 4 shows the timing of COMRESET COMINIT and COMWAKE COMRESET COMINIT a t2 COMWAKE e se eee EET PARAMETER Nominal ns DESCRIPTION ALINE primitives 106 7 Spacing 320 ALIGN primitives 106 7 Figure 4 Parameter descriptions 41 167 Travelstar 5K160 SATA Hard Disk Drive Specification Part 2 Interface Specification 42 167 Travelstar 5K160 SATA Hard Disk Drive Specification 8 General 8 1 Introduction This specification describes the host interface of HTS5416XXJ9SAO0 The interface conforms to following Working Document of Information technology with certain limitations described in the chapter 2 0 Deviations from Standard on Page 5 Serial ATA High Speed Serialized AT Attachment Revision 1 0a dated on 7 January 2003 Serial ATA II Extensions to Serial ATA 1 0a Revision 1 2 dated on 27 August 2004 AT Attachment with Packet Interface Extension ATA ATAPI 7 Revision 4b dated on 21 April 2004 HTS5416XXJ98A00 support following functions as Vendor Specific Function e Format Unit Function e SENSE CONDITION command 8 2 Terminology Device Device indicates HTS5416XXJ9S A00 Host Host indicates the system that the device is a
157. nput S3 A RX Input Signal S4 Gnd 2nd mate Gd ST S5 B Differential signal B from Phy S6 B TX Output S7 Gnd 2nd mate Gnd Key and spacing separate signal and power segments P1 V33 3 3V power 3 3V P2 V33 3 3V power 3 3V P3 V33 3 3V power pre charge 2nd Mate 3 3V P4 Gnd P5 Ond Gnd 5V P6 Gnd 2nd mate P7 V5 5V power pre charge 2nd Mate SVpowr _ Power 9 V5 5Vpowr 1 1 1 1 58V Ea P10 Gnd 2nd mate P11 DAS DSS Device Activity Signal Disable Staggered Spinupi P12 Gnd 1st mate Gnd P13 V12 12V power pre chage 2nd mate V12 P14 V12 12V power P15 V12 12V power Table 23 Interface connector pins and I O signals Note 1 Pin P11 is used by the drive to provide the host with an activity indication and by the host to indicate whether staggered spinup should be used The signal the drive provides for activity indication is a low voltage low current driver If pin P11 is asserted low the drive shall disable staggered spin up and immediately initiate spin up If pin P11 is not connected in the host floating the drive shall enable staggered spin up 731 TX TX These signal are the outbound high speed differential signals that are connected to the serial ATA cable 7 59 5 RX RX These signals are the inbound high speed differential signals that are connected to the serial ATA cable The followi
158. nt SET Max security extension commands as subcommands But regardless of Feature register value the case this command is immediately preceded by a Read Native Max Address command it is interpreted as a Set Max Address command The Read Native Max Address command should be issued and completed immediately prior to issuing Set Max Address command Otherwise this command is interpreted as a Set Max security extension command which is destinated by feature register If Set Max security mode is in the Locked or Frozen the Set Max Address command is aborted For more information see 5 9 2 Set Max security extension commands on Page 5 In CHS mode LBA High LBA Mid specify the max cylinder number The Head number of Device and LBA Low are ignored The default value See default CHS in Identify device information is used for that In LBA mode the Head number of Device LBA High LBA Mid and LBA Low specify the max LBA This command sets this LBA as the max LBA of the device After a successful command completion Identify Device response words 61 60 shall reflect the maximum address set with this command If the 48 bit Address feature set is supported the value placed in Identify Device response words 103 100 shall be the same as the value placed in words 61 60 However if the device contains greater than 268 435 455 sectors the capacity addressable with 28 bit commands and the address requested is 268 435 455 the max address shall b
159. oa High upa nien Dei command 1 1 0 0 0 1 1 Error Register Status Register 5 EE IEEE ERR ER ERE ERE Si al nl ald a i i ili al EN NEN LEEN EN When the power save mode is Standby mode the Idle command causes the device to enter performance Idle mode immediately and set auto power down timeout parameter standby timer And then the timer starts counting down When the device s power save mode is already any idle mode the device keep that mode When the Idle mode is entered the device is spun up to operating speed If the device is already spinning the spin up sequence is not executed During Idle mode the device is spinning and ready to respond to host commands immediately Output Parameters To The Device Sector Count Timeout Parameter If zero the timeout interval Standby Timer is disabled If other than zero the timeout interval is set for Timeout Parameter x5 seconds The device will enter Standby mode automatically if the timeout interval expires with no device access from the host The timeout interval will be reinitialized if there is a device access before the timeout interval expires 91 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 10 Idle Immediate E1h 95h Command Block Output Registers Command Block Input Registers ese 2 Rese PITIIIPBLBEDBI pis Feu Err Sector Cou
160. ocess is inherently less controllable without a normal seek current profile Emergency unload is intended to be invoked in rare situations Because this operation is inherently uncontrolled it is more mechanically stressful than a normal unload The drive supports a minimum of 20 000 emergency unloads 6 8 6 0 Required Power Off Sequence The required host system sequence for removing power from the drive is as follows Step 1 Issue one of the following commands Standby Standby immediate Sleep Note Do not use the Flush Cache command for the power off sequence because this command does not invoke Unload Step 2 Wait until the Command Complete status is returned In a typical case 350 ms are required for the command to finish completion however the host system time out value needs to be 30 seconds considering error recovery time Refer to section 14 0 Time out values on page 193 Step 3 Terminate power to HDD This power down sequence should be followed for entry into any system power down state system suspend state or system hibernation state a robustly designed system emergency unload is limited to rare scenarios such as battery removal during operation 6 3 6 3 Power switch design considerations In systems that use the Travelstar 5K160 consideration should be given to the design of the system power switch 30 167 Travelstar 5K160 SATA Hard Disk Drive Specification Hitachi recommends that t
161. 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 Description Bytes Offset Read Write Data structure revision 2 00h R W Starting LBA for test span 1 8 02h R W Ending LBA for test span 1 8 OAh R W 145 167 Travelstar 5K160 SATA Hard Disk Drive Specification Starting LBA for test span 2 8 12A R W Ending LBA for test span 2 8 1Ah R W Starting LBA for test span 3 8 22h R W Ending LBA for test span 3 8 2Ah R W Starting LBA for test span 4 8 32h R W Ending LBA for test span 4 8 3Ah R W Starting LBA for test span 5 8 42h R W Ending LBA for test span 5 8 4Ah R W Reserved 256 52h Reserved Vendor specific 154 152h Vendor specific Current LBA under test 8 ECh Read Current span under test 2 F4h Read Feature flags 2 1F6 R W Vendor specific 4 F8h Vendor specific Selective self test pending time 2 1FCh R W Reserved 1 FEh Reserved Data structure checksum 1 1FFh R W 512 Figure 94 Selective self test log data structure 14 40 8 Error Reporting The following table shows the values returned in the Status and Error Registers when specific error conditions are encountered by a device Error Condition A S M A R T FUNCTION SET command was received 51h 04h by the device without the required key being loaded into
162. ommand is issued at the temperature out of range which is specified for operating condition the error might be returned with IDN bit 1 Output Parameters To The Device Feature The Feature register must be set to O1h All other value are rejected with setting ABORT bit in status register Input Parameters From The Device Sector Count The Sector Count register contains result value Value Description 00h Temperature is equal to or lower than 20 degC O1h FEh Temperature is Value 2 20 deg C FFh Temperature is higher than 107 degC N Not recommendable condition for start up If over stressed condition is detected this bit will be set to one 124 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 85 Set Features EFh Command Block Output Registers eese P Rese ML EL rue vIvIviviviviviv Sector Count ___Notel_____ SectorComt _ E E Lea Mia Lisa via LBA Hisn _ eie command Error Register Status Register ze Lr 6 ER ERE ERE Si el ald i id e SEM Features EEEE E The Set Feature command is to establish the following parameters which affect the execution of certain features as shown in below table ABT will be set to 1 in the Error Register
163. ommands are aborted by the device The DEVICE CONFIGURATION FREEZE LOCK condition shall be cleared by a power down The DEVICE CONFIGURATION FREEZE LOCK condition shall not be cleared by COMRESET or software reset 74 167 Travelstar 5K160 SATA Hard Disk Drive 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 If a DEVICE CONFIGURATION SET command has been issued reducing the capabilities the response to an IDENTIFY DEVICE or IDENTIFY PACKET DEVICE command will reflect the reduced set of capabilities while the DEVICE CONFIGURATION IDENTIFY command will reflect the entire set of selectable capabilities The format of the Device Configuration Overlay data structure is shown on next page 14 2 4 DEVICE CONFIGURATION SET subcommand C3h The DEVICE CONFIGURATION SET command allows a device manufacturer or a personal computer system manufacturer to reduce the set of optional commands modes or feature sets supported by a device as indicated by a DEVICE CONFIGURATION IDENTIFY command The DEVICE CONFIGURATION SET command transfers an overlay that modifies some of the bits set in words 63 78 79 82 83 84 and 88 of the IDENTIFY DEVICE command response When the bits in these words are cleared
164. option available 1 data strobe offset option available 1 rotational speed tolerance gt 0 5 1 disk transfer rate gt 10 Mbps 1 disk transfer rate gt 5 Mbps but lt 10 Mbps 1 disk transfer rate lt 5 Mbps 1 removable cartridge device 1 fixed device 1 spindle motor control option implemented 1 head switch time gt 15 us 1 not MFM encoded 1 Identify data incomplete hard sectored Reserved Number of cylinders in default translate mode Specific configuration SET FEATURES subcommand is not required to spin up and IDENTIFY DEVICE response is complete SET FEATURES subcommand is required to spin up and IDENTIFY DEVICE response is incomplete Number of heads in default translate mode Number of sectors per track in default translate mode 82 167 Travelstar 5K160 SATA Hard Disk Drive Specification xxxx Serial number in ASCII 0 not specified 0003H Controller type MEE 0003 dual ported multiple sector buffer with look ahead read Buffer size in number of sectors Number of ECC bytes as currently selected via the set features command xxx Microcode version in ASCII Model number in ASCII Maximum number of sectors that can be transferred per interrupt on Read and Write Multiple commands casses 7 0 Maximum number of sectors that can be transferred per interrupt Note 1 The mark in Content field indicates the use of those parameters that are vend
165. or specific Note 2 See following table Number of cylinders heads sectors by models for Number of cylinders heads sectors by models for HTS5416XXJ98A00 on Page 5 Figure 34 Identify device information Capable of double word I O 0000 cannot perform 49 ooon Cspsb iiesbitassignmens SSCS Sandy imer value are vendor specifie 0 1 d diep rioRDYSupond XL d 0 ate can be disabled S Pf 9 efit Supported 0 Pe IPM Supported SSCS P00 OSC f 30H capabiities _ 5c9 econtens of word 50 are valid Pf efit contents of word 50 are valid 0 0 20 1 the device has a minimum Standby timer value that is device specific 51 02008 7 PIO data transfer cycle timing mode Refer Word 62 and 63 35 Validity fag ofthe word PSO Reserved Pf 9e wer 558 are Valid Numberofcwrenteyl ndem SSCS xxH Number of current heads xxH Number of current sectors per track Gan wl Current capacity in sectors Word 57 specifies the low word of the capacity OxxxH Current
166. ord 0 Imo E 51515151515 ee Kom Kom ke o SHB Wa Wa lt 1 lt 1 lt lt S H halla pe ye olololo S 5 5 5 5 e o no no d ieg ied ieg pr gq jog jog jog x eleleltsc et 5 yo a iza 5 5 5 5 EI 0 5 c O g ecurity Erase Prepare n ecurity Erase Unit ecurity Freeze Lock ecurity Set Password ecurity Unlock 2d ense Condition E 2321 51 MESE 2 ord NES 3 1 EES ae a 3 EE 3 5 4 _ i ori 5 pos E NENNEN E EE 22 1 3 EA 3 2 2 3 2 3 EEN n et Features Figure 20 Command set 69 167 Travelstar 5K160 SATA Hard Disk Drive Specification Protocol Command et Max Address et Max Address Ext et Max Freeze Lock et Max Lock et Max Set Password et Max Unlock et Multiple Mode leep n n eep M A R T Disable Operations M A R T Enable Disable Attribute Auto save M A R T Enable Disable Automatic Off line M A R T Enable Operations M A R T Execute Off line Immediate M A R T Read Attribute Values M A R T Read Attribute Thresholds M A R T Read Log Sector M A R T Return Status M A R T Save Attribute Values M A R T Write Log Sector andb
167. ord protection is required Otherwise if the User Password is forgotten then no one can unlock the device which is locked with the User Password 12 9 4 Master Password Revision Code This Master Password Revision Code is set by Security Set Password command with the master password And this revision code field 1s returned in the Identify Device command word 92 The valid revision codes are 0001h to FFFEh The default value of Master Password Revision Code is FFFEh Value 0000h and FFFFh is reserved 12 9 5 Operation example 12 9 5 1 Master Password setting The system manufacturer dealer can set a initial Master Password using the Security Set Password command without enabling the Device Lock Function 12 9 5 2 User Password setting When a User Password is set the device will automatically enter lock mode the next time the device is powered on lt Setting Password gt lt No Setting Password gt POR POR Set Password with User Password Normal operation Normal operation Power off Power off POR Device locked mode POR Device unlocked mode Figure 11 Initial Setting 12 9 1 2 Operation from POR after User Password 1s set When Device Lock Function is enabled the device rejects media access command until a Security Unlock command 1s successfully completed 56 167 Travelstar 5K160 SATA Hard Disk Drive Specification POR gt Device Locked mode lt V v v Unlock CMD Er
168. ossible to achieve the same level of Power savings with a fixed entry time into Active Idle because every users data and access pattern is different The optimum entry time changes over time The same algorithm works for entering into Low Power Idle mode and Standby mode which consumes less power but need more recovery time switching from this mode to Active mode 12 7 Interface Power Management Mode Slumber and Partial Interface Power Management Mode is supported by both Device initiated interface power management and Host initiated interface power management Please refer to the Serial ATA Specification about Power Management Mode 53 167 Travelstar 5K160 SATA Hard Disk Drive Specification 12 8 S M A R T Function The intent of Self monitoring analysis and reporting technology S M A R T is to protect user data and prevent unscheduled system downtime that may be caused by predictable degradation and or fault of the device By monitoring and storing critical performance and calibration parameters S M A R T devices employ sophisticated data analysis algorithms to predict the likelihood of near term degradation or fault condition By alerting the host system of a negative reliability status condition the host system can warn the user of the impending risk of a data loss and advise the user of appropriate action Since S M A R T utilizes the internal device microprocessor and other device resources there may be some small overhead
169. r L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid The cylinder number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H The head number of the last transferred sector L 0 LBA mode this register contains current LBA bits 24 27 L 1 106 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 19 Read Multiple Ext 29h Command Block Output Registers Command Block Input Registers Register 7fefs4 s 2 fi o Register 76 5 3 2 i fo Daton Pe ee See Below eios T T T T T 1 Sector Count Es OO oe Pew v Iv Iv KA DANA KAAT T T T 1 1 AA A DA CA NA pm EE DACA NA Y ERR x pei V V LBA High pen LBA High V Eon Device oo Sessa ommand lofofifo 0 0 1 See Below Error Regis ET Satu Register 7T TISLALLEILLISALLLELLCLDILZLLL cac UNC o ix 0 Aer TON amn pr bsc ERR T v LoT v T9 v HL Figure 63 Read Multiple Ext Command 29h A Output Parameters To The Device Sector Count Current The number of sectors to be transferred low order bits 7 0 Sector Count Previous The number of sectors to be transferred high order bits 15 8 If 0000h in the Sector Count regis
170. r 2 Counter 0001h Value Counter 0009h Identifier 10 11 Counter 0009 Value lt Counter 000Ah Identifier 14 Counter 000Ah Value 15 E Counter 000Bh Identifier 18 19 Counter 000Bh Value 20 cae 2 Counter 000Dh Identifier 22 23 Counter 000Dh Value 24 00h 25 00h 26 510 Reserved 00h 511 Data Structure Checksum Table 60 Phy Event Counter information 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 104 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 17 Read Long 22h 23h Command Block Oupu Register ee BIEEEBEBRIE Bea Sector Com EEE Status Register EE ERE ER ERE i a Figure 61 Read Long Command 22h 23h The Read Long command reads the designated one sector of data and the ECC bytes from the disk media then transfers the data and ECC bytes from the device to the host After 512 bytes of data have been transferred the device will keep setting DRQ 1 to indicate that the device is ready to transfer the ECC bytes to the host The number of ECC bytes are 4 or 52 according to the setting of Set Feature option The default setting is 4 bytes of ECC data The command makes a single attempt
171. r and the low order 3 bits encode the mode value bits bits 7 3 2 0 PIO Default Transfer Mode 00000 000 PIO Default Transfer Mode Disable IORDY 00000 001 PIO Flow Control Transfer Mode x 00001 nnn nnn 000 001 010 011 100 Multiword DMA mode x 00100 nnn nnn 000 001 010 Ultra DMA mode x 01000 nnn nnn 000 001 010 011 100 101 When Feature register is 05h Enable Advanced Power Management the Sector Count Register specifies the Advanced Power Management level COh FEh The deepest Power Saving mode is Active Idle 80h BFh The deepest Power Saving mode is Low power Idle Olh 7Fh The deepest Power Saving mode is Standby 00h FFh Aborted Note 2 If the number of auto reassigned sectors reaches the device s reassignment capacity the write cache function will be automatically disabled Although the device still accepts the Set Features command with Feature register 02h without error the write cache function will remain disabled For current write cache function status please refer to the Identify Device Information 129word by Identify Device command Power off must not be done in 5 seconds after write command completion when write cache is enabled Note 3 When Feature register is 85h Disable Advanced Power Management the deepest Power Saving mode becomes Active Idle Note 4 When the Feature register is set to 10h or 90h the value set to the Sector Count register specifies the specific Serial ATA feat
172. ress of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 151 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 46 Write DMA FUA Ext 3Dh Command Block Output Registers Command Block Input Registers Register v e s J4 s 2 r o Resister v e s a s o s o Dias a See Below Previos T 1 Sector Count Es CO eT Previous VV V V v VT T T T T 1 1 utu td EH NA DA A ES Ft dL DAA DACA N Previous Vv v v vIv v v v Previous Vv v v vIv v v x pen Esame Previous viv 62 See Below Saas Register ED p z Ters RT pod cac UNC o ix 0 Aer TON amn sv RDY pr bsc ERR v Lo v v L9 Figure 101 Write DMA FUA Ext Command 3Dh The Write DMA FUA Ext command transfers one or more sectors of data from the host to the device then the data is written to the disk media This command provides the same function as the Write DMA Ext command except that the transferred data shall be written to the media before the ending status for this comm
173. rom The Device LBA Low HOB 0 Set Max LBA 7 0 129 167 Travelstar 5K160 SATA Hard Disk Drive Specification LBA Low HOB 1 Set Max LBA 31 24 LBA Mid HOB 0 Set Max LBA 15 8 LBA Mid HOB 1 Set Max LBA 39 32 LBA High HOB 0 Set Max LBA 23 16 LBA High HOB 1 Set Max LBA 47 40 130 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 38 Set Multiple C6h Command Block Output Registers Command Block Input Registers eese P Rese piis ESTEE le Sector Count v v v v v v vIv Sector Count 1 s Mia ua Loa High pa nien eie Lee Command 10091100 Regis ee erp eap ir 78 Set Multiple Command C6h The Set Multiple command enables the device to perform Read and Write Multiple commands and establishes the block size for these commands The block size is the number of sectors to be transferred for each interrupt The default block size after power up is 0 and Read Multiple and Write Multiple commands are disabled If an invalid block size is specified an Abort error will be returned to the host and Read Multiple and Write Multiple commands will be disabled Output Parameters To The Device Sector Count The block size to be used for Read Multiple and Write Multiple com
174. s 0 4 Tt T1 where Ns average seek rate in seeks s Tt published seek time from one random track to another without including rotational latency T1 equivalent time in seconds for the drive to rotate by half a revolution 6 6 2 Discrete tone penalty Discrete tone penalties are added to the A weighted sound power Lw with the following formula only when determining compliance Lwt spec Lw 0 1Pt 0 3 lt 4 0 Bels where Lw A weighted sound power level Pt Value of desecrate tone penalty dLt 6 0 dBA dLt Tone to noise ratio taken in accordance with ISO 7779 at each octave band 36 167 Travelstar 5K160 SATA Hard Disk Drive 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 EC number and FRU 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 Labels containing the vendor s name disk drive model number serial number place of manufacture and UL CSA logos e presence of labels containing jumper information depends on the customer 6 8 Electromagnetic compatibility When installed in a suitable enclosure and exercised with a random accessing routine at maximum data rate the drive meets the followin
175. s the host must also wait for RDY 1 before proceeding A device must maintain either BSY 1 or DRQ 1 at all times until the command is completed The INTRQ signal is used by the device to signal most but not all times when the BSY bit is changed from 1 to 0 during command execution command shall only be interrupted with a COMRESET or software reset The result of writing to the Command register while BSY 1 or DRQ 1 is unpredictable and may result in data corruption A command should only be interrupted by a reset at times when the host thinks there may be a problem such as a device that 1s no longer responding Interrupts are cleared when the host reads the Status Register issues a reset or writes to the Command Register Timeout Values on Page 5 shows the device timeout values 13 1 Data In Commands These commands are Device Configuration Identify Identify Device Read Buffer Read Long Read Multiple Read Multiple Ext Read Sector s Read Sector s Ext S M A R T Read Attribute Values S M A R T Read Attribute Thresholds S M A R T Read log sector Execution includes the transfer of one or more 512 byte 2512 bytes on Read Long sectors of data from the device to the host Note that the status data for a sector of data is available in the Status Register before the sector is transferred to the host If the device detects an invalid parameter then it will abort the command by setting BSY 0 ERR 1 ABT 1 If a
176. s Register and transmits a FIS to the device containing the new contents Command register is written in the Shadow Register Block e Device Control register is written in the Shadow Register Block with a change of state of the SRST bit e COMRESET is requested 11 1 Register naming convention This specification uses the same naming conventions for the Command Block Registers as the ATA ATAPI 7 standard However the register naming convention is different from that uses in the Serial ATA 1 0a specification Table 24 defines the corresponding of the register names used in this specification with those used in the Serial ATA 1 0a specification Register name in this Register name in this Serial ATA register name specification when writing specification when reading registers registers Sector count Sector count current Sector count HOB 0 44 167 Travelstar 5K160 SATA Hard Disk Drive Specification Cylinder high LBA high current Control Device Control Table 24 Register naming convention and correspondence 11 2 Command register This register contains the command code being sent to the device Command execution begins immediately after this register is written The command set is shown in Command set on 5 All other registers required for the command must be set up before writing the Command Register 11 3 Device Control Register Device Control Register v 4 s 1 s 2 qx 6j lx do M luus 9 Table 25
177. s considered to be the interrupt acknowledge Any pending interrupt is cleared whenever this register 1s read If BSY 1 no other bits in the register are valid Bit Definitions BSY Busy BSY 1 whenever the device is accessing the registers The host should not read or write any registers when BSY 1 If the host reads any register when BSY 1 the contents of the Status Register will be returned DRDY RDY Device Ready RDY 1 indicates that the device is capable of responding to a command RDY will be set to 0 during power on until the device is ready to accept a command 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 read by the host DSC Device Seek Complete DSC 1 indicates that a seek has completed and the device head is settled over a track DSC is set to 0 by the device just before a seek begins When an error occurs this bit is not changed until the Status Register is read by the host at which time the bit again indicates the current seek complete status When the device enters into or is in Standby mode or Sleep mode this bit is set by device in spite of not spinning up DRQ Data Request DRQ 1 indicates that the device is ready to transfer a word or byte of data between the host and the device The host should not write the Command register when DRQ 1 CORR COR Corrected Data Always 0 IDX Index Always 0 ERR ERR 1 indicates that an error occ
178. s of Attribute Value information from the device 133 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 40 1 2S 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 14 40 1 3S M A R T Enable Disable Attribute Autosave Subcommand D2h This subcommand enables and disables the attribute autosave feature of the device The S M A R T Enable Disable Attribute Autosave subcommand allows the device to automatically save its updated Attribute Values to the Attribute Data Sector at the timing of the first transition to Active idle mode after 30 minutes since the last saving of Attribute Values this subcommand causes the autosave feature to be disabled The state of the Attribute Autosave feature either enabled or disabled will be preserved by the device across power cycle A value of 00h written by the host into the device s Sector Count Register before issuing the S M A R T Enable Disable Attribute Autosave subcommand will cause this feature to be disabled Disabling this feature does not preclude the device from saving Attribute Values to the Attribute Data sectors during some other normal operation
179. scribed in Figure 51 Log address definition If the host attempts to write to a read only log address the device shall return command aborted Cylinder Low Current The first sector of the log to be written low order bits 7 0 Cylinder Low Previous The first sector of the log to be written high order bits 15 8 If the feature set associated with the log specified in the Sector Number register is not supported or enabled or if the values in the Sector Count Sector Number or Cylinder Low registers are invalid the device shall return command aborted If the host attempts to write to a read only log address the device shall return command aborted 154 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 49 Write Long 32h 33h Command Block Output Registers Register 7 6 5 4 3 2 1 0 naaa Feme BE Se EE Sector Com J E TIL LBA Mid LBA High Figure 104 Write Long Command C5h The Write Long command transfers the data and the ECC bytes of the designated one sector from the host to the device then the data and the ECC bytes are written to the disk media After 512 bytes of data have been transferred the device will keep setting DRQ 1 to indicate that the device is ready to receive the ECC bytes from the host The number of ECC bytes are 4 or 52 according to setting of Set Feature option The default number after power on is 4 bytes
180. ss of Feature register value it shall be interpreted as a Set Max Address command Set Max Frozen AN Set Max FREEZE LOCK Set Max Locked Set Max Set Max UNLOCK Set Max Unlocked AN Set Max SET PASSWORD Set Max Inactive Figure 17 Set Max security mode transition 62 167 Travelstar 5K160 SATA Hard Disk Drive Specification 12 11 Seek Overlap HTS5416XXJ98A00 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 HTS5416XXJ9SA00 overlap the seek command as described below The first seek command completes before the actual seek operation is over Then device can receive the next seek command from the host but actual seek operation for the next seek command starts right after the actual seek operation for the first seek command is completed In other words the execution of two seek commands overlaps excluding the actual seek operation With this overlap total elapsed time for a number of seek commands is the total accumulated time for the actual seek operation plus one pre and post overhead When the number of seeks is large just this one overhead can be ignored 1 With overlap Host process Device process Lr ies Seek operat
181. st unrecoverable error 152 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 47 Write FPDMA Queued 61h Command Block Output Registers Command Block Input Registers Register v e s a s o r o Reisee v e s a s o r o aS eee I L Curent v v v v v v v v Emr See Below Previews DA KA KA KA KA KA KA KA D 3 Sector Count T T T TIT porcum OEIL IET eios T T T T T T T T T 1 1 pim TE DAA DAA DACA NA Previous v vIv v vIvIv v Ee ERR ee ee e mere ele e ehe X Previous Vv v v vIv v v pen LBA High IHoB 0 v v Es viv 62 See Below Saas Reiser uc o ios f o faer avs sy froy pr psc pra cor ox ferr ES 102 Write DMA Queued Command 61h The Write FPDMA Queued command transfers one or more sectors of data from the host to the device then the data is written to the disk media If an uncorrectable error occurs the write will be terminated at the failing sector Output Parameters To The Device Feature Current The number of sectors to be transferred low order bit 7 0 Feature Previous The number of sectors to be transferred high order bit 15 8 T TAG value It shall be assigned to be different from all other qu
182. such as during a power up or power down A value of F1h written by the host into the device s Sector Count Register before issuing the S M A R T Enable Disable Attribute Autosave subcommand will cause this feature to be enabled Any other non zero value written by the host into this register before issuing the S M A R T Enable Disable Attribute Autosave subcommand will not change the current Autosave status but the device will respond with the error code specified in S M A R T Error Codes on Page 5 The S M A R T Disable Operations subcommand disables the autosave feature along with the device s S M A R T operations Upon the receipt of the subcommand from the host the device enables or disables the Autosave feature 14 40 1 4 S M A R T Save Attribute Values Subcommand D3h This subcommand causes the device to immediately save any updated Attribute Values to the device s Attribute Data sector regardless of the state of the Attribute Autosave feature Upon receipt of the S M A R T Save Attribute Values subcommand from the host the device writes any updated Attribute Values to the Attribute Data sector 14 40 1 5 S M A R T Execute Off line Immediate Subcommand D4h This subcommand causes the device to immediately initiate the set of activities that collect Attribute data in an off line mode off line routine or execute a self test routine in either captive or off line mode The LBA Low register shall be set to specify the operat
183. t Travelstar 5K160 SATA Hard Disk Drive Specification zm ex m 1e Non zero buffer offset in DMA Setup FIS 1500 MCI BEI Dci 110 oci Tem s0 T sci sci ico qe JEI Ic 0 CD esupports SM A R T Feature Set Note 1 The mark in Content field indicates the use of those parameters that are vendor specific Note 2 The feature marked is able to be unsupported by the Device Configuration Overlay command Figure 36 Identify device information Continued reo Command set supported S P15 Aways Ps en Alas SSS LUSH CACHE EXT command suppored 12 I FLUSH CACHE command supported i Device Configuration Overlay command supported i8 bir Address feature set suppored 9 CD Iz Automatic Acoustic Management supported eb I SET MAX security extension supported FEATURES subcommand required to spin up senb rPewe UpInStmdoyfesuresersuppoed 4 20 1 Removable Media Status Notification Feature Set supported 3 1 1 Advanced Power Management Feature Set supported 1 Download Microcode Command Supported 86 167 Travelstar 5K160 SATA Hard Disk Drive Specification 4 aC 13 20 1 IDLE IMMEDIATE with UNLOAD FEATURE supported I1 c9 10 20 1 URG bit supported for WRITE STREAM DMA EXT
184. t Address feature set is implemented the native maximum address is the value returned by a Read Native Max Address Ext command If the native maximum address is equal to or less than 268 435 455 a Read Native Max Address shall return the native maximum address If the native maximum address is greater than 268 435 455 a Read Native Max Address shall return a value of 268 435 455 64 167 Travelstar 5K160 SATA Hard Disk Drive 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 In Serial ATA COMRESET is equivalent to hard reset and a non commanded COMRESET may occur if there is an asynchronous loss of signal Since COMRESET is equivalent to hardware reset in the case of an asynchronous loss of signal some software settings may be lost without legacy software knowledge In order to avoid losing important software settings without legacy driver knowledge the software settings preservation ensures that the value of important software settings is maintained across a COMRESET Software settings preservation may be enabled or disabled using Set Features with a subcom
185. t up to 1 symbol 10bit errors on the fly when one transfers to HOST 24 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 Specification 6 1 Environment 6 1 1 Temperature and humidity Temperature 5 to 55 C See note below Relative humidity 8 to 9096 noncondensing Maximum wet bulb temperature 29 4 C noncondensing Maximum temperature gradient 20 C hour Altitude 300 to 3048 m 10 000 ft Temperature 40 to 65 C Relative humidity 5 to 9596 noncondensing Maximum wet bulb temperature 40 C noncondensing Maximum temperature gradient 20 C hour Altitude 300 to 12 192 m 40 000 ft Table 12 Environmental condition The system is responsible for providing sufficient air movement to maintain surface temperatures below 60 C at the center of top cover and below 63 C at the center of the drive circuit board assembly The maximum storage period in the shipping package is one year Specification Environment 41 C 95 31 C 90 WetBulb 40 C WetBulb29 4 C Non Operating Operating Relative Humidity 65 C 23 55 C 15 5 5 15 25 35 45 55 Temperature degC Figure 1 Limits of temperature and humidity 6 1 2 Corrosion test The hard disk drive must be functional and show no signs of corrosion after being exposed to a temperature humidity stress of 50 C 90 RH relative humidity for one week followed by a temperatur
186. tar 5K160 SATA Hard Disk Drive Specification 14 50 Write Multiple C5h Command Block Output Registers Iesse PEELEN piis fea eee Sector Count sarn 12 2 __________ 1 1 0 0 0 1 0 1 Error Register 5 EN E RON 8 Rese PRELE Da TH See Below v vIvIviviv v v LBA Mid Iv LBA High Deve 1119119 Status Status Register 7161514131211 i a prr pepper Wa ld eap a un Write ERES Command C5h The Write Multiple command transfers one or more sectors from the host to the device the data is written to the disk media then Command execution is identical to the Write Sectors command except that an interrupt is generated for each block as defined by the Set Multiple command instead of for each sector The sectors are transferred through the Data Register 16 bits at a time Output Parameters To The Device Sector Count will be transferred LBA Low The number of continuous sectors to be transferred If zero is specified then 256 sectors The sector number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 LBA High Mid The cylinder number of the first sector to be transferred L 0 In LBA mode this register contains LBA bi
187. te average Seek average Standb Sleep Startup maximum peak Average from power on to read Table 14 DC Power requirements Footnotes 1 The maximum fixed disk ripple is measured at the 5 volt input of the drive 2 The disk drive shall not incur damage for an over voltage condition of 25 maximum duration of 20 ms on the 5 volt nominal supply 3 The idle current is specified at an inner track 4 The read write current is specified based on three operations of 63 sector read write per 100 ms The seek average current is specified based on three operations per 100 ms The worst case operating current includes motor surge Typical mean average of the drive population tested at nominal environmental and voltage conditions 27 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 2 1 Power consumption efficiency a c cc 160GB 390983 80GB 60GB 40GB Power bos SV NT Efficiency 0 0041 0 0054 0 0081 0 0108 0 0163 Watts GB Table 15 Power consumption efficiency Note Power consumption efficiency is calculated as Power Consumption of Low Power Idle Watt Capacity GB 28 167 Travelstar 5K160 SATA Hard Disk Drive Specification 6 3 Reliability 6 31 Data reliability e Probability of not recovering data is 1 in 10 bits read e 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 pre
188. ted by the host The self test routine interrupted by the host with a hard or soft reset The device was unable to complete the self test routine due to a fatal error or unknown test error The self test routine completed with unknown element failure The self test routine completed with electrical element failure The self test routine completed with servo element failure The self test routine completed with read element failure NAAM 140 167 Travelstar 5K160 SATA Hard Disk Drive 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 7 Off Line Data Collection Capability Bit Definition 0 Execute Off line Immediate implemented bit 0 S M A R T Execute Off line Immediate subcommand is not implemented 1 S M A R T Execute Off line Immediate subcommand is implemented 1 Enable disable Automatic Off line implemented bit 0 S M A R T Enable disable Automatic Off line subcommand is not implemented 1 S M A R T Enable disable Automatic Off line subcommand is implemented 2 abort restart off line by host bit 0 The device
189. ter is specified then 65 536 sectors will be transferred LBA Low Current LBA 7 0 LBA Low Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 107 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 20 Read Native Max Address F8h Block Output Registers Command Command Block Input Registers Command Block Input Registers Register v e s a s z r o Register 6 5 3 2 10 paa fff fata TT Feature Error See Below Sector tea row __ jvivivivjv viviv J J J F Ditp va VV Iv LBA Hisn J J rpAnen LLL Error Register Status Register 5 EE ERR ER ERE ESE iei n diu d d iin il lt uu NEN cus Max Aes NENN
190. the defect information The execution time of this command is shown below HTS541616J9SA00 81 min HTS541612J9SA00 71 min HTS541680J9SA00 42 min HTS541660J9SA00 37 min HTS541640J9SA00 22 min 81 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 8 Identify Device ECh Command Block Output Registers Register 7 6 5 403 2 1 To Du Feature Sector Count LBA Low Bamia AE LBA Hisn EE ALLL Command 1 1 1 0 1 1 0 0 Error Register 7 Figure 33 Identify Device Command ECh TERETERE ENARA EA EA EAEN ENE L7 fo 5 ifo ATE E Pep Pepe epee N po fo o Command Block Input Registers Rese PRERE pus Sector Count Status Register Status The Identify Device command requests the device to transfer configuration information to the host The device will transfer a sector to the host containing the information in Identify device information on Page 5 5 00 045xH Drive classification bit assignments LI 1 MEE ee ee 15 20 14 20 13 20 12 20 11 20 10 21 9 20 8 20 7 20 6 21 5 20 4 1 3 1 2 x 1 21 0 20 C837h 37C8h Reserved Reserved 1 ATAPI device 0 ATA device 1 format speed tolerance gap required 1 track offset
191. threshold when the subsequent 1 billion reads all execute without error The end points for the normalized values for all Attributes will be 1 01h at the low end and 100 64h at the high end for the device For Performance and Error Rate Attributes values greater than 100 are also possible up to a maximum value of 253 FDh 14 40 2 3 Off Line Data Collection Status The value of this byte defines the current status of the off line activities of the device Bit 7 indicates Automatic Off Line Data Collection Status Bit 7 Automatic Off Line Data Collection Status 0 Automatic Off Line Data Collection is disabled 1 Automatic Off Line Data Collection is enabled Bits 0 thru 6 represents a hexadecimal status value reported by the device Value Definition 0 Off line data collection never started 2 All segments completed without errors In this case current segment pointer equals to total segments required 4 Off line data collection suspended by interrupting command 5 Off line data collecting aborted by interrupting command 6 Off line data collection aborted with fatal error 14 40 2 4 Self test execution status Bit Definition 0 3 Percent Self test remaining An approximation of the percent of the self test routine remaining until completion in ten percent increments Valid values are 0 through 9 4 7 Current Self test execution status The self test routine completed without error or has never been run The self test routine abor
192. ting for the spindle to reach operating speed Idle Mode Refer to the section of Adaptive Battery Life Extender Feature Active Mode The device is in execution of a command or accessing the disk media with read look ahead function or write cache function 12 5 2 Power Management Commands The Check Power Mode command allows a host to determine if a device is currently in going to or leaving standby mode The Idle and Idle Immediate commands move a device to idle mode immediately from the active or standby modes The idle command also sets the standby timer count and starts the standby timer The sleep command moves a device to sleep mode The device s interface becomes inactive at the completion of the sleep command A reset is required to move a device out of sleep mode When a device exits sleep mode it will enter standby mode The Standby and Standby Immediate commands move a device to standby mode immediately from the active or idle modes The standby command also sets the standby timer count 51 167 Travelstar 5K160 SATA Hard Disk Drive Specification 12 5 3 Standby Sleep command completion timing Confirm the completion of writing cached data in the buffer to media Unload heads on the ramp Set DRDY bit and DSC bit in Status Register Activate the spindle break to stop the spindle motor Wait until spindle motor is stopped Perform post process 12 5 4 Status In the active idle and standby modes the device shal
193. tinuous sectors to be transferred low order bits 7 0 Sector Count Previous The number of continuous sectors to be transferred high order bits 15 8 If zero is specified in the Sector Count register then 65 536 sectors shall be transferred LBA Low Current LBA 7 0 LBA Low Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 158 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 53 Write Sector s 30h 31h Command Block Output Registers Iesse PEELEN piis ESSET Es Sector Count LBAtow sama sies M kiama Command JoJo r rfofo fof Error Register 5 EC cd Er REOR Regier prere pua 1 Error See Below i VIVIV Status Register 716 5
194. transfers the data from the device to the host The sectors are transferred through the Data Register 16 bits at a time If an uncorrectable error occurs the read will be terminated at the failing sector Output Parameters To The Device Sector Count Current The number of sectors to be transferred low order bits 7 0 Sector Count Previous The number of sectors to be transferred 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 Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 111 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 24 Read Verify Sector s 40h 41h Command Block Output Registers Iesse pa 2 ET 8 81 Sector Cou sarn 12
195. ts 8 15 Mid 16 23 High L 1 H The head number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 L 1 Input Parameters From The Device Sector Count unrecoverable error occurs The number of requested sectors not transferred This will be zero unless an LBA Low The sector number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid The cylinder number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H The head number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 24 27 L 1 156 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 51 Write Multiple Ext 39h Command Block Output Registers Command Block Input Registers Register v e s J4 s 2 r o Reese v e s a s 2 1 o EE pep SEE a T p ERS ee ee See Below eios T T T T T 1 Sector Count Es OO Deme Pew v Iv Iv vv Iv INT T T T 1 1 AA A DA CA NA pm EE DACA NA v ERR pes Koa KA KAKA KA KK pen CBA Tien Bos o v v v V V V V V ec nons See Below ET Satu Register 7T TISLALLEILLISALLLELLCLDILZLLLL exc uc v ios f o fa
196. ttached to INTRQ Interrupt request Device or Host 43 167 Travelstar 5K160 SATA Hard Disk Drive 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 with Packet Interface Extension ATA ATAPI 7 Revision 4b dated 21 Apr 2004 with deviation as follows S M A R T Return Status S M A R T RETURN STATUS subcommand does not check advisory attributes That is the device will not report threshold exceeded condition unless pre failure attributes exceed their corresponding thresholds For example Power On Hours Attribute never results in negative reliability status Check Power Mode Check Power Mode command returns FFh to Sector Count Register when the device is in Idle mode This command does not support 80h as the return value 10 Physical Interface Physical Interface is described in Part1 Functional Specification section 11 Registers In Serial ATA the host adapter contains a set of registers that shadow the contents of the traditional device registers referred to as the Shadow Register Block Shadow Register Block registers are interface registers used for delivering commands to the device or posting status from the device About details please refer to the Serial ATA Specification In the following cases the host adapter sets the BSY bit in its shadow Statu
197. ture Note 1 The mark in Content field indicates the use of those parameters that are vendor specific Note 2 See following table Number of cylinders heads sectors by models for Number of cylinders heads sectors by models for 55416 98 00 on Page 5 Figure 40 Identify device information Hitachi Hitachi HTS541616J9S A00 HTS541612J9SA00 Model Number in ASCII me wD Number of cylinders FFFh 3FFFh Number of heads Butfersize 3ABSR 3ABSR Total number of user addressable sectors word 160 61 DF94BBOh 12A19EBOh DF94BBOh Model Number in ASCII Hitachi Hitachi Hitachi HTS541680J9SA00 HTS541660J9SA00 HTS541640J9SA00 Maximum user LBA address for 48 bit Address feature set word 100 103 Number of cylinders 3FFFh 3FFFh Number of heads 10h Burersize SABSR SABER 3ABSh Total number of user addressable sectors word 60 61 Maximum user LBA 950F8BOh 6FC7C80h 4A85300h 950F8BOh 6FC7C80h 4A85300h address for 48 bit Address feature set word 100 103 Figure 41 Number of cylinders heads sectors by models for HTS5416XXJ9S A00 90 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 9 Idle E3h 97h Command Block Output Registers Command Block Input Registers eese pa HE Fue CECE Err Sector Count V Vy Sector Count CE eaw sa Mia CC eama L
198. ture Only values 1 through 5 are valid 14 40 5 3 Device error count This field contains the total number of errors The value will not roll over 14 40 5 4 Error log data structure Data format of each error log structure is shown below eseipio ITemorlgdausmucue Sh P errortog data structure 0 ES ET ERA SIE error log data structure S error log data structure BEN Figure 90 Error log data structure Command data structure Data format of each command data structure is shown below Description Device Conolsegister ooo oo ___ EE Sector count register or LBA Mid register 1 9 LBA High register Deviceregister Command register Or Timestamp milliseconds from Power Om 4 l Figure 91 Command data structure Error data structure Data format of error data structure is shown below Description Reserved LL Emorregister Sector countregister 02 LBA Lowregister SS YY o LBA Nid 386 i oir Deviceregister ECCE Status register Extended error 144 167 Travelstar 5K160 SATA Hard Disk Drive Specification EE Figure 92 Error data structure State field contains a value indicating the device state when command was issued to the device Value State xOh Unknown xlh Sleep x2h Standby x3h Active Idle x4h S
199. unt 04h now Security feature set is enabled of 75 167 Travelstar 5K160 SATA Hard Disk Drive Specification 1 Ultra DMA mode 0 is supported Reserved 1 48 bit Addressing feature set supported Host Protected Area feature set supported 1 Automatic acoustic management supported Reserved 36 Lm zi o 1 Power Up in Standby feature set supported 1 Security feature set supported 0 SMART 25s Ps Checksum r9 signature ASR 1 Figure 26 Device Configuration Overlay Data structure Note Bits 7 0 of this word contain the value Abh Bits 15 8 of this word contain the data structure checksum The data structure checksum is the two s complement of the sum of all byte in words 0 through 254 and the byte consisting of bits 7 0 of word 255 Each byte is added with unsigned arithmetic and overflow is ignored The sum of all bytes is zero when the checksum is correct invalid word location LBA Mid invalid bit location bts 20 LBALow invalid bit location bits 15 8 Sector coum eror reason code amp description P er CO feature is frozen cem Device s now Security Locked node fh Devices feature is already modified wih DCO User atiempt to disable any feature e
200. ure to enable or disable When the Feature register is set to 10h or 90h the value set to the Sector Count register specifies the specific Serial ATA feature to enable or disable Sector count value Description Olh Non zero buffer offset in DMA setup FIS 02h DMA setup FIS auto activate optimization 03h Device initiated interface power state transitions 04h Guaranteed in order data delivery 06h Software Settings Preservation 126 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 36 Set Max Address F9h Command Block Output Registers mese biis ETE ESTE EE Fue Sector Count 1 1 1 T 1 1 15 arw sama s High Tv vIviv v viv v nie 22120 CUT nn Error Register 5 Nc Er REOR TS paa Error See Below enor Status Register 716 5 1 3 2 Ji Bee e Kid pepper prp eap ir EE EE Set Max KEEN 9 The Set Max Address command overwrites the max LBA CYL of HDD in a range of actual device capacities The device receives this command all accesses beyond that LBA CYL are rejected with setting ABORT bit in status register Identify device command and Identify device DMA command returns the LBA CYL which is set via this command as a default value This command impleme
201. urred during execution of the previous command The Error Register should be read to determine the error type The device sets ERR 0 when the next command is received from the host 47 167 Travelstar 5K160 SATA Hard Disk Drive Specification 12 General Operation Descriptions 12 1 Reset Response There are three types of reset in ATA as follows Power On Reset POR The device executes a series of electrical circuitry diagnostics spins up the HDA tests speed and other mechanical parametric and sets default values COMRESET COMRESET is issued in Serial ATA bus The device resets the interface circuitry as well as Soft Reset Soft Reset Software Reset SRST bit in the Device Control Register is set then is reset The device resets the interface circuitry according to the Set Features requirement The actions of each reset are shown in Reset Response Table on Page 5 Aborting Host interface 9 9 Aborting Device operation I Lr v9 Initialization of hardware x x X X Internal diagnostic Starting spindle motor Initialization of registers 2 Reverting programmed parameters to default Number of CHS set by Initialize Device Parameter Multiple mode Write cache Read look ahead ECC bytes Volatile max address Power mode Reset Standby timer value execute X not execut Note 1 Execute after the data in write cache has been written 2 Default value on POR
202. us sectors to be transferred high order bits 15 8 If zero is specified then 65 536 sectors will be transferred LBA Low Current LBA 7 0 LBA Low Previous LBA 31 24 LBA Mid Current LBA 15 8 LBA Mid Previous LBA 39 32 LBA High Current LBA 23 16 LBA High Previous LBA 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low HOB 1 LBA 31 24 of the address of the first unrecoverable error LBA Mid HOB 0 LBA 15 8 of the address of the first unrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High HOB 0 LBA 23 16 of the address of the first unrecoverable error LBA High HOB 1 LBA 47 40 of the address of the first unrecoverable error 160 167 Travelstar 5K160 SATA Hard Disk Drive Specification 15 Timings The timing of BSY and DRQ in Status Register are shown in Timeout Values on Page 5 The other timings are described in Partl Functional Specification section FUNCTION INTERVAL START STOP TIMEOUT Power On and COMRESET J Status Register 31 sec IBSY 0 and RDY 1 land sends a Register IS to the host Device Busy Device Control Register Status Register 400 ns After Software Reset BSY 1 Device Ready Status Register 31 sec After Software Reset IBSY 0 and RDY 1 land requests to send a Register FIS to the host i Status Register 31 sec IBSY 0 and RDY 1 land sends a Register
203. vice In LBA mode this register specifies LBA address bits 0 7 for seek L 1 In LBA mode this register specifies LBA address bits 8 15 Mid 16 23 High for LBA Low LBA High Mid The cylinder number of the seek seek L 1 H The head number of the seek In LBA mode this register specifies LBA address bits 24 27 for seek L 1 Input Parameters From The Device LBA Low In LBA mode this register contains current LBA bits 0 7 L 1 LBA High Mid In LBA mode this register contains current LBA bits 8 15 Mid 16 23 High L 1 H In LBA mode this register contains current LBA bits 24 27 L 1 123 167 Travelstar 5K160 SATA Hard Disk Drive Specification 14 34 Sense Condition FOh vendor specific Command Block Output Registers gue Re Da J Few Ere Sector Come E msama Iva 88 BA Hi Pevi LT P T T4 ESTARTEA v1 EE Sense Condition Command FOh The Sense Condition command is used to sense temperature in a device This command is executable without spinning up even if a device is started with No Spin Up option If this c
204. will suspend off line data collection activity after an interrupting command and resume it after some vendor specific event 1 The device will abort off line data collection activity upon receipt of a new command 3 Off line Read Scanning implemented bit 0 The device does not support Off line Read Scanning 1 The device supports Off line Read Scanning 4 Self test implemented bit 0 Self test routine is not implemented 1 Self test routine is implemented 5 Reserved 0 6 Selective self test implemented bit 0 Selective self test routine is not implemented 1 Selective self test routine is implemented 7 Reserved 0 14 40 2 8 S M A R T Capability This word of bit flags describes the S M A R T capabilities of the device The device will return 03h indicating that the device will save its Attribute Values prior to going into a power saving mode and supports the S M A R T ENABLE DISABLE ATTRIBUTE AUTOSAVE command Bit Definition 0 Pre power mode attribute saving capability If bit 1 the device will save its Attribute Values prior to going into a power saving mode Standby or Sleep mode 1 Attribute autosave capability If bit 1 the device supports the S M A R T ENABLE DISABLE ATTRIBUTE AUTOSAVE command 2 15 Reserved 0 14 40 2 9 Error Logging Capability Bit Definition 7 1 Reserved 0 0 Error Logging support bit If bit 1 the device supports the Error Logging 14 40 2 10 Self test failure check point This byte indicates the se
205. word The security mode feature device lock function is enabled by this command and the device is not locked immediately The device is locked after next COMRESET with Software Setting Preservation disabled or power on reset When the MASTER password is set by this command the master password is registered internally but the device is NOT locked after next power on reset This command requests a transfer of a single sector of data from the host including the information specified in Security Set Password Information on Page 5 The data transferred controls the function of this command te 00 Control word 0 6 16 Password 32 bytes 17 H Master Password Revision Code valid if Word 0 bit 0 Figure 70 Security Set Password Information Identifier Zero indicates that the device should check the supplied password against the user password stored internally One indicates that the device should check the given password against the master password stored internally 120 167 Travelstar 5K160 SATA Hard Disk Drive Specification Security Level Zero indicates High level one indicates Maximum level If the host sets High level and the password is forgotten then the Master Password can be used to unlock the device If the host sets Maximum level and the user password is forgotten only an Security Erase Prepare Security Unit command can unlock the device and all data will be lost Passwor
Download Pdf Manuals
Related Search
Related Contents
RD 27-100 RD 27-120 Whirlpool IRD4700 User's Manual 2011 Dodge Nitro User`s Guide Manuale Istruzioni Criterion RD1000 Brother MFC-7860DW All in One Printer User Manual USER`S MANUAL Heat recovery air handling unit ダウンロード(PDF 0.38 MB) BiqCrunch User's Guide JVC LCT2505-001A-H User's Manual D3 TTr « Sciences appliquées » Copyright © All rights reserved.
Failed to retrieve file