Table of Contents

Advertisement

Quick Links

C141-E244-01EN
MHV2200BT, MHV2160BT
DISK DRIVES
PRODUCT MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Fujitsu MHV2200BT

  • Page 1 C141-E244-01EN MHV2200BT, MHV2160BT DISK DRIVES PRODUCT MANUAL...
  • Page 2 "Important Alert Items" in this manual. Keep this manual handy, and keep it carefully. FUJITSU makes every effort to prevent users and bystanders from being injured or from suffering damage to their property. Use the product according to this manual.
  • Page 3: Revision History

    Revision History (1/1) Revised section (*1) Edition Date Details (Added/Deleted/Altered) 2006-04-24 — — *1 Section(s) with asterisk (*) refer to the previous edition when those were deleted. C141-E244...
  • Page 4 This page is intentionally left blank.
  • Page 5: Chapter 6 Operations

    Preface This manual describes MHV2200BT and MHV2160BT model of the MHV Series, 2.5-inch hard disk drives. These drives have a built-in controller that is compatible with the Serial-ATA interface. This manual describes the specifications and functions of the drives and explains in detail how to incorporate the drives into user systems.
  • Page 6: Operating Environment

    Preface Conventions for Alert Messages This manual uses the following conventions to show the alert messages. An alert message consists of an alert signal and alert statements. The alert signal consists of an alert symbol and a signal word or just a signal word. The following are the alert signals and their meanings: This indicates a hazardous situation could result in minor or moderate personal injury if the user does...
  • Page 7 "Disk drive defects" refers to defects that involve adjustment, repair, or replacement. Fujitsu is not liable for any other disk drive defects, such as those caused by user misoperation or mishandling, inappropriate operating environments, defects in the power supply or cable, problems of the host system, or other causes outside the disk drive.
  • Page 8 This page is intentionally left blank.
  • Page 9: Important Alert Items

    Important Alert Items Important Alert Messages The important alert messages in this manual are as follows: A hazardous situation could result in minor or moderate personal injury if the user does not perform the procedure correctly. Also, damage to the product or other property, may occur if the user does not perform the procedure correctly.
  • Page 10 This page is intentionally left blank.
  • Page 11: Manual Organization

    Manual Organization • Device Overview MHV2200BT, MHV2160BT • Device Configuration DISK DRIVES • Installation Conditions PRODUCT MANUAL • Theory of Device Operation (C141-E244) • Interface • Operations <This manual> • Maintenance and Diagnosis MHV2200BT, MHV2160BT • Removal and Replacement Procedure...
  • Page 12 This page is intentionally left blank.
  • Page 13: Table Of Contents

    Contents CHAPTER 1 Device Overview ............... 1-1 1.1 Features ......................1-2 1.1.1 Functions and performance..............1-2 1.1.2 Adaptability ..................1-2 1.1.3 Interface ....................1-3 1.2 Device Specifications..................1-4 1.2.1 Specifications summary................ 1-4 1.2.2 Model and product number..............1-5 1.3 Power Requirements ..................1-6 1.4 Environmental Specifications ................
  • Page 14 Contents 2.2 System Configuration..................2-3 2.2.1 SATA interface ..................2-3 2.2.2 Drive connection ...................2-3 CHAPTER 3 Installation Conditions.............. 3-1 3.1 Dimensions......................3-2 3.2 Mounting ......................3-3 3.3 Connections with Host System .................3-8 3.3.1 Device connector...................3-8 3.3.2 Signal segment and power supply segment ..........3-9 3.3.3 Connector specifications for host system ..........3-9 3.3.4 SATA interface cable connection ............3-10...
  • Page 15 Contents 4.6.3 Read circuit ..................4-10 4.6.4 Digital PLL circuit................4-11 4.7 Servo Control ....................4-12 4.7.1 Servo control circuit ................4-12 4.7.2 Data-surface servo format ..............4-15 4.7.3 Servo frame format ................4-17 4.7.4 Actuator motor control ............... 4-18 4.7.5 Spindle motor control .................
  • Page 16 Contents 5.2.3.9 Set Device Bits – Device to Host ..........5-23 5.2.4 Shadow block registers ...............5-24 5.3 Host Commands ....................5-29 5.3.1 Command code and parameters ............5-29 5.3.2 Command descriptions................5-32 (1) RECALIBRATE (X'10' to X'1F')..........5-33 (2) READ SECTOR(S) (X'20' or X'21') ........... 5-34 (3) WRITE SECTOR(S) (X'30' or X'31') ..........
  • Page 17 Contents (30) SECURITY UNLOCK(X'F2') ............ 5-126 (31) SECURITY ERASE PREPARE (X'F3') ........5-128 (32) SECURITY ERASE UNIT (X'F4') ..........5-129 (33) SECURITY FREEZE LOCK (X'F5').......... 5-130 (34) SECURITY DISABLE PASSWORD (X'F6')......5-132 (35) READ NATIVE MAX ADDRESS (X'F8') ........ 5-134 (36) SET MAX (X'F9') ...............
  • Page 18 Contents CHAPTER 6 Operations ................. 6-1 6.1 Reset and Diagnosis ..................6-2 6.1.1 Response to power-on................6-2 6.1.2 Response to COMRESET ..............6-4 6.1.2.1 Software settings preservation ...........6-5 6.1.2.2 COMRESET preservation requirements........6-5 6.1.3 Response to a software reset ..............6-7 6.2 Power Save ......................6-8 6.2.1 Power save mode ..................6-8 6.2.2...
  • Page 19 Contents Illustrations Figures Figure 1.1 Permissible range of +5V rise slope ............ 1-6 Figure 1.2 The example of negative voltage waveform at +5 V when power is turned off ................1-7 Figure 1.3 Current fluctuation (Typ.) at +5 V when power is turned on ....1-9 Figure 2.1 Disk drive outerview................
  • Page 20 Contents Figure 5.10 PIO Setup - Device to Host FIS layout ..........5-21 Figure 5.11 Set Device Bits FIS ................5-23 Figure 5.12 Execution example of READ MULTIPLE command .....5-91 Figure 5.13 Non-data command protocol ............5-169 Figure 5.14 PIO data-in command protocol ............5-171 Figure 5.15 PIO data-out command protocol ............5-172 Figure 5.16 DMA data-in command protocol ...........5-173 Figure 5.17 DMA data-out command protocol ..........5-174...
  • Page 21 Contents Tables Table 1.1 Specifications ..................1-4 Table 1.2 Examples of model names and product numbers........1-5 Table 1.3 Current and power dissipation............... 1-8 Table 1.4 Environmental specifications ..............1-9 Table 1.5 Acoustic noise specification..............1-10 Table 1.6 Shock and vibration specification ............1-10 Table 1.7 Advanced Power Management............
  • Page 22 Contents Table 5.26 SCT STATUS code ................5-76 Table 5.27 Action code..................5-78 Table 5.28 LBA SEGMENT ACCESS ...............5-78 Table 5.29 ERROR RECOVERY CONTROL............5-79 Table 5.30 FEATURE CONTROL COMMAND ..........5-80 Table 5.31 SCT DATA TABLE ................5-81 Table 5.32 HAD Temperature ................5-82 Table 5.33 DEVICE CONFIGURATION IDENTIFY data structure ....5-88 Table 5.34 Information to be read by IDENTIFY DEVICE command ....5-106 Table 5.35 Features field values and settable modes ........5-118 Table 5.36 Contents of SECURITY SET PASSWORD data......5-124...
  • Page 23: Chapter 1 Device Overview

    CHAPTER 1 Device Overview Features Device Specifications Power Requirements Environmental Specifications Acoustic Noise Shock and Vibration Reliability Error Rate Media Defects 1.10 Load/Unload Function 1.11 Advanced Power Management (APM) 1.12 Interface Power Management (IPM) Overview and features are described in this chapter, and specifications and power requirement are described.
  • Page 24: Features

    The disk drive can record up to 66 GB (formatted) on one disk using the RLL recording method and 30 recording zone technology. The disk drive has a formatted capacity of 200 GB (MHV2200BT) or 160 GB (MHV2160BT) respectively. (4) High-speed Transfer rate The disk drive has an internal data rate up to 51.8 MB/s.
  • Page 25: Interface

    1.1 Features In Ready status (while the device is waiting for any commands), the Sound Power level of the disk drives in idle mode is 2.1B [MHV2200BT, MHV2160BT]. The Sound Pressure level is 24 dB [MHV2200BT, MHV2160BT], as measured 0.3 m from the drive in Idle mode.
  • Page 26: Device Specifications

    Device Overview 1.2 Device Specifications 1.2.1 Specifications summary Table 1.1 shows the specifications of the disk drives. Table 1.1 Specifications (1/2) MHV2200BT MHV2160BT Format Capacity (*1, *2) 200 GB 160 GB Number of Sectors (User) 390,721,968 312,581,808 Bytes per Sector...
  • Page 27: Model And Product Number

    BIOS setup utility on the host. Table 1.1 Specifications (2/2) Model Capacity No. of Cylinder No. of Heads No. of Sectors MHV2200BT 8.45 GB 16,383 MHV2160BT 8.45 GB 16,383 1.2.2 Model and product number Table 1.2 lists the model names and product numbers of the disk drive.
  • Page 28: Power Requirements

    Device Overview 1.3 Power Requirements (1) Input Voltage • + 5 V ± 5 % • It is unnecessary for this drive to supply +3.3 V and +12 V power supplies. (2) Ripple +5 V Maximum 100 mV (peak to peak) Frequency DC to 1 MHz (3) Slope of an input voltage at rise...
  • Page 29: Figure 1.2 The Example Of Negative Voltage Waveform At +5 V When Power Is Turned Off

    1.3 Power Requirements (4) A negative voltage like the bottom figure isn't to occur at +5 V when power is turned off and, a thing with no ringing. Permissible level: − 0.2 V Time [ms] Figure 1.2 The example of negative voltage waveform at +5 V when power is turned off C141-E244...
  • Page 30: Table 1.3 Current And Power Dissipation

    0.13 W Sleep (*6) 26 mA 0.13 W Energy 0.0025 W/GB (rank E / MHV2200BT) — Efficiency (*4) 0.0031 W/GB (rank E / MHV2160BT) Maximum current and power at starting spindle motor. Current and power level when the operation (command) that accompanies a transfer of 63 sectors is executed 3 times in 100 ms Power requirements reflect typical values for +5 V power.
  • Page 31: Environmental Specifications

    1.4 Environmental Specifications (6) Current fluctuation (Typ.) at +5 V when power is turned on Figure 1.3 Current fluctuation (Typ.) at +5 V when power is turned on 1.4 Environmental Specifications Table 1.4 lists the environmental specifications. Table 1.4 Environmental specifications Item Specification Temperature...
  • Page 32: Shock And Vibration

    Table 1.5 Acoustic noise specification Item Specification (typical) • Idle mode (DRIVE READY) Sound Power 2.1 B [MHV2200BT, MHV2160BT] Sound Pressure (at 0.3m) 24 dB [MHV2200BT, MHV2160BT] Note: Measure the noise from the cover top surface. 1.6 Shock and Vibration Table 1.6 lists the shock and vibration specification.
  • Page 33: Reliability

    1.7 Reliability 1.7 Reliability (1) Mean time between failures (MTBF) Conditions of 300,000 h Power-on time 250H/month or less 3000H/years or less Operating time 20 % or less of power-on time Environment 5 to 55 °C/8 to 90 % But humidity bulb temperature 29 °C or less MTBF is defined as follows: Total operation time in all fields...
  • Page 34: Error Rate

    Device Overview 1.8 Error Rate Known defects, for which alternative blocks can be assigned, are not included in the error rate count below. It is assumed that the data blocks to be accessed are evenly distributed on the disk media. (1) Unrecoverable read error Read errors that cannot be recovered by maximum read retries of drive without user's retry and ECC corrections shall occur no more than 10 times when reading...
  • Page 35: Recommended Power-Off Sequence

    1.11 Advanced Power Management (APM) Emergency Unload other than Unload is performed when the power is shut down while the heads are still loaded on the disk. The product supports the Emergency Unload a minimum of 20,000 times. When the power is shut down, the controlled Unload cannot be executed. Therefore, the number of Emergency other than Unload is specified.
  • Page 36: Table 1.7 Advanced Power Management

    Device Overview Low Power Idle: The head is unloaded from disk. The spindle motor rotates. Standby: The spindle motor stops. In APM Mode-1, which is the APM default mode, the operation status shifts till it finally reaches "Low Power Idle." Table 1.7 Advanced Power Management Active Idle Low Power Idle...
  • Page 37: Interface Power Management (Ipm)

    1.12 Interface Power Management (IPM) 1.12 Interface Power Management (IPM) 1.12.1 Host-initiated interface power management (HIPM) When the disk drive is waiting for commands, it can enter one of three IPM modes as requested by the host. The three IPM modes are: 1) Partial mode: PMREQ_P is sent when the host requests the Partial mode.
  • Page 38: Table 1.8 Interface Power Management

    Device Overview Table 1.8 Interface power management IPM Mode I/F power state Return time to active I/F condition − Active Active State Active 5 to 10 µs maximum Partial Partial State Power Down Slumber Slumber State 5 to 10 ms maximum Power Down 1-16 C141-E244...
  • Page 39: Chapter 2 Device Configuration

    CHAPTER 2 Device Configuration Device Configuration System Configuration This chapter describes the internal configurations of the hard disk drives and the configuration of the systems in which they operate. C141-E244...
  • Page 40: Device Configuration

    Device Configuration 2.1 Device Configuration Figure 2.1 shows the disk drive. The disk drive consists of a disk enclosure (DE), read/write preamplifier, and controller PCA. The disk enclosure contains the disk media, heads, spindle motor, actuator, and a circulating air filter. Figure 2.1 Disk drive outerview (1) Disk The outer diameter of the disk is 65 mm.
  • Page 41: System Configuration

    2.2 System Configuration (5) Air circulation system The disk enclosure (DE) is sealed to prevent dust and dirt from entering. The disk enclosure features a closed loop air circulation system that relies on the blower effect of the rotating disk. This system continuously circulates the air through the circulation filter to maintain the cleanliness of the air within the disk enclosure.
  • Page 42 This page is intentionally blank. left...
  • Page 43: Chapter 3 Installation Conditions

    CHAPTER 3 Installation Conditions Dimensions Mounting Connections with Host System This chapter gives the external dimensions, installation conditions, surface temperature conditions, cable connections, and switch settings of the hard disk drives. C141-E244...
  • Page 44: Dimensions

    Installation Conditions 3.1 Dimensions Figure 3.1 illustrates the dimensions of the disk drive. All dimensions are in mm. The PCA and connectors are not included in these dimensions. Dimension from the center of the user tap to the base of the connector pins Length of the connector pins Dimension from the outer edge of the user tap to the center of the connector pins...
  • Page 45: Mounting

    3.2 Mounting 3.2 Mounting For information on mounting, see the "FUJITSU 2.5-INCH HDD INTEGRATION GUIDANCE (C141-E144)." (1) Orientation The disk drives can be mounted in any direction. (2) Frame The MR head bias of the HDD disk enclosure (DE) is zero. The mounting frame is connected to Signal Ground (SG).
  • Page 46: Figure 3.3 Location Of Breather

    Installation Conditions IMPORTANT Because of breather hole mounted to the HDD, do not allow this to close during mounting. Locating of breather hole is shown as Figure 3.3. For breather hole of Figure 3.3, at least, do not allow it around φ 2.4 to block.
  • Page 47: Figure 3.4 Surface Cover Temperature Measurement Points

    3.2 Mounting (4) Ambient temperature The temperature conditions for a disk drive mounted in a cabinet refer to the ambient temperature at a point 3 cm from the disk drive. The ambient temperature must satisfy the temperature conditions described in Section 1.4, and the airflow must be considered to prevent the DE surface cover temperature from exceeding 60 °...
  • Page 48: Figure 3.5 Service Area

    Installation Conditions (5) Service area Figure 3.5 shows how the drive must be accessed (service areas) during and after installation. Mounting screw hole Cable connection Mounting screw hole Figure 3.5 Service area Data corruption: Avoid mounting the disk drive near strong magnetic sources such as loud speakers.
  • Page 49: Figure 3.6 Handling Cautions

    3.2 Mounting General notes ESD mat Wrist strap Shock absorbing mat Use the Wrist strap. Place the shock absorbing mat on the operation table, and place ESD mat on it. Do not hit HDD each other. Do not stack when carrying. Do not place HDD vertically Do not drop.
  • Page 50: Connections With Host System

    Installation Conditions 3.3 Connections with Host System 3.3.1 Device connector The disk drive has the SATA interface connectors listed below for connecting external devices. Figure 3.7 shows the locations of these connectors and terminals. SATA interface and power connectors Figure 3.7 Connector locations C141-E244...
  • Page 51: Signal Segment And Power Supply Segment

    3.3 Connections with Host System 3.3.2 Signal segment and power supply segment Figure 3.8 shows each segment of the SATA interface connector and pin numbers. View from the connector side Power supply Signal segment segment View from the PCA side S1 pins in the signal P1 pins in the power segment...
  • Page 52: Sata Interface Cable Connection

    Installation Conditions 3.3.4 SATA interface cable connection The cable that connects the disk drive to the host system must be compliant with the Serial ATA 1.0a specification. 3.3.5 Note about SATA interface cable connection Take note of the following precaution about plugging a SATA interface cable into the SATA interface connector of the disk drive and plugging the connector into a host receptacle: When plugging together the disk drive SATA interface connector...
  • Page 53: Chapter 4 Theory Of Device Operation

    CHAPTER 4 Theory of Device Operation Outline Subassemblies Circuit Configuration Power-on Sequence Self-calibration Read/write Circuit Servo Control This chapter explains basic design concepts of the disk drive. Also, this chapter explains subassemblies of the disk drive, each sequence, servo control, and electrical circuit blocks.
  • Page 54: Outline

    Theory of Device Operation 4.1 Outline This chapter consists of two parts. First part (Section 4.2) explains mechanical assemblies of the disk drive. Second part (Sections 4.3 through 4.7) explains a servo information recorded in the disk drive and drive control method. 4.2 Subassemblies The disk drive consists of a disk enclosure (DE) and printed circuit assembly (PCA).
  • Page 55: Air Filter

    4.3 Circuit Configuration 4.2.4 Air filter There are two types of air filters: a breather filter and a circulation filter. The breather filter makes an air in and out of the DE to prevent unnecessary pressure around the spindle when the disk starts or stops rotating. When disk drives are transported under conditions where the air pressure changes a lot, filtered air is circulated in the DE.
  • Page 56: Figure 4.1 Power Supply Configuration

    Theory of Device Operation (4) Controller circuit Major functions are listed below. • Serial-ATA interface control and data transfer control • Data buffer management • Sector format control • Defect management • ECC control • Error recovery and self-diagnosis Figure 4.1 Power supply configuration C141-E244...
  • Page 57: Power-On Sequence

    4.4 Power-on Sequence Figure 4.2 Circuit configuration 4.4 Power-on Sequence Figure 4.3 describes the operation sequence of the disk drive at power-on. The outline is described below. C141-E244...
  • Page 58: Figure 4.3 Power-On Operation Sequence

    Theory of Device Operation a) After the power is turned on, the disk drive executes the MPU bus test, internal register read/write test, and work RAM read/write test. When the self-diagnosis terminates successfully, the disk drive starts the spindle motor. b) The disk drive executes self-diagnosis (data buffer read/write test) after enabling response to the SATA interface.
  • Page 59: Self-Calibration

    4.5 Self-calibration 4.5 Self-calibration The disk drive occasionally performs self-calibration in order to sense and calibrate mechanical external forces on the actuator, and VCM torque. This enables precise seek and read/write operations. 4.5.1 Self-calibration contents (1) Sensing and compensating for external forces The actuator suffers from torque due to the FPC forces and winds accompanying disk revolution.
  • Page 60: Execution Timing Of Self-Calibration

    Theory of Device Operation 4.5.2 Execution timing of self-calibration Self-calibration is performed once when power is turned on. After that, the disk drive does not perform self-calibration until it detects an error. That is, self-calibration is performed each time one of the following events occur: •...
  • Page 61: Read/Write Circuit

    4.6 Read/write Circuit 4.6 Read/write Circuit The read/write circuit consists of the read/write preamplifier (PreAMP), the write circuit, the read circuit, and the time base generator in the read channel (RDC) block which is integrated into LSI. Figure 4.4 is a block diagram of the read/write circuit.
  • Page 62: Read Circuit

    Theory of Device Operation 4.6.3 Read circuit The head read signal from the PreAMP is regulated by the automatic gain control (AGC) circuit. Then the output is converted into the sampled read data pulse by the programmable filter circuit and the flash digitizer circuit. This signal is converted into the read data by the decoder circuit based on the read data maximum-likelihood-detected by the Viterbi detection circuit.
  • Page 63: Digital Pll Circuit

    4.6 Read/write Circuit (3) FIR circuit This circuit is 10-tap sampled analog transversal filter circuit that equalizes the head read signal to the Modified Extended Partial Response (MEEPR) waveform. (4) A/D converter circuit This circuit changes Sampled Read Data Pulse from the FIR circuit into Digital Read Data.
  • Page 64: Servo Control

    Theory of Device Operation 4.7 Servo Control The actuator motor and the spindle motor are submitted to servo control. The actuator motor is controlled for moving and positioning the head to the track containing the desired data. To turn the disk at a constant velocity, the actuator motor is controlled according to the servo data that is written on the data side beforehand.
  • Page 65 4.7 Servo Control (1) Microprocessor unit (MPU) The MPU executes startup of the spindle motor, movement to the reference cylinder, seek to the specified cylinder, and calibration operations. The main internal operations of the MPU are shown below. Spindle motor start Starts the spindle motor and accelerates it to normal speed when power is applied.
  • Page 66 Theory of Device Operation (6) Driver circuit The driver circuit is a power amplitude circuit that receives signals from the spindle motor control circuit and feeds currents to the spindle motor. (7) VCM current sense resistor (CSR) This resistor controls current at the power amplifier by converting the VCM current into voltage and feeding back.
  • Page 67: Data-Surface Servo Format

    4.7 Servo Control 4.7.2 Data-surface servo format Figure 4.7 describes the physical layout of the servo frame. The three areas indicated by (1) to (3) in Figure 4.7 are described below. (1) Inner guard band This area is located inside the user area, and the rotational speed of the VCM can be controlled on this cylinder area for head moving.
  • Page 68: Figure 4.7 Physical Sector Servo Configuration On Disk Surface

    Theory of Device Operation Figure 4.7 Physical sector servo configuration on disk surface 4-16 C141-E244...
  • Page 69: Servo Frame Format

    The servo frame consists of 6 blocks; write/read recovery, servo mark, gray code, Burst EVEN1, Burst ODD, Burst EVEN2, Post code (MHV2200BT only) and PAD. Figure 4.8 shows the servo frame format. Write/read...
  • Page 70: Actuator Motor Control

    Theory of Device Operation 4.7.4 Actuator motor control The voice coil motor (VCM) is controlled by feeding back the servo data recorded on the data surface. The MPU fetches the position sense data on the servo frame at a constant interval of sampling time, executes calculation, and updates the VCM drive current.
  • Page 71: Spindle Motor Control

    (called SVC hereafter). The firmware operates on the MPU manufactured by Fujitsu. The spindle motor is controlled by sending several signals from the MPU to the SVC. There are three modes for the spindle control; start mode, acceleration mode, and stable rotation mode.
  • Page 72 This page is intentionally blank. left...
  • Page 73: Chapter 5 Interface

    CHAPTER 5 Interface Physical Interface Logical Interface Host Commands Command Protocol Power-on and COMRESET This chapter gives details about the interface, and the interface commands and timings. C141-E244...
  • Page 74: Physical Interface

    Interface 5.1 Physical Interface 5.1.1 Interface signals Figure 5.1 shows the interface signals. TX data TX data TX− TX− RX data RX data Device Host analog analog front front RX− RX− ComWake ComWake ComInit ComReset +5VDC Figure 5.1 Interface signals An explanation of each signal is provided below.
  • Page 75 5.1 Physical Interface RxData Serially encoded 10b data attached to the high speed serial differential line receiver COMWAKE Signal from the out of band detector that indicates the COMWAKE out of band signal is being detected. COMRESET / COMINIT Host: Signal from the out of band detector that indicates the COMINIT out of band signal is being detected.
  • Page 76: Signal Interface Regulation

    Interface 5.1.2 Signal interface regulation 5.1.2.1 Out of band signaling During OOB signaling transmissions, the differential and common mode levels of the signal lines shall comply with the same electrical specifications as for in-band data transmission, specified as follows. COMRESET/COMINIT 106.7 ns 320 ns COMWAKE...
  • Page 77: Primitives Descriptions

    5.1 Physical Interface 5.1.2.2 Primitives descriptions The following table contains the primitive mnemonics and a brief description of each. Primitive Name Description ALIGN Physical layer control Upon receipt of an ALIGN, the physical layer readjusts internal operations as necessary to perform its functions correctly.
  • Page 78 Interface Primitive Name Description R_IP Reception in progress Current node (host or device) is receiving payload. R_OK Reception with no error Current node (host or device) detected no error in received payload. R_RDY Receiver ready Current node (host or device) is ready to receive payload.
  • Page 79: Electrical Specifications

    5.1 Physical Interface 5.1.3 Electrical specifications Table 5.1 Physical Layer Electrical Requirements (1/3) a) General Specifications Units Comments Channel Speed Reference Value Fbaud FER, 8.2e-8 at 95% Frame Error Rate confidence level 666.6667 666.4333 670.2333 Unit Interval tol, -350 TX Frequency Long Term Stability SSC, Spread-Spectrum...
  • Page 80 Interface Table 5.1 Physical Layer Electrical Requirements (2/3) b) Transmitter Specifications Units Comments diffTX, TX Pair Differential Impedance s-eTX, TX Single-Ended Impedance c) Transmitted Signal Requirements Units Comments Differential nominal measured at Serial ATA diffTX, connector on mVppd TX Differential transmit side Output Voltage (+/-250mV...
  • Page 81 5.1 Physical Interface Table 5.1 Physical Layer Electrical Requirements (3/3) d) Receiver Specifications Units Comments diffRX, RX Pair Differential Impedance s-eRX, RX Single-Ended Impedance e) OOB Specifications Units Comments thresh, mVppd OOB Signal Detection Threshold 666.67 646.67 686.67 OOB, UI During OOB Signaling COMINIT/COMRESET COMWAKE Transmit Burst Length...
  • Page 82: Connector Pinouts

    Interface 5.1.4 Connector pinouts The pin definitions are shown in Table 5.2. Table 5.2 Connector pinouts Signal segment key 2nd mate Differential signal pair A from Phy 2nd mate Differential signal pair B from Phy 2nd mate "Key and spacing separate signal and power segments" N.C.(Open) N.C.(Open) N.C.(Open)
  • Page 83: P11 Function

    5.1 Physical Interface 5.1.5 P11 function The disk drive supports the following functions when P11 pin in the power supply segment of interface connector is used as an input or output pin. P11 pin supports the functions as follows: • Staggered Spin-up: Use P11 as an input pin •...
  • Page 84: Figure 5.2 Example Of The Circuit For Driving Ready Led

    Interface Table 5.3 Requirements for P11 as an output pin. Asserted Deasserted ≤ 0.7V ≥ 0.7V +50uA Figure 5.2 Example of the circuit for driving Ready LED 5-12 C141-E244...
  • Page 85: Hot Plug

    5.1 Physical Interface 5.1.6 Hot Plug The disk drive is "Hot Plug Capable" which is based on Serial ATA II Extension to Serial ATA 1.0a Specification. It is recommended to use the pre-charge resistor for protection from over current at +5V power supply circuit in the host system when the disk drive is hot- plugged.
  • Page 86: Logical Interface

    Interface 5.2 Logical Interface The host system and the device communicate with each other by sending and receiving serial data. The host and the device have several dedicated communication layers between them. These layers have different functions, enabling communication between the different levels of layers within the host or device and between layers at the same level that link the host and device.
  • Page 87: Communication Layers

    5.2 Logical Interface 5.2.1 Communication layers Each of the layers is outlined below. Physical layer • Detects, sends, and receives band signals. • Sends serial data to and receives it from the link layer. Link layer • Negotiates against mutual transfer requests between the host system and device.
  • Page 88: Outline Of The Shadow Block Register

    Interface 5.2.2 Outline of the Shadow Block Register Each transport layer in the host system and device has a block register, which is called a Shadow Block Register in the host system, and a Block Register in the device. These registers are used when the host system issues a command to the device. Table 5.4 Shadow Block Register Command Block registers Read...
  • Page 89: Outline Of The Frame Information Structure (Fis)

    5.2 Logical Interface 5.2.3 Outline of the frame information structure (FIS) The transport layer converts data written in a Block Register into the FIS, and sends it to the upper layer. The FIS, which is generated in the transport layer, is explained below. 5.2.3.1 FIS types The types of FIS are as follows (Each FIS is referred to as abbreviation in square brackets in this manual.):...
  • Page 90: Register - Device To Host

    Interface The host system uses the Register - Host to Device FIS when information in the Register Block is transferred from the host system to the device. This is the mechanism for issuing the ATA command from the host system to the device. C - To update the Command field, "1"...
  • Page 91: Dma Setup - Device To Host Or Host To Device (Bidirectional)

    5.2 Logical Interface The host uses the DMA Active - Device to Host FIS layout. This FIS instructs the host to continue transferring DMA data from the host to the device. 5.2.3.5 DMA Setup - Device to Host or Host to Device (Bidirectional) The DMA Setup - Device to Host or Host to Device FIS has the following layout: 9 8 7 6 5 4 3 2 1 0 Reserved (0)
  • Page 92: Bist Active - Bidirectional

    Interface 5.2.3.6 BIST Active - Bidirectional The BIST Active - Bidirectional FIS has the following layout: 9 8 7 6 5 4 3 2 1 0 Reserved (0) Pattern definition R R R Reserved (0) FIS Type (58h) T A S L F P R V Data [31:24] Data [23:16] Data [23:16]...
  • Page 93: Data - Host To Device Or Device To Host (Bidirectional)

    5.2 Logical Interface 5.2.3.7 Data - Host to Device or Device to Host (Bidirectional) This Data FIS has the following layout: 9 8 7 6 5 4 3 2 1 0 Reserved (0) Reserved (0) R R R Reserved (0) FIS Type (46h) …...
  • Page 94 Interface FIS Type - Set to a value of 5Fh. Defines the rest of the FIS fields. Defines the length of the FIS as five Dwords. Cyl Low - Holds the contents of the cylinder low field of the Command Block.
  • Page 95: Set Device Bits - Device To Host

    5.2 Logical Interface 5.2.3.9 Set Device Bits – Device to Host Error R Status R Status R I R Reserved (0) FIS Type (A1h) SActive 31:0 Figure 5.11 Set Device Bits FIS The Set Device Bits - Device to Host FIS is used by the device to load Shadow Command Block bits for which the device has exclusive write access.
  • Page 96: Shadow Block Registers

    Interface 5.2.4 Shadow block registers Error Field The Error Field indicates the status of the command executed by the device. The fields are valid when the ERR bit of the Status field is 1. This register contains a diagnostic code after power is turned on, the COMRESET or the EXECUTIVE DEVICE DIAGNOSTIC command is executed.
  • Page 97 5.2 Logical Interface - X'05': Reading the system area is abnormal. - X'06': Calibration is abnormal. Features Field (exp) The Features Field provides specific feature to a command. For instance, it is used with SET FEATURES command to enable or disable caching. Sector Count Field (exp) The Sector Count Field indicates the number of sectors of data to be transferred in a read or write operation between the host system and the device.
  • Page 98 Interface Cylinder High Field (exp) The contents of this field indicates high-order 8 bits of the disk-access start cylinder address. At the end of a command, the contents of this field are updated to the current cylinder number. The high-order 8 bits of the cylinder address are set to the Cylinder High Field.
  • Page 99 5.2 Logical Interface Status field The contents of this field indicate the status of the device. The contents of this field are updated at the completion of each command. When the BSY bit is 1, other bits of this field, are invalid. Bit 7 Bit 6 Bit 5...
  • Page 100 Interface Command Field The Command Field contains a command code being sent to the device. After this field is written, the command execution starts immediately. Table 5.3 lists the executable commands and their command codes. This table also lists the necessary parameters for each command which are written to certain fields before the Command field is written.
  • Page 101: Host Commands

    5.3 Host Commands 5.3 Host Commands The host system issues a command to the device by writing necessary parameters in related fields in the shadow block registers and writing a command code in the Command field of the shadow block registers. The device can accept the command when the BSY bit is 0 (the device is not in the busy status).
  • Page 102 Interface Table 5.6 Command code and parameters (2/3) COMMAND CODE (Bit) PARAMETER USED COMMAND NAME SN CY DH IDLE CHECK POWER MODE SLEEP SMART DEVICE CONFIGURATION READ MULTIPLE WRITE MULTIPLE SET MULTIPLE MODE READ DMA WRITE DMA READ BUFFER FLUSH CACHE WRITE BUFFER IDENTIFY DEVICE IDENTIFY DEVICE DMA...
  • Page 103 5.3 Host Commands Table 5.6 Command code and parameters (3/3) COMMAND CODE (Bit) PARAMETER USED COMMAND NAME SN CY DH READ LOG EXT WRITE SECTOR(S) EXT WRITE DMA EXT SET MAX ADDRESS EXT WRITE MULTIPLE EXT WRITE LOG EXT READ VERIFY SECTOR(S) EXT FLUSH CACHE EXT WRITE MULTIPLE FUA EXT WRITE DMA FUA EXT...
  • Page 104: Command Descriptions

    Interface 5.3.2 Command descriptions The contents of the shadow block registers to be necessary for issuing a command and the example indication of the shadow block registers at command completion are shown as following in this subsection. Example: READ SECTOR (S) At command issuance At command completion (Shadow Block Registers setting contents)
  • Page 105: Recalibrate (X'10' To X'1F')

    5.3 Host Commands RECALIBRATE (X'10' to X'1F') This command performs the calibration. When the device completes the calibration, the device reports the status to the host system. This command can be issued in the LBA mode. • Error reporting conditions (1) An error was detected during head positioning (ST = 51h, ER = 02h).
  • Page 106: Read Sector(S) (X'20' Or X'21')

    Interface READ SECTOR(S) (X'20' or X'21') This command reads data of sectors specified in the Sector Count field from the address specified in the Device/Head, Cylinder High, Cylinder Low and Sector Number fields. Number of sectors can be specified from 1 to 256 sectors. To specify 256 sectors reading, ‘00' is specified.
  • Page 107 5.3 Host Commands At command issuance (Shadow Block Registers setting contents) HD No. / LBA Start cylinder No. [MSB] / LBA Start cylinder No. [LSB] / LBA Start sector No. / LBA [LSB] Transfer sector count (R: Retry) At command completion (Shadow Block Registers contents to be read) Status information HD No.
  • Page 108: Write Sector(S) (X'30' Or X'31')

    Interface WRITE SECTOR(S) (X'30' or X'31') This command writes data of sectors from the address specified in the Device/Head, Cylinder High, Cylinder Low, and Sector Number fields to the address specified in the Sector Count field. Number of sectors can be specified from 1 to 256 sectors.
  • Page 109 5.3 Host Commands At command issuance (Shadow Block Registers setting contents) HD No. / LBA Start cylinder No. [MSB] / LBA Start cylinder No. [LSB] / LBA Start sector No. / LBA [LSB] Transfer sector count (R: Retry) At command completion (Shadow Block Registers contents to be read) Status information HD No.
  • Page 110: Write Verify (X'3C')

    Interface WRITE VERIFY (X'3C') This command operates similarly to the WRITE SECTOR(S) command except that the device verifies each sector immediately after being written. The verify operation is a read and check for data errors without data transfer. Any error that is detected during the verify operation is posted.
  • Page 111 5.3 Host Commands At command completion (Shadow Block Registers contents to be read) Status information HD No. / LBA Start cylinder No. [MSB] / LBA Start cylinder No. [LSB] / LBA Start sector No. / LBA [LSB] 00 (*1) Error information *1 If the command is terminated because of an error, the number of remaining sectors for which data has not been written or verified is set in this field.
  • Page 112: Read Verify Sector(S) (X'40' Or X'41')

    Interface READ VERIFY SECTOR(S) (X'40' or X'41') This command operates similarly to the READ SECTOR(S) command except that the data is not transferred to the host system. After all requested sectors are verified, the device reports the status to the host system.
  • Page 113 5.3 Host Commands At command completion (Shadow Block Registers contents to be read) Status information HD No. / LBA Start cylinder No. [MSB] / LBA Start cylinder No. [LSB] / LBA Start sector No. / LBA [LSB] 00 (*1) Error information *1 If the command is terminated due to an error, the remaining number of sectors of which data was not transferred is set in this field.
  • Page 114: Seek (X'70' To X'7F')

    Interface SEEK (X'70' to X'7F') This command performs a seek operation to the track and selects the head specified in the command block field. After completing the seek operation, the device reports the status to the host system. In the LBA mode, this command performs the seek operation to the cylinder and head position in which the sector is specified.
  • Page 115: Execute Device Diagnostic (X'90')

    5.3 Host Commands EXECUTE DEVICE DIAGNOSTIC (X'90') This command performs an internal diagnostic test (self-diagnosis) of the device. The device reports the diagnostic result and status to the host. Table 5.7 lists the diagnostic code written in the Error field which is 8-bit code. Table 5.7 Diagnostic code Code Result of diagnostic...
  • Page 116: Initialize Device Parameters (X'91')

    Interface INITIALIZE DEVICE PARAMETERS (X'91') The host system can set the number of sectors per track and the maximum head number (maximum head number is "number of heads minus 1") per cylinder with this command. Upon receipt of this command, the device sets the parameters. Then the device reports the status to the host system.
  • Page 117: Download Microcode (X'92')

    5.3 Host Commands DOWNLOAD MICROCODE (X'92') At command issuance (Shadow Block Registers setting contents) Sector count (15-8) Sector count (7-0) Subcommand code At command completion (Shadow Block Registers contents to be read) Status information Error information This command rewrites the microcode of the device (firmware). When this command is accepted, the device does beginning the data transfer of the microcode or the microcode rewriting according to Subcommand code (Rewriting is also possible simultaneously with the data transfer).
  • Page 118: Table 5.9 Example Of Rewriting Procedure Of Data 512K Bytes (80000H Bytes) Of Microcode

    Interface **: In the following cases, Subcommand code=07h returns Abort as an error though becomes Microcode rewriting execution specification. 1) Abnormality of the transmitted Microcode data is detected. 2) The data transfer is not done (The number of transfer: 0). 3) The DOWNLOAD MICROCODE command is not continuously issued when the transfer has been divided into multiple transfers.
  • Page 119: Standby Immediate (X'94' Or X'e0')

    5.3 Host Commands (10) STANDBY IMMEDIATE (X'94' or X'E0') Upon receipt of this command, the device enters the standby mode. The device then reports the status to the host system. This command does not support the APS timer function. • Error reporting conditions (1) A SATA communication error occurred (ST = 51h, ER = 14h).
  • Page 120: Idle Immediate (X'95' Or X'e1') /Unload Immediate (X'95' Or X'e1')

    Interface (11) IDLE IMMEDIATE (X'95' or X'E1') /UNLOAD IMMEDIATE (X'95' or X'E1') • Default Function Upon receipt of this command, the device sets the BSY bit of the Status field, and enters the idle mode. Then, the device clears the BSY bit, and generates an interrupt.
  • Page 121 5.3 Host Commands • Unload Feature When the device received the IDLE IMMEDIATE command with the UNLOAD FEATURE, the head(s) is unloaded to the ramp position. After the device completed the unload operation, the INTRQ signal will be asserted and the BUSY flag will be cleared.
  • Page 122: Standby (X'96' Or X'e2')

    Interface (12) STANDBY (X'96' or X'E2') Upon receipt of this command, the device enters the standby mode. If the device has already spun down, the spin-down sequence is not implemented. If the Sector Count field has a value other than "0," the APS timer is set when the command is received.
  • Page 123: Idle (X'97' Or X'e3')

    5.3 Host Commands (13) IDLE (X'97' or X'E3') Upon receipt of this command, the device enters the idle mode. The device reports the status even if the device has not fully entered the idle mode. If the spindle of the device is already rotating, the spin-up sequence shall not be implemented.
  • Page 124 Interface At command completion (Shadow Block Registers contents to be read) Status information Error information 5-52 C141-E244...
  • Page 125: Check Power Mode (X'98' Or X'e5')

    5.3 Host Commands (14) CHECK POWER MODE (X'98' or X'E5') The host checks the power mode of the device with this command. The host system can confirm the power save mode of the device by the contents of the Sector Count field after executing this command. The device sets the following field value.
  • Page 126: Sleep (X'99' Or X'e6')

    Interface (15) SLEEP (X'99' or X'E6') This command is the only way to make the device enter the sleep mode. Upon receipt of this command, the device enters the sleep mode, then reports the status to the host system. The device reports the status even if the device has not fully entered the sleep mode.
  • Page 127: Smart (X'b0')

    5.3 Host Commands (16) SMART (X'B0') This command predicts the occurrence of device failures depending on the subcommand specified in the Features field. If the Features field contains values that are not supported with the command, the Aborted Command error is issued. Before issuing the command, the host must set the key values in the Cylinder Low and Cylinder High field (4Fh in the Cylinder Low field and C2h in the Cylinder High field).
  • Page 128: Table 5.10 Features Field Values (Subcommands) And Functions (1/3

    Interface Table 5.10 Features Field values (subcommands) and functions (1/3) Features Field Function X'D0' SMART READ DATE: A device that received this subcommand saves all the updated attribute values. The device then transfers 512-byte attribute value information to the host after transferring PIOSU. * For information about the format of the attribute value information, see Table 5.11.
  • Page 129 5.3 Host Commands Table 5.10 Features Field values (subcommands) and functions (2/3) Features Field Function X'D5' SMART READ LOG: A device which receives this sub-command reads the log sector specified in the Sector Number Field. Next, it transfers the PIOSU and transmits the log sector to the host computer.
  • Page 130 Interface Table 5.10 Features Field values (subcommands) and functions (3/3) Features Field Function X'D9' SMART DISABLE OPERATIONS: This subcommand disables SMART. The setting is maintained even when the device is turned off and then on. When the device receives this subcommand, it disables SMART, then transfers the RegDH.
  • Page 131 5.3 Host Commands At command issuance (Shadow Block Registers setting contents) Key (C2h) Key (4Fh) Subcommand At command completion (Shadow Block Registers contents to be read) Status information Key-failure prediction status (C2h/2Ch) Key-failure prediction status (4Fh/F4h) Error information The attribute value information is 512-byte data; the format of this data is shown the following Table 5.11.
  • Page 132: Table 5.11 Format Of Device Attribute Value Data

    Interface Table 5.11 Format of device attribute value data Byte Item Data format version number Attribute 1 Attribute ID Status flag Current attribute value Attribute value for worst case so far 07 to 0C Raw attribute value Reserved 0E to 169 Attribute 2 to (The format of each attribute value is the same as attribute 30...
  • Page 133 5.3 Host Commands • Data format version number The data format version number indicates the version number of the data format of the device attribute values or guarantee failure thresholds. The data format version numbers of the device attribute values and guarantee failure thresholds are the same.
  • Page 134 Interface • Status Flag Meaning If this bit is 1, it indicates normal operations are assured with the attribute when the attribute value exceeds the threshold value. If this bit is 1 (0), it indicates the attribute only updated by an on- line test (off-line test).
  • Page 135: Table 5.13 Off-Line Data Collection Status

    5.3 Host Commands Table 5.13 Off-line data collection status Status Byte Meaning 00h or 80h Off-line data collection is not executed. 02h or 82h Off-line data collection has ended without an error. 04h or 84h Off-line data collection is interrupted by a command from the host. 05h or 85h Off-line data collection has ended before completion because of a command from the host.
  • Page 136: Table 5.15 Off-Line Data Collection Capability

    Interface • Off-line data collection capability Indicates the method of off-line data collection carried out by the drive. If the off-line data collection capability is 0, it indicates that off-line data collection is not supported. Table 5.15 Off-line data collection capability Meaning If this bit is 1, it indicates that the SMART EXECUTE OFF- LINE IMMEDATE sub-command (Features field = D4h) is...
  • Page 137: Table 5.18 Log Directory Data Format

    5.3 Host Commands • Checksum Two's complement of the lower byte, obtained by adding 511-byte data one byte at a time from the beginning. • Guarantee failure threshold The limit of a varying attribute value. The host compares the attribute values with the thresholds to identify a failure.
  • Page 138: Table 5.19 Data Format Of Smart Summary Error Log

    Interface Table 5.19 Data format of SMART Summary Error Log (1/2) Byte Item Version of this function Pointer for the latest "Error Log Data Structure" 02 to 0D Forth last command data structure 0E to 19 Third last command data structure 1A to 25 Second last command data structure 26 to 31...
  • Page 139 5.3 Host Commands Table 5.19 Data format of SMART Summary Error Log (2/2) Byte Item Error log data structure 2 5C to 1C3 Error log data structure 5 1C4, 1C5 Total number of drive errors 1C6 to 1FE Reserved Check sum •...
  • Page 140: Table 5.20 Data Format Of Smart Comprehensive Error Log

    Interface Table 5.20 Data format of SMART Comprehensive Error Log Byte First sector Next sector SMART Error Logging 01h Reserved Index Pointer Latest Error Data Structure Reserved 02…5B Error Log Data Structure 5n+1 Error Log Data Structure 5C…B5 Error Log Data Structure 5n+2 Error Log Data Structure2 B6…10F Error Log Data Structure 5n+3...
  • Page 141: Table 5.21 Smart Self-Test Log Data Format

    5.3 Host Commands Table 5.21 SMART self-test log data format Byte Item 00, 01 Self-test log data structure Self-test log 1 Self-test number (Sector Number field Value) Self-test execution status 04, 05 Life time. Total power-on time [hours] Self-test error No. 07 to 0A Error LBA 0B to 19...
  • Page 142: Table 5.22 Selective Self-Test Log Data Structure

    Interface Table 5.22 Selective self-test log data structure Byte Item 00h, 01h Data Structure Revision Number 02h...09h Starting LBA Test Span 1 0Ah...11h Ending LBA 12h...19h Starting LBA Test Span 2 1Ah...21h Ending LBA 22h...29h Starting LBA Test Span 3 2Ah...31h Ending LBA 32h...39h...
  • Page 143: Table 5.23 Selective Self-Test Feature Flags

    5.3 Host Commands • Current Span under test As the self-test progress, the device shall modify this value to contain the test span number currently being tested. • Feature Flags Table 5.23 Selective self-test feature flags Description Vendor specific (unused) When set to one, perform off-line scan after selective test Vendor specific (unused) When set to one, off-line scan after selective test is pending.
  • Page 144: Table 5.24 Sct Command And The Function

    Interface • SMART Command Transport (SCT) This command supports the following functions by using the SMART command according to the value specified for the SN field and the FR field. Moreover, WRITE LOG EXT/READ LOG EXT is used in 48-CMD environment. Table 5.24 SCT command and the function Sector Number Features field...
  • Page 145 5.3 Host Commands • SCT STATUS REQUEST (SN = E0h, FR = D5h) This command is used to know the status data of SCT shown in Table 5.25 of the device. At command issuance (Shadow Block Registers setting) Key (C2h) Key (4Fh) At command completion (Shadow Block Registers contents to be read) Status information...
  • Page 146: Table 5.25 Format Of Sct Status Response

    Interface Table 5.25 Format of SCT STATUS Response (1/2) BYTE Contents 000h Format Version 001h 002h SCT Version 003h 004h SCT Spec 005h Status Flag Bit31-1: Reserved Bit0: Initialized flag (maintained Power-OFF/ON) 006h 0 = After it had made it to initial of not initializing by data pattern in 007h which all LBA was defined by the LBA SEGMENT ACCESS 008h...
  • Page 147 5.3 Host Commands Table 5.25 Format of SCT STATUS Response (2/2) BYTE Contents 014h Reserved 027h 028h Current LBA of SCT command executing in background. 02Fh 030h Reserved 0C7h HDA Temp [°C] 0C8h Current drive HDA temperature. 0C9h Reserved Max Temp [°C] 0CAh Maximum HDA temperature this power cycle.
  • Page 148: Table 5.26 Sct Status Code

    Interface Table 5.26 SCT STATUS code Code Definition 0000h Command complete without error 0001h Invalid Function Code in LBA SEGMENT ACCESS Command. 0002h Input LBA out of range. 0003h Request sector count over flow. 0004h Invalid Function Code in Error Recovery Control command. 0005h Invalid Selection Code in Error Recovery Control command.
  • Page 149 5.3 Host Commands • SCT COMMAND SET (SN = E0h, FR = D6) This command transfers Key Sector Format in 512 bytes including the action code shown in Table 5.27 to the device, and executes each function to show in Table 5.28 to Table 5.31.
  • Page 150: Table 5.27 Action Code

    Interface Table 5.27 Action code Code Function Data transfer 0000h Reserved 0001h Not supported LBA SEGMENT ACCESS 0002h Write See Table 5.28. ERROR RECOVERY CONTROL 0003h See Table 5.29. FEATURE CONTROL 0004h See Table 5.30. SCT DATA TABLE 0005h Read See Table 5.31.
  • Page 151: Table 5.29 Error Recovery Control

    5.3 Host Commands Table 5.28 LBA SEGMENT ACCESS (2/2) Byte Name Value Description 014h It specifies it for Function Code=0001h for data pattern Pattern (4 byte) of 32bit. 017h 018h (Reserved) Reserved 1FFh * It is invalid excluding the description value. Table 5.29 ERROR RECOVERY CONTROL Byte Name...
  • Page 152: Table 5.30 Feature Control Command

    Interface Table 5.30 FEATURE CONTROL COMMAND Byte Name Value Description 000h Action Code 0004h FEATURE CONTROL COMMAND 001h 0001h Set New State Return Current State 002h 0002h Function Code Current Feature Control State is displayed in SN/SC 003h field. Return Option Flag 0003h Current Option Flag is displayed in SN/SC field.
  • Page 153: Table 5.31 Sct Data Table

    5.3 Host Commands Table 5.31 SCT DATA TABLE Byte Name Value Description 000h Action Code 0005h SCT DATA TABLE 001h 002h Function Code 0001h Read Data Table 003h 0000h Invalid 0001h Reserved HAD Temperature History Table. 0002h * See Table 5.30. 004h 0003h Table ID...
  • Page 154: Table 5.32 Had Temperature

    Interface Table 5.32 HAD Temperature Byte Contents 000h Format Version 001h 002h Sampling Period Frequency of sampling each set time of temperature log. 003h 004h Interval 005h Time of temperature log of interval (min) Max Operation Limit (°C) 006h 007h Over Limit (°C) Min Operation Limit (°C) 008h...
  • Page 155 5.3 Host Commands • SCT READ DATA (SN = E1h, FR = D5) This command reads the data specified with SCT SET COMMAND and number of sectors specified Sector Count field 28-bit command At command issuance (Shadow Block Registers setting) Key (C2h) Key (4Fh) At command completion (Shadow Block Registers contents to be read)
  • Page 156 Interface • SCT WRITE DATA (SN = E1h, FR = D6) This command writes the data of the number of sectors for which the data specified with SCT SET COMMAND and number of sectors specified Sector Count Field. 28-bit command At command issuance (Shadow Block Registers setting) Key (C2h) Key (4Fh)
  • Page 157: Device Configuration (X'b1')

    5.3 Host Commands (17) DEVICE CONFIGURATION (X'B1') Individual Device Configuration Overlay feature sub commands are identified by the value placed in the Features field. The following table shows these Features field values. If this command sets with the reserved value of Features field, an aborted command error is posted.
  • Page 158 Interface • DEVICE CONFIGURATION RESTORE (Features Field = C0h) The DEVICE CONFIGURATION RESTORE command disables any setting previously made by a DEVICE CONFIGURATION SET command and returns the content of the IDENTIFY DEVICE command response to the original settings as indicated by the data returned from the execution of a DEVICE CONFIGURATION IDENTIFY command.
  • Page 159 5.3 Host Commands • DEVICE CONFIGURATION IDENTIFY (Features Field = C2h) The DEVICE CONFIGURATION IDENTIFY command returns information shown in Table 5.33. The content of this data structure indicates the selectable commands, modes, and feature sets that the device is capable of supporting. If a DEVICE CONFIGURATION SET command has been issued reducing the capabilities, the response to an IDENTIFY DEVICE command will reflect the reduced set of capabilities, however, the DEVICE CONFIGURATION...
  • Page 160: Table 5.33 Device Configuration Identify Data Structure

    Interface Table 5.33 DEVICE CONFIGURATION IDENTIFY data structure (1/2) Word Value Content X'0002' Data structure revision X'0007' Multiword DMA modes supported Reflected in IDENTIFY information "WORD63". Bits 15-3: Reserved Bit 2: 1 = Multiword DMA mode 2 and below are supported Bit 1: 1 = Multiword DMA mode 1 and below are supported Bit 0:...
  • Page 161 5.3 Host Commands Table 5.33 DEVICE CONFIGURATION IDENTIFY data structure (2/2) Word Value Content X ' 0015 ' Serial-ATA command set/function → Reflected in IDENTIFY information "Word 76 to 79. Bits 15-5: Reserved Bit 4: 1 = Software Settings Preservation supported Bit 3: 1 = Asynchronous Notification supported Bit 2:...
  • Page 162: Read Multiple (X'c4')

    Interface (18) READ MULTIPLE (X'C4') The READ MULTIPLE command performs the same tasks as the READ SECTOR(S) command except that this command sends the PIO Setup FIS before sending data blocks of multiple sectors. The PIO Setup FIS is sent only before the first data block is transferred, and it is not sent before any subsequent transfer of sector blocks.
  • Page 163: Figure 5.12 Execution Example Of Read Multiple Command

    5.3 Host Commands Reg. HD Host Device PIO Setup Data Block (4 sectors) PIO Setup Data Block (4 sectors) PIO Setup Data (1sector) Partial Block Figure 5.12 Execution example of READ MULTIPLE command • Error reporting conditions (1) A specified address exceeds the range where read operations are allowed (ST = 51h, ER = 10h).
  • Page 164 Interface At command issuance (Shadow Block Registers setting contents) HD No. / LBA Start cylinder No. [MSB] / LBA Start cylinder No. [LSB] / LBA Start sector No. / LBA [LSB] Transfer sector count At command completion (Shadow Block Registers contents to be read) Status information HD No.
  • Page 165: Write Multiple (X'c5')

    5.3 Host Commands (19) WRITE MULTIPLE (X'C5') The WRITE MULTIPLE command performs the same tasks as the WRITE SECTOR(S) command except that this command sends the PIO Setup FIS before sending data blocks of multiple sectors. The PIO Setup FIS is sent only before the first data block is transferred, and it is not sent before any subsequent transfer of sector blocks.
  • Page 166 Interface At command issuance (Shadow Block Registers setting contents) HD No. / LBA Start cylinder No. [MSB] / LBA Start cylinder No. [LSB] / LBA Start sector No. / LBA [LSB] Transfer sector count (R: Retry) At command completion (Shadow Block Registers contents to be read) Status information HD No.
  • Page 167: Set Multiple Mode (X'c6')

    5.3 Host Commands (20) SET MULTIPLE MODE (X'C6') This command enables the device to perform the READ MULTIPLE and WRITE MULTIPLE commands. The block count (number of sectors in a block) for these commands are also specified by the SET MULTIPLE MODE command.
  • Page 168 Interface At command completion (Shadow Block Registers contents to be read) Status information Sector count/block Error information 5-96 C141-E244...
  • Page 169: Read Dma (X'c8' Or X'c9')

    5.3 Host Commands (21) READ DMA (X'C8' or X'C9') The READ DMA command reads data from sectors, starting from the sectors specified in the Device/Head, Cylinder High, Cylinder Low, and Sector Number fields and continuing for as many sectors as specified in the Sector Count field. A value ranging from 1 to 256 can be specified for the number of sectors.
  • Page 170 Interface At command issuance (Shadow Block Registers setting contents) HD No. / LBA Start cylinder No. [MSB] / LBA Start cylinder No. [LSB] / LBA Start sector No. / LBA [LSB] Transfer sector count At command completion (Shadow Block Registers contents to be read) Status information HD No.
  • Page 171: Write Dma (X'ca' Or X'cb')

    5.3 Host Commands (22) WRITE DMA (X'CA' or X'CB') The WRITE DMA command writes data to sectors starting from the sectors specified in the Device/Head, Cylinder High, Cylinder Low, and Sector Number fields and continuing for as many sectors as specified in the Sector Count field. A value ranging from 1 to 256 can be specified for the number of the sectors.
  • Page 172 Interface At command issuance (Shadow Block Registers setting contents) HD No. / LBA Start cylinder No. [MSB] / LBA Start cylinder No. [LSB] / LBA Start sector No. / LBA [LSB] Transfer sector count At command completion (Shadow Block Registers contents to be read) Status information HD No.
  • Page 173: Read Buffer (X'e4')

    5.3 Host Commands (23) READ BUFFER (X'E4') The host system can read the current contents of the data buffer of the device by issuing this command. Upon receipt of this command, the device transfers the PIO Setup. After that, the host system can read up to 512 bytes of data from the buffer.
  • Page 174: Flush Cache (X'e7')

    Interface (24) FLUSH CACHE (X'E7') This command is used to write every write cache data stored by the device into the medium. When the device completes all the data writing, it reports the status to the host system. The device performs every error recovery so that the data are read correctly.
  • Page 175: Write Buffer (X'e8')

    5.3 Host Commands (25) WRITE BUFFER (X'E8') The host system can overwrite the contents of the data buffer of the device with a desired data pattern by issuing this command. Upon receipt of this command, the device transfers the PIO Setup. After that, 512 bytes of data is transferred from the host and the device writes the data to the buffer, then reports the status .
  • Page 176: Identify Device (X'ec')

    Interface (26) IDENTIFY DEVICE (X'EC') The host system issues the IDENTIFY DEVICE command to read parameter information from the device. When it receives the command, the device prepares the parameter information to be sent to the host. Next, the device sends the PIO Setup FIS to the host, then sends the parameter information including a 512-byte date.
  • Page 177: Identify Device Dma (X'ee')

    5.3 Host Commands (27) IDENTIFY DEVICE DMA (X'EE') When this command is not used to transfer data to the host in DMA mode, this command functions in the same way as the Identify Device command. • Error reporting conditions (1) A SATA communication error occurred (ST = 51h, ER = 0Ch). At command issuance (Shadow Block Registers setting contents) At command completion (Shadow Block Registers contents to be read) Status information...
  • Page 178: Table 5.34 Information To Be Read By Identify Device Command

    Interface Table 5.34 Information to be read by IDENTIFY DEVICE command (1/3) Word Value Description X'045A' General Configuration X'3FFF' Number of Logical cylinders X'C837' Detailed Configuration X'0010' Number of Logical Heads X'0000' Undefined X'003F' Number of Logical sectors per Logical track X'0000' Undefined 10-19...
  • Page 179 5.3 Host Commands Table 5.34 Information to be read by IDENTIFY DEVICE command (2/3) Word Value Description X'0078' Minimum multiword DMA transfer cycle time per word: 120 [ns] X'0078' Manufacturer's recommended DMA transfer cycle time: 120 [ns] X'0078' Minimum PIO transfer cycle time without IORDY flow control: 120 [ns] X'0078' Minimum PIO transfer cycle time with IORDY flow control: 120 [ns] 69-74...
  • Page 180 Interface Table 5.34 Information to be read by IDENTIFY DEVICE command (3/3) Word Value Description 117-118 X' 0100' Number of words for logical sectors X'400x' Features Implemented Word (Supported Settings) X'400x' Features Enable Word (Enable Settings) 121-127 X'0000' Reserved X'0001' Security status 129-159 X'xxxx'...
  • Page 181 5.3 Host Commands *2 Word 1, 3, 6, 60-61 Word MHV2200BT MHV2160BT X'3FFF' X'3FFF' X'10' X'10' X'3F' X'3F' 60-61 X'FFFFFFF' X'FFFFFFF' *3 Status of the Word 2 Identify information is shown as follows: 37C8h The device requires the SET FEATURES sub-command after the power-on sequence in order to spin-up.
  • Page 182 Interface *5 Word 50: Device capability Bit 15: Bit 14: Bit 13 to 1 Reserved Bit 0 Standby timer value '1' = Standby timer value of the device is the smallest value. *6 Word 51: PIO data transfer mode Bits 15-8: PIO data transfer mode X'02'=PIO mode 2 supported Bits 7-0: Undefined...
  • Page 183 5.3 Host Commands *10 Word 64: Advance PIO transfer mode support status Bits 15-8: Reserved Bits 7-0: Advance PIO transfer mode Bit 1: '1' = Mode 4 supported Bit 0: '1' = Mode 3 supported *11 WORD 75: X ' 001F ' (32) *12 WORD 76 Bits 15-11: Reserved Bit 10:...
  • Page 184 Interface *14 WORD 79 Bits 15-7: Reserved Bit 6: '1' = Enables the software settings preservation. Bit 5: Reserved Bit 4: '1' = Enables the in-order data delivery. Bit 3: '1' = Enables the Power Management initiation function from Bit '1' = Enables the Auto-Activate optimization function in the DMA Setup FIS.
  • Page 185 5.3 Host Commands Bit 6: '1' = Supports the read cache function. Bit 5: '1' = Supports the write cache function. Bit 4: '1' = Supports the PACKET command feature set. Bit 3: '1' = Supports the power management feature set. Bit 2: '1' = Supports the Removable Media feature set.
  • Page 186 Interface Bit 8 '1' = Support the World wide name. Bit 7 '1' = Support the WRITE DMA QUEUED FUA EXT command. Bit 6 '1' = Support the WRITE DMA FUA EXT and WRITE MULTIPLE FUA EXT commands. Bit 5 ‘1'= Support the General Purpose Logging feature.
  • Page 187 '1' = Supports the Mode 3 Bit 2: '1' = Supports the Mode 2 Bit 1: '1' = Supports the Mode 1 Bit 0: '1' = Supports the Mode 0 *23 WORD 89 MHV2200BT= X'64': 200 minutes MHV2160BT= X'50': 160 minutes C141-E244 5-115...
  • Page 188 Interface *24 WORD 94 Bits 15-8: X'FE' Recommended acoustic management value. Bits 7-0: X'XX' Current set value. FE-C0: Performance mode BF-80: Acoustic mode Acoustic management is unused it. (It is same as "FE-CO") *25 WORD 100-103: X'12A19EB0' This values contains the maximum LBA in user accessible space when the 48-bit addressing feature set is supported.
  • Page 189 5.3 Host Commands *29 WORD 128 Bits 15-9: Reserved Bit 8: Security level. 0: High, 1: Maximum Bits 7-6: Reserved Bit 5: '1' = Enhanced security erase supported Bit 4: '1' = Security counter expired Bit 3: '1' = Security frozen Bit 2: '1' = Security locked Bit 1:...
  • Page 190: Set Features (X'ef')

    Interface (28) SET FEATURES (X'EF') The host system issues the SET FEATURES command to set parameters in the Features field for the purpose of changing the device features to be executed. Upon receipt of this command, the device sets the parameters in the Features field, then reports the status to the host system.
  • Page 191 5.3 Host Commands Table 5.35 Features field values and settable modes (2/2) Features Drive operation mode Field X ' 85 ' Set the advanced power management mode to Mode-0. X ' 86 ' Disables the Power-Up In Standby function. (Note) X ' 88 ' Undefined (Note) X ' 8B '...
  • Page 192 Interface • Error reporting conditions (1) An undefined code is specified in the FR or SC field (ST = 51h, ER = 04h). (2) A SATA communication error occurred (ST = 51h, ER = 14h). At command issuance (Shadow Block O registers setting contents) xx or *5 xx or *1 ~ 3 [See Table 5.6]...
  • Page 193 5.3 Host Commands Transfer mode Sector Count file • PIO default transfer mode 00000 000 (X'00') • PIO flow control transfer mode X 00001 000 (X'08': Mode 0) 00001 001 (X'09': Mode 1) 00001 010 (X'0A': Mode 2) 00001 011 (X'0B': Mode 3) 00001 100 (X'0C': Mode 4) •...
  • Page 194 Interface Field APM Level Sector Count Mode 0 Active Idle → Low Power Idle C0h-FEh Mode 1 Active Idle → Low Power Idle 80h-BFh Mode 2 Active Idle → Low Power Idle → Standby 01h-7Fh 00h, FFh Reserve (State Keep) Active Idle: The spindle motor rotates, and the head is loaded on the most inner position on media.
  • Page 195 5.3 Host Commands AAM Level Sector Count Filed Performance mode (Fast Seek) C0h-FEh Acoustic mode (Slow Seek) 80h-BFh Abort 01h-7Fh Non Operate 00h, FFh High-speed seek to which gives priority to the performance operates as for "Performance mode", and low-speed seek by which the seek sound is suppressed operates as for "Acoustic mode".
  • Page 196: Security Set Password (X'f1')

    Interface (29) SECURITY SET PASSWORD (X'F1') This command enables a user password or master password to be set. The host transfers the 512-byte data shown in Table 5.36 to the device. The device determines the operation of the lock function according to the specifications of the Identifier bit and Security level bit in the transferred data.
  • Page 197 5.3 Host Commands • Error reporting conditions (1) The device is in Security Locked mode (ST = 51h, ER = 04h). (2) The device is in Security Frozen mode (ST = 51h, ER = 04h). (3) A SATA communication error occurred (ST = 51h, ER = 14h). At command issuance (Shadow Block Registers setting contents) At command completion (Shadow Block Register contents to be read) Status information...
  • Page 198: Security Unlock(X'f2')

    Interface (30) SECURITY UNLOCK(X'F2') This command cancels LOCKED MODE. The host transfers the 512-byte data shown in Table 5.38 to the device. Operation of the device varies as follows depending on whether the host specifies the master password. • When the master password is selected When the security level is LOCKED MODE is high, the password is compared with the master password already set.
  • Page 199 5.3 Host Commands At command completion (Shadow Block Register contents to be read) Status information Error information C141-E244 5-127...
  • Page 200: Security Erase Prepare (X'f3')

    Interface (31) SECURITY ERASE PREPARE (X'F3') The SECURITY ERASE UNIT command feature is enabled by issuing the SECURITY ERASE PREPARE command and then the SECURITY ERASE UNIT command. The SECURITY ERASE PREPARE command prevents data from being erased unnecessarily by the SECURITY ERASE UNIT command. •...
  • Page 201: Security Erase Unit (X'f4')

    5.3 Host Commands (32) SECURITY ERASE UNIT (X'F4') This command erases all user data. This command also invalidates the user password and releases the lock function. The host transfers the 512-byte data shown in Table 5.38 to the device. The device compares the user password or master password in the transferred data with the user password or master password already set.
  • Page 202: Security Freeze Lock (X'f5')

    Interface (33) SECURITY FREEZE LOCK (X'F5') This command puts the device into FROZEN MODE. The following commands used to change the lock function return the Aborted Command error if the device is in FROZEN MODE. • SECURITY SET PASSWORD • SECURITY UNLOCK •...
  • Page 203 5.3 Host Commands • DCO FREEZE LOCK • DCO IDENTIFY • WRITE MULTIPLE FUA EXT • WRITE DMA FUA EXT • READ FP DMA QUEUED • WRITE FP DMA QUEUED • Error reporting conditions (1) The device is in Security Locked mode (ST = 51h, ER = 04h). (2) A SATA communication error occurred (ST = 51h, ER = 14h).
  • Page 204: Security Disable Password (X'f6')

    Interface (34) SECURITY DISABLE PASSWORD (X'F6') This command invalidates the user password already set and releases the lock function. The host transfers the 512-byte data shown in Table 5.38 to the device. The device compares the user password or master password in the transferred data with the user password or master password already set, and releases the lock function if the passwords are the same.
  • Page 205 5.3 Host Commands • Error reporting conditions (1) An incorrect password is specified (ST = 51h, ER = 04h). (2) The device is in Security Locked mode (ST = 51h, ER = 04h). (3) The device is in Security Frozen mode (ST = 51h, ER = 04h). (4) A SATA communication error occurred (ST = 51h, ER = 14h).
  • Page 206: Read Native Max Address (X'f8')

    Interface (35) READ NATIVE MAX ADDRESS (X'F8') This command posts the maximum address intrinsic to the device, which can be set by the SET MAX ADDRESS command. Upon receipt of this command, the device indicates the maximum address in the DH, CH, CL and SN field. Then reports the status to the host system.
  • Page 207: Set Max (X'f9')

    5.3 Host Commands (36) SET MAX (X'F9') SET MAX Features Register Values Value Command Obsolete SET MAX SET PASSWORD SET MAX LOCK SET MAX UNLOCK SET MAX FREEZE LOCK 05h - FFh Reserved • SET MAX ADDRESS A successful READ NATIVE MAX ADDRESS command shall immediately precede a SET MAX ADDRESS command.
  • Page 208 Interface • Error reporting conditions (1) The command has been issued more than twice (ST = 51h, ER = 10h). (2) The READ NATIVE MAX ADDRESS command has not been issued prior to the SET MAX ADDRESS command. (ST = 51h, ER = 04h). (3) The SET MAX ADDRESS (EXT) command has been issued (ST = 51h, ER = 04h).
  • Page 209 5.3 Host Commands • Error reporting conditions (1) The device is in Set Max Locked mode or Set Max Freeze Locked mode (ST = 51h, ER =04h). (2) A SATA communication error occurred (ST = 51h, ER = 14h). At command issuance (Shadow Block Registers setting contents) At command completion (Shadow Block Registers contents to be read) Status information Error information...
  • Page 210 Interface • SET MAX LOCK (Features Field = 02h) The SET MAX LOCK command sets the device into SET_MAX_LOCK state. After this command is completed, any other SET MAX commands except SET MAX UNLOCK and SET MAX FREEZE LOCK commands are rejected. And the device returns command aborted.
  • Page 211 5.3 Host Commands • SET MAX UNLOCK (Features Field = 03h) This command requests a transfer of single sector of data from the host, and defines the contents of SET MAX ADDRESS password. The password supplied in the sector of data transferred shall be compared with the stored password.
  • Page 212 Interface • SET MAX FREEZE LOCK (Features Field = 04h) The Set MAX FREEZE LOCK command sets the device to SET_MAX_Frozen state. After the device made a transition to the Set Max Freeze Lock state, the following SET MAX commands are rejected, then the device returns command aborted: −...
  • Page 213: Read Sector (S) Ext (X'24')

    5.3 Host Commands (37) READ SECTOR (S) EXT (X'24') • Description This command is the extended command of the READ SECTOR (S) command. The LBA specification is increased from 28 bits to 48 bits, and the maximum number of sectors that can be transferred by a single command is changed from 100h to 10000h.
  • Page 214: Read Dma Ext (X'25')

    Interface (38) READ DMA EXT (X'25') • Description This command is the extended command of the READ DMA command. The LBA specification is increased from 28 bits to 48 bits, and the maximum number of sectors that can be transferred by a single command is changed from 100h to 10000h.
  • Page 215: Read Native Max Address Ext (X'27')

    5.3 Host Commands (39) READ NATIVE MAX ADDRESS EXT (X'27') • Description This command is used to assign the highest address that the device can initially set with the SET MAX ADDRESS EXT command. The maximum address is displayed in the CH(EXP), CL(EXP), SN(EXP) filed of the device shadow block registers.
  • Page 216: Read Multiple Ext (X'29')

    Interface (40) READ MULTIPLE EXT (X'29') • Description This command is the extended command of the READ MULTIPLE command. The LBA specification is increased from 28 bits to 48 bits, and the maximum number of sectors that can be transferred by a single command is changed from 100h to 10000h.
  • Page 217: Read Log Ext (X'2F')

    5.3 Host Commands (41) READ LOG EXT (X'2F') The READ LOG EXTEND command reads versatile log data. Versatile log data includes the Extended SMART Comprehensive Error log, the Extended SMART Self-test log, and the SMART Selective log. The effectiveness of the log types depends on customization.
  • Page 218 Interface At command issuance (Shadow Block Registers setting contents) CH EXP CL EXP Sector offset (15-8) Sector offset (7-0) SN EXP Log address SC EXP Sector count (15-8) Sector count (7-0) FR EXP At command completion (Shadow Block Registers contents to be read) Status information CH EXP...
  • Page 219: Table 5.39 Data Format Of Read Log Ext Log Page 10H

    5.3 Host Commands Table 5.39 Data format of Read Log Ext log page 10h Byte Item field Reserved Status field value Error field value Sector Number field value Cylinder Low field value Cylinder High field value Dev/Head field value Sector Number Exp field value Cylinder Low Exp field value Cylinder High Exp field value Reserved...
  • Page 220: Table 5.41 Data Format Of Read Log Ext Log Page 11H

    Interface Table 5.41 Data format of Read Log Ext log page 11h Byte Item 00 to 03 Reserved 04 to 05 Counter 1 Identifier 06 to 09 Counter 1 Value 0A to 0B Counter 2 Identifier 0C to 0F Counter 2 Value …...
  • Page 221 5.3 Host Commands • SCT STATUS REQUEST (SN = E0h) Refer to SMART Command Transport (SCT). At command issuance (Shadow Block Registers setting) CH EXP CL EXP SN EXP SC EXP FR EXP At command completion (Shadow Block Registers contents to be read) Status information CH EXP CL EXP...
  • Page 222 Interface • SCT READ DATA (SN = E1h, FR = D5) Refer to SMART Command Transport (SCT). At command issuance (Shadow Block Registers setting) CH EXP CL EXP SN EXP SC EXP FR EXP At command completion (Shadow Block Registers contents to be read) Status information CH EXP CL EXP...
  • Page 223: Write Sector (S) Ext (X'34')

    5.3 Host Commands (42) WRITE SECTOR (S) EXT (X'34') • Description This command is the extended command of the WRITE SECTOR (S) command. The LBA specification is increased from 28 bits to 48 bits, and the maximum number of sectors that can be transferred by a single command is changed from 100h to 10000h.
  • Page 224: Write Dma Ext (X'35')

    Interface (43) WRITE DMA EXT (X'35') • Description This command is the extended command of the WRITE DMA command. The LBA specification is increased from 28 bits to 48 bits, and the maximum number of sectors that can be transferred by a single command is changed from 100h to 10000h.
  • Page 225: Set Max Address Ext (X'37')

    5.3 Host Commands (44) SET MAX ADDRESS EXT (X'37') • Description This command limits specifications so that the highest address that can be accessed by users can be specified only in LBA mode. The address information specified with this command is set in words 1, 54, 57, 58, 60, 61, and 100 to 103 of the IDENTIFY DEVICE command response.
  • Page 226 Interface At command issuance (Shadow Block Registers setting contents) CH EXP SET MAX LBA (47-40) SET MAX LBA (23-16) CL EXP SET MAX LBA (39-32) SET MAX LBA (15-8) SN EXP SET MAX LBA (31-24) SET MAX LBA (7-0) SC EXP FR EXP At command completion (Shadow Block Registers contents to be read) Status information...
  • Page 227: Write Multiple Ext (X'39')

    5.3 Host Commands (45) WRITE MULTIPLE EXT (X'39') • Description This command is the extended command of the WRITE MULTIPLE command. The LBA specification is increased from 28 bits to 48 bits, and the maximum number of sectors that can be transferred by a single command is changed from 100h to 10000h.
  • Page 228: Write Log Ext (X'3F')

    Interface (46) WRITE LOG EXT (X'3F') The WRITE LOG EXTEND command writes versatile log data. Versatile log data includes the Extended SMART Comprehensive Error log, the Extended SMART Self-test log, and the SMART Selective log; and each log can be partially written with this command.
  • Page 229 5.3 Host Commands At command issuance (Shadow Block Registers setting contents) CH EXP CL EXP Sector offset (15-8) Sector offset (7-0) SN EXP Log address SC EXP Sector count (15-8) Sector count (7-0) FR EXP At command completion (Shadow Block Registers contents to be read) Status information CH EXP CL EXP...
  • Page 230 Interface • SCT COMMAND SET (SN = E0h) Refer to SMART Command Transport (SCT). At command issuance (Shadow Block Registers setting) CH EXP CL EXP SN EXP SC EXP FR EXP At command completion (Shadow Block Registers contents to be read) Status information CH EXP CL EXP...
  • Page 231 5.3 Host Commands • SCT WRITE DATA (SN = E1h ) Refer to SMART Command Transport(SCT). At command issuance (Shadow Block Registers setting) CH EXP CL EXP SN EXP SC EXP FR EXP At command completion (Shadow Block Registers contents to be read) Status information CH EXP...
  • Page 232: Read Verify Sector (S) Ext (X'42')

    Interface (47) READ VERIFY SECTOR (S) EXT (X'42') • Description This command is the extended command of the READ VERIFY SECTOR (S) command. The LBA specification is increased from 28 bits to 48 bits, and the maximum number of sectors that can be transferred by a single command is changed from 100h to 10000h.
  • Page 233: Flush Cache Ext (X'ea')

    5.3 Host Commands (48) FLUSH CACHE EXT (X'EA') • Description This command executes the same operations as the FLUSH CACHE command (E7h). However, only LBA=1 can be specified in the command. • Error reporting conditions (1) A SATA communication error occurred (ST = 51h, ER = 14h). At command issuance (Shadow Block Registers setting contents) CH EXP CL EXP...
  • Page 234: Write Multiple Fua Ext (X'ce')

    Interface (49) WRITE MULTIPLE FUA EXT (X'CE') • Description The WRITE MULTIPLE FUA EXT command reports the status of a command after user data is written to a medium, regardless of whether the write cache feature is enabled or disabled. The other command control and error reporting conditions are the same as those of the WRITE MULTIPLE EXT command.
  • Page 235: Write Dma Fua Ext (X'3D')

    5.3 Host Commands (50) WRITE DMA FUA EXT (X'3D') • Description The WRITE DMA FUA EXT command reports the status of a command after user data is written to a medium, regardless of whether the write cache feature is enabled or disabled. The other command control and error reporting conditions are the same as those of the WRITE DMA EXT command.
  • Page 236: Read Fp Dma Queued (X'60')

    Interface (51) READ FP DMA QUEUED (X'60') • Description For details about control of the READ FP DMA QUEUED command, see Section 5.4.6. At command issuance (Shadow Block Registers setting contents) CH EXP LBA (47-40) LBA (23-16) CL EXP LBA (39-32) LBA (15-8) SN EXP LBA (31-24)
  • Page 237: Write Fp Dma Queued (X'61')

    5.3 Host Commands (52) WRITE FP DMA QUEUED (X'61') • Description For details about control of the WRITE FP DMA QUEUED command, see Section 5.4.6. At command issuance (Shadow Block Registers setting contents) CH EXP LBA (47-40) LBA (23-16) CL EXP LBA (39-32) LBA (15-8) SN EXP...
  • Page 238: Error Posting

    Interface 5.3.3 Error posting Table 5.43 lists the defined errors that are valid for each command. Table 5.43 Command code and parameters (1/2) Error Field Status Field COMMAND NAME SFRW SFRR UNC IDNF ABRT TK0NF DRDY DWF ERR RECALIBRATE READ SECTOR(S) WRITE SECTOR(S) WRITE VERIFY READ VERIFY SECTOR(S)
  • Page 239 5.3 Host Commands Table 5.43 Command code and parameters (2/2) Error Field Status Field COMMAND NAME SFRW SFRR UNC IDNF ABRT TK0NF DRDY DWF ERR SECURITY UNLOCK SECURITY ERASE PREPARE SECURITY ERASE UNIT SECURITY FREEZE LOCK SECURITY DISABLE PASSWORD READ NATIVE MAX ADDRESS SET MAX READ SECTOR(S) EXT...
  • Page 240: Command Protocol

    Interface 5.4 Command Protocol The host should confirm that the BSY bit of the Shadow Block Status field of the device is 0 prior to issue a command. If BSY bit is 1, the host should wait for issuing a command until BSY bit is cleared to 0. Commands can be executed only when the DRDY bit of the Status field is 1.
  • Page 241: Figure 5.13 Non-Data Command Protocol

    5.4 Command Protocol • READ NATIVE MAX ADDRESS (EXT) • IDLE • IDLE (UNLOAD) IMMEDIATE • STANDBY • STANDBY IMMEDIATE • CHECK POWER MODE • SMART DISABLE OPERATION • SMART ENABLE/DISABLE AUTOSAVE • SMART ENABLE OPERATION • SMART EXECUTE OFFLINE IMMEDIATE •...
  • Page 242: Pio Data-In Command Protocol

    Interface 5.4.2 PIO data-in command protocol Execution of the following commands involves data transfers from the device to the host system: • IDENTIFY DEVICE • READ SECTOR(S) (EXT) • READ MULTI (EXT) • READ BUFFER • SMART READ DATA • SMATR READ LOG SECTOR •...
  • Page 243: Pio Data-Out Command Protocol

    5.4 Command Protocol RegHD Host Device PIO Setup DATA Figure 5.14 PIO data-in command protocol 5.4.3 PIO data-out command protocol Execution of the following commands involves data transfers from the host system to the device: • WRITE SECTOR(S) (EXT) • WRITE MULTI (EXT) (FUA EXT) •...
  • Page 244: Figure 5.15 Pio Data-Out Command Protocol

    Interface An outline of this protocol is as follows: 1) The device receives a PIO data-out command with the RegHD FIS. 2) If an error remaining in the device prevents command execution, the device sends the RegDH FIS with 1 set in the I bit. 3) When the device is ready to receive data, it sets 0 in the BSY bit and 1 in the DRQ bit of the Status field of the PIO Setup FIS.
  • Page 245: Dma Data-In Command Protocol

    5.4 Command Protocol 5.4.4 DMA data-in command protocol DMA data-in commands include the following commands: • READ DMA (EXT) • IDENTFY DEVICE • IDENTFY DEVICE DMA The DMA mechanism transfers data of more than one block from the device to the host.
  • Page 246: Dma Data-Out Command Protocol

    Interface 5.4.5 DMA data-out command protocol The DMA data-out command is the following command: • WRITE DMA (EXT) (FUA EXT) The DMA mechanism transfers data of more than one block from the host to the device. The completion of the command is reported by an interruption. An outline of this protocol is as follows: 1) The device receives the DMA data-out command with the RegHD FIS.
  • Page 247: Native Command Queuing Protocol

    5.4 Command Protocol 5.4.6 Native Command Queuing protocol Native Queued commands include the following commands: READ FP DMA QUEUED WRITE FP DMA QUEUED An outline of the command queuing protocol is as follows: 1) After the device receives a Native Queued command, if the command is executable, the device sends to the host the RegDH FIS with the settings of I bit = 0, BSY bit = 0, and DRQ bit = 0, and it places the command in the command queue.
  • Page 248: Figure 5.18 Read Fp Dma Queued Command Protocol

    Interface 8) If an uncorrectable error occurs during command queuing, the device sends to the host the Set Device Bits FIS with the settings of ERR bit = 1, ERRReg = ATAErrCode, I bit = 1, and SActive = 0 to report an error. 9) After reporting the error, the device accepts only the READ LOG EXT command with page 10h specified and the reset requests (SoftReset and COMRESET).
  • Page 249: Figure 5.19 Write Fp Dma Queued Command Protocol

    5.4 Command Protocol RegHD Host Device RegDH DMA Setup DMACT DATA SetDB Figure 5.19 WRITE FP DMA QUEUED command protocol C141-E244 5-177...
  • Page 250: Power-On And Comreset

    Interface 5.5 Power-on and COMRESET Figure 5.20 shows the power-on sequence, and Figure 5.21 shows the COMRESET sequence. Immediately after power-on or COMRESET, the host sets 0x7Fh in the Status field of the Shadow Block Register and 0xFFh in other fields. After the power-on sequence shown below and after communication with the SATA interface is established, the host sets 0xFFh in the Status field of the Shadow Block Register.
  • Page 251: Figure 5.21 Comreset Sequence

    5.5 Power-on and COMRESET Host Host releases releases Host/device Host Host ComReset calibrate ComWake Align Host Host Host ComReset ComWake data Host TX (Device RX) Device TX (Host RX) Device Device Device ComInit ComWake data Device Device Device releases Calibrate Align ComInit Figure 5.21 COMRESET sequence...
  • Page 252 This page is intentionally left blank.
  • Page 253: Chapter 6 Operations

    CHAPTER 6 Operations Reset and Diagnosis Power Save Power Save Controlled by Interface Power Management (IPM) Read-ahead Cache Write Cache This chapter explains each of the above operations. C141-E244...
  • Page 254: Reset And Diagnosis

    Operations 6.1 Reset and Diagnosis This section explains the device responses to power-on and an accepted reset. 6.1.1 Response to power-on Immediately after power is turned on, the host sets 0x7Fh in the Status field of the Shadow Block and 0xFFh in other fields. After communication with the SATA interface is established, the host sets 0xFFh in the Status field of the Shadow Block.
  • Page 255 6.1 Reset and Diagnosis Figure 6.2 Response to power-on (when the device is powered on earlier than the host) C141-E244...
  • Page 256: Response To Comreset

    Operations 6.1.2 Response to COMRESET The response to COMRESET is almost the same as the response when power is turned on and a power-on reset is then cancelled. The device establishes communication with the SATA interface (PHY Ready) and sends the RegDH FIS (STS = 50h) to notify the host that the device is ready.
  • Page 257: Software Settings Preservation

    6.1 Reset and Diagnosis 6.1.2.1 Software settings preservation When a device is enumerated, software will configure the device using SET FEATURES and other commands. These software settings are often preserved across software reset but not necessarily across hardware reset. In Parallel ATA, only commanded hardware resets can occur, thus legacy software only reprograms settings that are cleared for the particular type of reset it has issued.
  • Page 258 Operations • SET ADDRESS MAX (EXT) The maximum LBA specified in SET MAX ADDRESS or SET MAX ADDRESS EXT. • SET FEATURES (Write Cache Enable/Disable) The write cache enable/disable setting established by the SET FEATURES command with subcommand code of 02h or 82h. •...
  • Page 259: Response To A Software Reset

    6.1 Reset and Diagnosis 6.1.3 Response to a software reset When a software reset is accepted, the device performs a self-diagnosis, and it sends the RegDH FIS (STS = 50h) to notify the host that the device is ready. Then, the software reset sequence is completed. Figure 6.4 Response to a software reset C141-E244...
  • Page 260: Power Save

    Operations 6.2 Power Save The host can change the power consumption state of the device by issuing a power command to the device. 6.2.1 Power save mode There are five types of power consumption state of the device including active mode where all circuits are active.
  • Page 261 6.2 Power Save • Upon receipt of a COMRESET • Upon receipt of Idle/Idle Intermediate (4) Standby mode In this mode, the spindle motor has stopped from the low power idle state. The device can receive commands through the interface. However if a command with disk access is issued, response time to the command under the standby mode takes longer than the active, active idle, or low power idle mode because the access to the disk medium cannot be made immediately.
  • Page 262: Power Commands

    Operations 6.2.2 Power commands The following commands are available as power commands. • IDLE • IDLE IMMEDIATE • STANDBY • STANDBY IMMEDIATE • SLEEP • CHECK POWER MODE • SET FEATURES (APM setting) 6-10 C141-E244...
  • Page 263: Power Save Controlled By Interface Power Management (Ipm)

    6.3 Power Save Controlled by Interface Power Management (IPM) 6.3 Power Save Controlled by Interface Power Management (IPM) The host system can change the power consumption status of the interface by issuing the PARTIAL or SLUMBER request to the device. 6.3.1 Power save mode of the interface The interface power consumption states of this device can be separated into the following three modes, including the Active mode where the device is in the...
  • Page 264 Operations (3) Slumber mode In this mode, the (deep) Power Save mode is set for the interface circuit. The device switches to Slumber mode when the following occurs: • The device receives the PMREQ_P signal from the host and responds with the PMACK signal •...
  • Page 265: Read-Ahead Cache

    6.4 Read-ahead Cache 6.4 Read-ahead Cache Read-ahead Cache is the function for automatically reading data blocks upon completion of the read command in order to read data from disk media and save data block on a data buffer. If a subsequent command requests reading of the read-ahead data, data on the data buffer can be transferred without accessing the disk media.
  • Page 266: Caching Operation

    Operations 6.4.2 Caching operation The caching operation is performed only when the commands listed below are received. If any of the following data are stored on the data buffer, the data is sent to the host system. • All of the sector data that this command processes. •...
  • Page 267 6.4 Read-ahead Cache (3) Invalidating caching-target data Data that is a target of caching on the data buffer is invalidated under the following conditions: 1)-1 Any command other than the following commands is issued. (All caching- target data is invalidated.) READ BUFFER WRITE BUFFER RECALIBRATE...
  • Page 268: Using The Read Segment Buffer

    Operations 6.4.3 Using the read segment buffer Methods of using the read segment buffer are explained for following situations. 6.4.3.1 Miss-hit In this situations, the top block of read requested data is not stored at all in the data buffer. As a result, all of the read requested data is read from disk media. 1) HAP (host address pointer) and DAP (disk address pointer) are defined in the head of the segment allocated from Buffer.
  • Page 269: Sequential Hit

    6.4 Read-ahead Cache 6.4.3.2 Sequential hit When the read command that is targeted at a sequential address is received after execution of the read commands is completed, the read command transmits the Read requested data to the host system continuing read-ahead without newly allocating the buffer for read.
  • Page 270 Operations data that is a target of caching and remains before a full hit, the data is retained when execution of the command is completed. This is done so that a new read- ahead operation is not performed. If the full hit command is received during the read-ahead operation, a transfer of the read requested data starts while the read- ahead operation is in progress.
  • Page 271: Partial Hit

    6.4 Read-ahead Cache 6.4.3.4 Partial hit In this situation, a part of read requested data including the top sector is stored in the data buffer. A transfer of the read requested data starts from the address where the data that is hit is stored until the top sector of the read requested data. Remaining part of insufficient data is read then.
  • Page 272: Write Cache

    Operations 6.5 Write Cache Write Cache is the function for reducing the command processing time by separating command control to disk media from write control to disk media. When Write Cache is permitted, the write command can be keep receiving as long as the space available for data transfers remains free on the data buffer.
  • Page 273 6.5 Write Cache (3) Status report in the event of an error The status report concerning an error occurring during writing onto media is created when the next command is issued. Where the command reporting the error status is not executed, only the error status is reported. Only the status of an error that occurs during write processing is reported.
  • Page 274 This page is intentionally left blank.
  • Page 275: Glossary

    Glossary Actuator Head positioning assembly. The actuator consists of a voice coil motor and head arm. If positions the read-write (R-W) head. AT bus A bus between the host CPU and adapter board ATA (AT Attachment) standard The ATA standard is for a PC AT interface regulated to establish compatibility between products manufactured by different vendors.
  • Page 276 Glossary Disk enclosure. The DE includes the disks, built-in spindle motor, actuator, heads, and air filter. The DE is sealed to protect these components from dust. Host receptacle Host receptacle is a connector type on the host system that the signal segment of Serial-ATA unifies with the power supply segment.
  • Page 277 Glossary Rotational delay Time delay due to disk rotation. The mean delay is the time required for half a disk rotation. The mean delay is the average time required for a head to reach a sector after the head is positioned on a track. Seek time The seek time is the time required for a head to move from the current track to another track.
  • Page 278 This page is intentionally left blank.
  • Page 279: Acronyms And Abbreviations

    Acronyms and Abbreviations ABRT Aborted command IDNF ID not found Automatic idle control IRQ14 Interrupt request 14 AMNF Address mark not found AT attachment American wire gage Light emitting diode Bad block detected Mega-byte BIOS Basic input-output system MB/S Mega-byte per seconds Micro processor unit CORR Corrected data...
  • Page 280 This page is intentionally left blank.
  • Page 281: Index

    Index caching command for .......6-14, 6-20 data for ..........6-14 A/D converter circuit .......4-11 caching data, invalidating......6-15 AAM ............5-122 caching operation........6-14 acceleration mode ........4-19 capability, off-line data collection ... 5-64 acoustic noise ..........1-9 cashing function at power-on ....6-21 acoustic noise specification......1-10 caution, handling ........
  • Page 282 Index condition, installation ........ 3-1 DEVICE CONFIGURATION configuration IDENTIFY ...........5-87 device..........2-1, 2-2 DEVICE CONFIGURATION drive system ........... 2-3 IDENTIFY data structure....5-88, 5-89 system ............ 2-3 DEVICE CONFIGURATION connection RESTORE..........5-86 drive ............2-3 DEVICE CONFIGURATION SET..5-87 connection to SATA interface....1-3 device connector ........3-8 connection with host system......
  • Page 283 Index error logging capability......5-64 guarantee failure threshold value, error posting ...........5-166 data format of........5-60 error rate...........1-12 example of model name and product number............1-5 handling caution ........3-6 EXECUTE DEVICE DIAGNOSTIC ..5-43 head ............2-2 execution example of READ high resistance against shock..... 1-3 MULTIPLE command ......5-91 high-speed transfer rate ......
  • Page 284 ........5-171, 5-172 partial ........... 6-11 PIO setup – device to host .......5-21 power save ..........6-8 positioning error........1-12 settable ..........5-118 Post code (MHV2200BT only)....4-17 sleep ............6-9 power amplifier........4-13 slumber ..........6-12 power command........6-10 standby........... 6-9 power management model and product number......
  • Page 285 Index sector number field ........5-25 SECURITY DISABLE PASSWORD ... 5-132 raw attribute value........5-62 SECURITY ERASE PREPARE ... 5-128 READ BUFFER........5-101 SECURITY ERASE UNIT ....5-129 read circuit..........4-10 SECURITY FREEZE LOCK ....5-130 READ DMA ..........5-97 security password, content of ....5-132 READ DMA EXT........5-142 SECURITY SET PASSWORD.....
  • Page 286 Index slumber mode .......... 6-12 SMART ........... 5-55 tag field information ....5-147, 5-148 SMART command transport (SCT) ..5-72 temperature, ambient .........3-5 SMART comprehensive error log, test span ...........5-70 data format of........5-68 theory of device operation ......4-1 SMART error logging ......5-65 total number of drive error.......5-67 SMART self-test ........
  • Page 287 Comment Form We would appreciate your comments and suggestions regarding this manual. Manual code C141-E244-01EN Manual name MHV2200BT, MHV2160BT DISK DRIVES PRODUCT MANUAL Please mark each item: E(Excellent), G(Good), F(Fair), P(Poor). General appearance Illustration Technical level Glossary Organization Acronyms & Abbreviations...
  • Page 288 This page is intentionally left blank.
  • Page 289 MHV2200BT, MHV2160BT DISK DRIVES PRODUCT MANUAL C141-E244-01EN MHV2200BT, MHV2160BT DISK DRIVES PRODUCT MANUAL C141-E244-01EN...
  • Page 290 This page is intentionally left blank.

This manual is also suitable for:

Mhv2160bt

Table of Contents