background image

Hitachi hard disk drive specifications 

Hitachi Global Storage Technologies 

 

 

 

 

 

 

Hard Disk Drive Specification

     

 

Hitachi Deskstar 7K3000 

 
3.5 inch Serial ATA hard disk drive 

 

 

 

Revision 1.2     

 

 

 

      01. April. 2011 

Models: 

HDS723020BLA642 
HDS723015BLA642

 

Summary of Contents for Deskstar 7K3000 HDS723015BLA642

Page 1: ...sk drive specifications 1 Hitachi Global Storage Technologies Hard Disk Drive Specification Hitachi Deskstar 7K3000 3 5 inch Serial ATA hard disk drive Revision 1 2 01 April 2011 Models HDS723020BLA642 HDS723015BLA642 ...

Page 2: ...or programs described in this publication at any time It is possible that this publication may contain reference to or information about Hitachi products machines and programs programming or services that are not announced in your country Such references or information must not be construed to mean that Hitachi intends to announce such Hitachi products programming or services in your country Techn...

Page 3: ...g modes 23 5 Defect flagging strategy 24 6 Specification 25 6 1 Electrical interface 25 6 1 1 Connector location 25 6 1 2 Signal definition SATA 26 6 1 3 Out of band signaling SATA 28 6 2 Environment 29 6 2 1 Temperature and humidity 29 6 2 2 Corrosion test 30 6 2 3 Atmospheric condition 30 6 3 DC power requirements 31 6 3 1 Input voltage 31 6 3 2 Power supply current typical 31 6 3 3 Power supply...

Page 4: ...ogy 47 7 3 Deviations From Standard 48 8 Registers 49 8 1 Alternate Status Register 49 8 2 Command register 49 8 3 Cylinder High Register 49 8 4 Cylinder Low Register 50 8 5 Device Control Register 50 8 6 Drive Address Register 51 8 7 Device Head Register 52 8 8 Error Register 53 8 9 Features Register 54 8 10 Sector Count Register 54 8 11 Sector Number Register 54 8 12 Status Register 55 9 General...

Page 5: ...servation Requirements 77 9 17 SATA II Optional Features 79 9 17 1 Asynchronous Signal Recovery 79 9 17 2 Device Power Connector Pin 11 Definition 79 9 17 3 Phy Event Counters 79 9 18 SCT Command Transport feature Set 83 9 18 1 Overview 83 9 18 2 SCT Command Protocol 84 9 18 3 SCT Command Set 93 9 19 Extended Power Conditions EPC feature 102 9 19 1 Power conditions 102 9 19 2 Power condition timer...

Page 6: ...dress F8h 165 11 22 Read Native Max Address Ext 27h 166 11 23 Read Sector s 20h 21h 167 11 24 Read Sector s Ext 24h 169 11 25 Read Stream DMA 2Ah 171 11 26 Read Stream PIO 2Bh 174 11 27 Read Verify Sector s 40h 41h 177 11 28 Read Verify Sector s Ext 42h 179 11 29 Recalibrate 1xh 181 11 30 Security Disable Password F6h 182 11 31 Security Erase Prepare F3h 184 11 32 Security Erase Unit F4h 185 11 33...

Page 7: ...ctive self test log data structure 229 11 43 8 Error Reporting 230 11 44 Standby E2h 96h 231 11 45 Standby Immediate E0h 94h 233 11 46 Write Buffer E8h 234 11 47 Write DMA Cah CBh 235 11 48 Write DMA FUA Ext 3Dh 237 11 49 Write DMA Ext 35h 239 11 50 Write FPDMA Queued 61h 241 11 51 Write Log Ext 3Fh 243 11 52 Write Multiple C5h 245 11 53 Write Multiple Ext 39h 247 11 54 Write Multiple FUA Ext CEh ...

Page 8: ... Head Register 52 Table 26 Error Register 53 Table 27 Status Register 55 Table 28 Reset Response 56 Table 29 Default Register Values 57 Table 30 Diagnostic Codes 57 Table 31 Power conditions 60 Table 32 Command table for device lock operation 1 67 Table 33 Command table for device lock operation 2 68 Table 34 Phy Event Counter Identifiers 80 Table 35 READ LOG EXT Log Page 11h data structure defini...

Page 9: ... Command EAh 122 Table 76 Format Track Command 50h 123 Table 77 Format Unit Command F7h 125 Table 78 Identify Device Command ECh 126 Table 79 Identify device information 127 Table 80 Identify device information Continued 128 Table 81 Identify device information Continued 129 Table 82 Identify device information Continued 130 Table 83 Identify device information Continued 131 Table 84 Identify devi...

Page 10: ...h 184 Table 127 Security Erase Unit Command F4h 185 Table 128 Erase Unit Information 186 Table 129 Security Freeze Lock Command F5h 187 Table 130 Security Set Password Command F1h 188 Table 131 Security Set Password Information 189 Table 132 Security Unlock Command F2h 190 Table 133 Security Unlock Information 191 Table 134 Seek Command 7xh 192 Table 135 Sense Condition command F0h 193 Table 136 S...

Page 11: ...ah CBh 235 Table 168 Write DMA FUA Ext Command 3Dh 237 Table 169 Write DMA Ext Command 35h 239 Table 170 Write FPDMA Queued Command 61h 241 Table 171 Write Log Ext Command 3Fh 243 Table 172 Write Multiple Command C5h 245 Table 173 Write Multiple Ext Command 39h 247 Table 174 Write Multiple FUA Ext Command CEh 249 Table 175 Write Sector s Command 30h 31h 251 Table 176 Write Sector s Ext Command 34h...

Page 12: ... 28 Figure 4 Limits of temperature and humidity 30 Figure 5 Top and side views with breather hole location and mechanical dimensions 34 Figure 6 Bottom and side views with mounting hole locations 35 Figure 7 Mounting hole locations all dimensions are in mm 36 Figure 8 Connector locations 37 Figure 9 Initial Setting 64 Figure 10 Usual Operation 65 Figure 11 Password Lost 66 ...

Page 13: ... describes the specifications of the Deskstar 7K3000 an Hitachi Global Storage Technologies 3 5 inch 7200 rpm serial ATA interface hard disk drive with the following model numbers Capacity Type Model 2TB DS7SAD200 HDS723020BLA642 1 5TB DS7SAD150 HDS723015BLA642 Table 1 Type and Model ...

Page 14: ...76 bytes for Memory Size KB 1 024 bytes for Memory Size S M A R T Self Monitoring Analysis and Reporting Technology DFT Drive Fitness Test ADM Automatic Drive Maintenance 1 3 General caution The drive can be damaged by shock or ESD Electrostatic Discharge Any damage sustained by the drive after removal from the shipping package and opening the ESD protective bag are the responsibility of the user ...

Page 15: ...f 64MB Upper 7631 5 KB is used for firmware this is typical value it depends on firmware revision Ring buffer implementation Write Cache Native command queuing support Automatic Error Recovery procedures for read and write commands Self Diagnostics on Power on and resident diagnostics Serial ATA Data Transfer 6Gbps CHS and LBA mode Power saving modes Low RPM idle mode APM S M A R T Self Monitoring...

Page 16: ...16 Part 1 Functional specification ...

Page 17: ... takes corresponding action if an error occurs Monitors various timers such as head settle and servo failure Performs self checkout diagnostics 3 2 Head disk assembly The head disk assembly HDA is assembled in a clean room environment and contains the disks and actuator assembly Air is constantly circulated and filtered when the drive is operational Venting of the HDA is accomplished via a breathe...

Page 18: ...mber of Sectors 2 930 277 168 3 907 029 168 Total Logical Data Bytes 1 500 301 910 016 2 000 398 934 016 Table 2 Formatted capacity Notes 1 Number of cylinders For drives with capacities greater an 8 45 GB the IDENTIFY DEVICE information word 01 limits the number of cylinders to 16 383 per the ATA specification 2 Logical layout Logical layout is an imaginary drive parameter that is the number of h...

Page 19: ... 1424 Track density Ktpi 275 285 Areal density max Gbits in 2 377 406 Number of data bands 30 1 Upper 7631 5 KB are used for firmware this is typical value it depends on firmware revision Table 3 Mechanical positioning performance 4 3 World Wide Name Assignment Description 1 5TB model 2TB model Organization Hitachi GST Manufacturing Site Hitachi GST China Plant China GSP Product Deskstar 7K3000 OU...

Page 20: ...e to users 4 4 2 Cylinder allocation Physical cylinder is calculated from the starting data track of 0 It is not relevant to logical CHS Depending on the capacity some of the inner zone cylinders are not allocated Data cylinder This cylinder contains the user data which can be sent and retrieved via read write commands and a spare area for reassigned data Spare cylinder The spare cylinder is used ...

Page 21: ...oughput which depends on the system and the application 4 5 1 Command overhead Command overhead is defined as the time required from the time H D Reg FIS w command bit is sent by host to the time PIO Set Up FIS is sent by device PIO Read Write DATA FIS is sent by device DMA Read DMA Activate FIS is sent by device DMA Write DMA Set Up FIS is sent by device NCQ Read Write Seek Start Read cache not h...

Page 22: ...k Time 4 5 2 2 Average latency Rotational speed Time for a revolution ms Average latency ms 7200 RPM 8 3 4 16 Table 7 Latency Time 4 5 3 Drive ready time Power on to ready Typical sec Maximum sec 3 Disk model 14 20 Table 8 Drive ready time Ready The condition in which the drive is able to perform a media access command such as read write immediately Power on This includes the time required for the...

Page 23: ...set can change the mode to standby Note Upon power down or spindle stop a head locking mechanism will secure the heads in the OD parking position 4 5 4 2 Mode transition times Mode transition times are shown below From To RPM Typical Transition time sec Max Transition time sec Standby Idle 0 7200 14 20 Idle Standby 7200 0 Immediately Immediately Standby Sleep 0 Immediately Immediately Sleep Standb...

Page 24: ...able Shipped format Data areas are optimally used No extra sector is wasted as a spare throughout user data areas All pushes generated by defects are absorbed by the spare tracks of the inner zone N N 1 N 2 N 3 defect defect skip skip Figure 1 PList physical format Defects are skipped without any constraint such as track or cylinder boundary The calculation from LBA to physical is done automatical...

Page 25: ...Electrical interface 6 1 1 Connector location Refer to the following illustration to see the location of the connectors SATA Figure 2 Connector location 6 1 1 1 signal connector The SATA signal connector is an 8 pin connector Power connector is a 15 pin connector ...

Page 26: ...d P11 Reserved Support staggered spin up and LED activity Vih max 3 465V Reserve P12 Gnd 1st mate Gnd P13 V12 12V power pre chage 2nd mate V12 P14 V12 12V power V12 P15 V12 12V power V12 Table 10 Interface connector pins and I O signals 6 1 2 1 TX TX These signals are the outbound high speed differential signals that are connected to the serial ATA cable 6 1 2 2 RX RX These signals are the inbound...

Page 27: ... on the extended pins This is used for pre charging the 12V circuitry in the I O Option slot module The enclosure shall be capable of supplying 2 4 A peak on each 12 V pre charge pin R 5 Ohms These signals are the inbound high speed differential signals that are connected to the serial ATA cable ...

Page 28: ...ignaling SATA C O M RESET CO M I NI T t1 t2 t3 t4 C O M W AKE Figure 3 the timing of COMRESET COMINIT and COMWAKE PARAMETER DESCRIPTION Nominal ns t1 ALIGN primitives 106 7 t2 Spacing 320 t3 ALIGN primitives 106 7 t4 Spacing 106 7 Table 11 Parameter descriptions ...

Page 29: ...itions Temperature Relative humidity Maximum wet bulb temperature Maximum temperature gradient Altitude 40 to 70 C 5 to 95 non condensing 35 C non condensing 30 C Hour 300 to 12 000 m Table 12 Temperature and humidity Notes 1 The system is responsible for providing sufficient ventilation to maintain a surface temperature below 65 C at the center of the top cover of the drive 2 Non condensing condi...

Page 30: ...heric condition Environments that contain elevated levels of corrosives e g hydrogen sulfide sulfur oxides or hydrochloric acid should be avoided Care must be taken to avoid using any compound material in a way that creates an elevated level of corrosive materials in the atmosphere surrounding the disk drive Care must also be taken to avoid use of any organometallic e g organosilicon or organotin ...

Page 31: ...able 13 Input voltage Caution To avoid damage to the drive electronics power supply voltage spikes must not exceed specifications 6 3 2 Power supply current typical Power supply current 5 Volts mA 12 Volts mA Total W values in milliamps RMS Pop Mean Pop Mean Idle average 230 340 5 2 Idle ripple peak to peak 330 290 Low RPM idle 190 120 2 4 Low RPM idle ripple 90 220 Unload idle average 190 290 4 4...

Page 32: ...chained together the power supply ripple plus the dynamic loading of the other drives must remain within the above regulation tolerance A common supply with separate power leads to each drive is a more desirable method of power distribution To prevent external electrical noise from interfering with the performance of the drive the drive must be held by four screws in a user system frame which has ...

Page 33: ... of the HDD s power mode Idle unload idle Idle Low rpm idle Note Low rpm idle mode is supported on specific drive PN only 6 4 4 Start stop cycles The drive withstands a minimum of 50 000 start stop cycles in a 40 C environment and a minimum of 10 000 start stop cycles in extreme temperature or humidity within the operating range 6 4 5 Preventive maintenance None 6 4 6 Data reliability Probability ...

Page 34: ...i hard disk drive specifications 34 6 5 Mechanical specifications 6 5 1 Physical dimensions Figure 5 Top and side views with breather hole location and mechanical dimensions All dimensions are in millimeters ...

Page 35: ... figure are in millimeters The breather hole must be kept uncovered in order to keep the air pressure inside of the disk enclosure equal to external air pressure The following table shows the physical dimensions of the drive Height mm Width mm Length mm Weight grams 26 1 MAX 101 6 0 25 147 MAX 680 MAX Table 16 Physical Dimensions ...

Page 36: ...ize for the hard disk drive is shown below Side View 5 6 7 Bottom View 1 2 3 4 I F Connector 4X Max penetration 4 0 mm 6X Max penetration 4 5 mm Thread 1 2 3 4 5 6 7 6 32UNC 41 28 0 5 44 45 0 2 95 25 0 2 6 35 0 2 28 5 0 5 60 0 0 2 41 6 0 2 Figure 7 Mounting hole locations all dimensions are in mm ...

Page 37: ...Hitachi hard disk drive specifications 37 6 5 3 Connector locations Figure 8 Connector locations ...

Page 38: ...appropriate screws or equivalent mounting hardware The recommended mounting screw torque is 0 6 1 0 Nm 6 10 Kgf cm The recommended mounting screw depth is 4 mm maximum for bottom and 4 5 mm maximum for horizontal mounting Drive level vibration test and shock test are to be conducted with the drive mounted to the table using the bottom four screws 6 5 5 Heads unload and actuator lock Heads are move...

Page 39: ... 6 x 10E 2 4 8 x 10E 2 4 8 x 10E 2 6 57 Table 17 Random vibration PSD profile break points operating The overall RMS root mean square level is 6 57 m sec2 0 67 G 6 6 1 2 Swept sine vibration Linear The drive will meet the criteria shown below while operating in the specified conditions No errors occur with 4 9 m sec2 0 5 G 0 to peak 5 to 300 to 5 Hz sine wave 0 5 oct min sweep rate with 3 minute d...

Page 40: ...he conditions described below The shock test consists of 10 shock inputs in each axis and direction for total of 60 There must be a delay between shock pulses long enough to allow the drive to complete all necessary error recovery procedures No error occurs with a 98 1 m sec2 10G half sine shock pulse of 11 ms duration No data loss occurs with a 294 m sec2 30G half sine shock pulse of 4 ms duratio...

Page 41: ...he figure below shows the maximum acceleration level and duration Accleration level m sec2 Duration ms 2940 2 1470 11 Table 19 Sinusoidal shock wave 6 6 5 Nonoperating Rotational shock All shock inputs shall be applied around the actuator pivot axis Duration Rad sec 2 1 ms 30 000 2 ms 20 000 Table 20 Rotational Shock ...

Page 42: ...de 7200rpm Typical Max Idle 2 7 2 8 Operating 2 8 3 0 Table 21 Sound power levels Mode definition Idle mode The drive is powered on disks spinning track following unit ready to receive and respond to interface 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 is to be calculated as shown be...

Page 43: ...ies part number and the statement Made by Hitachi Global Storage Technologies Inc or Hitachi Global Storage Technologies approved equivalent A label containing the drive model number the manufacturing date code the formatted capacity the place of manufacture UL CSA TUV CE C Tick mark logos and WEEE China RoHS logos A bar code label containing the drive serial number A label containing the jumper p...

Page 44: ... boards used in this product are made of material with the 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 the UL recognized flammability rating of V 2 minimum basically 6 9 4 Safe handling The product is conditioned for safe handling in regards to sharp edges ...

Page 45: ...ty with requirements of the following EC directives under the sole responsibility of Hitachi Global Storage Technologies Japan Ltd Council Directive 2004 108 EC on the approximation of laws of the Member States relating to electromagnetic compatibility 6 10 2 C Tick Mark The product complies with the following Australian EMC standard Limits and methods of measurement of radio disturbance character...

Page 46: ...Hitachi hard disk drive specifications 46 Part 2 Interface Specification ...

Page 47: ... interface conforms to the following working documents of Information technology with certain limitations described in the chapter 7 3 Deviations from Standard on page 48 Serial ATA II Extensions to Serial ATA Revision 2 6 7 2 Terminology Device Device indicates HDS7230xxBLA642 HDS5C30xxALA632 HCS5C20xxALA632 Host Host indicates the system that the device is attached to ...

Page 48: ...eset COMINIT is not returned within 10ms as a response to COMRESET Streaming Commands When the device is in standby mode Streaming Commands can t be completed while waiting for the spindle to reach operating speed even if execution time exceeds specified CCTL Command Completion Time Limit The minimum CCTL is 50ms CCTL is set to 50ms when the specified value is shorter than 50ms Error Recover Contr...

Page 49: ...Register The only difference is that reading this register does not imply interrupt acknowledge or clear a pending interrupt See 8 12 Status Register on the page 55 for the definition of the bits in this register 8 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...

Page 50: ...s LBA Bits 8 15 and the previous content contains Bits 32 39 8 5 Device Control Register Device Control Register 7 6 5 4 3 2 1 0 HOB 1 SRST IEN 0 Table 23 Device Control Register Bit Definitions HOB HOB high order byte is defined by the 48 bit Address feature set A write to any Command Register shall clear the HOB bit to zero SRST RST Software Reset The device is held reset when RST 1 Setting RST ...

Page 51: ...his bit is not driven and will always be in a high impedance state WTG Write Gate This bit is 0 when writing to the disk device is in progress H3 H2 H1 H0 Head Select These four bits are the one s complement of the binary coded address of the currently selected head H0 is the least significant DS1 Drive Select 1 Drive select bit for device 1 active low DS1 0 when device 1 slave is selected and act...

Page 52: ...S mode When L 1 addressing is by LBA mode DRV Device This product ignores this bit HS3 HS2 HS1 HS0 Head Select These four bits indicate binary encoded address of the head HS0 is the least significant bit At command completion these bits are updated to reflect the currently selected head The head number may be from zero to the number of heads minus one In LBA mode HS3 through HS0 contain bits 24 27...

Page 53: ...diagnostic code See 0 on page 57 for the definition Bit Definitions ICRCE CRC Interface CRC Error ICRCE 1 indicates a CRC error occurred during FIS transmission or FIS reception UNC Uncorrectable Data Error UNC 1 indicates an uncorrectable data error has been encountered IDNF IDN ID Not Found IDN 1 indicates the requested sector s ID field could not be found ABRT ABT Aborted Command ABT 1 indicate...

Page 54: ... command was successful If not successfully completed the register contains the number of sectors which need to be transferred in order to complete the request The contents of the register are defined otherwise on some commands These definitions are given in the command descriptions 8 11 Sector Number Register This register contains the starting sector number for any disk data access for the subse...

Page 55: ...k to 1 DF Device Fault This product does not support DF bit DF bit is always zero DSC Device Seek Complete DSC 1 indicates that a seek has completed and the device head is settled over a track DSC is set to 0 by the device just before a seek begins When an error occurs this bit is not changed until the Status Register is read by the host at which time the bit again indicates the current seek compl...

Page 56: ...face o o Aborting Device operation 1 1 Initialization of hardware o x x Internal diagnostic o x x Spinning spindle o x x Initialization of registers 2 o o o Reverting programmed parameters to default o 3 3 Number of CHS set by Initialize Device Parameter Multiple mode Write cache Read look ahead ECC bytes Disable Standby timer o x x Power mode 5 4 4 o execute x not execute Table 28 Reset Response ...

Page 57: ...ed as shown in Table 29 Code Description 01h No error Detected 02h Formatter device error 03h Sector buffer error 04h ECC circuitry error 05h Controller microprocessor error Table 30 Diagnostic Codes The meaning of the Error Register diagnostic codes resulting from power on hard reset or the Execute Device Diagnostic command is shown in Table 30 9 2 Diagnostic and Reset considerations In each case...

Page 58: ...t CHS translation mode but can not exceed 15 0Fh Cylinders are numbered from 0 to the maximum value allowed by the current CHS translation mode but cannot exceed 65535 0FFFFh When the host selects a CHS translation mode using the INITIALIZE DEVICE PARAMETERS command the host requests the number of sectors per logical track and the number of heads per logical cylinder The device then computes the n...

Page 59: ...ead look ahead function or writes cache function 9 4 2 Power Management Commands The Check Power Mode command allows a host to determine if a device is currently in going to or leaving standby mode The Idle and Idle Immediate commands move a device to idle mode immediately from the active or standby modes The idle command also sets the standby timer count and starts the standby timer The Standby a...

Page 60: ...ical interface as defined in the following table Mode BSY RDY Interface active Media Active x x Yes Active Idle 0 1 Yes Active Standby 0 1 Yes Inactive sleep x x No Inactive Table 31 Power conditions Ready RDY is not a power condition A device may post ready at the interface even though the media may not be accessible ...

Page 61: ... 253 decimal Higher attribute values indicate that the analysis algorithms being used by the device are predicting a lower probability of a degrading or faulty 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 faulty condition existing 9 5 3 Attribute thresholds Each attribute v...

Page 62: ...e error log is not disabled when SMART is disabled Disabling SMART shall disable the delivering of error log information via the SMART READ LOG SECTOR command If a device receives a firmware modification all error log data is discarded and the device error count for the life of the device is reset to zero 9 5 8 Self test The device provides the self test features which are initiated by SMART Execu...

Page 63: ...mmand or a security erase unit command Device Unlocked mode The device enables all commands If a password is not set this mode is entered after power on otherwise it is entered by a security unlock or a security erase unit command Device Frozen mode The device enables all commands except those which can update the device lock function set change password The device enters this mode via a Security ...

Page 64: ...cked on next power on reset or hard reset 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 9 6 4 Operation example 9 6 4 1 Master Password setting The system manufacturer dealer can set a new Master Password from default Master Password using the Security Set Passwo...

Page 65: ...ocked mode Unlock CMD Erase Prepare Media access command 1 Non Media access command 1 Password Match Complete Erase Unit Lock function Disable Enter Device Unlock mode Erase Unit Password Match Normal operation All commands are available Freeze Lock command Enter Device Frozen mode Normal Operation except Set Password Disable Password Erase Unit Unlock commands Reject Complete N Y N Y 1 Refer to 9...

Page 66: ...Prepare Command Erase Unit Command with Master Password Normal operation but data lost Figure 11 Password Lost 9 6 4 5 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 n...

Page 67: ...MA Command aborted Executable Executable Read DMA Ext Command aborted Executable Executable Read FPDMA Queued Command aborted Executable Executable Read Log Ext Executable Executable Executable Read Multiple Command aborted Executable Executable Read Multiple Ext Command aborted Executable Executable Read Native Max Address Executable Executable Executable Read Native Max Ext Executable Executable...

Page 68: ...Return Status Executable Executable Executable SMART Save Attribute Values Executable Executable Executable SMART Read Log Sector Executable Executable Executable SMART Write Log Sector Executable Executable Executable SMART Enable Disable Automatic Off Line Executable Executable Executable Standby Executable Executable Executable Standby Immediate Executable Executable Executable Write Buffer Exe...

Page 69: ...12 692 735 0FFFFFh Required size for protected area 206 438 400 byte Required blocks for protected area 403 200 062700h Customer usable device size 6 292 242 432 byte 6 2GB Customer usable sector count 12 289 536 BB8600h LBA range for protected area BB8600h to C1ACFFh 1 Shipping HDDs from HDD manufacturer When the HDDs are shipped from HDD manufacturer the device has been tested to have usable cap...

Page 70: ... area remained accessible Read information data from protected area Issue hard reset or POR to inhibit any access to the protected area 9 7 2 Security extensions 1 Set Max Set Password 2 Set Max Lock 3 Set Max Freeze Lock 4 Set Max Unlock The Set Max Set Password command allows the host to define the password to be used during the current power on cycle The password does not persist over a power c...

Page 71: ...uently onto the disk While writing data after completed acknowledgment of a write command soft reset or hard reset does not affect its operation But power off terminates writing operation immediately and unwritten data are to be lost Soft reset Standby Immediate command and Flush Cache commands during writing the cached data are executed after the completion of writing to media So the host system ...

Page 72: ... recovered write errors When a write operation can not be completed after the Error Recovery Procedure ERP is fully carried out the sector s are reallocated to the spare location An error is reported to the host system only when the write cache is disabled and the auto reallocation is failed If the write cache function is ENABLED and when the number of available spare sectors reaches 0 sectors bot...

Page 73: ...nto active state 9 11 Advanced Power Management feature set APM 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 01h to the maximum performance level of FEh Device performance may increase with increasing advanced power management levels Device power consumption may increase with in...

Page 74: ... bit addressing and 28 bit and 48 bit commands may be intermixed In a device the Features the Sector Count the Sector Number the Cylinder High and the Cylinder Low registers are a two byte deep FIFO Each time one of these registers is written the new content written is placed into the most recently written location and the previous content is moved to previous content location The host may read th...

Page 75: ... commands Each command shall be completed within the time specified in the Configure Stream command or in the streaming command itself in order to ensure the stream requirements of the AV type application The device may execute background tasks as long as the Read Stream and Write Stream command execution time limits are still met Using the Configure Stream command the host may define the various ...

Page 76: ...t even if an error occurs The data sent to the host by the device in an error condition is vendor specific 9 13 1 5 Write Continuous bit If the Write Continuous bit is set to one for the command and an error is encountered the device shall complete the request without posting an error If an error cannot be resolved within the Command Completion Time Limit the erroneous section on the media may be ...

Page 77: ...t software settings without legacy driver knowledge the software settings preservation ensures that the value of important software settings is maintained across a COMRESET Software settings preservation may be enabled or disabled using SET FEATURES with a subcommand code of 06h If a device supports software settings preservation the feature shall be enabled by default 9 16 1 COMRESET Preservation...

Page 78: ...nced power management enable disable setting established by the SET FEATURES command with subcommand code of 05h or 85h The advanced power management level established in the Sector Count register when advanced power management is enabled SET FEATURES subcommand code 05h shall also be preserved SET FEATURES Read Look Ahead The read look ahead enable disable setting established by the SET FEATURES ...

Page 79: ...s and may support any of the optional counters as shown in 0 Note that some counters may increment differently based on the speed at which non Data FIS retries are performed by the host and device Implementations may record CRC and non CRC error events differently For example there is a strong likelihood that a disparity error may cause a CRC error Thus the disparity error may cause both the event...

Page 80: ... for Device to Host Non data FIS 007h Optional R_ERR response for Host to Device Non data FIS 008h Optional Not supported Device to Host non Data FIS retries 009h Optional Transitions from drive PhyRdy to drive PhyNRdy 00Ah Mandatory Signature Device to Host Register FISes sent due to a COMRESET 00Bh Optional CRC errors within a Host to Device FIS 00Dh Optional Non CRC errors within a Host to Devi...

Page 81: ...ce to Host non Data FISes to which the host responded with R_ERRP Retries of non Data FISes are included in this count 9 17 3 2 1 8 Identifier 007h The counter with identifier 007h returns the number of received Host to Device non Data FISes to which the device responded with R_ERRP Retries of non Data FISes are included in this count 9 17 3 2 1 9 Identifier 009h The counter with identifier 009h r...

Page 82: ...dentifier is 16 bits in length Valid identifiers are listed in Table 35 Counter n Value Value of the Phy event counter that corresponds to Counter n Identifier The number of significant bits is determined by Counter n Identifier bits 14 12 as defined in section 4 3 2 The length of Counter n Value shall always be a multiple of 16 bits All counters are one extended For example if a counter is only p...

Page 83: ...ould report a length of one The length of log page E1h does not indicate the length of an SCT data transfer If SMART is supported but not enabled the drive supports SMART READ WRITE LOG for Log page E0h and E1h If security is enabled and password has not been issued to unlock the device all SCT commands will fail 9 18 1 2 Capability definition Capability Identification is performed by issuing Iden...

Page 84: ...re any reset power on software or hardware will cause the SCT command to be aborted 9 18 1 4 Resets In an SCT command is executing any reset including Soft Reset Hard Reset COMRESET and Power On Reset all cause the command to be terminated This could result in partial command execution or data loss There is no indication once the drive becomes ready that the previous command was terminated 9 18 2 ...

Page 85: ...f sectors to transfer LSB Cylinder High Number of sectors to transfer MSB Cylinder High Number of sectors to transfer MSB Device Head Device Head Status 50h Status 51h Table 39 Input Registers of SCT Command Using SMART 9 18 2 1 2 Issue SCT Command Using Write Log Ext Command Block Output Registers Register 7 6 5 4 3 2 1 0 Feature Current Reserved Previous Reserved Sector Count Current 01h Previou...

Page 86: ...Reserved LBA Low HOB 0 Depends on command MSB LBA Low HOB 0 Extended Status Code MSB HOB 1 Reserved HOB 1 Reserved LBA Mid HOB 0 Number of sectors LSB LBA Mid HOB 0 Number of sectors LSB HOB 1 Reserved HOB 1 Reserved LBA High HOB 0 Number of sectors MSB LBA High HOB 0 Number of sectors MSB HOB 1 Reserved HOB 1 Reserved Device Head Device Head Status 50h Status 51h All ATA previous registers are re...

Page 87: ... field specifies the type of access and varies by command For example this can specify read write verify etc X 4 Parameter1 Depends on command Depends on command Y x 1 Parameter2 Depends on command Depends on command Total Words 256 Table 42 Key Sector Format The action codes are defined in Table below Action Code Block Data TF Data Description 0000h Reserved 0001h Read Write Y Long Sector Access ...

Page 88: ...coverable error 000Ah Invalid Function code in Long Sector Access command 000Bh SCT data transfer command was issued without first issuing an SCT command 000Ch Invalid Function code in Feature Control command 000Dh Invalid Feature code in Feature Control command 000Eh Invalid New State value in Feature Control command 000Fh Invalid Option Flags in Feature Control command 0010h Invalid SCT Action c...

Page 89: ...d Sector Number E1h Cylinder Low 4Fh Cylinder High C2h Device Head D Command B0h Table 45 Input Registers of SCT Data Transfer Using SMART 9 18 2 2 2 Read Write SCT Data Using Read Write Log Ext Command Block Output Registers Register 7 6 5 4 3 2 1 0 Feature Current Reserved Previous Reserved Sector Count Current 01h Previous 00h LBA Low Current E1h Previous Reserved LBA Mid Current 00h Previous 0...

Page 90: ... send a command to the device This command will not change the power state of the drive nor terminate any background activity including any SCT command in progress 9 18 2 3 1 SCT Status Request Using SMART Command Block Output Registers Register 7 6 5 4 3 2 1 0 Feature D5h Sector Count 01h Sector Number E0h Cylinder Low 4Fh Cylinder High C2h Device Head D Command B0h Table 47 Input Registers of SC...

Page 91: ...rd Action Code Action code of last SCT command issued If the Extended Status Code is FFFFh this is the Action Code of the command that is current executing 19 18 Word Function Code Function code of last SCT command issued If the Extended Status Code is FFFFh this is the Function Code of the command that is current executing 39 20 Byte 20 reserved 00h 47 40 QWord LBA Current LBA of SCT command exec...

Page 92: ...was greater than Max Op Limit See table 93 for information about this Interval 213 210 Dword Under Limit Count Number of temperature recording Intervals since the last power on reset where the recorded temperature was less than Min Op Limit See table 93 for information about this Interval 479 214 Byte 275 Reserved 00h 511 480 Byte 32 Vendor Specific 00h Table 49 Data Format of SCT Status Response ...

Page 93: ...puts TF Data Command Block Input Registers Success Error 00h Sector Count Reserved Sector Number Reserved Cylinder Low Number of sectors to transfer LSB 01h Cylinder High Number of sectors to transfer MSB 00h Device Head Reserved Status 50h Table 51 SCT Write Same Outputs The SCT Write Same command will begin writing sectors from Start LBA in incrementing order until Count sectors have been writte...

Page 94: ...en the drive finished receiving data Any command including IDENTIFY DEVICE other than SCT Status issued to the drive while this command is in progress will terminate the SCT Write Same command The incoming command is executed Use the SCT Status command to retrieve status information about the current SCT command Example status information includes command active or complete current LBA and errors ...

Page 95: ...3 2 1 0 Error 04h Sector Count Extended Status code LSB Sector Number Extended Status code MSB Cylinder Low N A Cylinder High N A Device Head Status 51h Possible Extended Status Code for Blocking Operation Function code 0101h 0102h 0017h Blocking SCT Write Same command was terminated because of unrecoverable error ...

Page 96: ...tion Code was 0002h then this is the LSB of the requested recovery limit Otherwise this field is reserved Sector Number If Function Code was 0002h then this is the MSB of the requested recovery limit Otherwise this field is reserved Cylinder Low reserved Cylinder High reserved Device Head reserved Status 50h Table 53 Error Recovery Control command Onputs The Error Recovery Control command can be u...

Page 97: ...power cycles If the function code is 0001h setting bit 0 to zero causes the requested feature state change to be volatile A hard reset causes the drive to revert to default or last non volatile setting 255 5 reserved 0000h Table 54 Feature Control command Inputs Outputs TF Data Command Block Input Registers Success Error 00h Sector Count If Function Code was 0002h then this is the LSB of Feature S...

Page 98: ...formation will reflect the true operation state of write cache one indicating enabled and zero indicating disabled The default state is 0001h 0002h 0001h Enable Write Cache Reordering 0002h Disable Write Cache Reordering The default state is 0001h The drive does not return error for setting state 0002h but the state is ignored 0003h Set time interval for temperature logging 0000h is invalid 0001h ...

Page 99: ...T Data Table command Inputs Outputs TF Data Command Block Input Registers Success Error 00h Sector Count reserved Sector Number reserved Cylinder Low Number of sectors to transfer LSB 01h Cylinder High Number of sectors to transfer MSB 00h Device Head reserved Status 50h Table 58 SCT Data Table command Outputs Table ID Description 0000h Invalid 0001h Reserved 0002h HDA Temperature History Table in...

Page 100: ... range from 127 C to 127 C to be specified 80h is an invalid value This is a fixed value 8 Byte Min Op Limit Minimum recommended continuous operating limit This is a one byte 2 s complement number that allows a range from 127 C to 127 C to be specified 80h is an invalid value This is a fixed value 9 Byte Under Limit Minimum temperature limit This is a one byte 2 s complement number that allows a r...

Page 101: ... change between power cycles with no indication to the host 511 Queue Size 34 Byte 512 Queue Size 34 Reserved Note 1 The Absolute HDA Temperature History is preserved across power cycles with the requirement that when the drive powers up a new entry is made in the history queue of 80h an invalid absolute temperature value This way an application viewing the history can see the discontinuity in tem...

Page 102: ...2 Power Condition IDs Power Condition ID Power Condition Name Description 00h Standby_z Standby 01h Standby_y Low RPM idle 02h 80h Reserved 81h Idle_a Not support 82h Idle_b Active idle 83h Idle_c Low power idle 84h FEh Reserved FFh All Not support 9 19 1 Power conditions Idle_b and Idle_c are power conditions within the PM1 Idle power management state Standby_y and Standby_z are power conditions ...

Page 103: ...wer power conditions e g if the Standby_z timer is set to a smaller interval than the Idle_b timer and the device is currently in the Standby_z power condition then the device shall remain in the Standby_z power condition when the Idle_b timer expires If the timer expiration qualifies the device to transition to more than one enabled power condition then the device shall transition to the power co...

Page 104: ...re reset The result of writing to the Command register while BSY 1 or DRQ 1 is unpredictable and may result in data corruption A command should only be interrupted by a reset at times when the host thinks there may be a problem such as a device that is no longer responding Interrupts are cleared when the host reads the Status Register issues a reset or writes to the Command Register The device tim...

Page 105: ...ache Flush Cache Ext Idle Idle Immediate Initialize Device Parameters NOP Read Native Max Address Read Native Max Address Ext Read Verify Sector s Read Verify Sector s Ext Recalibrate Security Erase Prepare Security Freeze Lock Seek Set Features Set Max Address Set Max Address Ext Set Max Lock command Set Max Freeze Lock command Set Multiple Mode Sleep SMART Disable Operations SMART Enable Disable...

Page 106: ...O priority may be transmitted to the device as part of the command There are two priority classes for NCQ command as high priority the host is requesting a better quality of service for that command than the commands issued with normal priority The classes are forms of soft priority The device may choose to complete a normal priority command before an outstanding high priority command although pre...

Page 107: ...e Parameters 91 1 0 0 1 0 0 0 1 1 Read Buffer E4 1 1 1 0 0 1 0 0 4 Read DMA C8 1 1 0 0 1 0 0 0 4 Read DMA C9 1 1 0 0 1 0 0 1 4 Read DMA Ext 25 0 0 1 0 0 1 0 1 5 Read FPDMA Queued 60 0 1 1 0 0 0 0 0 1 Read Log Ext 2F 0 0 1 0 1 1 1 1 1 Read Multiple C4 1 1 0 0 0 1 0 0 1 Read Multiple Ext 29 0 0 1 0 1 0 0 1 3 Read Native Max Address F8 1 1 1 1 1 0 0 0 3 Read Native Max Address Ext 27 0 0 1 0 0 1 1 1 ...

Page 108: ...ble Automatic Off line B0 1 0 1 1 0 0 0 0 3 Standby E2 1 1 1 0 0 0 1 0 3 Standby 96 1 0 0 1 0 1 1 0 3 Standby Immediate E0 1 1 1 0 0 0 0 0 3 Standby Immediate 94 1 0 0 1 0 1 0 0 2 Write Buffer E8 1 1 1 0 1 0 0 0 4 Write DMA CA 1 1 0 0 1 0 1 0 4 Write DMA CB 1 1 0 0 1 0 1 1 4 Write DMA Ext 35 0 0 1 1 0 1 0 1 4 Write DMA FUA Ext 3D 0 0 1 1 1 1 0 1 5 Write FPDMA Queued 61 0 1 1 0 0 0 0 1 2 Write Log ...

Page 109: ...2 Set Transfer Mode EF 03 Enable Advanced Power Management EF 05 Enable Power up in Standby Feature Set EF 06 Power up in Standby Feature Set Device Spin up EF 07 Disable read look ahead feature EF 55 Disable reverting to power on defaults EF 66 Disable write cache EF 82 Disable Advanced Power Management EF 85 Disable Power up in Standby Feature Set EF 86 Enable read look ahead feature EF AA Enabl...

Page 110: ...t Max ADDRESS command V Valid Indicates that the bit is part of an output parameter and should be specified x Indicates that the hex character is not used Indicates that the bit is not used Input Registers 0 Indicates that the bit is always set to 0 1 Indicates that the bit is always set to 1 H Head number Indicates that the head number part of the Device Head Register is an input parameter and wi...

Page 111: ...Head Command 1 1 1 0 0 1 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 66 Check Power Mode Command E5h 98h The Check Power Mode command will report whether the device is spun up and the media is available for immediate access Input Parameters From The Device Sector Count...

Page 112: ...7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY SE DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 67 Configure Stream Command 51h The Configure Stream command specifies the operating parameters of an individual stream A Configure Stream command may be issued for each stream that is to be added or removed from the current operating configuration If A R 1 and the specified ID is already v...

Page 113: ...mit CCTL The value is calculated as follows Default CCTL content of the Features register Identify Device words 99 98 micriseconds This time shall be used by the device when a streaming command with the same stream ID and a CCTL of zero are issued The time is measured from the write of the command register to the final INTRQ for command completion The device has minimum CCTL value When the specifi...

Page 114: ...68 Device Configuration Overlay Command B1h Individual Device Configuration Overlay feature set commands are identified by the value placed in the Features register The table below shows these Features register values Value Command C0h DEVICE CONFIGURATION RESTORE C1h DEVICE CONFIGURATION FREEZE LOCK C2h DEVICE CONFIGURATION IDENTIFY C3h DEVICE CONFIGURATION SET other Reserved Table 69 Device Conf...

Page 115: ...t command transfers an overlay that modifies some of the bits set in words 63 82 83 84 and 88 of the Identify Device command response When the bits in these words are cleared the device no longer supports the indicated command mode or feature set If a bit is set in the overlay transmitted by the device that is not set in the overlay received from a Device Configuration Identify command no action i...

Page 116: ...is supported 11 1 Forced Unit Access is supported 10 0 Reserved 9 1 Streaming feature set is supported 8 1 48 bit Addressing feature set supported 7 1 Host Protected Area feature set supported 6 0 Reserved 5 1 Read Write DMA Queued commands supported 4 1 Power up in Standby feature set supported 3 1 Security feature set supported 2 1 SMART error log supported 1 1 SMART self test supported 0 1 SMAR...

Page 117: ...all bytes is zero when the checksum is correct Cylinder high invalid word location Cylinder low invalid bit location bits 15 8 Sector number invalid bit location bits 7 0 Sector count error reason code description 01h DCO feature is frozen 02h Device is now Security Locked mode 03h Device s feature is already modified with DCO 04h User attempt to disable any feature enabled 05h Device is now SET M...

Page 118: ...ture 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 Sector Number Higher byte of 16 bit sector count value to transfer from the host Cylinder Buffer offset only used for Feature 03h This command enables the host to alter the device s microcode The d...

Page 119: ...he microcode file which varies in 512 byte increments All microcode segments shall be sent to the device in sequence The device may 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 DOWNLOAD MICROCODE command buffer offset and the previous sector count The first DOWNLOAD MICROCODE command shall ...

Page 120: ... Device Head Command 1 0 0 1 0 0 0 0 Status See Below Error Register Status Register Diagnostic Code 7 6 5 4 3 2 1 0 BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 0 0 Table 73 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 defin...

Page 121: ...Cylinder Low Cylinder Low Cylinder High Cylinder High Device Head 1 1 D Device Head Command 1 1 1 0 0 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 74 Flush Cache Command E7h This command causes the device to complete writing data from its cache The device returns go...

Page 122: ...ber HOB 0 Previous HOB 1 Cylinder Low Current Cylinder Low HOB 0 Previous HOB 1 Cylinder High Current Cylinder High HOB 0 Previous HOB 1 Device Head D Device Head Command 1 1 1 0 1 0 1 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 75 Flush Cache Ext Command EAh This comm...

Page 123: ...DRQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V Table 76 Format Track Command 50h The Format Track command formats a single logical track on the device Each good sector of data on the track will be initialized to zero with write operation At this time whether the sector of data is initialized correctly is not verified with read operation Any data previously stored on the track will be lost The host ma...

Page 124: ...ack 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 Sector Number In LBA mode this register specifies current LBA address bits 0 7 L 1 Cylinder High Low In LBA mode this register specifies current LBA address bits 8 15 Low 16 23 High H In LBA mode this register specifies current LBA address bits 24 27 L 1 Error The...

Page 125: ... information and new defect information are available right after command completion of this command Previous information of reassign and defect are erased from the device by executing this command Note that the Format Unit command initializes from LBA 0 to Native MAX LBA regardless of setting by Initialize Device Parameter 91h command Device Configuration Overlay or Set Max Address F9h command so...

Page 126: ...Low Cylinder High Cylinder High Device Head 1 1 D Device Head Command 1 1 1 0 1 1 0 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 78 Identify Device Command ECh The Identify Device command requests the device to transfer configuration information to the host The device wil...

Page 127: ...ber of heads in default translate mode 04 0 Reserved 05 0 Reserved 06 003FH Number of sectors per track in default translate mode 07 0000H Number of bytes of sector gap 08 0000H Number of bytes in sync field 09 0000H Reserved 10 19 XXXX Serial number in ASCII 0 not specified 20 0003H Controller type 0003 dual ported multiple sector buffer with look ahead read 21 XXXXH Buffer size in 512 byte incre...

Page 128: ...d 54 xxxxH Number of current cylinders 55 xxxxH Number of current heads 56 xxxxH Number of current sectors per track 57 58 xxxxH Current capacity in sectors Word 57 specifies the low word of the capacity 59 0xxxH Current Multiple setting bit assignments 15 9 0 Reserved 8 1 Multiple Sector Setting is Valid 7 0 xxh Current setting for number of sectors 60 61 xxxxH Total Number of User Addressable Se...

Page 129: ...ng supported 7 4 0 Reserved 3 x SATA Gen 3 speed 6 0Gbps supported 2 x SATA Gen 2 speed 3 0Gbps supported 1 1 SATA Gen 1 speed 1 5Gbps supported 0 0 Reserved 77 000xH 15 4 0 Reserved 3 x Current negotiated SATA speed is Gen 3 of 6 0Gbps 2 x Current negotiated SATA speed is Gen 2 of 3 0Gbps 1 1 Current negotiated SATA speed is Gen 1 of 1 5Gbps 0 0 Reserved 78 005EH SATA supported features 15 7 0 Re...

Page 130: ...746BH Command set supported 15 0 Reserved 14 1 NOP command 13 1 READ BUFFER command 12 1 WRITE BUFFER command 11 0 Reserved 10 1 Host Protected Area Feature Set 9 0 DEVICE RESET command 8 0 SERVICE interrupt 7 0 Release interrupt 6 1 LOOK AHEAD 5 1 WRITE CACHE 4 0 PACKET Command feature set 3 1 Power management feature set 2 0 Removable feature set 1 1 Security feature set 0 1 SMART feature Set Ta...

Page 131: ...FEATURE supported 12 11 0 Reserved 10 x URG bit supported for WRITE STREAM DMA and WRITE STREAM PIO 9 x URG bit supported for READ STREAM DMA and READ STREAM PIO 8 1 World wide name supported 7 0 WRITE DMA QUEUED FUA EXT command supported 6 1 WRITE DMA FUA EXT and WRITE MULTIPLE FUA EXT commands supported 5 1 General Purpose Logging feature set supported 4 x Streaming feature set supported 3 0 Med...

Page 132: ...ature set 1 READ WRITE DMA QUEUED 0 DOWNLOAD MICROCODE command 87 4163H or 4763H or 4773H Command set feature default 15 14 01 Word 87 is valid 13 0 IDLE IMMEDIATE with UNLOAD FEATURE supported 12 11 0 Reserved 10 x URG bit supported for WRITE STREAM DMA and WRITE STREAM PIO 9 x URG bit supported for READ STREAM DMA and READ STREAM PIO 8 1 World wide name supported 7 0 WRITE DMA QUEUED FUA EXT com...

Page 133: ...of two with a minimum of eight sectors 4096 bytes The starting LBA value for each streaming command should be evenly divisible by this request size 96 xxxxH Streaming Transfer Time DMA The worst case sustainable transfer time per sector for the device is calculated as follows Streaming Transfer Time word 96 words 99 98 65536 If the Streaming Feature set is not supported by the device the content o...

Page 134: ...ional value of the world wide name for the device 112 118 0000H Reserved 119 401Ch Supported settings Continued from word 84 82 15 Shall be cleared to zero 14 Shall be set to one 13 8 Reserved 7 1 Extended Power Conditions feature set is supported 6 Reserved 5 0 Free fall Control feature set is not supported 4 1 The segmented feature for download microcode is supported 3 1 The READ WRITE LOG DMA E...

Page 135: ...head enabled 1 Enable 0 Write Cache enabled 1 Enable 130 159 xxxxH Reserved 160 167 0000H Reserved 168 0002H 15 4 Reserved 3 0 Device Nominal Form Factor 02H shows 3 5inch nominal form factor 169 175 0000H Reserved 176 205 0000H Current media serial number 0000H Not supported 206 SCT Command set support 15 12 Vendor specific 11 6 Reserved 5 Action Code 5 SCT Data Table 1 Support 4 Action Code 4 Fe...

Page 136: ...upported 220 0000H 15 8 0 Reserved 7 0 0 Write Read Verify feature set current mode not supported 221 0000H Reserved 222 101FH Transport major version number 15 12 1 Transport Type 1 Serial 11 5 0 Reserved 4 1 SATA Rev 2 6 3 1 SATA Rev 2 5 2 1 SATA II Extensions 1 1 SATA 1 0a 0 1 ATA8 AST 223 0021H Transport minor version number ATA8 AST T13 Project D1697 Revision 0b 224 233 0000H Reserved 234 000...

Page 137: ...atus See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 89 Idle Command E3h 97h The Idle command causes the device to enter Idle mode immediately and set auto power down timeout parameter standby timer And then the timer starts counting down When the Idle mode is entered the device is...

Page 138: ...out interval is shown below Value Description 0 Timer disabled 1 240 Value 5 241 251 Value 240 30 minutes 252 21 minutes 253 8 hours 254 Aborted 255 21 minutes 15 seconds When the automatic power down sequence is enabled the drive will enter Standby mode automatically if the timeout interval expires with no drive access from the host The timeout interval will be reinitialized if there is a drive a...

Page 139: ...1 1 0 0 0 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 90 Idle Immediate Command E1h 95h The Idle Immediate command causes the device to enter Idle mode The device is spun up to operating speed If the device is already spinning the spin up sequence is not executed Dur...

Page 140: ...es the host to set the number of sectors per track and the number of heads minus 1 per cylinder Words 54 58 in Identify Device Information reflect these parameters The parameters remain in effect until following events Another Initialize Device Parameters command is received The device is powered off Soft reset occurs and the Set Feature option of CCh is set instead of 66h Output Parameters To The...

Page 141: ... Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 92 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 p...

Page 142: ... Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR V V 0 V 0 V 0 0 0 V 0 V 0 V Table 93 Read DMA Command C8h C9h The Read DMA command reads one or more sectors of data from disk media then transfers the data from the device to the host The sectors are transferred through the Data Register 16 bits at a time The host initializes...

Page 143: ...ed L 1 H The head number of the first sector to be transferred L 0 In LBA mode this register specifies LBA bits 24 27 to be transferred L 1 R The retry bit but this bit is ignored Input Parameters From The Device Sector Count The number of requested sectors not transferred This will be zero unless an unrecoverable error occurs Sector Number The sector number of the last transferred sector L 0 In L...

Page 144: ...revious V V V V V V V V HOB 1 V V V V V V V V Device Head 1 1 1 D Device Head Command 0 0 1 0 0 1 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR V Vs 0 V 0 V 0 0 0 V 0 V 0 V Table 94 Read DMA Ext Command 25h The Read DMA command reads one or more sectors of data from disk media and then transfers the da...

Page 145: ...urrent LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low HOB 1 LBA 3...

Page 146: ...ent V V V V V V V V Cylinder Low HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Cylinder High Current V V V V V V V V Cylinder High HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Device Head V 1 0 0 Device Head Command 0 1 1 0 0 0 0 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DS...

Page 147: ...Number Current LBA 7 0 Sector Number Previous LBA 31 24 Cylinder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Device Head FUA bit 7 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...

Page 148: ...ctor Number Current V V V V V V V V Sector Number HOB 0 Previous HOB 1 Cylinder Low Current V V V V V V V V Cylinder Low HOB 0 Previous V V V V V V V V HOB 1 Cylinder High Current Cylinder High HOB 0 Previous HOB 1 Device Head 1 1 D Device Head Command 0 0 1 0 1 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR ...

Page 149: ...ded SMART self test log SMART self test Read Only 08h Power Conditions log Extended Power Condition Read Only 10h Command Error Native Command Queuing Read Only 11h Phy Event Counters Serial ATA Read Only 20h Streaming Performance log Streaming Read Only 21h Write Stream Error log Streaming Read Only 22h Read Stream Error log Streaming Read Only 80h 9Fh Host vendor specific SMART Read Write Note I...

Page 150: ...ddress 20h 15 8 1 41h Number of sectors in the log at log address 21h 7 0 1 42h Number of sectors in the log at log address 21h 15 8 1 43h Number of sectors in the log at log address 22h 7 0 1 44h Number of sectors in the log at log address 22h 15 8 1 45h Number of sectors in the log at log address 80h 7 0 1 100h Number of sectors in the log at log address 80h 15 8 1 101h Number of sectors in the ...

Page 151: ...F6h Data structure checksum 1 1FFh 512 Table 99 Extended Comprehensive SMART Error Log 11 18 2 1 Error log version The value of this version shall be 01h 11 18 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 11 18 2 3 Extended Error log data ...

Page 152: ... 00h Features register 7 0 see Note 1 01h Features register 15 8 1 02h Sector count register 7 0 1 03h Sector count register 15 8 1 04h Sector number register 7 0 1 05h Sector number register 15 8 1 06h Cylinder Low register 7 0 1 07h Cylinder Low register 15 8 1 08h Cylinder High register 7 0 1 09h Cylinder High register 15 8 1 0Ah Device Head register 1 0Bh Command register 1 0Ch Reserved 1 0Dh ...

Page 153: ... Status register 1 0Bh Extended error data vendor specific 19 0Ch State 1 1Fh Life timestamp hours 2 20h 34 Note bits 7 0 refer to the contents if the register is read with bit 7 of the Device Control register cleared to zero Bits 15 8 refer to the contents if the register is read with bit 7 of the Device Control register set to one Table 102 Error data structure State shall contain a value indica...

Page 154: ... on page 228 shall also be included in the Extended SMART self test log with all 48 bit entries Description Bytes Offset Self test log data structure revision number 1 00h Reserved 1 01h Self test descriptor index 7 0 1 02h Self test descriptor index 15 8 1 03h Descriptor entry 1 26 04h Descriptor entry 2 26 1Eh Descriptor entry 18 26 1D8h Vendor specific 2 1F2h Reserved 11 1F4h Data structure che...

Page 155: ...nditions feature set is not supported then the Power Conditions log shall not be supported Each Power is composed of the following formats Power Conditions log composes in order of Idle_a Idle_b Idle_c and Standby_y Standby_z Offset Type Description 0 1 Word Power Condition Flags Bit Description 15 Power Condition Supported Power condition supported shall be set to one to indicate that power condi...

Page 156: ...ent Units 100 milliseconds 16 19 DWord Nominal Recovery time from to PM0 Active power management state The Nominal Recovery time from power to PM0 Active is the nominal time required to transition from power to PM0 Active power management state This time does not include processing time for the command that caused this transition to occur A value of zero indicates that the nominal recovery time is...

Page 157: ...d Error information The TAG field Byte 0 Bits 4 0 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 The bytes 1 to 13 correspond to the conte...

Page 158: ...entries in the log If the Read Stream Error Count reaches the maximum value that can be represented after the next error is detected the Read Stream Error Count shall remain at the maximum value After successful completion of a Read Log Ext command with the LBA Low Register set to 22h the Read Stream Error Log shall be reset to a power on or hardware reset condition with the Error Log Index and Re...

Page 159: ...alue previous 1 01h Status Register Contents Value 1 02h Error Register Contents Value 1 03h LBA 7 0 1 04h LBA 15 8 1 05h LBA 23 16 1 06h LBA 31 24 1 07h LBA 39 32 1 08h LBA 47 40 1 09h Reserved 2 0A 0Bh Sector Count LSB 1 0Ch Sector Count MSB 1 0Dh Reserved 2 0E 0Fh Table 107 Stream Error Log entry Byte 1 0 contains the contents of the Feature Register when the error occurred This Value shall be ...

Page 160: ...and with the LBA Low Register set to 21h the Write Stream Error Log shall be reset to a power on or hardware reset condition with the Error Log Index and Write Stream Error Count cleared to zero The Write Stream Error Log is not reserved across power cycles and hardware reset Description Bytes Offset Structure Version 1 00h Error Log Index 1 01h Write Stream Error Log Count 2 02h Reserved 12 04h W...

Page 161: ...Number of Regions in Sector Time Array 2 L Number of Positions in Position Array 2 M Number of Position differences in Access Time Array 2 Sector Time Array K 8 Position Array L 8 Access Time Array M 4 Reserved Table 109 Streaming Performance Parameters log Description Bytes LBA of reference location LBA 7 0 LBA 47 40 n n 5 Identify Device words 99 98 65536 time units per sector at the reference l...

Page 162: ...ce Head 1 L 1 D H H H H Device Head H H H H Command 1 1 0 0 0 1 0 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 V 0 V 0 0 0 V 0 V 0 V Table 113 Read Multiple Command C4h The Read Multiple command reads one or more sectors of data from disk media and then transfers the data from the device to the ho...

Page 163: ...V V V V V V Cylinder High Current V V V V V V V V Cylinder High HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Device Head 1 D Device Head Command 0 0 1 0 1 0 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 V 0 V 0 0 0 V 0 V 0 V Table 114 Read Multiple Ext Command 29h The Read...

Page 164: ...inder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low ...

Page 165: ...COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 115 Read Native Max ADDRESS F8h 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 shall return a value of 268 435 455 Input Parameters From The Device Sector Number In LBA mode this register contains native max L...

Page 166: ...1 1 1 D Device Head Command 0 0 1 0 0 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 116 Read Native Max Address Ext 27h This command returns the native max LBA of HDD which is not effected by Set Max Address Ext command Input Parameters From The Device Sector Number HO...

Page 167: ...V V V V V V V Cylinder High V V V V V V V V Device Head 1 L 1 D H H H H Device Head H H H H Command 0 0 1 0 0 0 0 R Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 V 0 V 0 0 0 V 0 V 0 V Table 117 Read Sector s Command 20h 21h The Read Sector s command reads one or more sectors of data from disk media a...

Page 168: ... 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 Sector Number The sector number of the last transferred sector L 0 In LBA mode this register contains curre...

Page 169: ...V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Cylinder High Current V V V V V V V V Cylinder High HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Device Head 1 1 1 D Device Head Command 0 0 1 0 0 1 0 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 V 0 V 0 0 0 V 0 V 0 V T...

Page 170: ...nder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low H...

Page 171: ...unt register requests 65536 sectors The RC bit indicates that the drive operate in a continuous read mode for the Read Stream command When RC is cleared to zero the drive shall operate in normal Streaming read mode When the Read Continuous mode is enabled the device shall transfer data of the requested length without setting the ERR bit to one The SE bit shall be set to one if the data transferred...

Page 172: ...m so the device may attempt to continue its corresponding error recovery sequence where it left off earlier Stream ID bit 0 2 Stream ID specifies the stream to be read The device shall operate according to the Stream ID set by the Read Stream command Feature Previous CCTL 7 0 The time allowed for the current command s completion is calculated as follows Command Completion Time Limit content of the...

Page 173: ...SE Stream Error shall be set to one if an error has occurred during the execution of the command and the RC bit is set to one In this case the LBA returned in the Sector Number registers shall be the address of the first sector in error and the Sector Count registers shall contain the number of consecutive sectors that may contain errors If the RC bit is set to one when the command is issued and I...

Page 174: ...ectors The RC bit indicates that the drive operate in a continuous read mode for the Read Stream command When RC is cleared to zero the drive shall operate in normal Streaming read mode When the Read Continuous mode is enabled the device shall transfer data of the requested length without setting the ERR bit The SE bit shall be set to one if the data transferred includes errors The data may be err...

Page 175: ...er Stream ID bit 0 2 Stream ID specifies the stream to be read The device shall operate according to the Stream ID set by the Read Stream command Feature Previous CCTL 7 0 The time allowed for the current command s completion is calculated as follows Command Completion Time Limit content of the Feature register Previous Identify Device words 99 98 microseconds If the value is zero the device shall...

Page 176: ...ution of the command and the RC bit is set to one In this case the LBA returned in the Sector Number registers shall be the address of the first sector in error and the Sector Count registers shall contain the number of consecutive sectors that may contain errors If the RC bit is set to one when the command is issued and a UNC IDNF ABRT or CCTO error occurs the SE bit shall be set to one the ERR b...

Page 177: ...der High V V V V V V V V Device Head 1 L 1 D H H H H Device Head H H H H Command 0 0 1 0 0 0 0 R Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 V 0 V 0 0 0 V 0 V 0 V Table 121 Read Verify Sector s Command 40h 41h The Read Verify Sector s verifies one or more sectors on the device No data is transferre...

Page 178: ...umber 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 Sector Number The sector number of the last transferred sector L 0 In LBA mode this register contains current LB...

Page 179: ...V HOB 1 V V V V V V V V Cylinder High Current V V V V V V V V Cylinder High HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Device Head 1 1 1 D Device Head Command 0 0 1 0 0 0 1 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 V 0 V 0 0 0 V 0 V 0 V Table 122 Read Verify Sector s E...

Page 180: ... Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low HOB 1...

Page 181: ...ow Cylinder Low Cylinder High Cylinder High Device Head 1 1 D Device Head Command 0 0 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V V 0 0 V 0 V 0 V Table 123 Recalibrate Command 1xh The Recalibrate command moves the read write heads from anywhere on the disk to cylinder 0 If the device cann...

Page 182: ... Table 124 Security Disable Password Command F6h The Security Disable Password command disables the security mode feature device lock function The Security Disable Password command requests a transfer of a single sector of data from the host including information specified in Table 123 on the page 181 Then the device checks the transferred password If the User Password or Master Password matches t...

Page 183: ...sword Information for Security Disable Password command The device will compare the password sent from this host with that specified in the control word Identifier Zero indicates that the device should check the supplied password against the user password stored internally One indicates that the device should check the given password against the master password stored internally ...

Page 184: ... 1 1 1 1 0 0 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 126 Security Erase Prepare Command F3h The Security Erase Prepare Command must be issued immediately before the Security Erase Unit Command to enable device erasing and unlocking The Security Erase Prepare Comm...

Page 185: ...SC DRQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V Table 127 Security Erase Unit Command F4h The Security Erase Unit command initializes all user data sectors and then disables the device lock function Note that the Security Erase Unit command initializes from LBA 0 to Native MAX LBA Host MAX LBA set by Initialize Drive Parameter Device Configuration Overlay or Set MAX Address command is ignored So th...

Page 186: ... 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 comm...

Page 187: ...us Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 129 Security Freeze Lock Command F5h The Security Freeze Lock Command allows the device to enter frozen mode immediately After this command is completed the command which updates Security Mode Feature Device Lock Function is rejected Frozen mode is quit only by Pow...

Page 188: ...0 0 0 0 V 0 0 0 V 0 0 V Table 130 Security Set Password Command F1h 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 power on reset When the MASTER password is set by ...

Page 189: ...The valid revision codes are 0001h through FFFEh The device accepts the command with a value of 0000h or FFFFh in this field but does not change Master Password Revision code The setting of the Identifier and Security level bits interact as follows Identifier User Security level High The password supplied with the command will be saved as the new user password The security mode feature lock functi...

Page 190: ...able Password command after this command is completed the device will be in device lock mode The password has not been changed yet The Security Unlock command requests to transfer a single sector of data from the host including information specified in Table 132 on the page 190 If the Identifier bit is set to master and the file is in high security mode then the password supplied will be compared ...

Page 191: ...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 ...

Page 192: ...0 V 0 0 0 V 0 V 0 V Table 134 Seek Command 7xh The Seek command initiates a seek to the designated track and selects the designated head The device need not be formatted for a seek to execute properly Output Parameters To The Device Sector Number In LBA mode this register specifies LBA address bits 0 7 for seek L 1 Cylinder High Low The cylinder number of the seek In LBA mode this register specifi...

Page 193: ... 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 V V V V 0 V Table 135 Sense Condition command F0h The Sense Condition command is used to sense temperature in a device This command is executable even if a device is in Power up in standby mode Output Parameters To The Device Feature The Feature register must be set to 01h All other value are rejected wit...

Page 194: ... Cylinder High Cylinder High Device Head 1 1 D Device Head Command 1 1 1 0 1 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 136 Set Features Command EFh The Set Feature command is to establish the following parameters which affect the execution of certain features as sh...

Page 195: ...e 43H Set Maximum Host Interface Sector Time 4Ah Extended Power Conditions 55H Disable read look ahead feature 66H Disable reverting to power on defaults 82H Disable write cache 85H Disable Advanced Power Management 86H Disable Power up in Standby mode 90H Disable use of Serial ATA feature AAH Enable read look ahead feature CCH Enable reverting to power on defaults Note After power on reset or har...

Page 196: ... 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 Guaranteed In Order Data Delivery 06h Software Settings Preservation 11 38 4 Advanced Power M...

Page 197: ... 11 38 4 1 Low Power Idle mode Additional electronics are powered off and heads are unloaded on the ramp however the spindle is still rotated at the full speed 11 38 4 2 Low RPM idle mode The heads are unloaded on the ramp and the spindle is rotated at the 60 65 of the full speed When Feature register is 85h Disable Advanced Power Management the deepest Power Saving mode becomes normal Idle 11 38 ...

Page 198: ...D Device Head Command 1 1 1 0 1 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 137 Parameter Output Parameters To The Device bit Description 6 Default 1 Restore from Default settings 0 Restore from Saved settings 5 Reserved 4 Save 1 Save settings on completion 0 Do not ...

Page 199: ...ion IDs Table 62 Sector Count Sector Number 0 0 0 0 0 0 0 1 Sector Number Cylinder Low Cylinder Low Cylinder High Cylinder High Device Head 1 1 D Device Head Command 1 1 1 0 1 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Error Output If the Power condition ID is FFh a reser...

Page 200: ... 1 0 1 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Timer 15 0 If the new timer value is greater than the maximum value setting then the device may set the value to the maximum setting If the new timer value is less than the minimum setting then the device may set the value...

Page 201: ...ng B greater than the minimum setting C not supported by the device b the Power Condition field is invalid c the power condition is not changeable or not supported d the Save bit is set to one and the selected power condition is not saveable e the new time value is greater than the maximum setting and the device did not set the timer to the maximum setting f the new time value is less than the min...

Page 202: ... 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 139 Parameter Output Parameters To The Device bit Description 5 Default 1 Restore from Default settings 0 Restore from Saved settings 4 Save 1 Save settings on completion 0 Do not save settings on completion 3 0 Restore Power Condition subcommand 03h Table 61 Error Output If the Power Cond...

Page 203: ...ture register value Valid features values are as follows 1 01h indicates Set Max Set Password command 2 02h indicates Set Max Lock command 3 03h indicates Set Max Unlock command 4 04h indicates Set Max Freeze LOCK command This command overwrites the maximum number of Address of HDD in a range of actual device capacity Once device receives this command all accesses beyond that Address are rejected ...

Page 204: ...mber 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 Cylinder High Low In LBA mode this register contains LBA bits 8 15 Low 16 23 High which is to be set L 1 In CHS mode this register contains cylinder number which is to be set L 0 H In LBA mode this register contains LBA bits 24 27 which is to be set L 1 In CHS mode this register i...

Page 205: ...gister 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 141 Set Max set Password The device regards as Set Max Address command if this command is immediately preceded by a Read Native Max Address command This command requests a transfer of a single sector of data from the host including the information specified in Table 141...

Page 206: ... Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 143 Set Max Lock The device regards as Set Max Address command if this command is immediately preceded by a Read Native Max Address command This command sets the device into Set_Max_Locked state After this command is completed a...

Page 207: ...0 0 V Table 144 Set Max Unlock F9h The device regards as Set Max Address command if this command is immediately preceded by a Read Native Max Address command This command requests a transfer of a single sector of data from the host including the information specified in Table 141 on the page 205 with the stored SET MAX password If the password compare fails then the device returns an abort error t...

Page 208: ...1 1 1 1 1 0 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 145 Set Max Freeze Lock F9h The device regards as Set Max Address command if this command is immediately preceded by a Read Native Max Address command The Set Max Freeze Lock command sets the device to Set_Max_Fro...

Page 209: ...V Device Head 1 D Device Head Command 0 0 1 1 0 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 146 Set Max Address Ext Command 37h This command is immediately preceded by a Read Native Max Address Ext command This command overwrites the maximum number of Address of HDD ...

Page 210: ...on whether nonvolatile or volatile B 0 is volatile condition When B 1 MAX Address which is set by Set Max Address Ext command is preserved by POR When B 0 MAX Address which is set by Set Max Address Ext command will be lost by POR B 1 is not valid when the device is in Address Offset mode Sector Number Current Set Max LBA 7 0 Sector Number Previous Set Max LBA 31 24 Cylinder Low Current Set Max LB...

Page 211: ...SY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 147 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 If an invalid block size is specified an Abort error will be returned to the host and Read Mul...

Page 212: ...vice Head 1 1 D Device Head Command 1 1 1 0 0 1 1 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 148 Sleep Command E6h 99h This command causes the device to enter Sleep Mode The device is spun down and the interface becomes inactive If the device is already spun down the ...

Page 213: ...ice Head Command 1 0 1 1 0 0 0 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 V 0 V 0 0 0 V 0 V 0 V Table 149 SMART Function Set Command B0h The SMART Function Set command provides access to Attribute Values Attribute Thresholds and other low level subcommands that can be used for logging and report...

Page 214: ...e host 11 43 1 3 SMART Enable Disable Attribute Autosave Subcommand D2h This subcommand enables and disables the attribute autosave feature of the device The SMART Enable Disable Attribute Autosave subcommand either allows the device to automatically save its updated Attribute Values to the Attribute Data Sector periodically or this subcommand causes the autosave feature to be disabled The state o...

Page 215: ...off line mode self test routine 129 Execute SMART Short self test routine immediately in captive mode 130 Execute SMART Extended self test routine immediately in captive mode 132 Execute SMART Selective self test routine immediately in captive mode Off line mode The device executes command completion before executing the specified routine During execution of the routine the device will not set BSY...

Page 216: ...pabilities within the device Prior to receipt of a SMART Enable Operations subcommand Attribute Values are neither monitored nor saved by the device The state of SMART either enabled or disabled will be preserved by the device across power cycles Once enabled the receipt of subsequent SMART Enable Operations subcommands will not affect any of the Attribute Values Upon receipt of the SMART Enable O...

Page 217: ...ff Line Subcommand DBh This subcommand enables and disables the optional feature that causes the device to perform the set of off line data collection activities that automatically collect attribute data in an off line mode and then save this data to the device s non volatile memory This subcommand may either cause the device to automatically initiate or resume performance of its off line data col...

Page 218: ... Total time in seconds to complete off line data collection activity 2 16Ch Vender specific 1 16Eh Off line data collection capability 1 16Fh 1Bh SMART capability 2 170h 0003h SMART device error logging capability 1 172h 01h Self test failure check point 1 173h Short self test completion time in minutes 1 174h Extended self test completion time in minutes If 0FFh use bytes 177h and 178h for comple...

Page 219: ...e ID Numbers Any non zero value in the Attribute ID Number indicates an active attribute The device supports following Attribute ID Numbers 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...

Page 220: ...he 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 11 43 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 Dat...

Page 221: ...ells the host how many seconds the device requires completing the off line data collection activity 11 43 2 6 Off Line Data Collection Capability Bit Definition 0 Execute Off line Immediate implemented bit 0 SMART Execute Off line Immediate subcommand is not implemented 1 SMART Execute Off line Immediate subcommand is implemented 1 Enable disable Automatic Off line implemented bit 0 SMART Enable d...

Page 222: ...tandby or Sleep mode 1 Attribute autosave capability If bit 1 the device supports the SMART ENABLE DISABLE ATTRIBUTE AUTOSAVE command 2 15 Reserved 0 11 43 2 8 Error Logging Capability Bit Definition 7 1 Reserved 0 0 Error Logging support bit If bit 1 the device supports the Error Logging 11 43 2 9 Self test failure check point This byte indicates the section of self test where the device detected...

Page 223: ...resholds Data Structure 11 43 3 1 Data Structure Revision Number This value is the same as the value used in the Device Attributes Values Data Structure 11 43 3 2 Individual Thresholds Data Structure The following defines the 12 bytes that make up the information for each Threshold entry in the Device Attribute Thresholds Data Structure Attribute entries in the Individual Threshold Data Structure ...

Page 224: ...g Description Bytes Offset SMART Logging Version 2 00h Number of sectors in the log at log address 1 1 02h Reserved 1 03h Number of sectors in the log at log address 2 1 04h Reserved 1 05h Number of sectors in the log at log address 255 1 1Feh Reserved 1 1FFh 512 Table 155 SMART Log Directory The value of the SMART Logging Version word shall be 01h The logs at log addresses 80 9Fh shall each be de...

Page 225: ...data structure 90 02h 2 nd error log data structure 90 5Ch 3 rd error log data structure 90 B6h 4 th error log data structure 90 110h 5 th error log data structure 90 16Ah Device error count 2 1C4h Reserved 57 1C6h Data structure checksum 1 1FFh 512 Table 156 SMART summary error log sector 11 43 5 1 SMART error log version This value is set to 01h 11 43 5 2 Error log index This points the most rec...

Page 226: ... 5 th error log data structure 12 30h Error data structure 30 3Ch 90 Table 157 Error log data structure Command data structure Data format of each command data structure is shown below Description Bytes Offset Device Control register 1 00h Features register 1 01h Sector count register 1 02h Sector number register 1 03h Cylinder Low register 1 04h Cylinder High register 1 05h Device Head register 1...

Page 227: ...Cylinder High register 1 05h Device Head register 1 06h Status register 1 07h Extended error data vendor specific 19 08h State 1 1Bh Life timestamp hours 2 1Ch 30 Table 159 Error data structure State field contains a value indicating the device state when command was issued to the device Value State x0h Unknown x1h Sleep x2h Standby x3h Active Idle x4h SMART Off line or Self test x5h xAh Reserved ...

Page 228: ...h LBA of first failure 4 n 18h 07h Vendor specific 15 n 18h 0Bh Vendor specific 2 1Fah Self test index 1 1FCh Reserved 2 1FDh Data structure checksum 1 1FFh 512 Note n is 0 through 20 Table 160 Self test log data structure The data structure contains the descriptor of Self test that the device has performed Each descriptor is 24 bytes long and the self test data structure is capable to contain up ...

Page 229: ...R W Ending LBA for test span 3 8 2Ah R W Starting LBA for test span 4 8 32h R W Ending LBA for test span 4 8 3Ah R W Starting LBA for test span 5 8 42h R W Ending LBA for test span 5 8 4Ah R W Reserved 256 52h Reserved Vendor specific 154 152h Vendor specific Current LBA under test 8 1Ech Read Current span under test 2 1F4h Read Feature flags 2 1F6h R W Vendor specific 4 1F8h Vendor specific Selec...

Page 230: ...d Cylinder Low registers 51h 04h A SMART FUNCTION SET command was received by the device with a subcommand value in the Features Register that is either invalid or not supported by this device 51h 04h A SMART FUNCTION SET command subcommand other than SMART ENABLE OPERATIONS was received by the device while the device was in a SMART disabled state 51h 04h The device is unable to read its Attribute...

Page 231: ...0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 164 Standby 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 the Standby mode is entered the drive is spun down but the interface remains active If the drive is already spun down the spin down sequence...

Page 232: ...interval is shown blow Value Description 0 Timer disabled 1 240 Value 5 seconds 241 251 Value 240 30 minutes 252 21 minutes 253 8 hours 254 Aborted 255 21 minutes 15 seconds When the automatic power down sequence is enabled the drive will enter Standby mode automatically if the timeout interval expires with no drive access from the host The timeout interval will be reinitialized if there is a driv...

Page 233: ...r Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 165 Standby Immediate Command E0h 94h The Standby Immediate command causes the device to enter Standby mode immediately The device is spun down but the interface remains active If the device is already spun down the spin down sequence is not executed During...

Page 234: ... 1 1 1 0 1 0 0 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 166 Write Buffer Command E8h The Write Buffer command transfers a sector of data from the host to the sector buffer of the device The sectors of data are transferred through the Data Register 16 bits at a time Th...

Page 235: ...Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR V 0 0 V 0 V 0 0 0 V 0 V 0 V Table 167 Write DMA Command Cah CBh The Write DMA command transfers one or more sectors of data from the host to the device then the data is written to the disk media The sectors of data are transferred through the Data Register 16 bits at a time The host ...

Page 236: ... 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 Sector Number The sector number of the last transferred sector L 0 In LBA mode this register contains curre...

Page 237: ...r Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR V 0 0 V 0 V 0 0 0 V 0 V 0 V Table 168 Write DMA FUA Ext Command 3Dh The Write DMA FUA Ext command transfers one or more sectors of data from the host to the device and then the data is written to the disk media This command provides the same function as the Write DMA Ext command ex...

Page 238: ...nder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low H...

Page 239: ...s V V V V V V V V HOB 1 V V V V V V V V Device Head 1 D Device Head Command 0 0 1 1 0 1 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR V 0 0 V 0 V 0 0 0 V 0 V 0 V Table 169 Write DMA Ext Command 35h The Write DMA Ext command transfers one or more sectors of data from the host to the device and then the ...

Page 240: ...nder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low H...

Page 241: ... V V V V V V Cylinder Low HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Cylinder High Current V V V V V V V V Cylinder High HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Device Head V 1 0 Device Head Command 0 1 1 0 0 0 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR...

Page 242: ...Current LBA 7 0 Sector Number Previous LBA 31 24 Cylinder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Device Head FUA bit 7 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 ma...

Page 243: ... V Sector Number HOB 0 Previous HOB 1 Cylinder Low Current V V V V V V V V Cylinder Low HOB 0 Previous V V V V V V V V HOB 1 Cylinder High Current Cylinder High HOB 0 Previous HOB 1 Device Head 1 1 D Device Head Command 0 0 1 1 1 1 1 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 V 0 V 0 V 0 0 0 V 0 V 0...

Page 244: ...rst sector in the specified log Sector Number Current The log to be written as described in 0 Log address definition If the host attempts to write to a read only log address the device shall return command aborted Cylinder Low Current The first sector of the log to be written low order bits 7 0 Cylinder Low Previous The first sector of the log to be written high order bits 15 8 If the feature set ...

Page 245: ...ce Head 1 L 1 D H H H H Device Head H H H H Command 1 1 0 0 0 1 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V Table 172 Write Multiple Command C5h The Write Multiple command transfers one or more sectors from the host to the device and then the data is written to the disk me...

Page 246: ... 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 Sector Number The sector number of the last transferred sector L 0 In LBA mode this register contains current LBA bits 0 7 L 1 ...

Page 247: ... V V V V Cylinder High Current V V V V V V V V Cylinder High HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Device Head 1 D Device Head Command 0 0 1 1 1 0 0 1 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V Table 173 Write Multiple Ext Command 39h The Write ...

Page 248: ...inder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low ...

Page 249: ... V V V V V V V V Device Head 1 D Device Head Command 1 1 0 0 1 1 1 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V Table 174 Write Multiple FUA Ext Command CEh The Write Multiple Ext command transfers one or more sectors from the host to the device and then the data is written t...

Page 250: ...inder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low ...

Page 251: ...V V V V V V V Cylinder High V V V V V V V V Device Head 1 L 1 D H H H H Device Head H H H H Command 0 0 1 1 0 0 0 R Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V Table 175 Write Sector s Command 30h 31h The Write Sector s command transfers one or more sectors from the host to th...

Page 252: ... 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 Sector Number The sector number of the last transferred sector L 0 In LBA mode this register contains curre...

Page 253: ...V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Cylinder High Current V V V V V V V V Cylinder High HOB 0 V V V V V V V V Previous V V V V V V V V HOB 1 V V V V V V V V Device Head 1 D Device Head Command 0 0 1 1 0 1 0 0 Status See Below Error Register Status Register 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V T...

Page 254: ...nt LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector Number HOB 1 LBA 31 24 of the address of the first unrecoverable error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low HOB 1 LBA 39 32...

Page 255: ... Write Stream DMA command allows the host to write data using the DMA data transfer protocol This command allows for the host to specify to the device that additional actions need to be performed prior to the completion of the command if the required bits are set If the Write Continuous bit is set to one the device shall not stop execution of the command due to errors If the WC bit is set to one a...

Page 256: ...ies that this command starts at the LBA of the last reported error for this stream so the device may attempt to continue its corresponding error recovery sequence where it left off earlier Stream ID bit 0 2 Stream ID specifies the stream being written The device shall operate according to the Stream ID set by the Write Stream command Feature Previous CCTL 7 0 The time allowed for the current comma...

Page 257: ... the first unrecoverable error Cylinder Low HOB 1 LBA 39 32 of the address of the first unrecoverable error Cylinder High HOB 0 LBA 23 16 of the address of the first unrecoverable error Cylinder High HOB 1 LBA 47 40 of the address of the first unrecoverable error CCTO Error bit 0 CCTO bit shall be set to one if a Command Completion Time Limit Out error has occurred ...

Page 258: ...R V 0 0 V 0 V 0 V 0 V V 0 0 V Table 178 Write Stream PIO Command 3Bh This command writes from 1 to 65536 sectors as specified in the Sector Count register A sector count of 0 requests 65536 sectors If the Write Continuous bit is set to one the device shall not stop execution of the command due to errors If the WC bit is set to one and errors occur in the transfer or writing of the data the device ...

Page 259: ...d when set to one HSE bit4 HSE Handle Stream Error specifies that this command starts at the LBA of the last reported error for this stream so the device may attempt to continue its corresponding error recovery sequence where it left off earlier Stream ID bit 0 2 Stream ID specifies the stream being written The device shall operate according to the Stream ID set by the Write Stream command Feature...

Page 260: ...ble error Cylinder Low HOB 0 LBA 15 8 of the address of the first unrecoverable error Cylinder Low HOB 1 LBA 39 32 of the address of the first unrecoverable error Cylinder High HOB 0 LBA 23 16 of the address of the first unrecoverable error Cylinder High HOB 1 LBA 47 40 of the address of the first unrecoverable error CCTO Error bit 0 CCTO bit shall be set to one if a Command Completion Time Limit ...

Page 261: ...ctable sector is accessed via a read command the drive shall perform normal error recovery to the fullest extent and then set the UNC and ERR bits to indicate the sector is bad When the Feature field 7 0 contains a value of AAh the Write uncorrectable ext command shall cause the device to flag the specified sector as flagged uncorrectable Flagging a logical sector as uncorrectable shall cause the ...

Page 262: ...transferred high order bits 15 8 If zero is specified then 65 536 sectors will be transferred Sector Number Current LBA 7 0 Sector Number Previous LBA 31 24 Cylinder Low Current LBA 15 8 Cylinder Low Previous LBA 39 32 Cylinder High Current LBA 23 16 Cylinder High Previous LBA 47 40 Input Parameters From The Device Sector Number HOB 0 LBA 7 0 of the address of the first unrecoverable error Sector ...

Page 263: ... Register FIS to issue a command The host sets proper values in the registers and sends a Register FIS The host sets BSY 1 to the Status register 400 ns A Register FIS to report Command Complete The host sets BSY 1 to the Status Register The device sets the status of the command to the Status Register and sends a Register FIS to the host 30 sec PIO Data In command Device Busy after a Register FIS ...

Page 264: ...s a Register FIS The host sets BSY 1 to the Status Register 400 ns Table 181 Timeout Values Continued Command category is referred to 10 Command Protocol on page 104 The abbreviations ns us ms and sec mean nanoseconds microseconds milliseconds and seconds respectively We recommend that the host system executes Soft reset and then retries to issue the command if the host system timeout would occur ...

Page 265: ... 41h 177 Read Verify Sector s Ext 42h 179 Recalibrate 1xh 181 Security Disable Password F6h 182 Security Erase Prepare F3h 184 Security Erase Unit F4h 185 Security Freeze Lock F5h 187 Security Set Password F1h 188 Security Unlock F2h 190 Seek 7xh 192 193 Set Features Efh 194 Set Max F9h Set Max Freeze Lock Feature 04h 208 Set Max Lock Feature 02h 206 Set Max Set Password Feature 01h 205 Set Max Un...

Page 266: ...er Alternate Status Register 49 Command register 49 Cylinder High Register 49 Cylinder Low Register 50 Device Control Register 50 Device Head Register 52 Drive Address Register 51 Error Register 53 Features Register 54 Sector Count Register 54 Sector Number Register 54 Status Register 55 Register Initialization 57 RST 50 S Sector Addressing Mode 58 Security Mode Feature Set 63 SERV 55 Set Max ADDR...

Page 267: ...Hitachi hard disk drive specifications 267 ...

Reviews:

Related manuals for Deskstar 7K3000 HDS723015BLA642