Home
Hitachi Travelstar HTS543212L9SA00 User's Manual
Contents
1. gt LBALow MERE Previous LBA Mid pom v nu NE Previous NES LBA High Current High _ HOB 0 EEEEEEELE Device Command oE status See Below Error Register Status Register Lem 132 Write Log Ext Commant This command writes a specified number of 512 byte data sectors tothe 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 s 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 described in Table 111 Log sector addresses 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 the feature set associated wit
2. Sector Cou Sector Comme LBA Low tow 1 LBA Mid Te HE Mid LBA High LBA High Device a d EE HJH Ine Device mE Error Register Status Register pe 5 2 fi Ee eee id lE i Bid dd Li T 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 aretransferred 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 L1 LBA High Mid The cylinder number of the first sector
3. 5 10000 r 2 Write Buffer ES ff fifo fo 00 4 rite DMA CA rite DMA 4 35 fi fo ft fof 4 Write DMAFUA Ext 5 WriteFPDMAQueved S er 2 Write Log Ext jJ f 2 Write Multiple ff fof fof gt WriteMultipleExt 39 fff fi fi fo fof 2 Write Multiple FUA Ext if fof fi filo 2 Write Sectors fo ffi fr _2 Write 3 fo fo ft _2 Write Sector syExt fo fof fr 3 Write UncorectableExt 45 fof fof fof Protocol PIO data IN command 2 PIO data OUT command 3 Non data command 4 DMA command 5 First parity DMA command Vendor specific command Table 41 Command Set continued Commands marked are alternate command codes for previously defined commands Command Subcommand Command code Feature Hex Register 76 5K320 SATA OEM Specification S M A R T Function S M A R T Read Attribute Values S M A R T Read Attribute Thresholds S M A R T Enable Disable Attribute Autosave S M A R T Save Attribute Values S M A R T Execute Off line Immediate S M A R T Read Log Sector S M A R T Write Log Sector S M A R T Enable Operations S M A R T Disable Operations S M A R T Return Status S M A R T Enable Disable Automatic Off line Set Features Enable Write Cache Set Transfer Mode Enable Advanced Power Management feature 9 957 7 a NM gt
4. Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees TIS Current High v v VIV V V VIV PAS _ Comman Too i o To To Ti o sus E ERE uc o ix pr psc DRQ COR o LV 1 L9 Table 91 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 is whether the data is transferred tothe 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 verified 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
5. pere Command b See Below T Register Status Register ofsi fifo 5 gt 72 1 ith d id i NUN Unit ERER ERRANEN The Format Unit command initializes all user data sectors after merging reassigned sector location into the defect inform ation 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 vice by this command Note that the Format Unit command initializes from LBA 0 to Native 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 the defect information The execution time of this command is shown below HTS543232L9S A00 HTS543232L9A300 125 min HTS543225L9S A00 HTS543225L9A3
6. A 53 LBA wa IvIvIvIvIvIvIv v LBA nig Tv v v v v vivIv sams See Below Error Register Status Register saa pari 2 id dled Bi ii EM Write EARR Lx A The Write Sector s command transfers one or more sectors fromthe host to the device then the data is written to the disk medi a The sectors are transferred through the Data Register 16 bits at a ti me an uncorrectable error occurs the write will be terminated at the failing sector when the auto reassign function is disable 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 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
7. cac uc o ix Roy pr pse ERR o LV ESL V HE Table 85 Read Multiple Ext Command 29h 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 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 119 5K320 SATA OEM Specification 14 20 Read Native Max Address F8h Block Ouiput Registers Command Command Block Input Registers usw _ pCTeBpTBppIpese EEEE s SS SS EHE MELLE 1 Feature Error See Below Sector Count S
8. See Below ius V Sector Count Current T Sector Count 0 pee eee HM Previous Viv LBA Mid pM Previous LBA Mid IHOB 0 V VIVIVIVIV pese Ren LBA Hisa Curm VI VI VIVI VI VI VV LBAHigh Hos pa ree e Device fff fff Device Stas Command DOE See Below ror Register ________ _ ERE ERR uc ix BsY pr ERR v L9 9T ESL A Table 131 Write FPDMA Queued Command 61h The Write FPDMA Queued command transfers one more sectors of datafromt he host to the device then the data is written to the disk medi a f an uncorrectable error occurs the write will be terminated at the failing sector Output Parameters To The Device Feature Current Feature Previous T LBA Low Current LBA Low Previous LBA Mid Current LBA Mid Previous LBA High Current LBA High Previous F P The number of sectors to be transferred low order bit 7 0 The number of sectors to be transferred high order bit 15 8 TAG value It shall be assigned to be different from all other queued com
9. LV A Table 71 Read 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 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 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 P Priority bit When the Priority bit is set to 1 the device attempts to provide better quality of service for the command than normal priority commands Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA
10. lt 15 14 0 Reserved ____________________13 0 0 Standby timer value are vendor specific D LL _ 2E Reserved fmt Suponed can disabled 8 1 1 DMA Supported 7 0 0 Reserved 40008 __ Capabilities 569i conensofword SO are valid contents oF word 30 are valid EIN 0 2 the device has a minimum Standby timer value that is device specific 51 0200 PIO data transfer cycle timing mode Refer Word 62 and 63 33 Valisit fag of the word SOS 54 xH Number of current cylinders 7 36 Number of current t fusisgeiememeeeereeene Word 57 specifies the low word of the capacity Current Multiple seting 1 1 osea 1 38 Multiple Sector Setting is Valid __ Current setting for number of sectors 60 61 Note 2 Total Number of User Addressable Sectors Word 60 specifies the low word of the number FFFFFFFh The 48 bit native max address is greater than 268 435 455 Note 1 The mark in Content field indicates the use o
11. GB G G Rotational Speed RPM 5400 5400 5400 5400 5400 3 B B Data transfer rates buffer to from media Mbps 6 2 0 Recording density Kbit mm Max Max 1154 1207 1154 1066 1154 Track density Ktrack mm Max KTPI Max 2 21 Areal density Kbit sq mm Max Gbit sq inch Max 25 261 194 Numberofzons 24 24 24 24 24 Table 2 Data sheet B Data transfer rates Gbit sec 1 5 1 5 1 1 5 1 5 3 0 3 0 3 0 216 1 2 2 80 B 0 1 16 50 24 5 3 0 me me we me Las aso to 250 4 4 3 Cylinder allocation Data format is allocated by each head characteristics Typical format is described below 160GB p Mid BIP Mid TPI format Cylinder No of Sectors Trk 0 8187 1512 8188 12103 1476 12104 19045 1440 40673 49750 1269 59274 66126 1188 88911 92381 1026 18 103240 5 111160 918 19 21 122375 i 127625 810 22 23 136259 138305 729 Table 3 Cylinder allocation 5K320 SATA OEM Specification 4 4 Performance characteristics Drive performance is c haracterized by the following parameters Command Overhead Mechanical Positioning Seek Time Latency Data Transfer Speed Buffering Operation Look ahead Write Cache Note All the above parameters contribute to drive performance There are other parameters which contribute to the performance of the actual system This specification defines the essential cha
12. Number of sectors in the log at log address 255 1FEh Pee Table 117 SMART Log Directory The value of the S Logging Version word shall 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 T error log sector All multi byte 155 5K320 SATA OEM Specification fieldsshowninthese data structures followthe ATA ATAPI 6 specifications for byte ordering Description Bytes Offset S M A R T error log version Error log pointer 1 error log data structure 2 error log data structure 3 error log data structure 4 error log data structure 5 error log data structure Device error count Reserved Data structure checksum Table 118 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 structure 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 Description Offset 1 error log data structure 2 error log data structure 3 error log data structure 4 error log data structure 5 error log data structure Error
13. Po sis E E E See Below ES EI E Sector Count Current V Sector Count 0 Previous V VIV VI VI V V VI BA Tow Current Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees TIS Current mes v v VIV V V VIV p Comma oNN o 1 ror Register ER ERR cac uc ix Roy pr pse x ERR v L9 9T v ESL V lv Table 130 Write DMA FUA Ext Command 308 The Write DMAFUA Ext command transfers one or more sectors of data fromthe 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 command 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 channel prior to issuing the command Data transfers are qualified by DMARQ and are p
14. ll el Le us m AL ENSEM a The Security Set Password command enables security mode feature device lock function and sets the master password or the user password 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 bythis 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 the following table The data transferred controls the function of this command Control word he Identifier 1 Mater 0 User it 1 15 Reserved 01 16 Password 32 bytes 17 18 Master Password Revision Code valid if Word 0 bit 0 1 Table 100 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 132 5K320 SATA OEM Specification Security Level Zero indicates High level one indicates Maximum level If the host sets High level and the password is forgotten then the Master Password can be used to unlock the devi
15. Setup Auto Activate optimization enabled 1 Non zero buffer off set DMA Setup FIS enabled 0 0 Reserved 1 Major version number Pata 23 and Minor version number ATARACS revision f enor command supported Te E eie He 1 1 WRITE BUFFER command ee Arca Feature Set supported Se command suppored Sa interrupt supported rein release interrupt supported 6 1 1 look ahead supported a 90 PACKET Command Feature St TS supports Power Management Feature Removable Media Feature Se 1 1 1 supports Security Feature Set 7 0 1 1 S M A R T Feature Set Note 1 The mark in Content field indicates the use of those parameters that are vendor specific Table 58 Identify device information Continued 95 5K320 SATA OEM Specification 8 Command set supported o 1 1 Ts Ee FLUSH CACHE EXT command suppored EP IZFLUSH CACHE command supported __ ee m 10 c 1 1248 bit Address feature set supported _____ en c 2 sEP ESErMAXsecwiyexensonsupportal Teese FEATURES subcommand required o spin p 4 0 1 Removable Media Status Noti
16. E LBAMid TT eama _____ LBA Hish ______ Device LLLELELELELL Command iib Io Eo dodo Ss See Below SEES Re ECTS re A a a o o Table 127 Write Buffer Command E8h The Write Buffer command transfers a sector of data fromthe host to the sector buffer of the device The sectors of data are transferred through the Data Register 16 bits at a ti me The Read Buffer and Write Buffer commands are synchronized such that sequential Write Buffer and Read Buffer commands access the same 512 byte within the buffer 162 5K320 SATA OEM Specification 14 44 Write DMA CAh CBh Command Block OwpurRegisers T Command Block Input Registers Rese PEELE Regier 17 Sector Count LBA Mid Device Command 3 211 RE ES ED ES E Ex n c e o lt il Suus Register 7 LLL IDX pug N Table 128 Write Command CAh CBh The Write DMA command transfers one more sectors of data fromthe host to the device then the data is written to the disk medi a The sectors of data are transferred through the D
17. Table 60 Identify device information Continued Table 61 Identify device information Continued Table 62 Identify device information Continued Table 63 Identify device information Continued Table 64 Number of cylinders heads sectors by models for HTS5432XXL9S A00 HTS5432XXL9A300 Table 65 Idle Command E3h 97h Table 66 Idle Immediate Command E1h 95h Table 67 Initialize Device Parameters Command 91h Table 68 Read Buffer Command E4h Table 69 Read DMA Command C8h C9h Table 70 Read DMA Ext Command 25h Table 71 Read FPDMA Queued Command 60h Table 7 2 Read Log Ext Command 2Fh Table 73 Log address definition Table 74 General purpose Log Directory Table 75 Extended comprehensive SMART error Log 6 28 32 34 34 35 35 35 36 40 47 47 48 48 49 51 52 52 52 53 55 63 64 66 70 71 75 76 77 79 80 80 82 83 84 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 110 110 111 112 Table 76 Extended Error log data structure Table 77 Command data structure Table 78 Error data structure Table 79 Extended Selftest log data structure Table 80 Extended Selftest log descriptor entry Table 81 Command Error information Table 82 Phy Event Counter Identifier Table 83 Phy Event Counter information Table 84 Read Multiple Command C4h Table 85 Read Multiple Ext Command 29h Table 86 Read Native Max Address Command F8h Table
18. 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 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 dev
19. _____ eami _____ ____ LBA Hish NTT 7 Devi SET Command Below SEES Re ECTS re A iid ll lied i Table 109 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 or a COMRESET If the deviceis already spun down the spin down sequence is not executed 144 5K320 SATA OEM Specification 14 40 S M A R T Function Set BOh Command Block Regites T Command Block Input Registers usse Iesse LEISEEBET Dx HEHH FEEEEELLI Device Command Suus Register un 0 Table 110 S M A R T 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 R
20. oco ny o Enable Power Up in Standby feature Power Up in Standby feature device SpinUp Enable use of Serial ATA feature Enable Automatic Acoustic Man agement AAM Disable read look ahead feature NIN Disable reverting to power on defaults N Disable write cache Disable Advanced Power Management feature Disable Power Up in Standby feature Disable use of Serial ATA featwe Enable read look ahead feature Disable AAM Enable reverting to power on defaults oo gt gt Set Max security extension Set Max Set Password Set Max Lock Set Max Unlock Set Max Freeze Lock Device Configuration Overlay Device Configuration Restore N han Device Configuration HeezeLock N Device Configuration Identify 5 Te BO BO 5 10 EF EF EF EF gt Device Configuration Set Table 42 Command Set Subcommand Table 40 Command set on Page 75 shows the commands that are supported by the device Table 42 Command Set Subcommand on Page 77 shows the sub commands that are supported by each command or feature Thefollowing 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 H Head number Indicates that the head number part
21. In LBA mode this register contains LBA bits 24 27 L 1 Input Paramete rs 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 LBA mode this register contains current LBA bits 24 27 L 1 118 5 320 SATA OEM Specification 14 19 Read Multiple Ext 29h Command Block Output S Command Block Input Registers uw ________ pol sof PPT Po sis EE E E E E E E E See Below TEES RAB EE Previow v V V V V V V VT BA Tow Curent Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees TIS Current High v v VIV V V VIV PAS _ Command
22. LBA bits 27 24 LBA High LBA bits 23 16 LBA Mid lt LBA bits 15 8 LBA Low lt LBA bits 7 0 12 5 Power Management F eature 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 HTS5432XXL9SAO00 HTS5432X XL 9A300 implement the following set of functions A Standby timer Idle command Idle Immediate command Sleep command Standby command Standby Immediate command DAW PWN 54 5 320 SATA OEM Specification 12 5 1 Power Mode Sleep Mode The lowest power consumption when the device is powered on occurs in Sleep Mode When in sleep mode the device requires a reset to be activated Standby Mode The device interface is capable of accepting commands but as the media may not immediately accessible there is a delay while waiting for the spindle to reach operating speed 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 Theldle and Idle Immediate commands move a device to idle mode immediate
23. pol DISBPRBDEDI sis E E See Below TEES RAB EE Previow v V V V V V V VT BA Tow Curent Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees TIS Current nes v v VIV V V VIV PAS 1 Error Register 8 ix Roy pr pse ERR LES V ESL A Table 138 Write Uncorrectable Ext Command 45h The Write Uncorrectable Ext command is used to cause the device to report an uncorrectable error when the target sector is subsequently read When the feature field contains a value of 5xh the Write Uncorrectable Ext command causes the device to indicate a failure when reads to a ny of iis sectors that arecontained in specified sectors Theses sectors are referred to as pseudo uncorrectable sectors n this case Whenever a pseudo uncorrectable sector is accessed via a read command the device performs normal error recovery and then set the UNC and ERR bits to
24. R Phy Event Counter Reset bit When Log address is 11h Phy Event Counter and this bit is set to 1 all Phy Event Counter values are reset to O 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 the following table LBA Mid Current The first sector of the log to be read low order bits 7 0 LBA Mid Previous The first sector of the log to be read high order bits 15 8 address 00h Log directory N Read Onl y 03h Extended Comprehensive SMART SMART error Read Only error log logging 07h Extended SMART self test log SMART self test Read Onl y 10h Command Error Nati ve Command Read Only Queui ng 11h Phy Event Counter Phy Event Counter Read Onl 80h 9Fh Host vendor specific SMART Read Wr te Table 73 Log address definition 110 5K320 SATA OEM Specification The Extended SMART self test log sector shall support 4 amp bit and 28 bit addressing 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 asso
25. on Page 129 Note 2 FORMAT UNIT command the execution time is referred to 14 8 Format Unit F7h Vendor Specific on Page 90 176 177 5 320 SATA OEM Specification Copyright Hitachi Global Storage Technologies Hitachi Global Storage Technologies 5600 Cottle Road San Jose CA 95193 Produced in the United States 03 08 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 trade marks of their respective companies References in this publication to Hitachi Global Storage Technologies products programs or services do not imply that Hitachi Global Storage Technologies intends to make these available in all countries in which Hitachi Global Storage Technologies operates Product information is provided for information 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 03 April 2008
26. 14 31 Security Set Password F 1h esee 132 14 32 Security Unlock F2h ina n 134 1433 Seek iiu eite e E a Pe IUD hae m aie cea 135 14 34 Sense Condition FON vendor specdific ss essere nne entrent 136 14 35 Set Features EFh m 137 14 36 Set Max Address FOR eninin en cci For 139 1437 SetMaxaAddress Ext 37h 141 14 38 Set Multiple Coh c ea or rep ur eR eed dele 143 14 39 Sleep E6h 99h 14 40 S M A R T Function 5 1441 Standby E2N 96h eo in tete ee a ie ee aee Ra amies 14 42 Standby Immediate 94 1443 ESR dee onte cri don n n c P Ter dev cam DER 1444 Write DMA teniente tente 1445 Write DMA Ext 35h 1446 Write DMA FUA Ext 3Dh sessi 14 47 Write FPDMA Queued 61h eee eene nte 14 448 Write Log Ext 3Fh 14 49 WriteMultiple C5h uie rro irr tc rece c eese nor c nd ea e e d red 14 50 Write Multiple Ext 39H testes iota ttv o to e Han RII Pena ATH XR AE 1451 Write Multiple FUA Ext CEh 14 52 Write Sector s v de
27. 16 23 High L 1 The head number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 24 27 L 1 163 5 320 SATA OEM Specification 14 45 WriteDMA Ext 35h Command Block Output S Command Block Input Registers uw POPS o TP PPT po EE E E E E E E E See Below TEES RAB EE Previow v V V V V V V VT BA Tow Curent Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees TIS Current High v v VIV V V VIV PAS T HELLELLLI TT Command To ror Register ERR cac uc o ix pr ERR v L9 9T v ESL V DL A Table 129 Write DMA Ext Command 35h The Write Ext command transfers one or more sectors of data fromthe 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 ti me The host initializes a slave channel prior to issuing the co
28. 47 40 Input Parameters From The Device LBA Low HOB 0 LBA 7 0 of the address of the first unrecoverable error LBA Low 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 125 5K320 SATA OEM Specification 14 26 Recalibrate fell FEEEREEE D THT me THAE Feature Error 1 Below Sector Count Sector Count BA Low ______ 7 eama ff LBA Hish A e Device LLLELELELELEL Commana T E staus See Below SS ENS A T ith d ad dl Lo 191 9 L9 vv mn DEOR oe Table 92 Recalibrate Command 1xh The Recalibrate command moves the read write heads from anywhere on the disk to cylinder O If the device cannot reach cylinder 0 TON Track 0 Not Found will be set in the Error Register 126 5K320 SATA OEM Specification 14 27 Security Disable Password F 6h Command Block Output Registers Command Block Input Registers Reiser vfe s 4 s o ifo Register 76 5 4 3 2 110 pa ___
29. 5 320 SATA OEM Specification 14 40 2 2 Individual Attribute Data Structure The following defines the 12 bytes that make up the information for each Attribute entry in the Device Attribute Data Structure m Bit 2 5 Reserved may either 0 or 1 Bit 6 15 Reserved all 0 Attribute Value valid values from 01h to FEh 00h invalid for attribute value not to be used lip _________ _ 64h initial value for all attributes prior to any data collection LE dq prese FEh value is not valid invalid for attribute value not to be used Reserved 00h Total Bytes Table 113 Individual Attribute Data Structure Attribute ID Numbers Any non zero value in the Attribute ID Number indicates an active attribute The device supports following Attribute ID N umbers 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 Line Scan Uncorrectable Sector C
30. 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 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 108 5 320 SATA OEM Specification 14 16 Read FPDMA Queued 60h Command Block Output S Command Block Input Registers reaver O EEEE EE E E E E E E See Below ious 2 ee Sector Count Current T Sector Count 0 Previous P 2 BA Tow Current dk 22202 Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees Current cpa High v v VIV V V VIV PAS 2 Command To tbi Io To To Eme cac uc o ix pr psc
31. Locked or Frozen the Set A ddress command is aborted For more information see 12 10 2 Set Max security extension commands on P age 66 In CHS mode LBA High LBA Mid specify the max cylinder number The Head number of Device and LBA Low 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 spedify 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 I dentify 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 be 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 maxi mum address If a host protected area has been established a Set Max Address xt command the device shall return command aborted Output Parameters To The Device Feature Destination code for this command 01h SET MAX SET PASSWORD 139 LBA Low LBA High Mid L Input Parameters From The Device LBA Low LB
32. Note that the Security Erase Unit command initializes from LBA 0 to Native M ax LBA Host Max LBA set by Initialize Drive Parameter or Set Max Address command is ignored So the protected area by Set M ax Address command is also initialized This command requests to transfer a single sector data from the host including information specified in the following table If the password does not match then the device rejects the command with an Aborted error Description oper ees mode 1 Enhanced Erase 0 Normal Erase 0776 Table 97 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 the 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
33. Refer Functional Specification part for further details 13 5 First parity DMA Commands These commands are Read FPDMA Queued Write 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 11 14 FPDMA Queued command protocol of Serial ATA revision 2 6 74 5K320 SATA OEM Specification 14 Command Descriptions Command cce IIIT 7 5 4 3 2 0 3 Check Power Mode 3 Check Power Modes 8 00100 3 DeviceCafiguationResore _3 __ Configuration Freeze Lock 1 Device Configuration Identify 000 2 Device Configuration Se 2 Download Microcode E Device Diagnostic EE 3 rushCache 3 Flush Cache Et foo 2 3 1 identify Device 1 HE 3 Idle 170100000 _3 idle Immediate with Unload option 3 initialize Device Parameters 1 Read Buffer fifi fof fofo EZ 4 IRead DMA 4 ReadDMAE fo fof fo fof oft 5 __ Queued 011000 1 Read Log Ext gt fi ff _ fofo _ fRead Multiple Ext 3 Read Native Address 8 IRead N
34. When a User Password is set the device will automatically enter lock mode the next time the device is powered on 59 lt Setting Password gt Set Password with User Password Normal operation Power off POR Device locked mode Figure 5 Initial Setting 5K320 SATA OEM Specification lt No Setting Password gt POR Normal operation Power off POR Device unlocked mode Operation from POR after User Password is set When Device Lock Function is enabled the device rejects media access command until a Security Unlock command is successfully completed 60 5K320 SATA OEM Specification POR gt Device Locked mode V V Unlock CMD Erase Prepare Media access Non Media access command 1 command 1 v y Password Erase Unit Reject Complete Match Password N 7 Y V Enter Device Complete Unlock mode Erase Unit Lock function Disable v H 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 Table 35 Command table for device lock operation on Page 63 and Table 36 Command table for device lock operation continued on Page 64 Figure 6 Usual Operation User Password Lost If the User Password is forgotten and High level security is set the system user can t acc
35. charge power pins and the other ground pins and 3 the signal pins and the restof 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 Ifa device uses 3 3V then all V33 pins must be terminated Otherwise itis optional to terminate any of the V33 pins ifa device uses 5 0V then all V5 pins must be terminated Otherwise itis optional to terminate any ofthe V5 pins Ifa device uses 12 0V then all V12 pins must be terminated Otherwise itis optional to terminate any of the V12 pins 39 5K320 SATA OEM Specification 7 3 Signal definitions The pin assignments of interface signals are listed as follows ____ Plug Connector pin definition Sigma WO 5 GND fandme o foa f Differential signal A from Phy 2nd mate Gnd Differential signal B from Phy 2nd mate 8d Key and spacing separate signal and power segments 3 3V power 3 3V power 3 3V power pre charge 2nd Mate 1st mate Gnd 2nd mate Gnd 2nd mate Gnd E 5V power pre charge 2nd Mate 5 SV power mE Oo NI A W 5 S a a ajoj W o O 5 LN LN P9 5 2nd mate Device Activity Signal Disable Staggered Spinup 1 1st mate 12V power pre chage 2nd mate 12 12V power 12V power Table 23 Interface connector pins
36. protocol For all commands the host must first check if BSY 1 and should proceed no further unless and until BSY 0 For all commands the host must also wait RDY 1 before proceeding A device must maintain either BSY 21 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 A command shall only be interrupted with a COMRESET or software reset The result of writing to the Command register while BSY 1 DRQ 1 is unpredictable and may result in data corruption command should only be interrupted by a reset at times when the host thinks there may be a problem such as a device that is no longer responding Interrupts are cleared when the host reads the Status Register issues a reset or writes to the Command Register Table 139Timeout Values on P age 175 shows the device timeout values 13 1 Data In Commands These commands are Device Configuration Identify Identify Device Read Buffer Read Log Ext 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 availablein the Status Regi
37. 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 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 168 5K320 SATA OEM Specification 14 50 Write Multiple E xt 39h Command Block Output S Command Block Input Registers reaver sis Hei E See Below pesos v V V V VT BA Tow eurom Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees TIS Current mes v v VIV V V VIV
38. 0 Command oN ror Register eRe uc pr psc ERR v V ESL VH L9 Table 134 Write Multiple Ext Command 39h The Write Multiple Ext command transfers one or more sectors fromthe host to the device then the data is written to the disk medi a Command execution is identical to the Wite 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 ti me 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 0000h in the Sector Count register is specified 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 0 LBA 15 8 of the address of
39. 0 and RDY 1 IFIS to the Device After land requests to send a Register FIS to the host Device Ready Status Register After COMRESET IBSY 0 and RDY 1 land sends a Register FIS to the Host Status Register BSY 1 SETUP FIS for datain Status Register transfer IBS Y 0 and DRQ 1 land sends a PIO SETUP FIS to the host 10us Status Register 400 ns BS Y 1 Device Busy Sends a Data FIS to the device Status Register After Data Transfer Out BSY 1 SETUP FIS for dataout Status Register 30 sec transfer IBSY 0 and RDY 1 Note 1 and sends a PIO SETUP FIS to the host Status Register BSY 1 A Register FIS to report Status Register BSY 1 Sets the status of the 30 sec Command Complete command the Status Note 2 Register and sends a Register FIS to the host IDMA Data Device Busy Sets proper values in the Status Register After a Register FIS to issue a registers and sends a Register BSY 1 command Table 139 Timeout Values Command category is referred to 13 Command Protocol on page 72 The abbreviations ns us ms and sec mean nanoseconds microseconds milliseconds and seconds respectively We recommend that the host systemexecutes Soft reset and then retry to issue the command if the host system timeout would occur for the device 175 5K320 SATA OEM Specification Note 1 For SECURITY ERASE UNIT command the execution time is referred to 14 29 Security Erase Unit FAh
40. 1 by the device Indicates that the bit is not used 120 5K320 SATA OEM Specification 14 21 Read Native Max Address Ext 27h Command Block Output S Command Block Input Registers 2 2810300367 a SCHED OD Data High HEEE Current SEE See Below Previous Sector Count Current EE pees oo Previous_ I 1 _ BA Tow Current SS SC la X GR Previous LBA Mid IHOB 0 V VIVIV rev Bae EERE EE v LBA High LBA High pu CN Command ______ 5 See Below Error Register Status Register TOES ee ESSI 050 cac 0 o pr ERR Ee eee ee Table 87 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 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 0 LBA 15 8 of the address of the Native max addr
41. 10 2 Set Max security extension commands The Set Max Set P assword command allows the host to define the password to be used during the current power on cycle This password is not related to the password used for the Security Mode Feature set When the password is set the deviceis 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 15 in Set Max Unlocked mode Password 32 bytes 17255 Table 37 Set Max Set Password data content The Set Max Lock command allows the host to disable the Set Max commands except Set Max Unlock and Set Max Freeze Lock until the next power cycle 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 Table 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 11 the password compare fails then the device returns command aborted and decrements the unlock counter On the acceptance of the Set Max L ock comm
42. 142 5K320 SATA OEM Specification 5K320 SATA OEM Specification 14 38 Set Multiple C Data pu 00 2 5 Daa Feature Error L LL Sector Count ER Sector Count LBA Lw sd pte LBA Low iBA Hisn ______ ___ 1 ______ ET Command Below SEES R SS re TA PE Table 108 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 sizeis specified an Abort error will be returned tothe 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 commands Valid block sizes can be selected from 0 1 2 4 8 or 16 If O is specified then Read Multiple and Write Multiple commands are disabled 143 5 320 SATA OEM Specification 14 39 Sleep E6h 99h Eu O E EE D FEEEREEE Du TAE Feature Error 1 Below Sector Count Sector Count BA Low E
43. 87 Read Native Max Address Ext Command 29h Table 88 Read Sector s Command 20h 21h Table 89 Read Sector s Ext Command 24h Table 90 Read Verify Sector s Command 40 41 Table 91 Read Verify Sector s Ext Command 42h Table 92 Recalibrate Command 1xh Table 93 Security Disable Password Command F6h Table 94 Password Information for Security Disable Password command Table 95 Security Erase Prepare Command F3h Table 96 Security Erase Unit Command F4h Table 97 Erase Unit Information Table 98 Security Freeze Lock Command F5h Table 99 Security Set Password Command 1 Table 100 Security Set Password Information Table 101 Security Unlock Command F2h Table 102 Security Unlock Information Table 103 Seek Command 7xh Table 104 Sense Condition Command FOh Table 105 Set Features Command EFh Table 106 Set Max Address Command F9h Table 107 Set Max Address Ext Command 37h Table 108 Set Multiple Command C6h Table 109 Sleep Command E6h 99h Table 110 S M A R T Function Set Command BOh Table 111 Log sector addresses Table 112 Device Attribute Data Structure Table 113 Individual Attribute Data Structure Table 114 Status FlagDefinitions Table 115 Device Attribute Thresholds Data Structure Table 116 Individual Threshold Data Structure Table 117 SMART Log Directory Table 118 S M A R T error log sector Table 119 Error log data structure Table 120 Command data structure Table 121 Error data structure
44. Current Tv V v v v v v v High v v VIV V V VIV D Command ______ i o To Se Beov ix pr ERR LV EST S LS ESL V Table 70 Read DMA Ext Command 25h 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 sectors are transferred through the Data Register 16 bits at a time The host initializes slaveDMA 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
45. 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 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 C2H Disable Automatic Acoustic Management feature set CCH Enable reverting to power on defaults Note 1 137 5 320 SATA OEM Specification When Feature register is 03h Set Transfer mode the Sector Count Register specifies the transfer mechanism The upper 5 bits define the type of transfer and the low order 3 bits encode the mode value bits bits 7 3 2 0 PIO Default Transfer Mode 00000 000 PIO Default Transfer Mode Disable IORDY 00000 001 PIO Flow Control Transfer Mode x 00001 nnn nnn2000 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
46. EMC standard Limits and methods of measurement of radio disturbance characteristics of information technology equipment AS NZS 3548 1995 Class 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 C6357 6 8 4 MIC Mark The product complies with the Korea EMC standard The regulation for certification of information and communication equipment is based on Telecommunications Basic Act and Radio Waves Act Korea EMC requirment are based technically on CISPR22 1993 12 measurement standards and limits MIC standards are likewise based on IEC standards 37 5K320 SATA OEM Specification 6 9 Safety 6 9 1 UL and CSA approval All models of the Travelstar 5K320 are qualified per UL60950 1 2003 6 9 2 compliance All models of the Travelstar 5K320 comply with IEC 60950 1 2001 6 9 3 German Safety Mark All models of the Travelstar 5K320 are approved by TUV on Test Requirement EN 60950 1 2001 but the GS mark has not been obtained 6 9 4 Flammability The printed 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 mino
47. Table 122 Selftest log data structure Table 123 Selective selftest log data structure Table 124 S M A R T Error Codes Table 125 Standby Command E2h 96h Table 126 Standby Immediate Command E0h 94h Table 127 Write Buffer Command E8h Table 128 Write DMA Command CAh CBh Table 129 Write DMA Ext Command 35h Table 130 Write DMA FUA Ext Command 3Dh Table 131 Write Queued Command 61h Table 132 Write Log Ext Command Table 133 Write Multiple Command CSh Table 134 Write Multiple Ext Command 39h Table 135 Write Multiple FUA Ext Command CEh Table 136 Write Sector s Command 30h 3 1h 5K320 SATA OEM Specification 112 113 113 114 115 115 116 117 118 119 120 121 122 123 124 125 126 127 127 128 129 129 131 132 132 134 134 135 136 137 139 141 143 144 145 148 150 151 152 154 155 155 156 156 157 157 158 159 159 160 161 162 163 164 165 166 167 168 169 170 171 5K320 SATA OEM Specification Table 137 Write Sector s Ext Command 34h 172 Table 138 Write Uncorrectable Ext Command 45h 173 Table 139 Timeout Values 175 5K320 SATA OEM Specification General 1 Introduction This document describes the specifications of the HITACHI Travelstar 5K 320 a 2 5 inch hard disk drive with Serial ATA interface Drive Model Number Max data Capacity Height mm Rotation name transfer rate GB speed rpm Gbps Travelstar _ HTS543232L9A300 5400 5K320 320 HTS54
48. and I O signals U 5 a 2 a gt gt op 5 3 3 E wo lt lt U U 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 These signal are the outbound high speed differential signals that are connected tothe serial ATA cable 732 RX RX These signals are the inbound high speed differential signals that are connected to the serial ATA cable The following standard shall be referenced about signal specifications Serial ATA High Speed Serialized AT Attachment Revision 1 0a 7 J anuary 2003 40 41 5K320 SATA OEM Specification 5K320 SATA OEM Specification 733 Out of band signaling Figure 4s hows the timing of COMRESET COMINIT and COMWAKE COMRESET COMINIT t2 COMWAKE TH PARAMETER Nominal ns DESCRIPTION ALINE primitives 106 7 m sm ALIGN primitives 106 7 Figure 4 Parameter descriptions 42 43 5K320 SATA OEM Sp
49. count value The LBA Low register is the most significant eight bits and the Sector Count register is the least significant eight bits ABT will be set to 1 the Error Register if the value in the Feature register is neither 03h nor 07h or the device is in Security Locked mode When the reload of new microcode is requested in the data sent by the host for this Download command UNC error will be set to 1 the Error Register if the device fails to reload new microcode In reloading new microcode when the spin up of the device is disabled the device spins down after reloading new microcode A Features register value of 03h indicates that the microcode will be transferred in one or more Download Microcode commands using the offset transfer method The buffer offset 15 starting location in the microcode file which varies in 512 byte increments Itis defined bythe LBA High and LBA Mid registers TheLBA High register is the most significant eight bits and the LBA Mid register is the least significant eight bits of the buffer offset value microcode segments shall be sent to the device in sequence The device will abort the DOWNLOAD MICROCODE command and discard all previously downloaded microcode if the current buffer offset is not equal to the sum of the previous 84 5K320 SATA OEM Specification DOWNLOAD MICROCODE command buffer offset and the previous sector count The first DOWNLOAD MICROCODE command shall have a buffer
50. d LBA High Device LBA Low Previous LBA High Previous Sector Count Data Structure Checksum Table 81 Command Error information The TAG field Byte 0 bits 40 contains the tag number corresponding to a queued command if the NQ bit is 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 115 5K320 SATA OEM Specification The bytes 1 to 13 correspond to the contents of Shadow Register Block when the error was reported The Data Structure Checksum Byte 511 contains the 2 s complement of the sum of the first 511 bytes in the data structure The sum of all 512 bytes of the data structure will be zero when the checksum is correct 14 17 5 Phy Event Counter Phy Event Counters are a feature to obtain more information about Phy level events that occur on the interface The counter values are not retained across power cycles The counter values preserved across COMRESET and software resets 14 17 5 1 Counter Reset M echanisms 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 A ctivate FIS to the drive The second mechanism uses the Read Log Ext command When the drive receives a Read Log Ext command for log page 11h and bit O in Feature register is set to one the d
51. datastructure x 00h 18h 24h 30h 3Ch Table 119 Error log data structure 156 5K320 SATA OEM Specification Command data structure Data format of each command data structure is shown below Offset Device Control register Features register Sector count register LBA Low register LBA High register 1 2 04h 05h Timestamp milliseconds from Power On 14 0 Table 120 Command data structure Error data structure Data format of error data structure is shown below Bytes LBA Mid register Offset 0 1 2 3 4 5 6 7 8 1 2 3 4 6 7 8 C 5 515 Life timestamp hours Table 121 Error data structure 5 m l State field ontains value indicating the device state when command was issued to the device Value State xOh Unknown xih Sleep x2h Standby x3h Active Idle x4h S M A R T Off line Self test x5h xAh Reserved xBh xFh Vendor specific Note The value of x is vendor specific 157 5 320 SATA OEM Specification 14 40 6 Self test log data structure The following defines the 512 bytes that make up the Sel f test log sector All multi byte fields shown in these data structures follow the ATA ATAPI 7 specifications for byte ordering MENE Life time power on hours n 18h 04h n 18h 06h n 18h 07h n 18h 0Bh Self test failure check point LBA of first failure Vendor spec
52. nnn na ra ern nna n nn 14 3 FIXED DISK SUBSYSTEM DESCRIPTION rere nnn tenera ntn ta tata ti tesis asa se s aae so s aae 15 3 1 Control Electronics 2 reet eer eed ct ed iode Ree ceca 15 3 2 Head disk assembly data eoe tex 15 4 FIXED DISK CHARACTERI STICS 41 Formatted capacity by model number sese 16 4 2 Data sheet assa tienne er ever en rei cp e E d ene CR Te l ER EA RR 4 3 Cylinder allocation 4 4 Performance characteristics 5 DATA INTEGRITY eene 5 1 Data loss on power off 5 2 Write Cache 5 3 JEquiprrmient staLlis edere tae e nete ie eddie ttu 54 WRITE safety sacs e ern 5 5 Data buffer test 5 6 Error recovery Automatic real lOCatlOri ai ect ic rem roi tec ace ar a e v d Rn d v D s DC power requirements 6 3 Reliability sss 6 4 Mechanical specifications 6 5 Vibration and 6 6 X Acoustics 6 7 Identification labels eiim tette diee be e a i e NOR UR RU Buc 6 8 Electromagnetic compatibility 6 9 Safety iis eh 610 Packaging cines 6 11 Substance restriction requirements 7 ELECTRICAL INTERFACE SPECIFICATIONS eere 7 1 Cabling utantur teg teet res 7 2 nterface connector seen 7 3 Signal defrnitlonis so dde dep e ie te eo
53. 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 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 password 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 is 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
54. 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 m x 10n 75 2 1 9 x E 8 1 1 x E 1 1 1 x E 1 7 7 x E 1 7 7 x E 1 9 6 x E 2 9 6 x E 2 4 8 x E 2 4 8 x E 2 10 5 5 KES _____ ____ po KE 6 KER 20 48 ____ 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 1 0 Table 18 Swept sine vibration 5K320 SATA OEM Specification 65 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 perpendicular axes for a duration of 15 minutes per axis The PSD levels for the test simulating the shipping and relocation environment is gt shown below 500 Table 19 Random Vibration PSD Profile Breakpoints nonoperating Note Overall R
55. to be transferred L 0 In LBA mode this register specifies LBA address bits 8 15 Mid 16 23 High to be transferred 1 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 occurs LBA Low The sector number of the last transferr ed 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 107 5 320 SATA OEM Specification 14 15 Read DMA Ext 25h Command Block Output S Command Block Input Registers uw POPS 0 DISBPBRBDBDI sis E See Below TEES NEA EE Previow v V V V V V V VT BA Tow Curent Previous Viv VIV LBA Mid 0 V VIVIVIVIV Previous SIRE Tees
56. 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 89 5K320 SATA OEM Specification 14 8 Format Unit F7h Vendor Specific Command Block OutputRegistes T Command Block inpurRegisers O ws PEPEE Feature Error See Below Sector Count ue Sector Count oA tow ____ _____ eama _____ _____ LBA Hish
57. 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 171 5K320 SATA OEM Specification 14 53 Write Sector s E xt 34h Command Block Output S Command Block Input Registers uw ________ reser PoP sis E See Below TEES RAB EE Previow v V V V V V V VT BA Tow Curent Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees TIS Current High v v VIV V V VIV PAS Comman ror Register ERE ERR cac uc o ix RDY DF psc ERR ESL L9 Table 137 Write Sector s Ext C
58. user LBA DF94BBih 950F8BOh address for 48 bit Address Model Number in ASCII feature set word 100 103 Table 64 Number of cylinders heads sectors by models for HTS5432XXL9SA00 HTS5432XXL9A300 102 5K320 SATA OEM Specification 14 10 Idle E3h 97h Iu MT THAE Feature Error 1 Below Sector Count aoe Sector Count LBA Low iC Se Si iBA Low _____ _____ ______ LBA Hish J F I PF pps SET Command E See Below a Re EBEN ENS T T ith lad dl et Ba id ita NRI Table 65 Idle Command E3h 97h When the power save mode is Standby mode the Idle command causes the device to enter performance Idle mode immediat ely 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
59. 0 1Pt 0 3 4 0 Bels where Lw Aweighted sound power level Pt Value of desecrate tone penalty dLt 6 0 dBA dLt 2 Tone to noise ratio taken in accordance with ISO 7779 at each octave band 36 5K320 SATA OEM Specification 6 7 Identification labels The following labels are affixed to every drive Alabel which is placed on the top of the head disk assembly containing the statement Made by Hitachi or equivalent part number A bar code label which is placed on the disk drive based on user request The location on the disk drive is to be designated in the drawing provided by the user Labels containing the vendor s name disk drive model number serial number place of manufacture and UL CSA logos 6 8 Electromagnetic compatibility When installed in a suitable enclosure and exercised with a random accessing routine at maximum data rate the drive meets the following worldwide electromagnetic compatibility EMC requirements United States Federal Communications Commission Rules and Regulations Class Part 15 RFI Suppression German National Requirements J 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 8 2 C Tick Mark The product complies with the Australian
60. 00 100 min HTS543216L9S A00 HTS543216L9A300 65 min HTS543212L9S A00 HTS543212L9A300 50 min HTS543280L9SA00 HTS543280L9A300 35 min 90 5K320 SATA OEM Specification 14 9 Identify Device EC Eu O E EE FEEEREEE Du THT THAE Feature Error 1 Below Sector Count Sector Count BA Low E NTT eami _____ ____ LBA Hish TTP Device Command Es See Below SS ENS A T ith lal adl et Ba 10 v 0 Ce ESEN Table 54 Identify Device Command ECh 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 Table 55 Identify device information on Page 91 101 9 5K320 SATA OEM Specification Word 045 Drive classification bit assignments 15 0 IZATAPI device OZATA device 14 20 1 format speed tolerance gap required 13 20 12 20 11 20 10 z1 9 20 8 20 7 0 1 removable cartridge device 6 1 l fixed device _____________ 5 CO Fespindle motor contol option impiemened 4 1 1 head switch time gt 15 us TC data incomplete Tel 0Co Specific configuration C837h SET FEATURES subcommand is not required to spin up a
61. 1 FLUSH CACHE EXT command supported FLUSH CACHE command _______ Configuration Overlay supported Pf Adare feature set supported 1 1 9 Automatic Acoustic Management enabled security extension enabled OO _ evs SET FEATURES subcommand required io spin ap 5 1 Power Up In Standby feature set has been enabled via the SET FEATURES command 4 0 1 Removable Media Status Notification Feature Set enabled 1 Advanced Power Management Feature Set enabled Mr 2 0 1 Feature Set supported 1 0 1 READ WRITE DMA QUEUED command supported _ i 0 0 1 MICROCODE command supported Note 1 The mark in Content field indicates the use of those parameters that are vendor specific Table 60 Identify device information Continued 97 5K320 SATA OEM Specification T command sevfeature I 13 1 1 IDLE IMMEDIATE with UNLOAD FEATURE supported 12 9 ET 1264 bit World wide name supported LL LAM sported LIII FUA EXT command supported d Purpose Logging feature set supported I LLL 60 _ 0 1 1 SMART error logging supported Ultra DMA Transfer mo
62. 128 Reserved 129 Execute S M A R T Short selftest 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 selftest routine immediately incaptive mode 146 5K320 SATA OEM Specification Off line mode The device executes command completion before executing the specified routine During execution of the routine the device will not set BSY nor clear DRDY If the deviceis 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 sets 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 valuein the LBA Low register is 4 or 132 the Selective self test routine
63. 2 lero Sector Count PIECE sector come LBA Low Bg Ius wa LBA Mid BEBE Device Comma Tribe io 1 Ius See Below E EE I o um Freeze RSEN NN 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 15 in frozen mode For detail refer to Table 35 Command table for device lock operation on Page 62 64 Security Set Password Security Unlock Security Disable Password Security Erase Unit 131 5 320 SATA OEM Specification 14 31 Security Set Password F 1h Command Block Registers T Command Block InpurRegisers Reser eeen Feature Error See Below Sector Count Sector Count E ___ E 1 Tf eami _____ __ ELI LBAHigh ______ Banie _____ 7 I pu ____ Command if See Below Error Register Status Register sa pari 2 1
64. 3232L9SA00 Travalstat HTS543225L9A300 eon 5K320 250 HTS543225L9SA00 5400 Travelstar HTS543212L9A300 5K320 120 HTS543212L9SA00 HTS543280L9A300 5 Sd 5K32 0 80 HTS543280L9SA00 1 1 Abbreviations 320 250 160 120 95 15 0 9 5 5 0 95 5K320 160 HTS543216L9SA00 0 95 15 0 5 5 Abbreviation Meaning 32 KB 32 x 1024 bytes 64KB 64 x 1024 bytes E 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 U nderwriters Laboratory Cyl cylinder DC direct current DFT Drive Fitness Test DMA Direct Memory Access ECC error correction code Esd FCC FRU G Gb GB GND h HDD Hz ILS imped 1 0 150 Kbit mm K bit sq mm KHz LBA Lw m max or Max MB M bps M b sec MB sec MHz MLC mm ms us s Nm No or oct min European Economic Community electromagnetic compatibility Error Recovery Procedure electrostatic discharge Federal Communications Commission field replacement unit gravity a unit of force 1 000 000 000 bits 1 000 000 0 00 bytes ground hexadecimal hard disk drive hertz Input integrated lead suspension impedance Input Output International Standards Organization 1 000 bytes 1 000 bits per mm 1000 bits per square mm kilohertz l
65. 432xxL 9SA xx model only 5K320 SATA OEM Specification Part 1 Functional Specification 5K320 SATA OEM Specification 3 Fixed disk subsystem description 3 1 Control Electronics The control electronics works with the following functions Protocol Embedded Sector Servo No ID TM formatting Multizone recording Code 100 102 bit parity 199 200 RC Modulation Encoding System ECC Enhanced Adaptive Battery Life Extender 3 2 Headdisk assembly data The following technologies are used in the drive Femto Slider Perpendicular recording disk and write head TMR head Integrated lead suspension ILS Load unload mechanism Mechanical latch 5K320 SATA OEM Specification 4 Fixed disk characteristics 4 1 Formatted capacity by model number HTS543232L9A3 00 HTS543225L9A300 HTS543232L9SA 00 9543225195 00 Logical Layout CC Track Number of 16 383 16 383 Number of Sectors 625 142 448 488 397 168 Total Logical Data 320 072 933 376 250 059 350 016 Bytes HTS543216L9SA 00 54321219 00 HTS543280L9SA00 Physical tayo PI Logical Layout 63 63 qe E Track Number of 16 383 16 383 16 383 Eas ee s pou Number of Sectors 312 581 808 234 441 648 156 301 488 Total Logical Data 160 041 885 696 120 034 123 776 80 026 361 856 Bytes Table 1 Formatted capacity by model number 5K320 SATA OEM Specification 4 2 Data sheet
66. 5432XXL 9A300 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 LL a Seek operation 256 Senn Overhead Es Total time 1 Seek operation 2 Without overlap Host process Device process La Seek operation d ee eae Overhead La BHA B Total time n Seek operation A B Figure 9 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 or COMRESET does not affect its operation But power off t
67. 5K320 SATA OEM Specification Hitachi Global Storage T echnologies HITACHI Inspire the Next Hard Disk Drive Specification Hitachi Travelstar 5K320 2 5 inch SATA hard disk drive Models HTS543232L 9A 300 HTS543232L 95400 HTS543225L 9A 300 HTS543225L 9SA00 HTS543216L 9 300 HTS543216L 9SA00 HTS543212L 300 HTS543212L 9SA00 HTS543280L 9A 300 HTS543280L 9SA00 Revision 1 2 03 April 2008 5K320 SATA OEM Specification 1st Edition Revision 1 0 25 Feb 2008 2nd Edition Revision 1 1 Correction 03 Apr 2008 3rd Edition Revision 1 2 Correction 03 Apr 2008 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 cont
68. 6 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 is indicated in the Identify Device response bit 10 word 83 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 bit Address feature set is implemented the rative maximum address is the value returned by a Read Native Max Address E xt 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 68 5 320 SATA OEM Specification 12 15 Software Setting Preservation Feature Set When a device is enumerated software will configure the device using Set Features and other commands These software setti ngs are often preserved across software reset but not necessarily across hardware reset In Parallel ATA only commanded hardware resets can occur thus lega
69. A High Mid 5K320 SATA OEM Specification 02h SETMAXLOCK 03h SETMAX 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 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 addressing 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 140 5 320 SATA OEM Specification 14 37 Set Max Addres
70. ATA OEM Specification 028 Security status Bit assignments o en Becurity Level 00000 LLL security 3 1 Frozen 2efzseuwitylckd Security locked 00 LLL 2 1 m enabled 0 O hitia Power Mode 1 Standby 0 Idle 132 205 xexH Reserved 20 CT Command Transport _____________________ 5 S enrscrbwaTabessupponed Pe fi SCTr Features Controlsupported Recovery Control supported ieSCT Write Same supported CS PE Long Sector Access supported Pf LS HISSCT Command Transport supported x7 ius _ MediaRottionRate O O xm rransport Major Revision Number Type 0 Parallel Serial 2 15 Reserved o ooo 6 Extensions 223 00H Transport Minor Revision Number ATAS ASTRevisionOb wor number of data blocks per Download Microcode for mode 3 235 Maximum number of data blocks per Download Microcode formode3 5 integrity word 1 N
71. 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 U pon 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 subcommandq returning the error code as specified in Table124 S M A R T Error Codes on Page 159 Any Attribute Values accumulated and saved to volatile memory prior to receipt of the S M A R T Disable Operations command will be preserved in the device s Attribute Data Sectors If the device is 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 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 recei pt of the S M A R T Return Status subcommand the device asserts BSY saves any updated Attribute Va
72. 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 Nonrecovered 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 75 3 Recovered read errors When 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 5K320 SATA OEM Specification 5 8 ECC The 10 bit symbol non inerleaved ECC processor provides user data verification and correction capability The first 6 symbol of ECC are 4 check symbols for us
73. E LOCK Device Configuration IDENTIFY Device Configuration SET Download Microcode Execute Device Diagnostic Flush Cache Flush Cache Ext Format Track Format Unit Identify Device Idle Idle Immediate Idle Immediate with Unload option Initialize Device Parameters Read Buffer Read DMA Read DMA Ext Read FPDMA Queued Read Log Ext Read Multiple Read Multiple Ext Read Native Max Address Read Native Max Address Ext Read Sector s Read Sector s Ext Read Verify Sector s Read Verify Sector s Ext Recalibrate Security Disable Password Security Erase Prepare Security Erase Unit Security Freeze Lock Security Set Password Security Unlock Seek Sense Condition Set Features Table 35 Command table for device lock operation 63 5K320 SATA OEM Specification 5K320 SATA OEM Specification Command Set Max Address x Sleep S M A R T Read Attribute Values S M A R T Read Attribute Thresholds Table 36 Command table for device lock operation continued 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 TheLBA CYL changed by following command affects the Identify Device Informati
74. ESET 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 Table 29 Reset Response Table on 51 e ees ete Aborting Host interface Aborting Host interface i i 2224 Aborting Device operation go Internal diagnostic X initialization ofregisters A Reverting programmed parameters to defaut o Number of CHS set by Initialize Device Paramete Mutplemode Write cache Volalemaxaddess 5 Reset Standby timer value o execute X not execut 1 X x o 6 4 Note 1 Execute after the data in write cache has been written 2 Default value on POR is shown in Table 30 Default Register Values on Page 52 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 12 15 Software Setting Preservation Feature Set Table 29 Reset Response Table 12 1 1 Register Initiali
75. Function Set BOh 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 Serial ATA Revision 2 6 e The power off sequence of the drive should comply with the 6 3 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 Les
76. H MinimumRequestSize OOOO i 96 Streaming Transfer Time 97 0000H Streaming Access Latency DMA and PIO a pee retener Canty 100103 2 Maximum user LBA address for 48 bit Address feature st Streaming Transfer Time PIO 103105 E a 0 107 inter seek delay ime 1303 2 3 xxxx uzis on __ Supported Settins ________________ feature setis supported TF if ownload Microcode with mode 3 is supported PO 0 and Write DMA Ext GPL is supported _____ 2 6 UH WRITEUNCORRECTABLEissuppoted ______ Verify feature setis supported D __ Reserved ______________ 30H ___ Po Ss ft Free fall Control feature set is enabled fiz Downton Microcode with mode 3 is supported Ts DMA Ext GPL is supported UNCORRECTABLE is supported aig Wirte Read Verity feature setis enabled 9 05 3 121126 Reserved ooo 127 Removable Media Status Notification feature se Note 1 The mark in Content field indicates the use of those parameters that are vendor specific Table 62 Identify device information Continued 99 5K320 S
77. L 1 LBA High Mid The cylinder number of the seek In LBA mode this register specifies LBA address bits 8 15 Mid 16 23 High for 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 135 5K320 SATA OEM Specification 14 34 Sense Condition vendor specific Eu ees FEEEREEE Data 1 Daa Feature Error LEL Sector Count Sector Count VIVIVIVIVIV dS E E E E AE E E I E 8 GAEE LBA Hish Devi Device Command See Below a Re EBEN ENS T T ith dal lind B id Gn v EN EA pv pv qv 379 Table 104 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 deviceis started with No Spin Up option If this command 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 Olh All other value are
78. 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 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 122 5 320 SATA OEM Specification 14 23 Read Sector s Ext 24h Command Block Output S Command Block Input Registers reaver reser 0 DISBPBRBDBDI sis E See Below TEES RAB EE Previow v V V V V V V VT BA Tow Curent Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees
79. 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 109 5 320 SATA OEM Specification 14 17 ReadLogExt 2Fh Command Block Output S Command Block Input Registers uw ________ ______ sis EE ELLE E See Below RES ES ES ES E Sector Count Cument Previous LBA Low Curent d e ERE Previous LBA Mid pu Bn EI Mid NE Previous NES LBA High Current s High 0 0 Previous GENERE e Status See Below See Below ror Register cac uc o pr psc px ERR v LV EST 1 LS L9 Table 72 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
80. MS level of vibration is 29 50 m sec 3 01G 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 1960 m sec 200 3920 m sec 400 G Table 20 Operating shock The input level shall be applied to the normal disk drive subsystem mounting points used tosecure the drive in a normal system 65 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 1470 m sec 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 Input levels are measured on a base plate where the drive is attached with four screws 35 5K320 SATA OEM Specification 6 6 Acoustics 6 6 1 Sound power level The criteria of Aweighted sound power level are described below Measurements are to be tak
81. 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 U nit command 48 5 320 SATA OEM Specification 11 7 LBA High Register This register contains Bits 16 23 At the end of the command this register is updated to reflect the current LBA Bits 16 23 When 48 bit addressing commands are used the most recently written content contains LBA Bits 16 23 and the previous content contains Bits 40 47 The 48 bit Address feature set is described in 12 14 48 bit Address Feature Set 11 8 LBA Low Register This register contains Bits 0 7 At the end of the command this register is updated to reflect the current 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 11 10 Sector Count Register This register contains the number of sectors of data requested to be transferred on a read or write
82. Power Management the Sector Count Register specifies the Advanced Power Management level COh 80h Olh 7Fh 00h FFh Note 2 T he deepest Power Saving mode is Active Idle The deepest Power Saving mode is Low power Idle The deepest Power Saving mode is Standby Aborted If the number of auto reassigned sectors reaches the devices 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 feature 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 01h Non zero buffer offset in DMA setup FIS 02h DMA setup FIS auto activate optimization 03h Device initiated interface power state transitions 04h Guara
83. Reserved 00h 511 Data Structure Checksum Table 83 Phy Event Counter information The Data Structure Checksum Byte 511 contains the 2 s complement of the sum of the first 511 bytes in the data structure The sum of all 512 bytes of the data structure will be zero when the checksum is correct 117 5K320 SATA OEM Specification 14 18 Read Multiple C4h Ci c cr ummU nu d Nn 8 lt lt 1 L lol IV VIVIVIVIVIV Iv vIvIv vIv v TvIvIvIvIvIvIv v Suus Bow a eae T TT TL LI Table oR Read S NI Cem 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
84. 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 154 5 320 SATA OEM Specification Description Attribute ID Number 01h to FFh Attribute Threshold for comparison with Attribute Values from 00h to FFh always passing threshold value to be used for code test purposes minimum value for normal operation NEN maximum value for normal operation invalid for threshold value always failing threshold value to be used for code test purposes Reserved 00h O2n binary Total Bytes Table 116 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 5 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 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 4 S M A R T Log Directory Following table defines the 512 bytes that make up the 5 Log Directory The S M Log Directory is on S M Log Address zero and is defined as one sector long ieee
85. TA capabilities _ l zNative Command Queuing priority information supported 1 supported 10 1 1 event counters supported Receipt of host initiated interface power management requests supported 8 1 Command Queuing supported CS 2 eSATA L 5Gbpy supported po ey EUST Note 1 The mark in Content field indicates the use of those parameters that are vendor specific Note 2 The mark depends on HTS5432XXL9SAO00 or HTS5432XXL 9A 300 Table 57 Identify device information Continued 94 5 320 SATA OEM Specification 005 SATA supported features E 15 7 0 Reserved 6 1 1 Software preservation supported 1 3ep renconter daa delivery supported 3 1 1 Device initiated interface power management QUEE 1 Setup Auto Activate optimization supported 1 1 1 Non zero buffer offset in DMA Setup FIS supported Reseved 79 on SATA cnabledieaures ___ LL _____ ILL ae setting preservation enabled 4 1 In order data 1 In order data delivery enabled sid enabled 1 Device initiated interface power management 3 x enabled 2a
86. TIS Current High v v VIV V V VIV p _ Command Too i o To T 1 Eo Eme cac pr psc ERR LV ESL Table 89 Read Sector s Ext Command 24h The Read Sector s Ext command reads from 1 to 65 536 sectors of data from disk media then transfers the data from the device to the hast 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 0 LBA 15 8 of the address of the first u
87. ___ S n O Table 79 Extended Self test log data structure These descriptor entries are view ed as a circular buffer The nineteenth self test shall create a descriptor entry that replaces descriptor entry 1 The next after that shall create a descriptor entry that replaces descriptor entry 2 etc All unused self test descriptors shall be filled with zeros 14 17 3 1 Self test log data structure revision number The value of this revision number shall be O1h 114 5K320 SATA OEM Specification 14 17 3 2 Self test descriptor index This indicates the most recent self test descriptor If there have been no selftests this is set to zero Valid values for the Self test descriptor index are 0 to 18 14 17 3 3 E xtended Self test log descriptor entry The content of the self test descriptor entry is shown below Description ___ _ Bytes Offset 00h Self test numer 1 OZ OZ O Ol 00h Self test execution status 0 Self test failure check point 048 Failing LBA 7 0 OS Failing 15 8 I 06h Failing LBA 23 16 gt ___ 00 Failing LBA 31 24 ___ Failing 39 32 Ooh Failing LBA 47 40 PAN Vendor specific _ ee Table 80 Extended Self test log descriptor entry 14 174 Command Error The following table defines the format of the Command Error data structure 0 NQ RSV RSV TAG _______ Reserved 2 ________ Status Error LBA Mi
88. ____ J 0 Fear pemn Heg ETE LBA Low _______ LBA Low ss LBA Mid E Mid LBA High EDS Device Device _________ Device 9 6 _ os Error Register Status Register pe 5 2 fi Ee eee id ld iE Ba id nS 03 0 a Security Disable Password Command xu 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 the following table 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 T his command does not change the Master Password which may be reactivated later by setting User Password This command should be executed in device unlock mode Control word bytes 17255 Reserved Table 94 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 sho
89. able 24 Register naming convention and correspondence Table 25 Device Cont rol Register Table 26 Device Register Table 27 Error Register Table 28 Status Register Table 29 Reset Response Table Table 30 Default Register Values Table 31 Diagnostic Codes Table 32 Reset error register values Table 33 Device s behavior by ATA commands Table 34 Power conditions Table 35 Command table for device lock operation Table 36 Command table for device lock operation continued Table 37 Set Max Set Password data content Table 38 Preserved Software Setting Table 39 SCT Action Code Supported Table 40 Command set Table 41 Command Set continued Table 42 Command Set Subcommand Table 43 Check Power Mode Command E5h 98h Table 44 Device Configuration Overlay Command 1 Table 45 Device Configuration Overlay Features register values Table 46 Device Configuration Overlay Data structure Table 47 DCO error information definition Table 48 Download Command 92h Table 49 Execute Device Diagnostic Command 90h Table 50 Flush Cache Command E7h Table 51 Flush Cache EXT Command EAh Table 52 Format Track Command 50h Table 53 Format Unit Command F7h Table 54 Identify Device Command ECh Table 55 Identify device information Table 56 Identify device information Continued Table 57 Identify device information Continued Table 58 Identify device information Continued Table 59 Identify device information Continued
90. 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 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 A ddress 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 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 65 5K320 SATA OEM Specification 12
91. agement Adaptive Battery Life Extender 3 eature Interface Power Management Mode Slumber and Partial S M A R T F ncti On irt te eerte n n rend reds Security Mode F eatureSet Protected Area Function Seek sss Write Cache Function Reassign EUnctlon see soper egere ur ede ipe edd 48 bit Address Feature Set anesini a E A stans Software Setting Preservation F eature Set Native Command Queuing eene SMART Command Transport SCT 13 COMMAND P ROTOCOL 131 132 133 134 135 Data In Commands Data Out Commands Non Data Commands DMA Data Transfer Commands First parity DMA Commands reet pe OD b Ee M ce D ld teens 14 COMMAND DESCRIPTIONS esee 141 142 14 3 144 145 14 6 147 148 14 9 14 10 14 11 14 12 14 13 14 14 14 15 14 16 14 17 14 18 14 19 14 20 14 21 14 22 14 23 14 24 14 25 14 26 14 27 Check Power M ode E 5h 98h Device Configuration Overlay B 1h esee Download Microcode 92h Execute Device Diagnostic 90h Flush Cache E7h Flush Cache Ext EAh Format Track 50h Vendor Specific Format Unit F 7h Vendor Specif
92. ain reference to or information about Hitachi products machines and programs programming or services that are not announced in your country Such references or information must not be construed to mean that Hitachi intends to announce such Hitachi products programming or services in your country Technical information about this product is available by contacting your local Hitachi Global Storage Technologies representative or on the Internet at http www hitachigst com Hitachi Global Storage Technologies may have patents or pending patent applications covering subject matter in this document The furnishing of this document does not give you any license to these patents O Copyright Hitachi Global Storage Technologies Note to U S Government Users Documentation related to restricted rights Use duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with Hitachi Global Storage Technologies 5K320 SATA OEM Specification Table of Contents GENERAL 9 INTRO DU 11 Abbreviations L2 References ard a cene d m enm i n e e n en n er e ree en t n 1 3 General caution efe M tie fera ue 14 Drivehandling precautions 2 OUTLINE OF THE DRIVE erreicht i e n Re e dedu re Bon Rd e E RE EUR CERA RR C E ER a e PART 1 FUNCTIONAL SPECIFICATION esee nnne
93. and this counter is set to a value of five and is decremented for each password mismatch when Set Max U nlock is issued and the device is locked When this counter reaches zero then the Set Max U nlock command returns command aborted until a power cyde The Set Max F reeze Lock command allows the host to disable the SET M ax commands including Set nlock until the next power cycle When this command is accepted the device 15 in the Set Max Frozen mode The password the Set M ax security mode and the unlock counter don t persist over a power but does persist over a COMRESET or software reset Notethat Ifthis command is immediately preceded by a Read Native Max Address command regardless of Feature register value it shall be interpreted as a Set Max A ddress command Set Max Frozen Set Max FREEZE LOCK Set Max Locked LOCK Set UNLOCK Set Max Unlocked MN Set Max SET PASSWORD Set Max Inactive Figure 8 Set Max security mode transition 66 5K320 SATA OEM Specification 12 11 Seek Overlap HTS5432XXL9SAO00 HTS5432XXL 9A 300 provide accurate seek time measurement method The seek command is usually used to measure the device seek time by accumulating execution ti me for a number of seek commands With typical implementation of the seek command this measurement must induding the device and host command overhead To eliminate this overhead HTS5432XXL9SA00 HTS
94. ata Register 16 bits at a time The host initializes a slave channel prior to issuing the command Data transfers 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 an uncorrectable error occurs the write will be terminated at the failing sector Output Parameters To The Device Sector Count LBA Low LBA High Mid H R The number of continuous sectors to be transferred If zero is specified then 256 sectors will be transferred The sector number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 0 7 L 1 The cylinder number of the first sector to be transferred L 0 n LBA mode this register contains LBA bits 8 15 Mid 16 23 High L 1 The head number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 L 1 The retry bit but this bit is ignored Input Parameters From The Device Sector Count LBA Low LBA High Mid H The number of requested sectors not transferred This will be zero unless an unrecoverable error occurs The sector number of the last transferred sector L 0 n LBA mode this register contains current LBA bits 0 7 L 1 The cylinder number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 8 15 Mid
95. ative Max Address Ext _ Read Sectors f 1 Read sectors fofofo fof 1 Read Sectors Ext JRead Verify Sector ffs fof ofofo fo fRead Verify Sector fof fof ofofo fo 3 Read VerifySector y Ex 42 fofofofo fi fRecaibrae 1 eS E E E E E E E _ __ 0000070 2 Security Erase Unit pnus 0 2 ecuntySetPassword EEE 3 a fa ff 3 Sense Condition PO TY 53 Set Features fifi fo Table 40 Command set 1 1211 121 121 Tsl tst sl 75 5 320 Protocol Command Fee 3 __ ff ff fi fo fof 3 Set Max Address Ext 3 setMaxHeezeLok ff ff ft fo fof Set Max Lock Set Password rl 2 Set Max Unlock F9 3 SetMultipeMode ffi fof fof filo 1 71010771707 3 EMART Enable Disable Attribute Auto save I Joi fof fofo S M A R T Enable Disable Automatic Off line 3 S M A R T Enable Operations 3 HER 17110200 1 SM AR T Read Attribute Thresholds fof fofo 1 Read Log Bo 3 sMART ReumSuus BO Save Attribute Values BO 2010002012
96. bed 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 15 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 operation 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 betransferred by a single command are increased by increasing the allowabl e sector count to 1
97. by E2h 96h Command Block Registers T Command Block inpurRegisers Rese PEELE eese eeen A E S TEE Feature Error See Below Sector Count aoe Sector Count LBA Low a P3 E ES 2118188 ______ 7 eami _________ FELT LBA High TTE TET Es EE ERES EN D LLFELEEELEEHpese _____ Command Se Below Error Re NE TIT Gib d d d a ind a lb nl Eu 125 ENS Command E2h 96h The Standby command causes the device to 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 cached write commands Then the device is spun down but the interface remains active the device is already spun down the spin down sequence is not executed During the Standby mode the device will respond to commands but thereisaadelay while waiting for the spindle to reach operating speed The ti mer 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 timeo
98. ce 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 Password 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 wil 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 be used to unlock the device Identifier Mast
99. ce ne tac n t a c RT 14 53 WriteSector s airo ote hr ar Pe enc nena du e 14 54 WriteUncorrectable Ext 45h crew met List of Figures Figure 1 Limits of temperature and humidity 25 Figure 2 Mounting hole locations 32 Figure 3 Interface connector pin assignments 39 Figure 4 Parameter descriptions 42 Figure 5 Initial Setting 60 Figure 6 Usual Operation 61 Figure 7 Password Lost 62 Figure 8 Set Max security mode transition 66 Figure 9 Seek overlap 67 Figure 10 Selective self test test span example 147 List of Tables Table 1 Formatted capacity by model number 16 Table 2 Data sheet 17 Table 3 Cylinder allocation 17 Table 4 Performance characteristics 18 Table 5 Mechanical positioning performance 19 Table 6 Full stroke seek time 19 Table 7 Single track seek time 19 Table 8 Latency time 19 Table 9 Drive ready time 20 Table 10 Operating mode 21 Table 11 Drive ready time 21 Table 12 Environmental condition 25 Table 13 Magnetic flux density limits 26 Table 14 DC Power requirements 27 5K320 SATA OEM Specification Table 15 Power consumption efficiency Table 16 Physical dimensions and weight Table 17 Random vibration PSD profile breakpoints operating Table 18 Swept sine vibration Table 19 Random Vibration PSD Profile Breakpoints nonoperating Table 20 Operating shock Table 21 Nonoperating shock Table 22 Weighted sound power Table 23 Interface connector pins and I O signals T
100. ciated 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 17 1 General purpose Log Directory Thefollowing table defines the 512 bytes that make up the General Purpose Log Directory Description i Offset General Purpose Logging Version Number of sectors in the log at log address 01h 7 0 Number of sectors in the log at log address 15 8 Number of sectors in the log at log address 02h 7 0 Number of sectors in the log at log address 02h 15 8 p ae eae Number of sectors in the log at log address 80h 7 0 100h Number of sectors in the log at log address 80h 15 8 101h inl ee eee nat Number of sectors in the log at log address FFh 7 0 1FEh Number of sectors in the log at log address FFh 15 8 lFFh ___ O BUCH Table 74 General purpose Log Directory The value of the General Purpose Logging Version word shall be 0001h A value of 0000h indicates that 15 no General Purpose Log Directory The logs at log addresses 80 9F h shall each be defined as 16 sectors long 14 17 2 Extended comprehensive SMART error log The following table defines the format of each ofthe sectors that comprise the Extended Comprehensive SMART error log Error log data structure shall not include errors attributed to the recei pt o
101. cification 14 40 2 11 Self test completion time These bytes 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 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 1 Attribute Threshold Reserved Vendor specific Data structure checksum 1 See following definitions 2 Value varied by actual operating condition 3 Filled with 00h Table 115 Device Attribute Thresholds Data Structure 14 40 3 1 Data Structure Revision Number This valueis the same as the value used in the Device Attributes Values Data Structure 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
102. ctor 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 53 5K320 SATA OEM Specification 12 4 Sector Addressing M ode addressing of data sectors recorded on the device s media is by a logical sector address The logical CHS address for HTS5432XXL9SAO00 HTS5432XXL 9A300 is different from the actual physical CHS location of the data sector on the disk media HTS5432XXL9SA00 HTS5432XXL 300 support both Logical CHS Addressing Mode and LBA Addressing Mode as the sector addressing mode The host system may select either the currently selected CHS translation addressing LBA addressing on 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 Thelogical CHS addressing is made up of three fields the cylinder number the head number and the sector numbe
103. cy 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 15 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 Sd Features with a subcommand code of 06h Software settings preservation is enabled by default 12 15 1 Preserved software settings If Software setting preservation is enabled the following stings are preserved across COMRESET Otherwise settings are cleared across COMRESET 69 5 320 SATA OEM Specification Initialize device parameters Track length Number of head Number of cylinder Capacity Power Management Feature Set Standby Time to fall into standby mode Timer Security mode state Security freeze lock Security unlock Set max address Capacity Set feature Write Cache Enable Disable Set Transfer Mode Enable Disable Table 38 Preserved Software Setting 12 16 Native Command Queuing Native Command Queuing feature Read Write FPDMA Queued commands is su
104. d 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 O7h word 7 is invalid LBA Mid 08h bit 3 is invalid Sector count 04h now Security feature set is enabled 81 5 320 SATA OEM Specification DMA mode 0 is suppored Ultra DMA modes supported Reserved Ultra DMA mode 5 and below are supported Ultra mode 4 and below are supported Ultra mode 3 and below are supported Ultra mode 2 and below are supported Ultra mode 1 and below are supported Ultra DMA mode 0 is supported Maximum LBA address Command
105. de mode 6 supported 15 0 Reserved attra A mode Sis selected atria A mode Fis selected fate mode 35s selected Co mode Tis selected ey etre mode 05s selected 7 c0 a mode 6 1 supported Se fate mode Sis supported re mode 4s supported mode 3 is supported mode 25s supported r6b I UtraDMA mode 1 is supported _________ E aes UG 0 1 Note 1 The mark in Content field indicates the use of those parameters that are vendor specdific Table 61 Identify device information Continued 98 5 320 SATA OEM Specification Time required for security erase unit completion Time value xxxxh 2 minutes roce Time required for Enhanced security erase completion Time value xxxxh 2 minutes Advanced Power Management level ____ ____________ _ Features Command 01h to 9 oen Master Password Revision Codes 93 00008 Reserved 94 80xxH Automatic Acoustic Management value Pf Recommended Acoustic Management level Torrent Automatic Acoustic Management value 35 v
106. definition lh 2h h h 6h h h 83 5K320 SATA OEM Specification 14 3 Download Microcode 92h Command Block Output Command Block Input Register Register 6 5 154 312 110 Ahehehe PCEEELL Feature Error See Below sector Comet Tv v vivIv v v v sector Coum LBALow Ba Hish _________ ______ Comma _ See Below T Register Status Register 3 2 fi 615 4 3 2 rnt PUPPPPRIPFEPPPBE Ls s NEN ILL Output Parameters To The Device Feature Subcommand code 03h Download and save microcode with offsets 07h Download and save microcode Other values are reserved Sector Count Lower byte of 16 bit sector count value to transfer from the host LBA Low Higher byte of 16 bit sector count value to transfer from the host LBA High Mid Buffer offset only used for Feature 03h This command enables the host to alter the device s microcode The data transferred using the DOWNLOAD MICROCODE commands is vendor specific transfers shall be an integer multiple of the sector size The size of the data transfer is determined by the contents of the LBA Low and Sector Count registers The LBA Low register is used to extend the Sector Count register to create a 16 bit sector
107. dia This command provides the same function as the Write Multiple Ext command except that the transferred data shall 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 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 0000h in the Sector Count register is specified 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 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 170 5 320 SATA OEM Specification 14 52 Write Sector s O E EE D FEEEREEE Da 1 A ee EEEEEELE Feature Error See Below Sector Count aoe Sector Count VIVIVIVIVIV
108. e Any damages incurred to thedrive 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 Covering this hole will result in loss of data 5K320 SATA OEM Specification 2 Outline of the drive 2 5 inch 9 5 mm Height Perpendicular Recording Formatted capacities of 320GB 250GB 160GB 120GB and 80GB 512 bytes sector SATA Interface conforming to Serial ATA International Organization Serial ATA Revision 2 6 15F ebruary 2007 Integrated controller No ID recording format Coding 100 102 2bit parity 199 200 RC Modulation Encoding 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 736 KB is used for firmware Fast data transfer rate HTS5432xxL 9A3xx model to 3 0Gbit s HTS5432xxL 9SAxx model up to 1 5Gbit s Media data transfer rate max 775 Mb s Average seek time 12 ms for read Closed loop actuator servo Embedded Sector Servo Rotary voice coil motor actuator Load Unload mechanism Mechanical latch 0 55 Watts at idle state Power on to ready 3 5 sec Operating shock 3920 m sec2 400 G 2ms 1960 m sec2 200G 1ms Non operating shock 9800 m sec2 1000 G 1ms Bulk E ncryption optional HTS5
109. e 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 offline read scanning at the off line data collection activities which is initiated by the 149 5K320 SATA OEM Specification S M A R T Execute Off line Immediate Subcommand D4h or automatically if the off line read scanning feature is disabled A value of F8h written by the host into the device s Sector Count register before issuing this subcommand shall cause the automatic Offline 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 offline read scanning at the off Jine data collection activities which is initiated by the S M A R T Execute Off line mmediate Subcommand D4h even if the auto
110. e eo ded uates PART 2 INTERFACE SPECIFICATION nn nnn n i a n n 44 S GENERAL 8 1 Introduction EN TAMIN eo 45 STAN DAR 46 10PHYSICAL INTERFACE ILI Register naming convention Ie NU a etf fe hans 47 112 Command register 113 Device Control Register 114 Device Register 115 Error Register deme aio app reiten 11 6 117 118 11 9 11 10 11 11 5K320 SATA OEM Specification Features Register LBA High Register LBA Low Register LBA Mid Register oppo reto e a ena Sector Count Register tr idend oed e ad etaed id dedo 49 Status Register 12 GENERAL OPERATION DESCRIPTIONS seeeeeennenere tnnt nte ntnn tette nnne tenente tentent tette tette tte ten tentent 121 122 12 3 124 12 5 12 6 12 7 12 8 12 9 12 10 12 11 12 12 12 13 12 14 12 15 12 16 12 17 R eset Resporise a ee Pe ER ERU Ree CUR E rn na Diagnostic and Reset considerations Powersoff corisideratiOns ricette eerte doc d a eb ere Len td e Sector Addressing Mode one n te Pro d ep o i p nud Power Management Feature esee nennen teret tette Advanced Power Man
111. e 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 The number of requested sectors not verified 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 124 5K320 SATA OEM Specification 14 25 Read Verify Sector s E xt 42h Command Block Output S Command Block Input Registers uw POPS ______ EE E E E E E E E See Below Sector Count Current V Sector Count 0 Previous VIV VI VI V V VI posi BA Tow Current db IUE
112. ecification 5K320 SATA OEM Specification Part 2 Interface Specification 44 5K320 SATA OEM Specification 8 General 8 1 Introduction This specification describes the host irterface of HTS5432XXL9SAO00 HTS5432XXL 9A300 The interface conforms to following Working Document of Information technology with certain limitations described in the chapter 9 Deviations from Standard Page 45 Serial ATA International Organization Serial ATA Revision 2 6 dated on 15 February 2007 AT Attachment 8 Command Set AT A8 ACS Revision 3f dated on 11 December 2006 HTS5432XXL 95400 HTS5432X XL9A300 support following functions as Vendor Specific Function e Format Unit Function e SENSE CONDITION command 8 2 Terminology Device Device indicates HTS5432XXL9SA00 HTS5432XXL9A300 Host Host indicates the system that the device is attached to INTRQ Interrupt request Device or Host 45 5K320 SATA OEM Specification 9 Deviations from Standard The device conforms to the referenced specifications with deviations described below The interface conforms to the Working Document of Information Technology AT Attachment 8 ATA ATAPI Command Set ATA ATAPI8 ACS Revision 3f dated 11 Dec 2006 with deviation as follows S M A R T Return Status 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 exc
113. ector Count Ls tow LBA nig LLLL IIIS Command See Below Error Register Status Register 5 gt 72 1 ith lad lida St EN ER NN DENM Max EERE er KEN This command returns the native max LBA CYL of HDD which is not affected by Set Max Address command The 48 bit native max address is 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 Valid Indicates that the bit is part of an input parameter and will be set to 0 or
114. eed their corresponding thresholds For example Power On Hours Attribute never results in negative reliability status Check Power Mode Check Power Mode canmand 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 15 described in Functional Specification part 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 Status Register and transmits a FIS tothe device containing the new contents e Command register is written in the Shadow Register Block Device Control register is written in the Shadow Register Block with a change of state of the SRST bit COMRESET isrequested 46 5 320 SATA OEM Specification 11 1 Register naming convention This specification uses the same naming conventions for the Command Block Registers as the 5 standard However the register naming convention is different from that uses in the Serial ATA 2 6 specification The following table defines the corresponding of the register names used in this
115. egister 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 order to select a subcommand the host must write the subcommand code to the device s eatures Register before issuing the S M A R T Function Set command The subcommands and their respective codes are listed below Code Subcommand 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 Offline Immediate DSh 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 S M A R T Read Attribute Values Subcommand DOh This subcommand returns the device s Attri bute 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 bytes of Attribute Value information from the device 145 5 320 SATA OEM Specification S M A R T Read Attribute Thresholds Subcommand D 1h 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 Thres
116. en 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 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 us ed 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 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 T12 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 Aweighted sound power Lw with the following formulaonly when determining compliance Lwt spec Lw
117. er Security leve Maximum This combination will set a master password but will NOT enable the security mode feature lock function 133 5K320 SATA OEM Specification 14 32 Security Unlock F2h Ci i ee Table 101 Security Unlock Smt 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 bein 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 the following table 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 reaches zero then all password protected commands are rejected until a power off 0 Consol word ois eee 17255 Table 102 Security Un
118. er data and the 2 symbol system ECC The other 34 symbols are Read Solomon ECC Hardware logic corrects up to 16 symbols 20 bytes errors on the fly 2 symbol System ECC is generated when HDC receives user data from HOST and can correct up to 1 symbol 10bit errors on when one transfers to HOST 24 5K320 SATA OEM Specification 6 Specification 6 1 Environment 6 1 1 Temperature and humidity Temperature 5 to 55 C See note below Relative humidity 8 to 90 noncondensing Maximum wet bulb temperature 29 4 noncondensing Maximum temperature gradient 20 C hour Altitude 300 to 3048 m 10 000 ft Temperature 40 to 65 Relative humidity 5 to 95 noncondensing Maximum wet bulb temperature 40 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 at the center of top cover and below 63 at the center of the drive circuit board assembly The maximum storage period in the shipping package is one year 41 95 WetBulb 40 WetBulb29 4 erati Relative Humidity 96 65 23 5 5 15 25 35 Temperature degC Figure1 Limits of temperature and humidity 6 12 Corrosion test The hard disk drive must be functional and show no signs of corrosi
119. erformed by the slave DMA channel The device issues only one interrupt per command to indicate that data transfer has terminated and status is available 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 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 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 165 5 320 SATA OEM Specification 14 47 Write FPDMA Queued 61h Command Block Output S Command Block Input Registers uw ________ PoP po
120. erminates 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 internally and the information is available right after completing the reassign function Alsothe information is used on the next power on reset If the number ofthe spare sector reaches 0 sector the reassign function will be disabled automatically 67 5K320 SATA OEM Specification The spare tracks for reassignment are located at regular intervals from Cylinder 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 descri
121. ess 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 121 5K320 SATA OEM Specification 14 22 Read Sector s 20h 21h Command Block OutputRegistes T Command Block inpurRegisiers Eee ED 0 0 De Feature Error See Below Sector Count aoe Sector Count VIVIVIVIVIV A LBA Mid 15 sann TvIvIvIvIvIvIv v See Below Error Register Status Register apo 5 gt 72 ith lad ER Er KERA oan Ee 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 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
122. ess 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 61 5K320 SATA OEM Specification User Password Lost High LEVEL Unlock with Master Password Maximum Erase Prepare Command Erase Unit Command with Master Password Normal operation but data lost Normal operation Figure 7 Password Lost Attempt limit for SECURITY UNLOCK command The SECURITY UNLOCK command has an attempt limit The purpose of this attempt limit is to prevent that someone attempts to unlock the drive by using various passwords many times The device counts the password mismatch If the password does not match the device counts it up without distinguishing the Master password and the User password 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 F eature Set Device lock function is enabled 62 Command Check Power Mode Device Configuration RESTORE Device Configuration FREEZ
123. evel and the Standby timer are set the device will gotothe Standby state when the ti mer times out or the device s Advanced Power Management algorithm indicates that it is time to enter the Standby state The IDENTIFY DEVICE response word 83 bit 3 indicates that Advanced Power Management feature is supported if set Word 86 bit 3 indicates that Advanced Power Management is enabled if set Word 91 bits 70 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 Performance Idle mode all electronic components remain powered and full frequency servo remains operational This provides instantaneous response to the next command The duration of this mode is intelligently managed as described below 12 6 2 Active mode this mode power consumption is 45 55 less than that of Performance dle 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 60 65 less than that of Performance dle mode The heads are unloaded the ramp however the spindle is still rotated at the full speed Recovery time to Active mode is about 300ms 56 5 320 SATA OEM Specification 12 6 Tra
124. f faulty commands such as command codes not implemented by the device or requests with invalid parameters or in valid addresses 111 5K320 SATA OEM Specification Description SMART error log version Error log index 7 0 1 02h Error log index 15 8 1st error log data structure error log data structure 2 Device error count ar Table 75 Extended comprehensive SMART error Log 14 17 2 1 Error Log version The value of this version shall be O1h 14 17 2 2 Error log index This indicates the error log data structure representing the most recent error If there have been no error log entries it is cleared to 0 Valid values for the error log index are 0 to 4 14 17 2 3 E xtended E rror 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 structureis shown below Description Offset Table 76 Extended Error log data structure 112 5K320 SATA OEM Specification Command data structure Data format of each command da
125. f those parameters that are vendor specific Note2 See following table Table 64 Number of cylinders heads sectors by models for HTS5432XXL 95400 HTS5432XXL 9A 300 on P age 102 Table 56 Identify device information Continued 93 5K320 SATA OEM Specification oom DMA Transfer Capability LL _ frelon DMA mode 25s selected DMA mode 1is selected L DMA mode Dis selected 7 3 0 Reserved 7 2 2D 12Multiword DMA mode 2 is supported DMA mode Lis supported ________ DMA mode Ois supported a wor Control PIO Transfer Modes Supported PIO Transfer Modes Supported ir PIO Mode 3 4 Supported a Cycle time in nanoseconds 2005 166MB S 6 oH __ Manufacturer s Recommended Multiword DMA Transfer Cycle Time Cycle ime in nanoseconds 12005 16 6 s 78H PIO Transfer Cycle Time Without Flow Control ce time in nanoseconds 205 16 5 0078H Minimum PIO Transfer Cycle Time With IORDY Flow Control NN Reeve ___ 75 om Queue depth d 1 1 76 f _ SA
126. fication Feature Set EN NM A 7 LI JI supported 9 A Feature Setsupporied DMA QUEUED supported Microcode Command Supported etait Command seveature supported extension E 13 E 1 IDLE IMMEDIATE with UNLOAD FEATURE SS 8 fimo Work wide name supported L qp dp ee supported FUA EXT commands supported TS inf General Purpose Logging Feature set supported LLL Pf eev esMaRTemerlegsingsupponed Note 1 The mark in Content field indicates the use of t hose parameters that are vendor specific Table 59 Identify device information Continued 96 5K320 SATA OEM Specification __ Command sovfeature enabled Tefen command supported Ene READ BUFFER command supported WRITE BUFFER command supported 11 7 Reserved 10 1 1 Host Protected Area Feature Set supported _ S E SC enabled SSCS 3 e 1 1 supports Power easement Feature Set CET Feature Setenabled Ten eS MART 36 B amp H Command set feature enabled 15 21 I2 Words 120 119 are valid 14 0 Reserved 13 1
127. gister v efs a s 2 1 o Register 7161 5 4 31210 DUTCH E ELS a LE secon 2012120162 0 LBA Low _______ LBA Low LBA Mid E Mid LBA High Bp Device Device oss EBEN NES T TI a Lo Power i mem a 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 79 5 320 SATA OEM Specification 14 2 Device Overlay B 1h O E C ec FEEEREEE Data Daa Feature Error LE Sector Count HE Sector Count VIVIVIVIVIV aaow TET ____ 2 heen LBA Hisn Device 1 Devies o Command Below vy 3179 Table 44 Device Configuration Overlay LL Individual Device Configuration Overlay feature set commands are identified by the value placed in the Features register The table below s
128. h 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 167 5K320 SATA OEM Specification 14 49 Write Multiple C5h Command Block Output Regisien Command Block npu Regies uus PERLE Reser e if LBA High Device gg Command 72 Status Register 2 i id land 2 sid ads al fj EN NN Write um NN o The Write Multiple command transfers one or more sectors fromthe host to the device then the data is written to the disk medi a 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 ti me 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
129. hall 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 deviceis 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 0 is volatile condition When B 1 Max Address which is set by Set Max Address Ext command is preserved by POR When 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 From The Device LBA Low 0 Set Max LBA 7 0 141 LBA Low 1 LBA Mid HOB 0 LBA Mid HOB 1 LBA High HOB 0 LBA High HOB 1 Set Max LBA 31 24 Set Max LBA 15 8 Set Max LBA 39 32 Set Max LBA 23 16 Set Max LBA 47 40
130. he weighted average of all possible seek combinations max X max 1 Weighted Average max 1 max Where max seek length length 1 to max Thin inward measured seek time for an n track seek Thout outward measured seek time for an n track seek 4 4 2 2 Full stroke seek Typical ms Max ms 20 0 25 0 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 settling Command Type Typical ms Redo _ _ Jj Read 2 0 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 11 1 5 5 Table 8 Latency time 5K320 SATA OEM Specification 4 4 2 5 Drive ready time Typical sec Power On To Ready Table 9 Drive ready time Ready The condition in which the drive is able to perform a media access command for example read write immediately Power On To Ready This includes the time required for the internal self diagnostics 20 5K320 SATA OEM Specification 4 4 3 Operating modes Operating mode Description Start up time period from spindle stop or power dow
131. hold sectors and then waits for the host to transfer the 512 bytes of Attribute Thresholds information from the device S 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 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 Attri bute Autosave subcommand will cause this feature to be enabled Any other 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
132. hows these F eatures register values Command DEVICE CONFIGURATION RESTORE ___ ____ DEVICE CONFIGURATION FREEZE LOCK DEVICE CONFIGURATION IDENTIFY DEVICE CONFIGURATION SET other Reserved Table 45 Device Configuration Overlay Features register values 14 2 1 DEVICE CONFIGURATION RESTORE subcommand COh 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 C 1h 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 commands 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 80 5K320 SATA OEM Specification 14 2 3 DEVICE CONFIGURATION IDENTIFY subcommand C2h The DEVICE CONFIGURATION IDENTIFY command returns a 512 byte data structure PIO datain transfer The content of this data structure indicates
133. ic identify Device E GR nanni cete Idle tte ttt lel eret te nte recte rest retten reete fttt Idle Immediate E 1h 95h A Initialize Device Parameters 91h eene tette tenen tinte tentata Read Buffer EAN iiec tet nive ie rdc d iive nva ab id ndr rte ATTE Read DMA C8h C9h Read DMA Ext 25 Read FPDMA Queued 60h Read Log Ext 2F h Read Multiple C4h Read Multiple E xt 29h Read Native M ax Address 8h Read Native Max Address E xt 27h n Read Sector s 20h 21h stt cerne a rl e N ERE P ELS Read Sector s 2 e iieri win m inet ed Ane D dran ide e D D Cd b P RE Read Verify Sector s 40h A1h T Read Verify Sector s Ext 42 Recalibrate CExh Ore d vr Pn n VE E Security Disable Password F 6h eren nte ntn tnter tinte 5K320 SATA OEM Specification 14 28 Security Erase Prepare F 3h 128 14 29 Security Erase Unit tentant 129 14 30 Security Freeze Lock F 5h seen nennen tatnen tantes tarta tnt totis ttn 131
134. ice 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 8 2 Attribute values Attribute values are used to represent the relative reliability of individual performance or calibration attributes Higher attribute values indi cate that the analysis algorithms being used by 57 5 320 SATA OEM Specification the device are predicting a lower probability of a degrading or fault condition existing Accordingly lower attribute values indicate that the analysis algorithms being used by the device are predicting a higher probability of a degrading or fault condition existing There 15 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 retai
135. ific Vendor specific Self test log pointer Reserved Data structure checksum Lifetime power on hours ___ ___ gt o Self test failure check point LBA of first failure Vendor specifie Vendor specific AD Selftest log pointer CH Reserved Data structure checksum __ ____ _________________________ 4 ______ Note n is 0 through 20 Table 122 Self test log data structure The data structure contains the descriptor of Self test that the device has performed Each descriptor i s 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 val ue is 0 When there is descriptor s the value is 1 through 21 158 5 320 SATA OEM Specification 14 40 7 Selective self test log data structure The Selective self test log is alog that may be both written and read by the host This log allows the host to select the parameters for the self test and to monitor the progress of the self test The following table defines the contents of the Selective self test log which is 512 bytes long All multi byte fields shown in these data structures followthe specifications for byte ordering Starting LBA fortestspan 1 8 Oh RW Ending LBA fortestspanI __ 8 __ RW Starting LBA fo
136. indicate she sector is bad When the feature field contains a value of Axh the Write Uncorrectable Ext command causes the device to flag the specified sector as flagged uncorrectable Flagging a logical sector as uncorrectable causes the device to indicate a failure when reads to specified sectors performed These sectors are referred to as flagged uncorrectable sectors In this case whenever a flagged uncorrectable sector is accessed via a read command the device sets the UNC and ERR bits without normal error recovery to indicate the sector is bad f the Uncorrectable options are set to A5h or 55h then sectors that have been made pseudo uncorrectable are listed as failed in the standard error logs when read back If the Uncorrectable options are set to 5Ah or AAh then the readi ng of pseudo uncorrectable sectors are not logged as an error in any standardized error logs T C he pseudo uncorrectable or flagged uncorrectable status of a sector remains through a power ycle an uncorrectable error occurs the write will be terminated at the failing sector Output Parameters To The Device Feature Current Uncorrectable options 55h Create a pseudo uncorrectable error with logging 5Ah Create a pseudo uncorrectable error without logging ASh Create a flagged error with logging AAh Create a flagged error without logging Other Reserved command is aborted 173 5K320 SATA OEM Specification Secto
137. ine scan In this case the user shall set the flag to enable offline scan inaddition tothe other settings If an error occurs during the scanning of the test spans the error is reported in the self test execution status the S M A R T READ DATA response and the off line scan is not executed When the tes spans defined have been scanned the device shall then set the offlinescan 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 5 READ DATA response to set a value of 03h in the off line data collection status in the S M A R T READ DATA response and shall 147 5 320 SATA OEM Specification proceed to do an offJine read scan through all areas not included in the test spans This off line read scan shall completed as rapidly as possible no pauses between block reads and any errors encountered shall not be reported to the host Instead error locations may be logged for future reallocation If the device is powered down before the off line scan is completed the off line scan shall resume when the device is again powered up F rom 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 Duringthis 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
138. lock 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 134 5 320 SATA OEM Specification 14 33 Seek 7xh Command Block OwpurRegisers T Command Block npu Regies Rese fo PISBPEBEDIS Feature Error See Below Sector Count Sector Count CBA Cow TvIv vIv vIVIvIv tow LBA wa Mv v v v v vivIv IvIvIvIvIvIvIv v LBA nig Tv v v v v vivIv cba nes Device A Command Tob E E See Below Error Register Status Register 13 2 1 0 5 gt 72 1 ith d d lcd d NM nU ao anne 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 Device LBA Low In LBA mode this register specifies LBA address bits 0 7 for seek
139. lues to the reserved sector and compares the updated Attribute Values to the Attribute Thresholds If the device does not detect a Threshold E xceeded Condition or detects a Threshold Exceeded Condition but involving attributes are advisory the device loads 4F h into the LBA Mid register C2h intothe LBA High register If the device detects a Threshold Exceeded Condition for prefailure attributes the device loads F 4h into the LBA Mid register 2Ch into the LBA High register Advisory attributes never result in negative reliability condition 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 offline 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 performance of its off line data collection activities or cause the automaticoff line data collection feature to be disabled This subcommand also enables and disables the offline 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 adivities 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 01h Disable Off lin
140. ly 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 mmediate commands move a device to standby mode immediately from the active or idle modes The standby command also sets the standby ti mer count 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 idl e and standby modes the device shall 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 M odes Each power mode affects the physical interface as defined in the following table Ide Active Table 34 Power EM Ready RDY is not a power condition A device may post ready at the interface even
141. mands The value shall not exceed the maximum queue depth specified by the Word 75 of the Identify Device information LBA 7 0 LBA 31 24 LBA 15 8 LBA 39 32 LBA 23 16 LBA 47 40 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 Priority bit When the Priority bit is set to 1 the device attempts to provide better quality of service for the command than normal priority commands Input Parameters From The Device LBA Low 0 LBA Low HOB 1 LBA Mid 0 LBA Mid HOB 1 LBA High HOB 0 LBA High HOB 1 LBA 7 0 of the address of the first unrecoverable error LBA 31 24 of the address of the first unrecoverable error LBA 15 8 of the address of the first unrecoverable error LBA 39 32 of the address of the first unrecoverable error LBA 23 16 of the address of the first unrecoverable error LBA 47 40 of the address of the first unrecoverable error 166 5 320 SATA OEM Specification 14 48 Write Log Ext 3F h Command Block Output S Command Block Input Registers See Below a _ 4 Sector Count Current Sector Count Previous
142. matic 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 Table 124 S M A R T Error Codes on Page 159 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 co 02 Off line data collection capability 1 16Fh 1 5Bh S M A R T capability 2 170h 1 0003h S M A R T device error logging capability 172h Self test failure check point 1 See following definitions 2 Value varied by actual operating condition 3 Filled with Table 112 Device Attribute Data Structure 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 OOLOh This revision number identifies both the Attribute Value and Attribute Threshold Data structures 150
143. mmand RDY will be set to 0 during power on until the device is ready to accept a command Device Fault DF 1 indicates that the device has detected a write fault condition DF is set to 0 after the Status Register is read by the host Device Seek Complete DSC 1 indicates that a seek has completed and the device head is settled over a track 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 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 Corrected Data Always 0 Index Always 0 ERR 1 indicates that an error occurred during execution of the previous command The Error Register should be read to determine the error type The device sets 0 when the next command is received from the host 50 5 320 SATA OEM Specification 12 General Operation Descriptions 12 1 Reset Response There are three types of reset in ATA as follows Power On Reset PO R The device executes a series of electrical circuitry diagnostics spins up the HDA tests speed and other mechanical parametric and sets default values COMRESET COMR
144. mmand 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 f 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 sect ors 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 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 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 164 5 320 SATA OEM Specification 14 46 Write DMA FUA Ext 3Dh Command Block Output S Command Block Input Registers uw ________
145. moved from the computer New commands are supported for this feature as below Security Set Password FI h Security Unlock F2 h Security Erase Prepare F3 h Security Erase Unit F4 h Security Freeze Lock F5 h Security Disable Password CFC 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 58 5K320 SATA OEM Specification entered after power on otherwise it is entered by a security unlock or a security erase unit command Device Frozen mode The device enables all commands except those which can update the device lock function set change password The device enters this mode via a Security Freeze Lock command It cannot quit this mode until power off 12 9 2 Security L evel 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
146. n Seek operation mode Write operation mode Read operation mode Read The device is capable of responding immediately to media access requests All Performance idle electronic components remain powered and the full frequency servo remains Spin Up 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 headis parked near the mid diameter the disk without servoing 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 Table 10 Operating mode 4 4 3 1 Mode transition time Transition Transition Time Time typ max Standby 25 295 Table 11 Drive ready time 4 4 3 2 Operating mode at power The device goes into Idle mode after power on or hard reset as an initial state 4 4 3 3 Adaptive power save control The tran
147. nd IDENTIFY DEVICE response is complete 7C8h SET FEATURES subcommand is required to spin up and IDENTIFY DEVICE response is incomplete 0 0 03 Number of heads in default translate mode 0 1 track offset option available 1 data strobe offset option available rotational speed tolerance gt 0 5 1 disk transfer rate gt 10 Mbps 1 disk transfer rate gt 5 Mbps but lt 10 Mbps disk transfer rate lt 5 Mbps _ Note 2 Note 2 ao o f 1 2 6 003FH Number of sectors per track in default translate mode 07 09 0 Reserved 1 2 7 0003 dual port ed multiple sector buffer with look ahead read Buffer size in number of sectors Microcode version in ASCII and Write Multiple commands 80h 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 vendor specific 0 0003H Controller type z 23 26 XXXX 27 46 Note 2 10 19 XXXX Serial number in ASCII 0 not specified Note2 See following table Table 64 Number of cylinders heads sectors by models for HTS5432XXL 95400 HTS5432XXL 9A 300 on P age 102 Table 55 Identify device information 92 5K320 SATA OEM Specification 4000H Trusted Computing feature set options LI 0 LL Computing feature seris supported
148. ning 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 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 85 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 12 8 6 S M A R T operation with power management modes The device saves attribute values automatically on every head unload timing except the emergency unload even if the attribute auto save feature is not enabled The head unload is done not onl y by Standby Standby mmediate 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 F eature 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 re
149. nnector description Connector specifica tions are included in section 7 2 Interface connector 6 4 4 Mounting orientation The drive will operate in all axes six directions and will stay within the specified error rates when tilted 5 degrees from these positions Performance and error rate 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 5 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 unload position See section 6 5 4 Nonoperating shock for additional details 33 5K320 SATA OEM Specification 6 5 Vibration and shock 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
150. not apply to this command Instead the register contains a diagnostic code See Table 31 Diagnostic Codes on Page 52 for the definition 86 5K320 SATA OEM Specification 14 5 Flush Cache E 7h Command Block Output Registers Command Block Input Registers Register v efs a s 2 1 o Register 7 6 5 4 3121110 DUTCH E a eRe uam LBA Low _______ LBA Low LBA Mid Mid LBA High EDO Device Device EEE I ose Ses Re EEES ru T I Ics x Amer This command causes the device to complete writing data from its cache The device returns a status RDY 1 DSC 1 50h after following sequence Datain the write cache buffer is written to disk media Return a successfully completion 87 5 320 SATA OEM Specification 14 6 Flush Cache Ext EAh Command Block Output S Command Blo ck Input Registers ED ENE 2 WEN EE E Data High Current See Below Previous 4 xl Sector Count Current EE es Ceo Previous 1 LBALow Curent _ LBA Low c Previous HOB 1 HOB 1 peer Ee Mid HOB 0 Previous HOB 1 su 8 LBA High Current ans High Previ
151. nrecoverable error LBA Mid HOB 1 LBA 39 32 of the address of the first unrecoverable error LBA High 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 123 5 320 SATA OEM Specification 14 24 Read Verify Sector s 40h 41h Command Block OutputRegistes T Command Block inpurRegisers a ED 0 0 Da 1 A ee EEEEELE Feature Error See Below Sector Count aoe Sector Count VIVIVIVIVIV A 53 LBA wa IvIvIvIvIvIvIv v sann TvIvIvIvIvIvIv v See Below Error Register Status Register apo 5 gt 72 1 ith lad s Er Eu um RTT The Read Verify Sector s verifies one or more sectors the device data is transferred to the host T he 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 The number of continuous sectors to be verified If zero is specified then 256 sectors will be verified LBA Low Th
152. nsition Time The transition time is dynamically managed by users recent access pattern instead of fixed times The ABL E 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 algor ithm 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 possible 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 M ode Slumber and Partial Interface Power Management Mode is supported by both Deviceinitiated interface power management and Host initiated interface power management Please refer to the Serial ATA Specification about Power Management M ode
153. nteed in order data delivery 06h Software Settings Preservation 138 5K320 SATA OEM Specification 14 36 Set Max Address M 9h Eu O E EE E ETETE AEE Feature VIV nn Error 1 Below Sector Count Sector Count Se K DA KA A sann Command Di E sams See Below BC re TA Table 106 Set Max ddress Command F9h 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 dentify device command and Identify device DMA command returns the LBA CYL which is set via this command as a default value This command implement SET Maxsecurity 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
154. ny time the drive is not ready to read write or seek This status normally exists at the power on time and will be maintained until the following conditions are satisfied The access recalibration tuning is complete The spindle speed meets the requirements for reliable operation The self check of the drive is complete The appropriate error status is made available to the host system if any of the following conditions occur after the drive has become reagy spindle speed lies outside the requirements for reliable operation e The occurrence of a Write Fault condition 5 4 WRITE safety The drive ensures that the data is written into the disk media properly The following conditions are monitored during a write operation When one of these conditions exceeds the criteria the write operation is terminated and the automatic retry sequence is invoked Head off track External shock Low supply voltage Spindle speed out of tolerance Head open short 22 5K320 SATA OEM Specification 5 5 Data buffer test The data buffer is tested at power on reset and when a drive self test is requested by the host The test consists of a write read 00 x and 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
155. of the Device Register is an output parameter and should be specified L LBA mode Indicates the addressing mode Zero specifies CHS mode and one does LBA addressing mode TI x Input z lt mre 5K320 SATA OEM Specification Retry Original meaning is already obsolete there is no difference between 0 and 1 Using 0 is recommended for future compatibility Option Bit Indicates that the Option Bit of the Sector Count Register should be specified This bit is used by Set Max ADDRESS command Valid Indicates that the bit is part of an output parameter 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 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 78 5 320 SATA OEM Specification 14 1 Check Power Mode E 5h 98h Command Block Output Registers Command Block Input Registers Re
156. offset of zero The new firmware becomes effective immediately after the transfer of the last data segment has completed When the device detects the last download microcode command for the firmware download the device will perform any device required verification and save the complete set of downloaded microcode If the device receives a command other than download microcode prior to the receipt of the last segment thenew command is executed and all previously downloaded microcode is discarded If a software or hardware Reset is issued to the device before all of the microcode segments have been transferred to the device the device shall abandon all of the microcode segments recei ved and process the Reset 85 5 320 SATA OEM Specification 14 4 Execute Device Diagnostic 90h Command Block Output Registers Command Block Input Registers Register v efs a s 2 1 o Register 2 6 5 4 3 2010 UTE CR eRe LBA Low _______ LBA Low ss LBA Mid E Mid LBA High EDO Device pea Hh HH Device ESEESE See MEZ E Re EBEN NES T TI EARI EA EA es 49 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
157. ogical 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 5K320 SATA OEM Specification 5K320 SATA OEM Specification OD Open Drain Programmed nput Output PIO Program 1 0 POH power on hours Pop population P N part number p p peak to peak PSD power spectral density RES radiated electromagnetic susceptibility radio frequency interference RH relative humidity RH per cent relative humidity RMS root mean square RPM revolutions per minute RST reset RAV read write sec second Sect Trk sectors per track SELV secondary low voltage S M A R T Self monitoring analysis and reporting technology Trk track TTL transistor transistor logic UL Underwriters Laboratory V volt VDE Verband Deutscher Electrotechnik er W watt 3 state transistor transistor tristate logic 5K320 SATA OEM Specification 1 2 References Serial ATA International Organization Serial ATA Revision 2 6 1 3 General caution Do not apply force to the top cover See figure below Do not cover the breathing hole on the top cover See figure below Do not touch the interface connector pins or the surface of the printed circuit board The drive can be damaged by shock or ESD Electric Static Discharg
158. ommand 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 medi a 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 continuous 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 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 172 5K320 SATA OEM Specification 14 54 Write Uncorrectable E xt 45h Command Block Output IS Command Block Input Registers rear
159. on 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 A ddress 64 5K320 SATA OEM Specification Set Max Set Password Set Max Lock Set Max Freeze Lock Set Max Unlock 12 10 1 Example for operation In LBA mode Assumptions For better understanding the following example uses actual values for LBA size etc Sinceit is just an example these values could be different Device characteristics Capacity native 536 870 912 byte 536MB Max LBA native 1 048 575 0FFFFFh Required size for protected area 8 388 608 byte Required blocks for protected area 16 384 004000h Customer usable device size 528 482 304 byte 528MB Customer usable sector count 1 032 192 OFCOOOh LBA range for protected area 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 536MB 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
160. on after being exposed to a temperature humidity stress of 50 C 90 RH relative humidity for one week followed by a temperature and humidity drop to 25 C 40 RH in 2 hours 25 5K320 SATA OEM Specification 6 13 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 1500 0 0 Frequency lt 60 500 RMS 60 Frequency lt 100 250 RMS 100 Frequency lt 200 100 RMS 200 Frequency lt 400 50 RMS Table 13 Magnetic flux density limits 6 14 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 26 5K320 SATA OEM Specification 6 2 DC power requirements Connection to the product should be made in a safety extra low voltage SELV circuits The voltage specifications are applied at the power connector of the drive tem Requirements O Nominal supply Volt dc Supply voltage 0 3 Volt to 6 0 Volt Power supply ripple 0 20 100 mV p p max MHz Tolerance Supply rise time 1 100 ms 6 Startup maximum peak Average from power on to ready Table 14 DC Power requirements Footnotes 1 The maximum fixed di
161. on issuing the command 13 3 Non Data Commands These commands are Check Power Mode Device Configuration Freeze Lock Device Configuration R estore Execute Device Diagnostic Flush Cache Flush Cache Ext Format Unit Idle Idle Immediate Idle Immediate with Unload option Initialize Device Parameters Read Native Max A ddress 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 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 73 5 320 SATA OEM Specification Write Uncorrectable Ext Execution of these commands involves no data transfer 13 4 DMA Data Transfer Commands These commandsare Read DMA Read DMA Ext Write DMA Write DMA Ext Initiation of the DMA transfer commands is identical to the Read Sector or Write Sector commands except that the host initializes the slave DMA channel prior to issuing the command The DMA protocol allows high performance multi tasking operating systems to eliminate processor overhead associated with transfers
162. 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 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 descri ptions 11 11 Status Register zr Eee gt o _ osc CORR IDX 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 is considered to be the interrupt acknowledge Any pending interrupt is cleared whenever this register is read If BSY Z1 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 49 DRDY DF DSC DRQ CORR COR IDX ERR 5K320 SATA OEM Specification Device Ready RDY 1 indicates that the device is capable of responding to a co
163. ote 1 The mark in Content field indicates the use of those parameters that are vendor specific 100 5 320 SATA OEM Specification Note2 See following table Table 64 Number of cylinders heads sectors by models HTS5432XXL9SA00 HTS5432XXL 9A 300 on P age 102 Table 63 Identify device information Continued 101 5K320 SATA OEM Specification Hitachi Hitachi Hitachi HTS543232L9SA00 HTS543225L9SA00 HTS543216L9S A00 Number of cylinders 3FFFh 3FFFh 3FFFh Number of heads 3795h 3795 3795h Total number of user 2542EABOh FFFFFFFh FFFFFFFh addressable sectors word Maximum user LBA 2542EABOh 1D1C5970h 12A19EBOh address for 48 bit Address feature set word 100 103 __ _ _ Model Number in ASCII Hitachi Hitachi Number of cylinders ooo Number of heads Total number of user DF94BBOh 950F8BOh addressable sectors word Maximum user LBA DF94BBOh 950 8 address for 48 bit Address feature set word 100 103 Model Number in ASCII Hitachi Hitachi Hitachi HTS543232L9A300 HTS543216L9A300 Buffer size 3795h Eee Total number of user 2542EABOh FFFFFFFh FFFFFFFh 60 61 Maximum user LBA 2542EABOh 1D1C5970h 12A19EBOh address for 48 bit Address Model Number in ASCII Hitachi Hitachi pee ete Number of cylinders 3FFFh 3FFFh Number of heads 3795 Total number of user DF94BBih 950F8BOh addressable sectors word 60 61 Maximum
164. ount 199 Ultra DMA CRC Error Count 223 Load Retry Count Status Flag Definitions 151 5K320 SATA OEM Specification Flag Name Definition If bit 0 an Attribute Value less than or equal to its corresponding Attribute Threshold indicates an Advisory condition where the usage or age of the device has exceeded its intended design life period Pre Failure Advisory bit lf bit 1 an Attribute Value less than or equal to its corresponding Attribute Threshold indicates a Pre Failure condition where i mmi nent 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 Reserved bits may either or 1 Reserved bits Always 0 Table 114 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 valueis not improperly reflected in the normalized Attribute Value i e one read error in thefirst 10 reads being interpreted as exceeding the read error rate threshold when the subsequent 1 billion reads all execute witho
165. ous 3ETE EIER LES E Se perme Command o fo 1 fo status See Below Error Register Status Register esse psp EAE EA EN es ee 9 1 cac o iN nsc ERR po pop qose RA Table 51 Flush Cache EXT Command EAh 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 88 5K320 SATA OEM Specification 14 7 Format Track 50h Vendor Specific Command Block Output Registers Command Block Input Registers Register vzfe s 4 s o i o Register amp 7 6 5 4 5 2 1 9 Fea ITE enor Sector Cou Hence LBA Low v LBALow LBA Mid Te HE Mid LBA High LBA High vivi v Device eA eh a d E EE HJH ines Device mE Error Register Status Register pe 5 2 fi Ee 452 Ji Ged il i Bid dd Los LI Format Track Command 50h The Format Track command formats a single logical track on the device Each good sector of data on the
166. ower down timeout parameter Unload Feature The UNLOAD FEATURE of the IDLE IMMEDIATE command allows the host to immediately unload the heads The device stop s read look ahead if it is in process If the device is performing a write operation the device suspends writing cached data onto the media as soon as possible The data in the write cache is retained and the device resume writing the cached data onto the media afterreceiving a Software Reset a Hardware Reset or any new command except IDLE IMMEDIATE withUNLOAD FEATURE 104 5K320 SATA OEM Specification 14 12 Initialize Device Parameters 91h Command Block Output Registers Command Block Input Registers Register v efs a s 2 1 o Register 7 6 5 4 312110 UTE CESHERBBBIENE eRe E E E EN EA E LBA Low _______ LBA Low ss LBA Mid E Mid LBA High EDS Device pea un HI H Device EEE 3 EBEN NES T TI Le Device Parameters LE in Thelnitialize 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 I nformation 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 Se
167. pported 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 U pon 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 12 17 SMART Command Transport SCT SMART Command Transport SCT feature set is supported The SMART Read Log and SMART Write Log commands or Read Log Ext and Write Log Ext commands are used to issue a command in this feature sets Log page EOh is used to issue commands and return status Log page 1 is usedto transport data Please refer to the section 8 SCT Command Transport in ATA amp ACS specification for more detail The following Action codes are supported 0002h Write Same command 70 5K320 SATA OEM Specification Error Recovery Control command 0004h Feature Control command Feature Write Cache code 0001h Feature Time Interval for temperature code 0003h logging 0005h SCT Data Table command Table 39 SCT Action Code Supported 71 5 320 SATA OEM Specification 13 Command Protocol The commands are grouped into different classes according to the protocols followed for command execution The command classes with their associ ated protocols are defined below Please refer to Serial ATA Revision 2 6 Section 11 device command layer protocol about each
168. r Sectors are numbered from 1 to the maximum value allowed by the current CHS translation mode but can not exceed 255 0F Fh Heads are numbered from 0 to the maximum value allowed by the current CHS translation mode but can not exceed 15 O0F h 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 The default CHS translation mode is described in the Identify Device Information The current CHS translation mode also is described in the Identify Device Information 12 4 2 LBA Addressing M ode Logical sectors on the device shall be linearly mapped with the first LBA 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 gi ven 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 valueis set tothe following register Device
169. r Count Current The number of continuous sectors to be marked low order bits 7 0 Sector Count Previous The number of continuous sectors to be marked high order bits 15 8 If 0000h in the Sector Count register is specified then 65 536 sectors will be transferred LBA Low Current LBA 7 0 LBA Low 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 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 174 5K320 SATA OEM Specification 15 Timings The timing of BSY and DRQ in Status Register are shown in the following table The other timings are described in Functional Specification part FUNCTION INTERVAL START STOP TIMEOUT Device Ready Power Onand COMRESET Status Register 3 sec IBSY 0 and RDY 1 land sends a Register FIS to the host Device Busy Device Control egister Status Register After Software Reset BSY 1 Device Ready Status Register After Software Reset ST 0 and sends a Register IBSY
170. r 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 2 4700 034 Protection Against Combustion Adequate secondary over current protection is the responsibility of the using system The user must protect the drive from its electrical short circuit problem A 10 amp limit is required for safety purpose 6 10 Packaging Drives are packed in ESD protective bags and shipped in appropriate containers 6 11 Substance restriction requirements The product complies with the Directive 2002 95 EC of the European Parliament the restrictions of the use of the certain hazardous substances in electrical and electronic equipment RoHS 38 5K320 SATA OEM Specification 7 Electrical interface specifications 7 1 Cabling The maximum cable length from the host system to the hard disk drive plus circuit pattern length in the host system shall not exceed1 meter 7 2 Interface connector The figure below shows the physical pin location Key 51 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 and P 12 2 the pre
171. racteristics 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 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 441 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 5K320 SATA OEM Specification 4 4 4 Mechanical positioning 4 4 2 1 Average seek time including settling a Read 14 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 and section 6 2 DC power requirements 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 t
172. rations 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 3 6 2 Required Power Off Sequence If this is not done the emergency unload function is invoked and nontypical stress results 31 5K320 SATA OEM Specification 6 4 Mechanical specifications 6 4 41 Physical dimensions and weight Thefollowing figure lists the dimensions for the drive Height mm Width mm Length mm Weight gram 320GB 250GB models 9 5 0 2 69 85 0 25 100 2 0 25 102 160GB 120GB 8068 models 9 5 0 2 69 85 0 25 100 2 0 25 Table 16 Physical dimensions and weight 6 4 2 Mounting hole locations The mounting hole locations and size of the drive are shown below 18 REF BREATHER HOLE b CONNECTOR DATUM B fe of DETAIL A Figure 2 Mounting hole locations 32 5K320 SATA OEM Specification 6 4 3 Co
173. 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 O01h 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 136 5K320 SATA OEM Specification 14 35 Set Features EF h Command Block OutputRegisters T Command Block inpurRegisers Eee E e Feature Error See Below Sector Count Sector Count oA tow IS LBA Hish Pere Command See Below Error Register Status Register 5 gt 72 1 ith lad bl id St EM zum Features EEEN KARANE 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 the Error Register if the Feature register contains any undefined values After power on reset the device is set to the following features as default Write cache Enable ECC bytes 4 bytes Read look ahead Enable Reverting to power on defaults
174. rive returns the current counter values for the command and then resets all Phy event counter values 14 17 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 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 Bits 11 0 0000h counter value marks end of counters in the page 001h Command failed due to ICRC error 00Ah Signature D2H register FlSes sent due to a COMRESET 00Dh ___ CRC errors within the FIS received Table 82 Phy Event Counter Identifier 14 17 5 3 Read Log E xt Log Page 11h The following table defines the format ofthe Phy Event counter data structure 116 5K320 SATA OEM Specification ap IE 00h Counter 0001h Identifier Counter 0001h Value Counter 0009h Identifier Counter 0009 Value Counter 000 Identifier Counter 000Ah Value Counter 000Bh Identifier Counter 000Bh Value Counter 000Dh Identifier 20 21 T Counter 000Dh Value 24 25 26 510
175. rtestspan2 8 IA RW Ending LBA fortestspan2 8 __ RW Starting LBA fortestspan 3 8 2 RW Ending LBA fortestspan3 8 2Ah RW Starting LBA fortestspan 4 8 __ 32 RW Ending LBA fortestspan4 8 RW Starting LBA fortestspan 5 8 4h RW Ending LBA for testspan5 __ 8 4 RW Reserved Current LBA undertest_ 8 __ Read c Table 123 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 Status Register Error Register A S M A R T FUNCTION SET command was received by the device without the required key being loaded into the LBA High and LBA Mid registers 10h or 40h 10h or Olh A S M A R T FUNCTION SET command was received 51h by the device with a subcommand value in the Features MEM Register that is either invalid or not supported by this device A S M A R T FUNCTION SET command subcommand 51h 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 Attribute Thresholds data structure The device is unable to write to its Attribute Values data 51h structure Table 124 S M A R T Error Codes 159 5K320 SATA OEM Specification 14 41 Stand
176. s Ext 37h Command Block Output Command Block Input Registers Reaver sis See Below SES ES EISE FS Sector Count Current previous BA Tow eurom A SR Previous VI VI vi Viv pou VIV LBA Mid 0 V VIVIVIVIV Previous MIRI Tees Current cpa High v v VIV V V VIV PAS Commana 1 1 ror Register si ERE ix RDY DF px ix ERR 9 v Lo L9 LES V jo d A Table 107 Set Max A ddress Ex Command 37h This command is immediately preceded by a Read Native Max Address Ext command This command overwrites the maxi mum number of Address of HDD in a range of actual device capacity 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 s
177. s than 333 power on hours per month e Seeking Writing R eading operation is less than 2096 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 5K320 SATA OEM Specification 6 3 5 Preventive maintenance None 6 3 6 X Load unload The product supports a minimum of 600 000 normal load unloads Load unload is a functional mechanism of the hard disk drive It is controlled by the drive micro code Specifically unloading of the heads is invoked by the following commands Standby Standby immediate Sleep Load unload is also invoked as one of the idle modes of the drive 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 process is inherently less controllable without a normal seek current profile Emergency unload is intended to be invoked in rare situations Because this operation is inherently uncontrolled it is more mechanically stressful than a normal unload The drive s
178. security erase unit command 129 5 320 SATA OEM Specification This command disables the security mode feature device lock function however the master password is still stored internally within the device and may be re activated later when a new user password is set If you execute this command on disabling the security mode feature device lock function the password sent by the host is NOT compared with the password stored in the device for both the Master Password and the User Password and then the device only erases all user data The execution time of this command in Normal Erase mode is shown below HTS543232L9S A00 HTS543232L9A300 126 min HTS543225L9S A00 HTS543225L9A300 100min HTS543216L9S A00 HTS543216L9A300 66 min HTS543212L9S A00 HTS543212L9A300 50 min HTS543280L9S A00 HTS543280L9A300 36 min The execution time of this command in Enhanced Erase mode is shown below HTS543232L9S A00 HTS543232L9A300 128 min HTS543225L9S A00 HTS543225L9A300 102 min HTS543216L9S A00 HTS543216L9A300 68 min HTS543212L9S A00 HTS543212L9A300 52 min HTS543280L9S A00 HTS543280L9A300 38 min For the Bulk Encryption model the execution time in Enhanced Erase Mode is less than 1 minute 130 5K320 SATA OEM Specification 14 30 Security Freeze Lock F5h Command Block Registers T Command Block inpurRegisers ue PEELE PISBRDIBEDIS Data _ ES EE EE gt amp Feature EET
179. set feature set supported Reserved 7 6 5 4 3 2 1 p 1 2 3 6 7 1 48 bit Addressing feature set supported 1 Host Protected Area feature set supported 1 Automatic acoustic management supported Power Up in Standby feature set supported Security feature set supported SMART error log supported SMART self test supported SMART feature set supported Po SATA feature 15 5 Reserved Software setting preservation supported Reserved nterface power management supported Non zero buffer offset in Setup FIS supported Native command queuing supported 9 254 Reserved 255 Integrity word Note gt Checksum Signature A5h Table 46 Device Configuration Overlay Data structure oly Note Bits 7 0 of this word contain the value 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 82 5K320 SATA OEM Specification festure is frozen s now Security Locked mode LL on Devices feature is already modified with DCO rif co isnotsupponed CS code is inva Table 47 DCO error information
180. 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 103 5K320 SATA OEM Specification 14 11 Idle lmmediate z 1h 95h Eus O E C EE D E ETETE Data Daa Daa Feature Error 1 LL Sector Count Sector Count LBALow _ __ J m e E samen I EL pie Command ooe ees __ Unload Feature Command Block Registers T Command Block inpurRegisers usse PEELE Rese e HA E B fimo sector Count F F Device _________ ________ Command ous See Below Error Register Status Register En Ee ee Ee ee EN 7 Oe ES FPPPPPREIPPEEPPBRBE Lm Idle wh The Idle Immediate command causes the device to enter performance dle mode The device is spun up to operating speed If the device is already spinning the spin up sequence 15 not executed During Idle mode the device is spinning and ready to respond to host commands immediately The Idle Immediate command will not affect the auto p
181. 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 whilethe execution of a Selective selftest 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 selftest execution status is reported in the S M A R T READ DATA response depending on the occurrence of errors The following figure shows an example of a Selective selftest definition with three test spans defined In this example the test terminates 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 10 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
182. sient 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 The transient timing from Low Power Idle mode to Standby mode is also controlled adaptively if it is allowed by Set Features Enable Advanced Power Management subcommand 21 5K320 SATA OEM Specification 5 Data integrity 5 1 Data loss on power off Data loss will not be caused by a power off during any operation except the write operation A power off during a write operati on causes the loss of any received or resident data that has not been written onto the disk media 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 Hardreset Flush Cache command Standby command Standby Immediate command Sleep command Confirm the command s completion 5 3 Equipment status The equipment status is available to the host system a
183. sk ripple is measured at the 5 volt input of th e 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 The idle current is specified at an inner track The read write current is specified based on three operations of 63 sector read write per 100 ms 5 The seek average current is specified based on three operations per 100 ms 6 The worst case operating current includes motor surge 7 Typical mean average of the drive population tested at nominal environmental and voltage conditions 27 5K320 SATA OEM Specification 6 2 1 Power consumption efficiency EL MEME Mint AEE 160GB 02088 8068 Power MEINE Efficiency 0 0017 0 0022 0 0034 0 0046 0 0069 Watts GB Table 15 Power consumption efficiency Note Power consumption efficiency is calculated as Power Consumption of Low Power Idle Watt Capacity GB 28 5K320 SATA OEM Specification 6 3 Reliability 6 3 1 Data reliability Probability of not recovering data is 1 in 10 bits read ECC implementation On the fly correction performed as a part of read channel function recovers up 1016 symbols of error in 1 sector 1 symbol is 10 bits 6 3 2 Failure prediction S M A R T The drive supports Self monitoring analysis and reporting technology S M A R T function The details are described in section 11 8 S M A R T Function and in Section 13 32 S M A R T
184. specification with those used in the Serial ATA 2 6 specification Register name in this Register name in this specification when specification when writing registers reading registers i T 2 ci LN _ _ LBA mid exp LBA mid previous LBA mid 1 LBA high LBA high current mid 0 Device Control Eo Serial ATA register name 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 Table 40 Command set on page 75 All other registers required for the command must be set up before writing the Command Register 11 3 Device Control Register Table 25 Device Control Register 47 5 320 SATA OEM Specification Bit Definitions S RST RST Software Reset The device is held reset when RST 1 Setting RST 0 reenables the device The host must set RST 1 and wait for at least 5 microseconds before setting RST 0 to ensure that the device recognizes the reset IEN Interrupt Enable 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 Defini
185. status but the device will respond with the error code specified in Table 124 S M A R T Error Codes on age 159 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 S M A R T Save Attribute Values Subcommand D3h This subcommand causes the devi to immediately save any updated Attribute Values to the device s Attribute Data sector regardless of the state of the Attribute Autosave feature U pon 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 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 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 operation 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 selftest 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
186. ster 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 an error occurs the device will set BSY 20 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 13 2 Data Out Commands These commands are Device Configuration Set Download Microcode Format Track Security Disable Password Security Erase Unit 72 5K320 SATA OEM Specification Security Set Password Security Unlock Set Max Set Password Set Max Unlock S M A R T Write Log Sector Write Buffer Write Log Ext Write Multiple Write Multiple Ext Write Sector s Write Sector s Ext Execution indudes the transfer of one or more 512 byte 2512 bytes on Write Long sectors of data from the host to the device If the device detects an invalid parameter then it will abort the command setting 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
187. t Comp UL means unload Comp means complete Table 33 Device s behavior by ATA commands Load unload is also invoked as one of the idle modes of the drive The specified start stop life of the product assumes that load unload is operated normally NOT in emergency mode 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 15 greater than the normal case and the unload process is inherently less controllable without a normal seek current profile Emergency unload is intended to be invoked in rare situations Because this operation is inherently uncontrolled it is more mechanically stressful than a normal unload 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 3 3 Required power off sequence P roblems 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 se
188. t Feature option of is set Output Parameters To The Device 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 105 5K320 SATA OEM Specification 14 13 Read Buffer E ib EEEREEBDESS FEEEREEE Du TAE Feature Error 1 Below Sector Count Sector Count BA Low E ______ eami _____ ____ LBA High Device Command See Below a Re EBEN ENS A T ith d ad ln d d ee Table 68 Read Buffer Command E4h 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 thelast 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 106 5K320 SATA OEM Specification 14 14 Read DMA C8h C9h Command Block Output Registers Command Block Input Registers Reiser vzfe s 4 s o i o Register 7 6 5 4 5 2 1 0 pa 0 Fear
189. t 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 Reserved 0 6 Selective self test implemented bit 0 Selective s elf test routine is not implemented 1 Selective s elf test routine is implemented Reserved 0 7 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 Un f 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 section of self test where the device detected a failure 153 5K320 SATA OEM Spe
190. t 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 dement 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 gt 152 5 320 SATA OEM Specification 15 The self test routine in progress 14 40 2 5 Total Time in Seconds to Complete Off line Data Collection Activity This field tells the host how many seconds the device requires to complete the off line data collection activity 14 40 2 6 Current Segment Pointer This byte is a counter indicating the next segment to execute as an off line data collection activity Because the number of segments is 1 01 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 will suspend off line data collection activity after an interrupting command and resume i
191. ta structure is shown below Description Device Control register Features register 7 0 see Note Features register 15 8 Sector count register 7 0 Sector count register 15 8 Sector number register 7 0 Sector number register 15 8 Cylinder Low register 7 0 Cylinder Low register 15 8 Cylinder High register 7 0 Cylinder High register 15 8 Device register Command register Reserved Timestamp milliseconds from Power on Note bits 7 0 refer to the most recently written contents of the register Bits 15 8 refer tothe contents of the register prior to the most recent write to the register Table 77 Command data structure Error data structure Data format of error data structure is shown below Description Offset _____ Reserved Error register Sector count register 7 0 see Note 02h Sector count register 15 8 see Note Sector number register 7 0 Sector number register 15 8 Cylinder Low register 7 0 Cylinder Low register 15 8 Cylinder High register 7 0 Cylinder High register 15 8 Device register Ah Status regi ster Extended error data vendor specific State Life timestamp hours 20h 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 Table 78 Error data s
192. the active flag shall be set to one and the off line scan shall resume When the entire media has been scanned the offline scan shall terminate both the pending and active flags shall be cleared to zero and the offline data collection status in the S 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 bytein the Device S M 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 is indicated in the selective selftest log A COMRESET or software reset shall abort the Selective self test except when the pending bit is set to one the Selective self test log see 14 40 7 Selective self test log data structure The receipt of a SM EXECUTE OFF LINE IMMEDIATE command with OFh Abort offline test routine in theLBA Low register shall abort Selective self test regardless of where the device is in the execution of the command If a second selftest is issued while a selective self test is in progress the selective self test is aborted and the newly requested self test is executed 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
193. 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 169 5K320 SATA OEM Specification 14 51 Write Multiple FUA Ext CEh Command Block Output S Command Block Input Registers reaver POPS 0 DISBPBRBDBDI E See Below Ed EE Previow V V V V V V V VT BA Tow Previous VIvIvIvIv Viv pM VIV LBA Mid 0 V VIVIVIVIV Previous SERRE Tees TIS Current High v v VIV V V VIV PANS i Command _______ ER uc o ix pr ERR LES V ESL T Table 135 Write Multiple FUA Command The Write Multiple FUA Ext command transfers one or more sectors fromthe host to the device then the data is written to the disk me
194. the selectable commands modes and feature sets that the deviceis capable of supporting If a DEVICE CONFIGURATION SET command has been issued reducing the capabilities the responseto 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 2 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 deared the device longer supports the indicated command mode feature set If a bitis 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 describe
195. though the media may not be accessible 55 5K320 SATA OEM Specification 12 5 6 Initial Power Mode at Power On After power on the device goes to IDLE mode or STANDBY mode depending on the setting of the Power Upin Standby F eature set 12 6 Advanced Power Management Adaptive Battery Life E xtender 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 dle mode Active I dle mode and Low Pow er 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 O1h to the maximum performance level of FEh Device performance may increase with increasing advanced power management levels Device power consumption may increase with increasing advanced power management levels The advanced power management levels contain discrete bands described in the section of Set Feature command in detail This feature set uses the following functions ASETFEATURES subcommand to enable Advanced Power Management ASETFEATURES subcommand to disable Advanced Power Management The Advanced Power Management feature is independent of the Standby timer setting 11 both Advanced Power Management l
196. tions 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 __ o o n AMNF 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 cont ents 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 Table 31 Diagnostic Codes on Page 52 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 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
197. tructure 113 5K320 SATA OEM Specification State shall contain a value indicating the state of the device when the command was issued tothe device or the reset occurred as described below Value State xOh Unknown xth Sleep x2h Standby x3h Active ldle x4h SMART Off line or Self test xbh xAh Reserved xBh xFh Vendor specific Note The value of x is vendor specific 14 17 2 4 Device error count This field shall contain the total number of errors attributable to the device that have been reported by the device during the life of the device This count shall not include errors attributed to the recei pt of faulty commands such as commands codes not implemented by the device or requests with invalid parameters or invalid addresses If the maximum value for this field is reached the count shall remain at the maximum value when additional errors are encountered and logged 14 17 3 Extended Self test log sector The following table defines the format of each of the sectors that comprise the Extended SMART self test log The Extended SMART self test log sector shall support 48bit and 28 bit addressing 28 bit entries contained in the SMART self test log defined in Self test log data structure shall also be induded in the Extended SMART self test log with all 48 bit entries Description Bytes Offset Self test log data structure revision number Self test descriptor index 7 0 Descriptor entry 2 HM UNE __
198. uld check the given password against the master password stored internally 127 5K320 SATA OEM Specification 14 28 Security Erase disais F 3h Ee FEEERERE ________ 2 Feature Error 1 Below Sector Count Sector Count BA Low E _____ eami _________ LBA Hish _______ em L LLELELELELL Command See Below ENS A T ith M ad lcd d Lo 9 o co Table 95 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 E rase 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 totransfer data 128 5K320 SATA OEM Specification 14 29 Security Erase Unit F 4h Command Block OwpurRegisters T Command Block Input Registers 15 Status Register Fer eov roe Toe c eor 0 ET p v pop Table 96 Security Erase Unit Command F4h The Security Erase Unit command initializes all user data sectors then disables the device lock function
199. upports a minimum of 20 000 emergency unloads 6 3 6 2 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 500 ms are required for the command to finish completion however the host system time out value needs to be 30 seconds considering error recovery time Step 3 Terminate power to HDD This power down sequence should be followed for entry into any system power down state system suspend state or system hibernation state In a robustly designed system emergency unload is limited to rare scenarios such as battery removal during operation 6 3 6 3 Power switch design considerations In systems that use the Travelstar 5K320 consideration should be given to the design of the system power switch Hitachi recommends that the switch operate under control of thehost system as opposed to being hardwired The same recommendation is made for cover close switches When a hardwired switch is 30 5K320 SATA OEM Specification turned off emergency unload occurs as well as the problems cited in section 5 1 Data loss by power off and section 5 2 Write Cache 6 3 6 4 Test conside
200. ut error The end points for the normalized values for all Attributes will be 1 O1h 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 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 rout ine aborted by the host The self test routine interrupted by the hos
201. ut 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 160 5K320 SATA OEM Specification 14 42 Standby 0h 94h Eus O E EE D ses FEEEREEE Data Daa Daa Feature Error 1 LL Sector Count Sector Count LBALow _ __ J TEE E EE E ES EIE E 8 rS Rma 2 EE EI EI E EE ES LBA Hisn TTT TP BA Bight TTT Device Er Command See Below SEES Re ECTS re A X pv 0 Table 126 Standby Immediate 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 f the device is already spun down the spin down sequence is not executed During the Standby mode the device will respond to commands but thereis a delay while waiting for the spindle to reach operating speed The Standby Immediate command will not affect the auto power down timeout parameter 161 5K320 SATA OEM Specification 14 43 Write Buffer E il O E EE D ETT Du THT THAE Feature Error 1 Below Sector Count Sector Count BA Low
202. value shall be set to one The LBA Low shall be set to specify the log sector address om T 00h S M A R T Self test Log Read Only Selective self test log Read Write 80h 9Fh Host vendor specific Read Write Table 111 Log sector addresses 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 Low s hall be set to specify the log sector address Table 111 Log sector addresses If Read Only log sector is specified the device returns ABRT error S 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 Once enabled the receipt of subsequent S M A R T Enable Operations subcommands will not affect any of the Attribute Values U pon 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 148 5K320 SATA OEM Specification S M A R T Disable Operations Subcommand D9h This subcommand disables all S M A R T capabilities within the device including the device s attribute autosave feature
203. zation After power on COMRESET or software reset the register values are initialized as shown in the following table 51 5K320 SATA OEM Specification Table 30 Default Register Values The meaning of the Error Register diagnostic codes resulting from power on COMRESET or the Execute Device Diagnostic command are shown in the following table Controller microprocessor error Table 31 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 P ower on COMRESET Soft reset and the EXECUTE DEVICE DIAGNOSTIC command the Error register is shown in the following table Device O Passed EworRegiser vs om h Where x indicates the appropriate Diagnostic Code for the Power on COMRESET Soft reset or Device Diagnostic error Table 32 Reset error register values 52 5K320 SATA OEM Specification 12 3 Power off considerations 12 3 1 Load Unload Load Unload is a functional mechanism of the HDD It is controlled by the drive microcode Specifically unloading of the heads is invoked the commarus Command Response Standby UL gt Comp Standby immediate UL gt Comp UL g
Download Pdf Manuals
Related Search
Related Contents
Bedienungsanleitung horaires Notice () JVC GR-AXM99UM User's Manual Copyright © All rights reserved.
Failed to retrieve file