background image

 

HITACHI Deskstar & CinemaStar 7K1000.B & Deskstar E7K1000 Hard Disk Drive specification 

67 

9.7

 

  Host Protected Area Feature 

Host  Protected  Area  Feature  is  to  provide  the  'protected  area'  which  can  not  be  accessed  via  conventional 
method.  This  'protected  area'  is  used  to  contain  critical  system  data  such  as  BIOS  or  system  management 
information. The contents of entire system main memory may also be dumped into 'protected area' to resume 
after system power off. 

The LBA/CYL changed by following command affects the Identify Device Information.   

The following set of commands is implemented for this function. 

Read Native Max ADDRESS

 

('F8'h) 

Set Max ADDRESS

 

('F9'h) 

 

9.7.1

 

Example for operation (In LBA mode) 

Assumptions: 

For better understanding, the following example uses actual values for LBA, size, etc. Since it is just an example, 
these values could be different. 

 

    Device characteristics 

      Capacity (native)

 

:

 

6,498,680,832

 

byte (6.4GB)

 

      Max LBA    (native)

 

:

 

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 capacity 
of 6.4GB besides flagged media defects not to be visible by system. 

2.     Preparing HDDs at system manufacturer 

  Special utility software is required to define the size of protected area and store the data into it. 
  The sequence is: 

   

Issue Read Native Max Address command to get the real device maximum LBA. Returned value shows 
that native device Maximum LBA is 12,692,735 (C1ACFFh) regardless of the current setting. 

   

Make  entire  device  be  accessible  including  the  protected  area  by  setting  device  Maximum  LBA  as 
12,692,735  (C1ACFFh)  via  Set  Max  Address  command.  The  option  could  be  either  nonvolatile  or 
volatile. 

    Test the sectors for protected area (LBA >=      12,289,536 (BB8600h)) if required. 

   

 

Summary of Contents for Deskstar 7K1000.B

Page 1: ...d disk drive Models HDT721016SLA380 HDT721025SLA380 HDT721025SLA360 HDT721032SLA380 HDT721032SLA360 HDT721050SLA380 HDT721050SLA360 HDT721064SLA380 HDT721064SLA360 HDT721075SLA380 HDT721075SLA360 HDT721010SLA360 HCT721016SLA380 HCT721025SLA380 HCT721032SLA380 HCT721050SLA380 HCT721064SLA380 HCT721010SLA360 HDE721050SLA330 HDE721064SLA330 HDE721075SLA330 HDE721010SLA330 ...

Page 2: ...eference to or information about Hitachi Global Storage Technologies 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 Global Storage Technologies intends to announce such Hitachi Global Storage Technologies products programming or services in your country Technical information abo...

Page 3: ... 6 3 DC power requirements 26 6 4 Reliability 29 6 5 Mechanical specifications 30 6 6 Vibration and shock 35 6 7 Acoustics 38 6 8 Identification labels 39 6 9 Safety 40 6 10 Electromagnetic compatibility 41 Part 2 Interface Specification 43 7 0 General 44 7 1 Introduction 44 7 2 Terminology 44 7 3 Deviations From Standard 45 8 0 Registers 46 8 1 Alternate Status Register 46 8 2 Command register 46...

Page 4: ...4 DMA Data In commands and DMA Data Out commands 102 10 5 First party DMA commands 103 11 0 Command Descriptions 104 11 1 Check Power Mode E5h 98h 108 11 2 Configure Stream 51h 109 11 3 Device Configuration Overlay B1h 111 11 4 Download Microcode 92h 115 11 5 Execute Device Diagnostic 90h 117 11 6 Flush Cache E7h 118 11 7 Flush Cache Ext EAh 119 11 8 Format Track 50h 120 11 9 Format Unit F7h 122 1...

Page 5: ...201 11 40 Set Multiple C6h 203 11 41 Sleep E6h 99h 204 11 42 SMART Function Set B0h 205 11 43 Standby E2h 96h 223 11 44 Standby Immediate E0h 94h 225 11 45 Write Buffer E8h 226 11 46 Write DMA Cah CBh 227 11 47 Write DMA FUA Ext 3Dh 229 11 48 Write DMA Ext 35h 231 11 49 Write FPDMA Queued 61h 233 11 50 Write Log Ext 3Fh 235 11 51 Write Multiple C5h 237 11 52 Write Multiple Ext 39h 239 11 53 Write ...

Page 6: ... Table 24 Random vibration PSD profile break points operating 35 Table 25 Random vibration PSD profile break points nonoperating 36 Table 26 Sinusoidal shock wave 36 Table 27 Rotational Shock 37 Table 28 Sound power levels 38 Table 29 Alternate Status Register 46 Table 30 Device Control Register 47 Table 31 Drive Address Register 48 Table 32 Device Head Register 49 Table 33 Error Register 50 Table...

Page 7: ...ce Configuration Overlay Data structure 114 Table 76 DCO error information definition 114 Table 77 Download Microcode Command 92h 115 Table 78 Execute Device Diagnostic Command 90h 117 Table 79 Flush Cache Command E7h 118 Table 80 Flush Cache Ext Command EAh 119 Table 81 Format Track Command 50h 120 Table 82 Format Unit Command F7h 122 Table 83 Identify Device Command ECh 123 Table 84 Identify dev...

Page 8: ... Table 129 Security Disable Password Command F6h 179 Table 130 Password Information for Security Disable Password command 180 Table 131 Security Erase Prepare Command F3h 181 Table 132 Security Erase Unit Command F4h 182 Table 133 Erase Unit Information 183 Table 134 Security Freeze Lock Command F5h 184 Table 135 Security Set Password Command F1h 185 Table 136 Security Set Password Information 186...

Page 9: ... 168 Write DMA Command Cah CBh 227 Table 169 Write DMA FUA Ext Command 3Dh 229 Table 170 Write DMA Ext Command 35h 231 Table 171 Write FPDMA Queued Command 61h 233 Table 172 Write Log Ext Command 3Fh 235 Table 173 Write Multiple Command C5h 237 Table 174 Write Multiple Ext Command 39h 239 Table 175 Write Multiple FUA Ext Command CEh 241 Table 176 Write Sector s Command 30h 31h 243 Table 177 Write ...

Page 10: ...re 4 Limits of temperature and humidity 25 Figure 5 Top and side views with breather hole location and mechanical dimensions 30 Figure 6 Bottom and side views with mounting hole locations 31 Figure 7 Mounting hole locations all dimensions are in mm 32 Figure 8 Connector locations 33 Figure 9 Initial Setting 62 Figure 10 Usual Operation 63 Figure 11 Password Lost 64 Figure 12 Seek overlap 69 Figure...

Page 11: ... the following model numbers Deskstar models HDT721016SLA380 160GB HDT721025SLA380 A360 250GB HDT721032SLA380 A360 320GB HDT721050SLA380 A360 500GB HDT721064SLA380 A360 640GB HDT721075SLA380 A360 750GB HDT721010SLA360 1TB CinemaStar models HCT721016SLA380 160GB HCT721025SLA380 250GB HCT721032SLA380 320GB HCT721050SLA380 500GB HCT721064SLA380 640GB HCT721010SLA360 1TB Deskstar E models HDE721050SLA...

Page 12: ...32 x 1024 bytes 64KB 64 x 1024 bytes 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 1 4 References Seri...

Page 13: ...hout Command Overhead Sector Buffer size of 8192 KB 1D 2D 16384 KB 32768 KB 2D 3D Upper 1134 KB 8MB 1382 KB 16MB 1879 KB 32MB are used for firmware Ring buffer implementation Write Cache Native command queuing support Advanced ECC On The Fly EOF Automatic Error Recovery procedures for read and write commands Self Diagnostics on Power on and resident diagnostics Serial ATA Data Transfer 3Gbps CHS a...

Page 14: ...HITACHI Deskstar CinemaStar 7K1000 B Deskstar E7K1000 Hard Disk Drive specification 5 Part 1 Functional specification ...

Page 15: ...monitors error conditions of the servo and 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 Ventin...

Page 16: ...Track 2052 1728 Number of Heads 1 2 Number of Disks 1 1 Logical Layout 2 Number of Heads 16 16 Number of Sectors Track 63 63 Number of Cylinders 1 16 383 16 383 Number of Sectors 312 581 808 488 397 168 Total Logical Data Bytes 160 041 885 696 250 059 350 016 Table 1 Formatted capacity Description HDT721032SLAxxx HCT721032SLAxxx Physical Layout Label capacity GB 320 Bytes per Sector 512 Sectors pe...

Page 17: ...capacity GB 750 1000 Bytes per Sector 512 512 Sectors per Track 1728 2052 Number of Heads 6 6 Number of Disks 3 3 Logical Layout 2 Number of Heads 16 16 Number of Sectors Track 63 63 Number of Cylinders 1 16 383 16 383 Number of Sectors 1 465 149 168 1 953 525 168 Total Logical Data Bytes 750 156 374 016 1 000 204 886 016 Table 4 Formatted capacity Continued Notes 1 Number of cylinders For drives ...

Page 18: ...TB Model Organization Hitachi GST Manufacturing Site Hitachi GST China Plant China GSP ExcelStar Plant China Product Saturn Deskstar 7K1000 B CinemaStar 7K1000 B Deskstar E7K1000 OUI 000CCAh SHBU Block Assignment 345h 346h 347h 348h 349h Port Node ID 11b Table 6 World Wide Name Assignment 4 4 Drive organization 4 4 1 Drive Format Upon shipment from Hitachi Global Storage Technologies manufacturing...

Page 19: ...e system throughput which depends on the system and the application 4 5 1 Command overhead Command overhead is defined as the time required from the time the command is written into the command register by a host to the assertion of DRQ for the first data byte of a READ command when the requested data is not in the buffer excluding Physical seek time and Latency The table below gives average comma...

Page 20: ...6 Seek time is measured from the start of the motion of the actuator to the start of a reliable read or write operation Reliable read or write implies that error correction recovery is not used to correct arrival problems The average seek time is measured as the weighted average of all possible seek combinations max max 1 n Tnin Tnout n 1 Weighted Average __________________________________________...

Page 21: ...witch in both directions inward and outward 4 5 2 4 Average latency Rotational speed Time for a revolution ms Average latency ms 7200 RPM 8 3 4 17 Table 11 Latency Time 4 5 3 Drive ready time Power on to ready Typical sec Maximum sec 1D model 8 20 2D model 10 20 3D model 14 20 Table 12 Drive ready time Ready The condition in which the drive is able to perform a media access command such as read wr...

Page 22: ...tor is unloaded and spindle motor is stopped Only soft reset or hard reset 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 Transition time typical sec Transition time max sec Standby Idle 0 7200 3 disks 10 20 Idle Standby 7200...

Page 23: ...is calculated by an internally maintained table 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 calculati...

Page 24: ...ication 6 1 Electrical interface 6 1 1 Connector location Refer to the following illustration to see the location of the connectors SATA Figure 2 Connector location 2 and 3 disk model shown 6 1 1 1 signal connector The SATA signal connector is a 8 pin connector Power connector is a 15 pin connector ...

Page 25: ...ED activity 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 14 Interface connector pins and I O signals 6 1 2 1 TX TX These signal are the outbound high speed differrential signals that are connected to the serial ATA cable 6 1 2 2 RX RX These signals are the inbound high speed differential signals that are connected to the se...

Page 26: ...eak on each 12 V pre charge pin R 5 Ohms 5 Vdc power that is available on the extended pins This is used for pre charging the I O module The enclosure shall provide for a current limit of 4 5 A peak on each 5V pre charge pin R 1 1 Ohms These signals are the inbound high speed differential signals that are connected to the serial ATA cable ...

Page 27: ...23 6 1 3 Out of band signaling SATA C O M RESET C O 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 ALINE primitives 106 7 t2 Spacing 320 t3 ALIGN primitives 106 7 t4 Psacing 106 7 Table 15 Parameter descriptions ...

Page 28: ...umidity 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 16 Temperature and humidity Notes 1 The system is responsible for providing sufficient ventilation to maintain a surface temperature as below at the center of the top cover of the drive Lower duty cycle AV streaming application usage 70 C ...

Page 29: ...ment Specification Wet Bulb 29 4C Wet Bulb 35C 36C 95 31C 90 60C 10 70C 11 Non operating Operating Figure 4 Limits of temperature and humidity Note Storage temperature range is 0 to 70 C 6 2 2 Corrosion test The drive shows no sign of corrosion inside and outside of the hard disk assembly and is functional after being subjected to seven days at 50 C with 90 relative humidity ...

Page 30: ...e to the drive electronics power supply voltage spikes must not exceed specifications 6 3 2 Power supply current typical Power supply current of 3 Disk SATA models 5 Volts mA 12 Volts mA Total W values in milliamps RMS Pop Mean Std Dev Pop Mean Std Dev Idle average 210 5 340 10 5 2 Idle ripple peak to peak 200 10 300 10 Low RPM idle 140 5 140 10 2 4 Low RPM idle ripple 100 10 250 10 Unload idle av...

Page 31: ...average 130 5 8 3 0 7 Table 19 Power supply current of 2 Disk SATA models Except for a peak of less than 100 s duration 1 Random R W 40 IOPS 16 Blocks Random Write and Random Read Power supply current of 1 Disk SATA models 5 Volts mA 12 Volts mA Total W values in milliamps RMS Pop Mean Std Dev Pop Mean Std Dev Idle average 230 5 200 10 3 6 Idle ripple peak to peak 200 10 300 10 Low RPM Idle 170 5 ...

Page 32: ...veral drives is daisy 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 s...

Page 33: ...nload is invoked by transition 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...

Page 34: ...7K1000 B Deskstar E7K1000 Hard Disk Drive specification 30 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: ...ve specification 31 Figure 6 Bottom and side views with mounting hole locations All dimensions in the above 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 ...

Page 36: ... MAX 101 6 0 25 147 MAX 400 MAX 680 MAX Table 22 Physical Dimensions 6 5 2 Hole locations The mounting hole location and size 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 d...

Page 37: ...HITACHI Deskstar CinemaStar 7K1000 B Deskstar E7K1000 Hard Disk Drive specification 33 6 5 3 Connector locations Figure 8 Connector locations ...

Page 38: ...pindle rotation using 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 actuat...

Page 39: ...vibration Linear The drive will meet the criteria shown below while operating in the specified conditions No errors occur with 0 5 G 0 to peak 5 to 300 to 5 Hz sine wave 0 5 oct min sweep rate with 3 minute dwells at two major resonances No data loss occurs with 1 G 0 to peak 5 to 300 to 5 Hz sine wave 0 5 oct min sweep rate with 3 minute dwells at two major resonances 6 6 1 3 Random vibration Rot...

Page 40: ...ock pulse of 11 ms duration in all models No data loss occurs with a 30 G half sine shock pulse of 4 ms duration in all models No data loss occurs with a 70 G half sine shock pulse of 2 ms duration 6 6 4 Nonoperating shock The drive will operate with no degradation of performance after being subjected to shock pulses with the following characteristics 6 6 4 1 Trapezoidal shock wave Approximate squ...

Page 41: ... 7K1000 B Deskstar E7K1000 Hard Disk Drive specification 37 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 26 Rotational Shock ...

Page 42: ...2 7 2 4 2 5 2 7 2 8 Operating Performance seek mode N A 2 9 3 1 3 1 3 3 Quiet seek mode 2 7 3 0 2 5 2 7 2 8 3 0 Generic version Typical only No MAX specification Table 27 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...

Page 43: ...ining the Hitachi logo the Hitachi Global Storage Technologies 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 A bar code label containing the drive serial numbe...

Page 44: ...internal devices such as this product 6 9 3 Flammability The printed circuit 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 hand...

Page 45: ... to be in conformity 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 dis...

Page 46: ......

Page 47: ...HITACHI Deskstar CinemaStar 7K1000 B Deskstar E7K1000 Hard Disk Drive specification 43 Part 2 Interface Specification ...

Page 48: ...y0 and HDE7210xxSLA3y0 The interface conforms to the following working documents of Information technology with certain limitations described in the chapter 7 3 Deviations from Standard on page 45 Serial ATA II Extensions to Serial ATA Revision 2 6 7 2 Terminology Device Device indicates HDT7210xxSLA3y0 HCT7210xxSLA3y0 HDE7210xxSLA3y0 Host Host indicates the system that the device is attached to ...

Page 49: ...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 For HCT7210xxSLA3y0 the minimum CCTL is 100ms Er...

Page 50: ...t acknowledge or clear a pending interrupt See 8 13 Status Register on the page 52 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 67 Command Set on page 104 All other registers required for the command must be s...

Page 51: ...Identify Device command All data transfers are 16 bits wide except for ECC byte transfers which are 8 bits wide Data transfers are PIO only The register contains valid data only when DRQ 1 in the Status Register 8 6 Device Control Register Device Control Register 7 6 5 4 3 2 1 0 HOB 1 SRST IEN 0 Table 29 Device Control Register Bit Definitions HOB HOB high order byte is defined by the 48 bit Addre...

Page 52: ...s HIZ High Impedance This 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 sla...

Page 53: ... 0 addressing is by CHS 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 ...

Page 54: ...is register contains a diagnostic code See 0 on page 55 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...

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

Page 56: ...ich time RDY is set back 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...

Page 57: ...HITACHI Deskstar CinemaStar 7K1000 B Deskstar E7K1000 Hard Disk Drive specification 53 ...

Page 58: ...eset Aborting Host interface 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 ...

Page 59: ...r values are initialized as shown in Table 35 Code Description 01h No error Detected 02h Formatter device error 03h Sector buffer error 04h ECC circuitry error 05h Controller microprocessor error Table 36 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 36 9 2 Diagnostic and Reset consi...

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

Page 61: ...e 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 and Standby Immediate commands move a d...

Page 62: ...ation 58 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 37 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 63: ...ute values is from 1 to 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 thre...

Page 64: ...ese reported errors The 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 in...

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

Page 66: ...d then the device is locked 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 ...

Page 67: ...completed POR Device Locked 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 Complet...

Page 68: ...ormal operation Erase 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 ...

Page 69: ...able Executable Read DMA 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...

Page 70: ...table Executable SMART 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 Exec...

Page 71: ...e 6 4GB Max LBA native 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 te...

Page 72: ... not make the protected 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...

Page 73: ...eration plus one pre and post overhead When the number of seeks is large this just one overhead can be ignored 9 9 Write Cache Function Write cache is a performance enhancement whereby the device reports as completing the write command Write Sector s Write Multiple and Write DMA to the host as soon as the device has received all of the data into its buffer And the device assumes responsibility to ...

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

Page 75: ...is enabled or disabled the device needs the Set Features command to spin up into active state 9 12 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 a...

Page 76: ...s around so that the entire disk drive address space remains addressable in offset mode Max LBA in offset mode is set to the end of the system reserved area to protect the data in the user area when operating in offset mode The Max LBA can be changed by an Set Max Address command to access the But any commands which access sectors across the original native maximum LBA are rejected with error even...

Page 77: ...addressable If a non volatile protected area has not been established before the device receives a Set Features Enable Address Offset Mode command the command fails with Abort error status Disable Address Offset Feature removes the address offset and sets the size of the drive reported by the Identify Device command back to the size specified in the last non volatile Set Max Address command Non Ac...

Page 78: ... Address Ext Read Sector s Ext Read Verify Sector s Ext Set Max Address Ext Write DMA Ext Write DMA FUA Ext Write FPDMA Queued Write Multiple Ext Write Multiple FUA Ext Write Sector s Ext Write Uncorrectable Ext The 48 bit Address feature set operates in LBA addressing only Devices also implement commands using 28 bit addressing and 28 bit and 48 bit commands may be intermixed In a device the Feat...

Page 79: ...data integrity critical 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 ...

Page 80: ...nd Completion Time Limit even if an error occurs The data sent to the host by the device in an error condition is vendor specific 9 16 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 secti...

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

Page 82: ...0 3 Phy Event Counters Phy Event Counters are an optional feature to obtain more information about Phy level events that occur on the interface This information may aid designers and integrators in testing and evaluating the quality of the interface A device indicates whether it supports the Phy event counters feature in IDENTIFY PACKET DEVICE Word 76 bit 10 The host determines the current values ...

Page 83: ...om the host Bits 14 12 of the counter identifier convey the number of significant bits that counter uses All counter values consume a multiple of 16 bits The valid values for bits 14 12 and the corresponding counter sizes are 1h 16 bit counter 2h 32 bit counter 3h 48 bit counter 4h 64 bit counter Any counter that has an identifier with bit 15 set to one is vendor specific This creates a vendor spe...

Page 84: ...rface power management transitions 9 20 3 2 1 4 Identifier 00Ah The counter with identifier 00Ah returns the number of transmitted Device to Host Register FISes with the device reset signature in response to a COMRESET which were successfully followed by an R_OK from the host 9 20 3 2 1 5 Identifier 00Bh The counter with identifier 00Bh returns the number of received Host to Device FISes of all ty...

Page 85: ...s 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 physically implemented as 8 bits when it reaches the maximum value of 0xFF it shall be one extended to 0xFFFF The counter shall stop and not wrap to zero after reaching its maximum value Counter n Length Size of the Phy event counter as defin...

Page 86: ... should 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 21 1 2 Capability definition Capability Identification is performed by issuing I...

Page 87: ... Log commands Furthermore any reset power on software or hardware will cause the SCT command to be aborted 9 21 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...

Page 88: ... Cylinder Low Number of 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 45 Input Registers of SCT Command Using SMART 9 21 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 Cou...

Page 89: ...B HOB 1 Reserved HOB 1 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 pr...

Page 90: ...Function Code 1 This 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 48 Key Sector Format The action codes are defined in Table below Action Code Block Data TF Data Description 0000h Reserved 0001h Read Write Y...

Page 91: ...nated because of unrecoverable 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...

Page 92: ...ctors to be transferred Sector Number E1h Cylinder Low 4Fh Cylinder High C2h Device Head D Command B0h Table 51 Input Registers of SCT Data Transfer Using SMART 9 21 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 ...

Page 93: ...he host is allowing to 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 21 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 53...

Page 94: ...g in background 17 16 Word 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...

Page 95: ...e recorded temperature 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 55 Data Format ...

Page 96: ...gment Access 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 57 LBA Segment Access Outputs The LBA Segment Access command will begin writing sectors from Start LBA in incrementing order until...

Page 97: ...hange the Segment Initialized Flag If the command writes all the user addressable sectors and completes without encountering an error or being aborted then the Segment Initialized Flag bit 0 of the Status Flags in the SCT Status See0 shall be set to 1 A write to any user addressable sector on the drive except another complete write all shall cause the Segment Initialized Flag to be cleared Realloc...

Page 98: ...t will be less than FFFFh and grater the 0000h if the command terminated prematurely for any reason Possible Extended Status Code for Background Operation Function code 0001h 0002h 0008h Background SCT command was aborted because of an interrupting host command 0009h Background SCT command was terminated because of unrecoverable error FFFFh SCT command executing in background Implementation note f...

Page 99: ...h Sector Count If Function 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 59 Error Recovery Control command Onputs The Error Recovery Co...

Page 100: ...o be preserved across 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 60 Feature Control command Inputs Outputs TF Data Command Block Input Registers Success Error 00h Sector Count If Function Code was 0002h then this i...

Page 101: ... the Identify Device information 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 ...

Page 102: ...rved 0000h Table 63 SCT 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 64 SCT Data Table command Outputs Table ID Description 0000h Invalid 0001h Reserved 0002h HDA Temper...

Page 103: ...t number that allows a 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 ...

Page 104: ...ntries in the queue may 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 t...

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

Page 106: ...che 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 Attribute Au...

Page 107: ...y 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 preference shall...

Page 108: ... 0 1 3 Initialize Device 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 ...

Page 109: ...0 0 3 SMART Enable Disable 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...

Page 110: ...ent EF 05 Enable Power up in Standby Feature Set EF 06 Power up in Standby Feature Set Device Spin up EF 07 Enable Address Offset Mode EF 09 Enable Automatic Acoustic Management EF 42 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 Disable Address Offse...

Page 111: ... This bit is used by Set 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...

Page 112: ...ice Head 1 1 D Device 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 70 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 T...

Page 113: ...HOB 0 Previous HOB 1 Device Head 1 1 1 D Device Head Command 0 1 0 1 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 SE DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 V 0 V Table 71 Configure Stream Command 51h The Configure Stream command specifies the operating parameters of an individual stream A Configure Stream command may...

Page 114: ...a value between 0 and 7 Feature Previous The default Command Completion Time Limit 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 ...

Page 115: ... V 0 0 V V 0 V V Table 72 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 Reserv...

Page 116: ...evice Configuration Set 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 Identi...

Page 117: ...eserved 14 0 Reserved 13 0 Reserved 12 1 SMART Selective self test 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 1 Automatic acoustic management supported 5 1 Read Write DMA Queued commands supported 4 1 Power up in Standby feature set supported 3 1 S...

Page 118: ...ed arithmetic and overflow is ignored The sum of 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 di...

Page 119: ...eters To The Device Feature Subcommand code 03h Download and save microcode with offsets 07h Download and save microcode Other values are reserved Sector Count Lower byte of 16 bit sector count value to transfer from the host 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 d...

Page 120: ... starting location in the 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 M...

Page 121: ...er High Device Head 1 1 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 77 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 E...

Page 122: ...r Number Sector Number 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 78 Flush Cache Command E7h This command causes the device to complete writing data from its cach...

Page 123: ...ber Current Sector Number 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 79 Flush Cache Ext...

Page 124: ...0N AMN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V Table 80 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 wi...

Page 125: ... head number of the track to be formatted L 0 In LBA mode this register specifies LBA address bits 24 27 to be formatted L 1 Input Parameters From The Device 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 bi...

Page 126: ...ation Both new reassign 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...

Page 127: ... Cylinder Low Cylinder 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 82 Identify Device Command ECh The Identify Device command requests the device to transfer configuration information to ...

Page 128: ...te 03 00xxH Number 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...

Page 129: ...1 1 Word 54 58 are Valid 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...

Page 130: ...tive Command Queuing supported 7 3 0 Reserved 2 x SATA Gen 2 speed 3 0Gbps supported 1 1 SATA Gen 1 speed 1 5Gbps supported 0 0 Reserved 77 0000H Reserved 78 005EH SATA supported features 15 7 0 Reserved 6 1 Software setting preservation 5 0 Reserved 4 1 In order data delivery 3 1 Device initiated interface power management 2 1 DMA Setup Auto Activate optimization 1 1 Non zero buffer offset in DMA...

Page 131: ... 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 Table 86 Identify device information Continued ...

Page 132: ... 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 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 Stream...

Page 133: ...Power Management Feature set 2 CFA Feature 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 suppo...

Page 134: ...Active 9 Mode 1 1 Active 0 Not Active 8 Mode 0 1 Active 0 Not Active 7 0 7F Ultra DMA transfer mode supported 7 Reserved 0 6 Mode 6 1 Support 5 Mode 5 1 Support 4 Mode 4 1 Support 3 Mode 3 1 Support 2 Mode 2 1 Support 1 Mode 1 1 Support 0 Mode 0 1 Support 89 xxxxH Time required for security erase unit completion Time value xxxxh 2 minutes 90 0000H Time required for Enhanced security erase completi...

Page 135: ...ed in streaming commands The unit of time for this parameter shall be in microseconds e g ad value of 10000 indicates 10 ms 100 103 xxxxH Maximum user LBA address for 48 bit Address feature set 104 xxxxH Streaming Transfer Time PIO The worst case sustainable transfer time per sector for the device is calculated as follows Streaming Transfer Time word 104 words 99 98 65536 If the Streaming Feature ...

Page 136: ...abled 1 Enable 1 Read Look ahead enabled 1 Enable 0 Write Cache enabled 1 Enable 130 159 xxxxH Reserved 160 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 Features Control 1 Support 3 Action Code 3 Error Recovery Control 1 Support 2 Action Code ...

Page 137: ... 0000H Not supported 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 Rese...

Page 138: ...mand 1 1 1 0 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 93 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 i...

Page 139: ...bled and the timeout interval is shown below Value Timeout 0 Timer disabled 1 240 Value 5 241 251 Value 240 30 minutes 252 21 minutes 253 8 hours 254 21 minutes 10 seconds 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 reinitia...

Page 140: ... Device Head Command 1 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 94 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 seque...

Page 141: ...rameters command enables the host to set the number of sectors per track and the number of heads minus 1 per cylinder Words 54 58 in Identify Device Information 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 Ou...

Page 142: ...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 0 0 0 0 V 0 0 0 V 0 0 V Table 96 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 w...

Page 143: ... 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 V V 0 V 0 V 0 0 0 V 0 V 0 V Table 97 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 ti...

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

Page 145: ...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 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 98 Read DMA Ext Command 25h The Read DMA command reads one or more sectors of data from disk media an...

Page 146: ...A 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 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 Cy...

Page 147: ...V V V Cylinder Low Current 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 AB...

Page 148: ...b High priority 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 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 s...

Page 149: ...V V V V V V V HOB 1 Sector 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 B...

Page 150: ...ART self test log SMART self test See Note 07h Extended SMART self test log SMART self test 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 If log ad...

Page 151: ...rs in the log at log address 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 Num...

Page 152: ...nt 2 1F4h Reserved 9 1F6h Data structure checksum 1 1FFh 512 Table 103 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 E...

Page 153: ...ice Control register 1 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...

Page 154: ...ice Head register 1 0Ah 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 106 Error data structure State shall...

Page 155: ...test log data structure on page 220 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 ...

Page 156: ...s shown below Description Bytes Offset Self test number 1 00h Self test execution status 1 01h Power on life timestamp in hours 2 02h Self test failure check point 1 04h Failing LBA 7 0 1 05h Failing LBA 15 8 1 06h Failing LBA 23 16 1 07h Failing LBA 31 24 1 08h Failing LBA 39 32 1 09h Failing LBA 47 40 1 0Ah Vendor specific 15 0Bh 26 Table 108 Extended Self test log descriptor entry ...

Page 157: ...ecksum Table 109 Command 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 ...

Page 158: ...ors are represented by 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...

Page 159: ...ure Register Contents Value 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 111 Stream Error Log entry Byte 1 0 contains the contents of the Feature Register when the error occurr...

Page 160: ...of a Read Log Ext command 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...

Page 161: ...meters log version 2 K 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 113 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 se...

Page 162: ...gh 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 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 117 Read Multiple Command C4h The Read Multiple command reads one or more sectors of data from disk media and then transfers the data fr...

Page 163: ...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 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 118 Read Multiple Ex...

Page 164: ...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 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 unrecoverab...

Page 165: ...MN BSY RDY DF DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 119 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...

Page 166: ...r Number HOB 0 V V V V V V V V Previous HOB 1 V V V V V V V V Cylinder Low Current Cylinder Low HOB 0 V V V V V V V V Previous HOB 1 V V V V V V V V Cylinder High Current Cylinder High HOB 0 V V V V V V V V Previous 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 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 AM...

Page 167: ... Native max address Sector Number HOB 1 LBA 31 24 of the address of the Native max address Cylinder Low HOB 0 LBA 15 8 of the address of the Native max address Cylinder Low HOB 1 LBA 39 32 of the address of the Native max address Cylinder High HOB 0 LBA 23 16 of the address of the Native max address Cylinder High HOB 1 LBA 47 40 of the address of the Native max address ...

Page 168: ... V V V Cylinder High V 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 121 Read Sector s Command 20h 21h The Read Sector s command reads one or more sectors of...

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

Page 170: ...nder 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 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 ...

Page 171: ...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 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 unrecoverab...

Page 172: ... 0000h in the Sector Count 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 ...

Page 173: ...ed 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 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 Ti...

Page 174: ...urred SE Status bit 5 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 c...

Page 175: ...ister 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 The SE bit shall be set to one if the data transferred includes erro...

Page 176: ...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 Feature register Previous Identify Device words 99 98 microseconds If the value i...

Page 177: ...curred 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 a UNC IDNF ABRT or CCTO error occurs the SE bit shall b...

Page 178: ...h V 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 125 Read Verify Sector s Command 40h 41h The Read Verify Sector s verifies one or more sectors on the devic...

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

Page 180: ...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 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 126...

Page 181: ...ous 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 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 er...

Page 182: ...ector Number Cylinder Low 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 127 Recalibrate Command 1xh The Recalibrate command moves the read write heads from anywhere on the disk to cylind...

Page 183: ...0 0 0 V 0 0 0 V 0 V 0 V Table 128 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 127 on the page 178 Then the device checks the transferred password If the User Password or Ma...

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

Page 185: ... D Device Head Command 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 130 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 Secur...

Page 186: ...T 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 131 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 co...

Page 187: ...ration At this time it is not verified with read operation whether the sector of data is initialized correctly Also the defective sector information and the reassigned sector information for the device are not updated The security erase prepare command should be completed immediately prior to the Security Erase Unit command If the device receives a Security Erase Unit command without a prior Secur...

Page 188: ...ow 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 133 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 mo...

Page 189: ... DSC DRQ COR IDX ERR 0 0 0 0 0 V 0 0 0 V 0 0 V Table 134 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 MAS...

Page 190: ...ENTIFY DEVICE word 92 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 mo...

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

Page 192: ... Table 137 Security Unlock Information Identifier Zero indicates that device regards Password as User Password One indicates that device regards Password as Master Password The user can detect if the attempt to unlock the device has failed due to a mismatched password as this is the only reason that an abort error will be returned by the file AFTER the password information has been sent to the dev...

Page 193: ...RQ COR IDX ERR 0 0 0 V 0 V 0 0 0 V 0 V 0 V Table 138 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 mod...

Page 194: ...inder 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 Table 139 Set Features Command EFh The Set Feature command is to establish the following parameters which affect the execution of ...

Page 195: ...H Enable Automatic Acoustic Management 43H Set Maximum Host Interface Sector Time 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 89H Disable Address Offset mode 90H Disable use of Serial ATA feature AAH Enable read look ahead feature C2H Disable Automatic Acoustic Mana...

Page 196: ...Feature register is set to 10h or 90h the value set to the Sector Count register specifies the specific Serial ATA feature to enable or disable Sector Count Value Description 01h Non zero buffer offset in DMA Setup FIS 02h DMA Setup FIS Auto Activate optimization 03h Device initiated interface power state transitions 04h Guaranteed In Order Data Delivery 06h Software Settings Preservation 11 37 4 ...

Page 197: ...1h and 3Fh 120 Y1 435 sec default 120 sec Y2 600 sec where x is the value in Sector Count register y1 is the idle time to Low Power Idle mode and y2 is the idle time to Low RPM standby mode If Low power idle mode has already been enabled i e y1 has been set before Low RPM standby mode is enabled y1 is preserved If Low power idle mode is disabled i e y1 has not been set yet y1 becomes 120 sec when ...

Page 198: ...Management FF Aborted C0 Feh Set to Normal Seek mode 80 BFh Set to Quiet Seek mode 00 7Fh Aborted The device preserves enabling or disabling of Automatic Acoustic Management and the current Automatic Acoustic Management level setting across all forms of reset i e Power on Hardware and Software Resets 11 37 6 Set Maximum Host Interface Sector Time Sector Count Typical PIO Mode Host Interface Sector...

Page 199: ...9h The device regards as Set Max Address command if this command is immediately preceded by a Read Native Max Address command The device receives this command without a prior Read Native Max Address command the device regards as Set Max security extensions command according to feature register value Valid features values are as follows 1 01h indicates Set Max Set Password command 2 02h indicates S...

Page 200: ...Output Parameters To The Device B Option bit for selection whether nonvolatile or volatile B 0 is volatile condition When B 1 MAX Address which is set by Set Max Address command is preserved by POR When B 0 MAX Address which is set by Set Max Address command will be lost by POR B 1 is not valid when the device is in Address Offset mode Sector Number In LBA mode this register contains LBA bits 0 7 ...

Page 201: ...rror 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 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...

Page 202: ...ommand 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 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 ...

Page 203: ...RR 0 0 0 0 0 V 0 0 0 V 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 197 with the stored SET MAX password If the password compare fails then the device r...

Page 204: ...ice Head 1 1 D Command 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 th...

Page 205: ... V HOB 1 V V V V V V V 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 nu...

Page 206: ... next power on or hardware reset Output Parameters To The Device B Option bit for selection whether nonvolatile or volatile B 0 is volatile condition When B 1 MAX Address which is set by Set Max Address Ext command is preserved by POR When B 0 MAX Address which is set by Set Max Address Ext command will be lost by POR B 1 is not valid when the device is in Address Offset mode Sector Number Current...

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

Page 208: ...r High Cylinder High Device 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...

Page 209: ... Device Head 1 1 D Device 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 ...

Page 210: ...holds information to the host 11 42 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 ...

Page 211: ...f line mode 127 Abort 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 d...

Page 212: ...access to all SMART capabilities 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...

Page 213: ...ble Disable Automatic Off 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 o...

Page 214: ...execution status 1 16Bh 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 1...

Page 215: ...ata Structure Attribute 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 ...

Page 216: ...d 0 Normalized Values The device will perform conversion of the raw Attribute Values to transform them into normalized values which the host can then compare with the Threshold values A Threshold is the excursion limit for a normalized Attribute Value 11 42 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...

Page 217: ... Activity This field tells the host how many seconds the device requires completing the off line data collection activity 11 42 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 implemente...

Page 218: ... a power saving mode Standby 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 42 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 42 2 9 Self test failure check point This byte indicates the section of self test whe...

Page 219: ...53 Device Attribute Thresholds Data Structure 11 42 3 1 Data Structure Revision Number This value is the same as the value used in the Device Attributes Values Data Structure 11 42 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 Thr...

Page 220: ...ined as one sector long 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 8...

Page 221: ... 1 01h 1 st error log data structure 90 02h 2 nd error log data structure 90 5Ch 3 rd error log data structure 90 B6h 4 th error log data 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 42 5 1 SMART error log version This value is set to 01h 11 42 5 2 Error log index Th...

Page 222: ...g data structure 12 24h 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...

Page 223: ...der Low register 1 04h 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...

Page 224: ...check point 1 n 18h 06h 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 ...

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

Page 226: ...to the Cylinder High and 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 unabl...

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

Page 228: ...d and the timeout interval is shown blow Value Timeout 0 Timer disabled 1 240 Value 5 seconds 241 251 Value 240 30 minutes 252 21 minutes 253 8 hours 254 21 minutes 10 seconds 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 rein...

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

Page 230: ... D Device Head Command 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 Registe...

Page 231: ...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 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 b...

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

Page 233: ...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 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 W...

Page 234: ...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 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 unrecoverab...

Page 235: ... 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 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 th...

Page 236: ...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 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 unrecoverab...

Page 237: ...ylinder Low Current 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 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...

Page 238: ...priority 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 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 t...

Page 239: ...r 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 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 ...

Page 240: ...vice starting at the first 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 1...

Page 241: ...h 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 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 ...

Page 242: ...BA bits 8 15 Low 16 23 High L 1 H The head number of the first sector to be transferred L 0 In LBA mode this register contains LBA bits 24 27 L 1 Input Parameters From The Device Sector Count The number of requested sectors not transferred This will be zero unless an unrecoverable error occurs Sector Number The sector number of the last transferred sector L 0 In LBA mode this register contains cur...

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

Page 244: ...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 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 unrecoverab...

Page 245: ...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 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 the...

Page 246: ...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 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 unrecoverab...

Page 247: ...V V V Cylinder High V 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 secto...

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

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

Page 250: ... 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 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 Cylind...

Page 251: ...eam DMA Command 3Ah The 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...

Page 252: ...dle 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 Previous CCTL 7 0 The time allowe...

Page 253: ... 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 Out error has occurred ...

Page 254: ... SE DWE DRQ COR IDX ERR 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 o...

Page 255: ...nd complete is reported 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 ...

Page 256: ...f 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 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 ...

Page 257: ...enever a pseudo uncorrectable 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 uncorre...

Page 258: ...tinuous sectors to be 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 unrec...

Page 259: ...HITACHI Deskstar CinemaStar 7K1000 B Deskstar E7K1000 Hard Disk Drive specification 255 ...

Page 260: ...and Device Busy after a 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 Bus...

Page 261: ...he registers and sends 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 0 Command Protocol on page 101 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 syst...

Page 262: ...tor s Ext 24h 166 Read Stream DMA 2Ah 168 Read Stream PIO 2Bh 171 Read Verify Sector s 40h 41h 174 Read Verify Sector s Ext 42h 176 Recalibrate 1xh 178 Security Disable Password F6h 179 Security Erase Prepare F3h 181 Security Erase Unit F4h 182 Security Freeze Lock F5h 184 Security Set Password F1h 185 Security Unlock F2h 187 Seek 7xh 189 Set Features Efh 190 Set Max F9h Set Max Freeze Lock Featur...

Page 263: ...bit 76 Read Native Max ADDRESS 67 Reassign Function 70 Register Alternate Status Register 46 Command register 46 Cylinder High Register 46 Cylinder Low Register 46 Data Register 47 Device Control Register 47 Device Head Register 49 Drive Address Register 48 Error Register 50 Features Register 51 Sector Count Register 51 Sector Number Register 51 Status Register 52 Register Initialization 55 RST 47...

Page 264: ...HITACHI Deskstar CinemaStar 7K1000 B Deskstar E7K1000 Hard Disk Drive specification 260 W Write Cache Function 69 Write Continuous bit 76 WTG 48 ...

Reviews: