C141-E259-01EN MHW2160BJ, MHW2120BJ, MHW2080BJ DISK DRIVES PRODUCT/MAINTENANCE MANUAL
FOR SAFE OPERATION Handling of This Manual This manual contains important information for using this product. Read thoroughly before using the product. Use this product only after thoroughly reading and understanding especially the section “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.
Revision History (1/1) Edition Date 01 2007-03-28 Revised section (*1) (Added/Deleted/Altered) Details *1 Section(s) with asterisk (*) refer to the previous edition when those were deleted.
This page is intentionally left blank.
Preface This manual describes MHW2160BJ, MHW2120BJ, MHW2080BJ model of the MHW 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. This manual assumes that the reader has a basic knowledge of hard disk drives and their implementations in computer systems.
Preface Acronyms and Abbreviations This section gives the meanings of the definitions used in this manual. 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.
Preface Conventions An MHW series device is sometimes simply referred to as a "hard disk drive," "HDD," "drive," or "device" in this document. Decimal numbers are represented normally. Hexadecimal numbers are represented as shown in the following examples: X'17B9', 17B9h, 17B9H, or 17B9H. Binary numbers are represented as shown in the following examples: 010 or 010b. Serial-ATA may be referred to as "SATA".
Preface Hot Plug These drives support Hot Plug which is based on Serial ATA Revision 2.5 Specification. However, the disk drive installation and removal notes on safety precautions with regard to hot-plugging vary depending on the specific requirements and environment-related conditions of the system to which the drive is connected by hot-plugging. When using the drive under general conditions of use (i.e.
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. Task Normal Operation Alert message Page Data corruption: Avoid mounting the disk near strong magnetic sources such as loud speakers.
Important Alert Items Task Maintenance Alert message Page Device damage 1. Before touching a PCA or the drive, wear a wrist strap and perform the human body grounding to discharge static electricity from your body. This will prevent irreparable damage to the PCA and the head of the drive. 2. Don’t install or remove a PCA or connect or disconnect a cable or connector plug when the drive is powered. This will prevent electrical damage to the disk drive. 3.
Manual Organization MHW2160BJ, MHW2120BJ MHW2080BJ DISK DRIVES PRODUCT/MAINTENANCE MANUAL (C141-E259) • • • • • • • Device Overview Device Configuration Installation Conditions Theory of Device Operation Interface Operations Maintenance and Diagnosis C141-E259 vii
This page is intentionally left blank.
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.................................
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 ............................................
Contents 4.6.3 Read circuit ........................................................................................... 4-11 4.6.4 Digital PLL circuit ................................................................................ 4-12 4.7 Servo Control ................................................................................................... 4-13 4.7.1 Servo control circuit .............................................................................. 4-13 4.7.2 Data-surface servo format ........
Contents (9) DOWNLOAD MICROCODE (X '92').......................................... 5-43 (10) STANDBY IMMEDIATE (X '94' or X 'E0') ................................ 5-46 (11) IDLE IMMEDIATE (X '95' or X 'E1')/UNLOAD IMMEDIATE (X '95' or X 'E1') .................................................... 5-47 (12) STANDBY (X '96' or X 'E2') ........................................................ 5-49 (13) IDLE (X '97' or X 'E3') ..................................................................
Contents (44) SET MAX ADDRESS EXT (X '37')........................................... 5-155 (45) WRITE MULTIPLE EXT (X '39').............................................. 5-157 (46) WRITE DMA FUA EXT (X '3D') .............................................. 5-158 (47) WRITE LOG EXT (X '3F') ......................................................... 5-159 (48) READ VERIFY SECTOR (S) EXT (X '42')............................... 5-163 (49) WRITE UNCORRECTABLE EXT (X '39') ...............................
Contents 6.3 Power Save Controlled by Interface Power Management (IPM) .....................6-11 6.3.1 Power save mode of the interface..........................................................6-11 6.4 Read-ahead Cache ............................................................................................6-13 6.4.1 Data buffer structure..............................................................................6-13 6.4.2 Caching operation..............................................................
Contents Glossary............................................................................................................GL-1 Acronyms and Abbreviations ........................................................................ AB-1 Index ..................................................................................................................
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 ............................................................................2-2 Figure 2.
Contents Figure 5.11 Figure 5.12 Figure 5.13 Figure 5.14 Figure 5.15 Figure 5.16 Figure 5.17 Figure 5.18 Figure 5.19 Figure 5.20 Figure 5.21 Set Device Bits FIS .......................................................................... 5-21 Execution example of READ MULTIPLE command...................... 5-90 Non-data command protocol .......................................................... 5-176 PIO data-in command protocol ......................................................
Contents Tables Table 1.1 Table 1.2 Table 1.3 Table 1.4 Table 1.5 Table 1.6 Table 1.7 Table 1.8 Specifications ........................................................................................1-4 Examples of model names and product numbers...................................1-5 Current and power dissipation ...............................................................1-8 Environmental specifications.................................................................1-9 Acoustic noise specification...
Contents Table 5.28 Table 5.29 Table 5.30 Table 5.31 Table 5.32 Table 5.33 Table 5.34 Table 5.35 Table 5.36 Table 5.37 Table 5.38 Table 5.39 Table 5.40 Table 5.41 Table 5.42 Table 5.43 ERROR RECOVERY CONTROL.................................................... 5-78 FEATURE CONTROL COMMAND ............................................... 5-79 SCT DATA TABLE .......................................................................... 5-80 HAD Temperature ..........................................................
This page is intentionally left blank.
CHAPTER 1 Device Overview 1.1 Features 1.2 Device Specifications 1.3 Power Requirements 1.4 Environmental Specifications 1.5 Acoustic Noise 1.6 Shock and Vibration 1.7 Reliability 1.8 Error Rate 1.9 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. The disk drive is 2.
Device Overview 1.1 Features 1.1.1 Functions and performance The following features of the disk drive are described. (1) Compact The disk drive has up to 2 disks of 65 mm (2.5 inches) diameter, and its height is 9.5 mm (0.374 inch). (2) Environmental Protection The disk drive comply with the Restriction of the use of certain Hazardous Substances in electrical and electronic equipment (RoHS) directive issued by European Union (EU).
1.1 Features (3) Low noise and vibration In Ready status (while the device is waiting for any commands), the Sound Power level of the disk drives in idle mode is 2.0B [MHW2080BJ] / 2.5B [MHW2120BJ, MHW2160BJ]. The Sound Pressure level is 23dB [MHW2080BJ] / 29dB [MHW2120BJ, MHW2160BJ], as measured 0.3 m from the drive in Idle mode. (4) High resistance against shock The Load/Unload mechanism is highly resistant against non-operation shock up to 2 8820 m/s (900G). 1.1.
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) MHW2160BJ MHW2120BJ MHW2080BJ Format Capacity (*1, *2) 160 GB 120 GB 80 GB Number of Sectors (User) 312, 581, 808 234,441,648 156,301,488 Bytes per Sector 512 bytes Rotational Speed 7,200 rpm ± 1% Average Latency 4.17 ms Positioning time (read and seek) • Minimum (Track-Track) 1.5 ms (typ.) • Average Read: 10.5 ms (typ.
1.2 Device Specifications Table 1.1 lists the formatted capacity, number of logical cylinders, number of heads, and number of sectors of every model for which the CHS mode has been selected using the BIOS setup utility on the host. Table 1.1 Specifications (2/2) Model Capacity (*1) No. of Cylinder No. of Heads No. of Sectors MHW2160BJ 8.45 GB 16,383 16 63 MHW2120BJ 8.45 GB 16,383 16 63 MHW2080BJ 8.
Device Overview 1.3 Power Requirements (1) Input Voltage ±5% • +5V • 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 The following figure shows the restriction of the slope which is +5 V input voltage at rise. The permissible range of +5 V slope is from 1V/20 µsec to 1V/20 msec, under the voltage range is between 2.0V and 4.5V. Figure 1.
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 5 Voltage [V] 4 3 2 1 0 -1 0 100 200 300 400 500 600 700 800 Time [ms] Figure 1.
Device Overview (5) Current Requirements and Power Dissipation Table 1.3 lists the current and power dissipation (typical). Table 1.3 Current and power dissipation Typical RMS Current SATA interface transfer speed Typical Power (*3) Gen1 (1.5 Gbps) Gen2 (3.0 Gbps) Gen1 (1.5 Gbps) Gen2 (3.0 Gbps) 1.1 A 1.1 A 5.5 W 5.5 W Idle (*6) 160 mA 160 mA 0.80 W 0.80 W R/W (on track) (*2) 420 mA 460 mA 2.1 W 2.3 W Seek (*5) 460 mA 500 mA 2.3 W 2.5 W Standby (*6) 26 mA 26 mA 0.13 W 0.
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.
Device Overview 1.5 Acoustic Noise Table 1.5 lists the acoustic noise specification. Table 1.5 Acoustic noise specification Item Specification • Idle mode (DRIVE READY) Sound Power 2.0B [MHW2080BJ] 2.5B [MHW2160BJ / MHW2120BJ] Sound Pressure (at 0.3m) 23dB [MHW2080BJ] 29dB [MHW2160BJ / MHW2120BJ] Note: Measure the noise from the cover top surface. 1.6 Shock and Vibration Table 1.6 lists the shock and vibration specification. Table 1.
1.7 Reliability 1.
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 1 time when reading 14 data of 10 bits.
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. 1.10.1 Recommended power-off sequence We recommend cutting the power supply of the HDD for this device after the Head Unload operation completes.
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 APM Mode Active Idle (VCM Lock) Low Power Idle (Unload) Standby (Spin Off) Mode-0 0.2-1.2 sec 15 min. N/A Mode-1 0.1-0.2 sec 10.0-27.5 sec N/A Mode-2 0.1-0.2 sec 10.0-27.5 sec 10.0-40.
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. 2) Slumber mode: PMREQ_S is sent when the host requests the Slumber mode. 3) Active mode: When the serial ATA interface is in active state.
Device Overview Table 1.
CHAPTER 2 Device Configuration 2.1 Device Configuration 2.2 System Configuration This chapter describes the internal configurations of the hard disk drives and the configuration of the systems in which they operate.
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. The inner diameter is 20 mm. (2) Head The heads are of the load/unload (L/UL) type.
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. (6) Read/write circuit The read/write circuit uses a LSI chip for the read/write preamplifier.
This page is intentionally left blank.
CHAPTER 3 Installation Conditions 3.1 Dimensions 3.2 Mounting 3.3 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.
Installation Conditions 3.1 Dimensions Figure 3.1 illustrates the dimensions of the disk drive. All dimensions are in mm. *1 The PCA and connectors are not included in these dimensions. *2 Dimension from the center of the user tap to the base of the connector pins *3 Length of the connector pins *4 Dimension from the outer edge of the user tap to the center of the connector pins *5 Dimension from the outer edge of the user tap to the innermost edge of the connector pins Figure 3.
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). Use M3 screw for the mounting screw and the screw length should satisfy the specification in Figure 3.2. The tightening torque must be 0.49N•m (5kgf•cm).
Installation Conditions (3) Limitation of mounting Note) These dimensions are recommended values; if it is not possible to satisfy them, contact us. 2.5 Bottom surface mounting 2.5 DE 2 Side surface mounting 2.5 B PCA Frame of system cabinet A Frame of system cabinet 3.0 or less Screw 2.5 3.0 or less Screw Details of A Figure 3.
3.2 Mounting 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 its around φ 3 to block. Figure 3.
Installation Conditions (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 °C. Provide air circulation in the cabinet such that the PCA side, in particular, receives sufficient cooling.
3.2 Mounting (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. Ensure that the disk drive is not affected by external magnetic fields. Damage: Do not press the cover of the disk drive.
Installation Conditions - General notes ESD mat Shock absorbing mat Wrist strap 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 to avoid falling down. Do not drop. Figure 3.6 Handling cautions - - Installation (1) Please use the driver of a low impact when you use an electric driver. HDD is occasionally damaged by the impact of the driver.
3.3 Connections with Host System 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 PCA Figure 3.
Installation Conditions 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 segment Signal segment P1 pins in the power S1 pins in the signal segment supply segment View from the PCA side Figure 3.8 Power supply pins (CN1) 3.3.3 Connector specifications for host system The connector of host system for mating with the disk drive must be compliant with Serial-ATA Revision 2.
3.3 Connections with Host System 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 Revision 2.5 specification. 3.3.
This page is intentionally left blank.
CHAPTER 4 Theory of Device Operation 4.1 Outline 4.2 Subassemblies 4.3 Circuit Configuration 4.4 Power-on Sequence 4.5 Self-calibration 4.6 Read/write Circuit 4.7 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.
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). The DE contains all movable parts in the disk drive, including the disk, spindle, actuator, read/write head, and 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. The circulation filter cleans out dust and dirt from inside the DE.
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 5.0V S-DRAM SVC 3.3V Generator Circuit 1.2V Generator Circuit 3.3V PreAMP -3V Generator Circuit -3.0V Serial-FROM MCU & HDC & RDC Integration 1.2V Figure 4.
4.3 Circuit Configuration Serial-ATA Interface PCA MCU & HDC & RDC Data Buffer SDRAM MCU HDC Serial Flash ROM RDC SVC Shock Sensor Crystal DE SP Motor VCM Thermistor R/W Pre-Amp Media HEAD Figure 4.
Theory of Device Operation 4.4 Power-on Sequence Figure 4.3 describes the operation sequence of the disk drive at power-on. The outline is described below. a) After the power is turned on, the disk drive initializes its SATA interface block. b) 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.
4.4 Power-on Sequence Power-on Start a) SATA I/F Initialization b) Self-diagnosis 1 - MPU bus test - Internal register write/read test - Work RAM write/read test The spindle motor starts. c) d) Self-diagnosis 2 - Data buffer write/read test e) Confirming spindle motor speed f) Load the head assembly g) Initial on-track and read out of system information Drive ready state (command waiting state) Execute self-calibration End Figure 4.
Theory of Device Operation 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. The torque varies with the disk drive and the cylinder where the head is positioned.
4.5 Self-calibration To compensate torque constant value change depending on cylinder, whole cylinders from most inner to most outer cylinder are divided into 13 partitions at calibration in the factory, and the compensation data is measured for representative cylinder of each partition. This measured value is stored in the SA area. The compensation value at self-calibration is calculated using the value in the SA area. 4.5.
Theory of Device Operation 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. 4.6.1 Read/write preamplifier (PreAMP) PreAMP equips a read preamplifier and a write current switch, that sets the bias current to the MR device and the current in writing.
4.6 Read/write Circuit 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 decorder circuit based on the read data maximum-likelihood-detected by the Viterbi detection circuit.
Theory of Device Operation (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. (5) Viterbi detection circuit The sample hold waveform output from the flash digitizer circuit is sent to the Viterbi detection circuit.
4.7 Servo Control 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. 4.7.1 Servo control circuit Figure 4.6 is the block diagram of the servo control circuit.
Theory of Device Operation (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. a. Spindle motor start Starts the spindle motor and accelerates it to normal speed when power is applied. b. Move head to reference cylinder Drives the VCM to position the head at the any cylinder in the data area.
4.7 Servo Control (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. 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.
Theory of Device Operation Servo frame (162 servo frames per revolution) CYLn + 1 W/R Recovery Servo Mark Gray Code CYLn W/R Recovery Servo Mark Gray Code CYLn – 1 (n: even number) Diameter direction W/R Recovery Servo Mark Gray Code EVEN1 ODD Circumference Direction EVEN2 Post code (particular models only) PAD Erase: DC erase area Figure 4.
4.7 Servo Control 4.7.3 Servo frame format As the servo information, the IDD uses the phase signal servo generated from the gray code and servo EVEN and ODD. This servo information is used for positioning operation of radius direction and position detection of circumstance direction. Basically, the servo frame consists of 5 blocks; write/read recovery, servo mark, gray code, Burst EVEN1, Burst ODD, Burst EVEN2, and PAD. Figure 4.8 shows the servo frame format.
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.
4.7 Servo Control 4.7.5 Spindle motor control Hall-less three-phase twelve-pole motor is used for the spindle motor, and the PWM type current control circuit is used as the spindle motor driver (called SVC hereafter). The firmware operates on the MPU manufactured by Fujitsu. The spindle motor is controlled by sending several signals including the serial data from the MPU to the SVC. There are three modes for the spindle control; start mode, acceleration mode, and stable rotation mode.
This page is intentionally left blank.
CHAPTER 5 Interface 5.1 Physical Interface 5.2 Logical Interface 5.3 Host Commands 5.4 Command Protocol 5.5 Power-on and COMRESET This chapter gives details about the interface, and the interface commands and timings.
Interface 5.1 Physical Interface 5.1.1 Interface signals Figure 5.1 shows the interface signals. TX data RX data ComWake Host analog front end TX+ TX+ TX− TX− RX+ RX+ RX− RX− ComInit TX data Device analog front end RX data ComWake ComReset +5VDC GND Figure 5.1 Interface signals An explanation of each signal is provided below. TX + / TX These signals are the outbound high speed differential signals that are connected to the serial ATA cable.
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. Device: Signal from the out of band detector that indicates the COMRESET out of band signal is being detected.
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 COMWAKE 5-4 106.7 ns 106.7 ns 320 ns 106.
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. CONT Continue repeating previous primitive The CONT primitive allows long strings of repeated primitives to be eliminated.
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. SOF Start of frame Start of a frame. Payload and CRC follow to EOF. SYNC Synchronization Synchronizing primitive - always idle.
5.1 Physical Interface 5.1.4 Connector pinouts The pin definitions are shown in Table 5.1. segment Power Signal segment Table 5.1 Connector pinouts Signal segment key S1 Gnd 2nd mate S2 A+ Differential signal pair A from Phy S3 AS4 Gnd 2nd mate S5 BDifferential signal pair B from Phy S6 B+ S7 Gnd 2nd mate "Key and spacing separate signal and power segments" N.C.(Open) P1 V33 N.C.(Open) P2 V33 N.C.
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 • Driving Activity LED: Use P11 as an output pin The following is P11 setting and hardware requirement for these functions. 5.1.5.
5.1 Physical Interface Table 5.2 Requirements for P11 as an output pin. Asserted Deasserted VACT ≤ 0.7V ≥ 0.7V IACT - +50uA Figure 5.
Interface 5.1.6 Hot Plug The disk drive is "Hot Plug Capable" which is based on Serial ATA Revision 2.5. 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. (Refer to the Serial ATA Revision 2.5.) The equivalent circuit of +5V power supply at Hot Plugging is in the following figure.
5.2 Logical 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. Figure 5.3 is a conceptual diagram of the communication layers.
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. • Encodes serial data as 10- or 8-bit data, then converts it into DWORD data. • Inserts auxiliary signals (SOF, CRC, and EOF), deletes auxiliary signals, and communicates with the transport and physical layers.
5.2 Logical 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.
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.
5.2 Logical Interface 5.2.3.2 Register - Host to Device The Register - Host to Device FIS has the following layout: 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 Features Command C R R Reserved (0) FIS Type (27h) Device LBA High LBA Mid LBA Low Features (exp) LBA High (exp) LBA Mid (exp) LBA Low (exp) Control Reserved (0) Sector Count (exp) Sector Count Reserved (0) Reserved (0) Reserved (0) Reserved (0) 0 1 2 3 4 Figure 5.
Interface 5.2.3.3 Register - Device to Host The Register - Device to Host FIS has the following layout: 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 Error Status R I R Reserved (0) FIS Type (34h) Device LBA High LBA Mid LBA Low Reserved (0) LBA High (exp) LBA Mid (exp) LBA Low (exp) (0) Reserved (0) Reserved (0) Sector Count (exp) Sector Count Reserved (0) Reserved (0) Reserved (0) Reserved (0) Figure 5.
5.2 Logical Interface 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: 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 0 Reserved (0) Reserved (0) A I D Reserved (0) FIS Type (41h) 0 1 TAG 0 2 Reserved (0) 3 DMA Buffer Offset 4 DMA Transfer Count 5 Reserved (0) 6 Figure 5.
Interface 5.2.3.6 BIST Active - Bidirectional The BIST Active - Bidirectional FIS has the following layout: 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 Reserved (0) 0 1 2 Pattern definition R R R Reserved (0) T A S L F P R V FIS Type (58h) Data [31:24] Data [23:16] Data [23:16] Data [7:0] Data [31:24] Data [23:16] Data [23:16] Data [7:0] Figure 5.
5.2 Logical Interface 5.2.3.7 Data - Host to Device or Device to Host (Bidirectional) This Data FIS has the following layout: 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 0 Reserved (0) Reserved (0) R R R Reserved (0) FIS Type (46h) ... N Dwords of data (1 to 2048 Dwords) ... n Figure 5.9 Data FIS (Bidirectional) layout The Data FIS is used for data transfers between the host system and device. 5.2.3.
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 register of the Command Block. Cyl Low (exp) - Contains the contents of the expanded address field of the Shadow Register Block. Cyl High - Holds the contents of the cylinder high register of the Command Block. Cyl High (exp) - Contains the contents of the expanded address field of the Shadow Register Block.
5.2 Logical Interface 5.2.3.9 Set Device Bits - Device to Host 0 Error R Status Hi R Status Lo R I R Reserved (0) FIS Type (A1h) SActive 31:0 1 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. These bits are the eight bits of the Error register and six of the eight bits of the Status register. This FIS does not alter bit 7, BSY, or bit 3, DRQ, of the Shadow Status register.
Interface 5.2.4 Shadow block registers (1) 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.
5.2 Logical Interface (2) 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. (3) 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. When the value in this field is X '00', the sector count is 256.
Interface (6) Cylinder High Field (exp) The contents of this field indicate 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 Register. Under the LBA mode, this field indicates LBA bits 23 to 16.
5.2 Logical Interface (8) 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 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 BSY DRDY DF DSC DRQ 0 0 ERR Busy (BSY) bit. This bit is set whenever the Command filed of the shadow block registers for the host system is accessed.
Interface (9) 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.5 lists the executable commands and their command codes. This table also lists the necessary parameters for each command that are written to certain fields before the Command register is written. (10) Device Control Field The Device Control Field contains software reset.
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). The host system can halt the uncompleted command execution only at execution of COMRESET or software reset.
Interface Table 5.
5.3 Host Commands Table 5.
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 (Shadow Block Registers setting contents) At command completion (Shadow Block Registers to be read) Bit 7 6 5 4 3 2 1 0 Bit CM 0 0 1 0 0 0 0 0 ST DH x L x x HD No.
5.3 Host Commands (1) 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). (2) A SATA communication error occurred (ST = 51h, ER = 14h).
Interface (2) 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. For the protocols related to data transfer, see Subsection 5.4.1. If the head is not on the track specified by the host, the device performs an implied seek.
5.3 Host Commands At command issuance (Shadow Block Registers setting contents) CM 0 0 1 0 DH x L x x 0 0 0 R HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No. / LBA [LSB] SC Transfer sector count FR xx (R: Retry) At command completion (Shadow Block Registers contents to be read) ST DH Status information x L x x HD No. / LBA CH End cylinder No. [MSB] / LBA CL End cylinder No. [LSB] / LBA SN End sector No.
Interface (3) 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. A sector count of 0 requests 256 sectors. Data transfer begins at the sector specified in the Sector Number field. For the protocols related to data transfer, see Subsection 5.4.3.
5.3 Host Commands At command issuance (Shadow Block Registers setting contents) CM 0 0 1 1 DH x L x x 0 0 0 R HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No. / LBA [LSB] SC Transfer sector count FR xx (R: Retry) At command completion (Shadow Block Registers contents to be read) ST DH Status information x L x x HD No. / LBA CH End cylinder No. [MSB] / LBA CL End cylinder No. [LSB] / LBA SN End sector No.
Interface (4) 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. After all sectors are verified, device reports the status to the host system.
5.3 Host Commands At command completion (Shadow Block Registers contents to be read) ST DH Status information x L x x HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No. / LBA [LSB] SC 00 (*1) ER 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 register.
Interface (5) 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. Upon the completion of the command execution, the shadow block registers contain the cylinder, head, and sector number of the last sector verified.
5.3 Host Commands At command completion (Shadow Block Registers contents to be read) ST DH Status information x L x x HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No. / LBA [LSB] SC 00 (*1) ER 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 register.
Interface (6) SEEK (X '70' to X '7F') This command performs a seek operation to the track and selects the head specified in the command block registers. 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. • Error reporting conditions (1) A specified address exceeds the range where the head can be positioned (ST = 51h, ER = 10h).
5.3 Host Commands (7) 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.6 lists the diagnostic code written in the Error field which is 8-bit code. Table 5.6 Diagnostic code Code Result of diagnostic X '00' X '01' X '02' X '03' X '04' X '05' X '06' Note: • Format Unit is not completed. No error detected.
Interface (8) 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. When the SC field is specified to X '00', an ABORTED COMMAND error is posted. Other than X '00' is specified, this command terminates normally.
5.
Interface Table 5.7 Operation of DOWNLOAD MICROCODE Host Command Subcommand code (FR Field) Sector Offset *1 (CH, CL Field) 01h ---- 03h 07h Excluding 01h, 03h and 07h xxxxh ---- Movement of device Sector count (SN, SC Field) Data transfer Microcode rewriting execution 0000h Non Rewriting execution reservation xxxxh It is. Rewriting execution reservation 0000h Non Rewriting execution reservation xxxxh It is. Rewriting execution reservation 0000h Non Execution. *2 xxxxh It is.
5.3 Host Commands Table 5.
Interface (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).
5.3 Host Commands (11) IDLE IMMEDIATE (X '95' or X 'E1')/UNLOAD IMMEDIATE (X '95' or X 'E1') • Default Function Upon receipt of this command, the device enters the idle mode. Then, the device 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).
Interface • Unload Feature (Unload Immediate Command): 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. The time until the head(s) unload to the ramp position is typically less than 500 milliseconds. This unload operation is not same as the power management operation.
5.3 Host Commands (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. When the device receives the command involving a seek such as media access command, the device processes the command after transition to Active mode.
Interface (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. By using this command, the APS (Automatic Power Standby) timer function is enabled and the timer immediately starts the countdown. When the timer reaches the specified value, the device enters standby mode.
5.
Interface (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. After that, the device reports the status to the host system.
5.3 Host Commands (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. In the sleep mode, the spindle motor is stopped. The only way to release the device from sleep mode is to execute a software or COMRESET.
Interface (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). If the key values are incorrect, the Aborted Command error is issued.
5.3 Host Commands Table 5.9 Features Field values (subcommands) and functions (1/3) Features Field X 'D0' Function SMART READ DATA: 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.10.
Interface Table 5.9 Features Field values (subcommands) and functions (2/3) Features Field X 'D5' Function 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.
5.3 Host Commands Table 5.9 Features Field values (subcommands) and functions (3/3) Features Field X 'D9' X 'DA' X 'DB' Function 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. SMART RETURN STATUS: When the device receives this subcommand, it saves the current device attribute values.
Interface At command issuance (Shadow Block Registers setting contents) CM 1 0 1 1 DH x x x x 0 0 0 0 xx CH Key (C2h) CL Key (4Fh) SN xx SC xx FR Subcommand At command completion (Shadow Block Registers contents to be read) ST DH Status information x x x x xx CH Key-failure prediction status (C2h/2Ch) CL Key-failure prediction status (4Fh/F4h) SN xx SC xx ER Error information The attribute value information is 512-byte data; the format of this data is shown the foll
5.3 Host Commands Table 5.10 Format of device attribute value data Byte(hex) 00, 01 02 Item Data format version number Attribute 1 03, 04 Attribute ID Status flag 05 Current attribute value 06 Attribute value for worst case so far 07 to 0C Raw attribute value 0D 0E to 169 Reserved Attribute 2 to attribute 30 (The format of each attribute value is the same as that of Bytes 02 to 0D.
Interface • 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. When a data format is changed, the data format version numbers are updated. • Attribute ID The attribute ID is defined as follows: Attribute ID Attribute name 0 (Indicates unused attribute data.
5.3 Host Commands • Status Flag Bit 0 If this bit is 1, it indicates normal operations are assured with the attribute when the attribute value exceeds the threshold value. 1 If this bit is 1 (0), it indicates the attribute only updated by an online test (off-line test). 2 If this bit 1, it indicates the attribute that represents performance. 3 If this bit 1, it indicates the attribute that represents an error rate.
Interface Table 5.12 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. 06h or 86h Off-line data collection has ended before completion because of an error that makes collection impossible.
5.3 Host Commands • Off-line data collection capability Indicates the method of off-line data collection carried out by the drive. If the offline data collection capability is 0, it indicates that off-line data collection is not supported. Table 5.14 Off-line data collection capability • Bit Meaning 0 If this bit is 1, it indicates that the SMART EXECUTE OFFLINE IMMEDATE sub-command (Features field = D4h) is supported.
Interface • Error logging capability Table 5.16 Drive error logging capability Bit 0 1 to 7 • Meaning If this bit is 1, it indicates that the drive error logging function is supported. Reserved bits 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. Table 5.
5.3 Host Commands • SMART error logging If the device detects an unrecoverable error during execution of a command received from the host, the device registers the error information in the SMART Summary Error Log (see Table 5.18) and the SMART Comprehensive Error Log (see Table 5.19), and saves the information on media. The host issues the SMART Read Log Sector sub-command (Features field = D5h, Sector Number field = 01h, Sector Count field = 01h) and can read the SMART Summary Error Log.
Interface Table 5.
5.3 Host Commands • Status Bits 0 to 3: Indicates the drive status when received error commands according to the following table. Bits 4 to 7: Vendor unique Status Meaning 0 Unclear status 1 Sleep status 2 Standby status 3 Active status (BSY bit = 0) 4 Off-line data collection being executed 5 to F Reserved Table 5.
Interface Table 5.20 SMART self-test log data format Byte(hex) 00, 01 Item Self-test log data structure Self-test log 1 02 03 Self-test number (Sector Number field Value) Self-test execution status 04, 05 Life time. Total power-on time [hours] 06 Self-test error No. 07 to 0A Error LBA 0B to 19 Vendor unique 1A to 1F9 Self-test log 2 to 21 1FA, 1FB Vendor unique 1FC Self-test index 1FD, 1FE 1FF • (Each log data format is the same as that in byte 02 to 19.
5.3 Host Commands Table 5.
Interface • 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.22 Selective self-test feature flags Bit Description 0 Vendor specific (unused) 1 When set to one, perform off-line scan after selective test. 2 Vendor specific (unused) 3 When set to one, off-line scan after selective test is pending. 4 When set to one, off-line scan after selective test is active.
5.3 Host Commands Table 5.23 SCT command and the function Sector Number field Features field X 'E0' X 'D5' Function SCT STATUS REQUEST: A device that received this subcommand transfers Status information of SCT in 512 bytes to the host. * For information about the format of the SCT Status, see Table 5.24.
Interface • SCT STATUS REQUEST (SN = E0h, FR = D5h) This command is used to know the status data of SCT shown in Table 5.24 of the device.
5.3 Host Commands Table 5.24 Format of SCT STATUS Response (1/2) Byte(hex) Contents 00, 01 Format Version 02, 03 SCT Version 04, 05 SCT Spec Status Flag Bit31-1: Reserved Bit0: Initialized flag (maintained Power-OFF/ON) 06 to 09 0 = When any user LBA is written, this bit is cleared. This bit is also cleared if the capacity of the drive is changed via SET MAX (EXT), DCO. 1= A WRITE SAME command to all logical blocks has completed without error.
Interface Table 5.24 Format of SCT STATUS Response (2/2) Byte(hex) 14 to 27 Reserved 28 to 2F Current LBA of SCT command executing in background. 30 to C7 Reserved C8 C9 CA CB CC 5-74 Contents HDA Temp [°C] Current drive HDA temperature. Reserved Max Temp [°C] Maximum HDA temperature this power cycle. Reserved Life Max Temp [°C] Maximum HDA temperature the life of the device. CD to 1DF Reserved 1E0 to 1FF Vender specific.
5.3 Host Commands Table 5.25 SCT STATUS code Code(hex) Definition 0000 Command complete without error. 0001 Invalid Function Code. 0002 Input LBA out of range. 0003 Request sector count over flow. 0004 Invalid Function Code in Error Recovery Control command. 0005 Invalid Selection Code in Error Recovery Control command. 0006 Host read command timer is less than minimum value. 0007 Host write command timer is less than minimum value.
Interface • SCT COMMAND SET (SN = E0h, FR = D6) This command transfers Key Sector Format in 512 bytes including the action code shown in Table 5.26 to the device, and executes each function to show in Table 5.27 to Table 5.30.
5.3 Host Commands Table 5.26 Action code Code(hex) Function Data transfer 0000 Reserved - 0001 Not supported - 0002 WRITE SAME See Table 5.27. Write 0003 ERROR RECOVERY CONTROL See Table 5.28. - 0004 FEATURE CONTROL See Table 5.29. - 0005 SCT DATA TABLE See Table 5.30. Read 0006 to BFFF Reserved - C000 to FFFF Vender Specific - Table 5.
Interface Table 5.27 WRITE SAME (2/2) Byte(hex) Name Value Description 0C to13 Count (8 byte) Number of Sectors 14 to17 Pattern (4 byte) If the Function Code is 0001h, this field contains a 32-bit pattern that is written on the media. 18 to 1FF (Reserved) - Reserved * It is invalid excluding the description value. Table 5.
5.3 Host Commands Table 5.29 FEATURE CONTROL COMMAND Byte(hex) Name Value Description 00, 01 Action Code 0004h FEATURE CONTROL COMMAND 0001h Set New State Return Current State 02, 03 Function Code 0002h 0003h 04, 05 Feature Code Current Feature Control State is displayed in SN/SC field. Return Option Flag Current Option Flag is displayed in SN/SC field.
Interface Table 5.30 SCT DATA TABLE Byte(hex) Name Value 00, 01 Action Code 0005h SCT DATA TABLE 02, 03 Function Code 0001h Read Data Table 0000h Invalid 0001h Reserved 0002h 04, 05 06 to 1FF 5-80 Table ID (Reserved) Description HAD Temperature History Table. * See Table 5.31.
5.3 Host Commands Table 5.31 HAD Temperature Byte(hex) Contents 00, 01 Format Version 02, 03 Sampling Period Frequency of sampling each set time of temperature log. 04, 05 Interval Time of temperature log of interval (min) 00 Max Operation Limit (°C) 07 Over Limit (°C) 08 Min Operation Limit (°C) 09 Under Limit (°C) 0A to 1D Reserved 1E, 1F Number of logs that can be recorded in temperature log. 20, 21 Index of temperature log.
Interface • SCT READ DATA (SN = E1h, FR = D5h) This command reads the data specified with SCT SET COMMAND and number of sectors specified Sector Count field.
5.3 Host Commands • SCT WRITE DATA (SN = E1h, FR = D6h) 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.
Interface (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.
5.3 Host Commands • 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. After execution of this command, the settings are kept regardless of the power-on or COMRESET execution.
Interface • DEVICE CONFIGURATION IDENTIFY (Features Field = C2h) The DEVICE CONFIGURATION IDENTIFY command returns information shown in Table 5.32. The content of this data structure indicates the selectable commands, modes, and feature sets that the device is capable of supporting.
5.3 Host Commands Table 5.32 DEVICE CONFIGURATION IDENTIFY data structure (1/2) Word Value Content 0 1 X '0002' X '0007' 2 X '003F' 3 to 6 - 7 X '79CF' * Data structure revision 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: 1 = Multiword DMA mode 0 is supported Ultra DMA modes supported Reflected in IDENTIFY information "WORD88".
Interface Table 5.32 DEVICE CONFIGURATION IDENTIFY data structure (2/2) Word Value 8 X '0015' Content Serial-ATA command set/function → Reflected in IDENTIFY information "Word 76 to 79".
5.3 Host Commands (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. The number of sectors per block is defined by a successful SET MULTIPLE MODE Command.
Interface Host Reg. HD Device PIO Setup Data (4 sectors) Block PIO Setup Data (4 sectors) Block 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). (2) The range where read operations are allowed will be exceeded by an address during a read operation (ST = 51h, ER = 10h).
5.3 Host Commands At command issuance (Shadow Block Registers setting contents) CM 1 1 0 0 DH x L x x 0 1 0 0 HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No. / LBA [LSB] SC Transfer sector count FR xx At command completion (Shadow Block Registers contents to be read) ST DH Status information x L x x HD No. / LBA CH End cylinder No. [MSB] / LBA CL End cylinder No. [LSB] / LBA SN End sector No.
Interface (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. The number of sectors per block is defined by a successful SET MULTIPLE MODE command.
5.3 Host Commands At command issuance (Shadow Block Registers setting contents) CM 1 1 0 0 DH x L x x 0 1 0 1 HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No. / LBA [LSB] SC Transfer sector count FR xx (R: Retry) At command completion (Shadow Block Registers contents to be read) ST DH Status information x L x x HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No.
Interface (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 is also specified by the SET MULTIPLE MODE command. The number of sectors per block is written into the Sector Count field. The IDD supports block sizes of 1, 2, 4, 8, and 16 sectors. Upon receipt of this command, the device checks the contents of the Sector Count field.
5.
Interface (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. In order to specify 256, "00" must be set in the Sector Count field. For the protocol concerning data transfers, see Section 5.4.4.
5.3 Host Commands At command issuance (Shadow Block Registers setting contents) CM 1 1 0 0 DH x L x x 1 0 0 R HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No. / LBA [LSB] SC Transfer sector count FR xx At command completion (Shadow Block Registers contents to be read) ST DH Status information x L x x HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No.
Interface (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. In order to specify 256, "00" must be set in the Sector Count Field. For the protocol concerning data transfers, see Section 5.4.5.
5.3 Host Commands At command issuance (Shadow Block Registers setting contents) CM 1 1 0 0 DH x L x x 1 0 1 R HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No. / LBA [LSB] SC Transfer sector count FR xx At command completion (Shadow Block Registers contents to be read) ST DH Status information x L x x HD No. / LBA CH Start cylinder No. [MSB] / LBA CL Start cylinder No. [LSB] / LBA SN Start sector No.
Interface (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. • Error reporting conditions (1) A SATA communication error occurred (ST = 51h, ER = 0Ch).
5.3 Host Commands (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. When executing this command, the writing of the data may take several seconds if much data are to be written.
Interface (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 are transferred from the host and the device writes the data to the buffer, then reports the status. • Error reporting conditions (1) A SATA communication error occurred (ST = 51h, ER = 14h).
5.3 Host Commands (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 data. Table 5.33 shows the values of the parameter words and the meaning in the buffer.
Interface (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 = 84h).
5.3 Host Commands Table 5.33 Information to be read by IDENTIFY DEVICE command (1/3) Word Value 0 X '045A' General Configuration *1 1 X '3FFF' Number of Logical cylinders *2 2 X 'C837' Detailed Configuration *3 3 X '0010' Number of Logical Heads *2 4-5 X '0000' Undefined 6 X '003F' Number of Logical sectors per Logical track 7-9 X '0000' Undefined 10-19 Set by a device 20 X '0003' Undefined 21 X 'xxxx' Buffer Size (1 LSB: 512 Bytes) ex.
Interface Table 5.
5.3 Host Commands Table 5.
Interface *1 Word 0: Bit 15: General configuration ATA device = 0, ATAPI device = 1 Bits 14-8: Undefined Bit 7: Removable disk drive = 0 Bit 6: Fixed drive = 1 Bits 5-3: Undefined Bit 2: IDENTIFY DEVICE Valid = 0 Bits 1-0: Reserved *2 Word 1, 3, 6, 60-61,100-103 Word MHW2160BJ MHW2120BJ MHW2080BJ 1 X '3FFF' X '3FFF' X '3FFF' 3 X '10' X '10' X '10' 6 X '3F' X '3F' X '3F' 60-61 X 'FFFFFFF' X 'DE94BB0' X '950F8B0' 100-103 X '12A19EB0' X 'DE94BB0' X '950F8B0' *3 Status of th
5.3 Host Commands *4 Word 49: Capabilities Bits 15-14: Reserved Bit 13: Standby timer value. ATA spec is '1.' Bit 12: Reserved Bit 11: '1' = IORDY supported Bit 10: '1' = IORDY inhibition supported Bit 9: '1' = DMA supported Bit 8: '1' = LBA supported Bits 7-0: Undefined *5 Word 50: Device capability Bit 15: 0 Bit 14: 1 Bit 13 to 1: Reserved Bit 0: Standby timer value '1' = Standby timer value of the device is the smallest value.
Interface *9 Word 63: Multiword DMA transfer mode Bits 15-11: Reserved Bit 10: '1' = multiword DMA mode 2 is selected. Bit 9: '1' = multiword DMA mode 1 is selected. Bit 8: '1' = multiword DMA mode 0 is selected.
5.3 Host Commands *13 WORD 78 Bits 15-7: Reserved Bit 6: '1' = Supports the software settings preservation. Bit 5: Reserved Bit 4: '1'= Supports the in-order data delivery. Bit 3: '1'= Supports the Power Management initiation from the device to the host system. Bit 2: '1' = Supports the DMA Setup FIS Auto-Activate optimization. Bit 1: '1' = Supports the non-zero buffer offset in the DMA Setup FIS.
Interface *16 WORD 82 Bit 15: Undefined Bit 14: '1' = Supports the NOP command. Bit 13: '1' = Supports the READ BUFFER command. Bit 12: '1' = Supports the WRITE BUFFER command. Bit 11: Undefined Bit 10: '1' = Supports the Host Protected Area feature set. Bit 9: '1' = Supports the DEVICE RESET command. Bit 8: '1' = Supports the SERVICE interrupt. Bit 7: '1' = Supports the release interrupt. Bit 6: '1' = Supports the read cache function. Bit 5: '1' = Supports the write cache function.
5.3 Host Commands Bit 4: '1' = Supports the Removable Media Status Notification feature set. Bit 3: '1' = Supports the Advanced Power Management feature set. Bit 2: '1' = Supports the CFA (Compact Flash Association) feature set. Bit 1: '1' = Supports the READ/WRITE DMA QUEUED command. Bit 0: '1' = Supports the DOWNLOAD MICROCODE command. *18 WORD 84 Bit 15: 0 The device always returns the fixed value indicated on the left.
Interface Bit 6: '1' = Enables the read cache function. From the SET FEATURES command Bit 5: '1' = Enables the write cache function. Bit 4: '1' = Enables the P PACKET command set. Bit 3: '1' = Supports the Power Management function. Bit 2: '1' = Supports the Removable Media function. Bit 1: '1' = From the SECURITY SET PASSWORD command Bit 0: '1' = From the SMART ENABLE OPERATION command *20 WORD 86 Bit 15: '1' = The values in WORD119-120 are valid.
5.3 Host Commands Bit 10: '1' = Mode 2 is selected. Bit 9: '1' = Mode 1 is selected. Bit 8: '1' = Mode 0 is selected.
Interface *26 WORD 106 Bit 15: 0 The device always returns the fixed value indicated on the left. Bit 14: 1 The device always returns the fixed value indicated on the left. Bit 13: '1' = Each device has several logical sectors per physical sector. Bit 12: '1' = Logical sector of the device is grater than 256 Words.
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: '1' = Security enabled Bit 0: '1' = Security supported *30 WORD 206: SCT Command Transport Bits 15-6: Reserved Bit 5: '1' = SCT Data Tables supported. Bit 4: '1' = SCT Features Control supported.
Interface *33 WORD 212-213: Write Read Verify mode (Optional) Verify mode display when Write Read Verify function is set by SET FEATURES command. Bits 15-8: Reserved Bits 7-0: Verify mode display Value: 00h-03h *34 WORD 234: Minimum number of 512Byte units per DOWNLOAD MICROCODE command mode 3 When the command for which mode 3(FR reg = 03h) is specified with DOWNLOAD MICROCODE (0x92) is issued, the host is a unit of possible transfer of the minimum transfer sector.
5.3 Host Commands (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. If the value in the Features field is not supported or it is invalid, the device posts an ABORTED COMMAND error. Table 5.
Interface Table 5.34 Features field values and settable modes (2/2) Features Field Drive operation mode X '88' Undefined (Note 1) X '8B' Disable Write-Read-Verify feature set. X '90' Disables the Serial ATA function. X '99' Undefined (Note 1) X 'AA' Enables the read cache function. X 'BB' Specifies the transfer of 4-byte ECC for READ LONG and WRITE LONG commands. (Note 1) X 'C2' Disables the Acoustic management function.
5.3 Host Commands • 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) CM 1 1 1 0 DH x x x x 1 1 1 1 xx CH xx CL xx SN xx SC xx or *1 to 3 FR [See Table 5.
Interface *1) Data Transfer Mode The host sets X '03' to the Features field. By issuing this command with setting a value to the Sector Count Field, the transfer mode can be selected. Upper 5 bits of the Sector Count register defines the transfer type and lower 3 bits specifies the binary mode value. The IDD supports following values in the Sector Count Field value. If other value than below is specified, an ABORTED COMMAND error is posted.
5.3 Host Commands *2) Advanced Power Management (APM) The host writes the Sector Count field with the desired power management level and executes this command with the Features field X '05', and then Advanced Power Management is enabled. The drive automatically shifts to power saving mode up to the specified APM level when the drive does not receive any commands for a specific time. The sequence in which the power management level shifts is from Active Idle to Low Power Idle to Standby.
Interface *3) Serial ATA Functions The host can enable and disable the following Serial ATA functions by issuing this command after setting X '10/90' in the Features field and an applicable value in the Sector Count field: Serial ATA function Sector Count field Non-zero buffer offset in DMA Setup FIS 01h (*1) DMA Setup FIS Auto-Activate optimization 02h (*2) Device-initiated interface power state Transitions 03h (*3) Guaranteed In-Order Data Delivery 04h (*1) Asynchronous Notification 05h (*1
5.3 Host Commands *4) Automatic Acoustic Management (AAM) The host writes to the Sector Count filed with the requested acoustic management level and executes this command with subcommand code 42h, and then Automatic Acoustic Management is enabled. The AAM level setting is preserved by the drive across power on and COMRESET.
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. (Table 5.37) Issuing this command in LOCKED MODE or FROZEN MODE returns the Aborted Command error. Table 5.
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).
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. If the passwords are the same, LOCKED MODE is canceled. Otherwise, the Aborted Command error is returned.
5.
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. • Error reporting conditions (1) The device is in Security Frozen mode (ST = 51h, ER = 04h). (2) A SATA communication error occurred (ST = 51h, ER = 14h).
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. The device erases user data, invalidates the user password, and releases the lock function if the passwords are the same.
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 • SECURITY DISABLE PASSWORD • SECURITY ERASE PREPARE • SECURITY ERASE UNIT FROZEN MODE is canceled when the power is turned off. If this command is reissued in FROZEN MODE, the command is completed and FROZEN MODE remains unchanged.
5.3 Host Commands • • DEVICE CONFIGURATION IDENTIFY • READ LOG EXT • WRITE DMA FUA EXT • WRITE LOG EXT • WRITE UNCORRECTABLE EXT • READ LOG DMA EXT • WRITE LOG DMA EXT • READ FP DMA QUEUED • WRITE FP DMA QUEUED • WRITE MULTIPLE FUA EXT 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).
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. Although this command invalidates the user password, the master password is retained.
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).
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. • Error reporting conditions (1) A SATA communication error occurred (ST = 51h, ER = 14h).
5.3 Host Commands (36) SET MAX (X 'F9') SET MAX Features Register Values Value 00h Obsolete 01h SET MAX SET PASSWORD 02h SET MAX LOCK 03h SET MAX UNLOCK 04h SET MAX FREEZE LOCK 05h - FFh • Command Reserved SET MAX ADDRESS A successful READ NATIVE MAX ADDRESS command shall immediately precede a SET MAX ADDRESS command. This command allows the maximum address accessible by the user to be set in LBA or CHS mode.
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). (4) A SATA communication error occurred (ST = 51h, ER = 14h). At command issuance (Shadow Block Registers setting contents) CM 1 1 1 1 DH x L x x 1 0 0 1 HD No./LBA CH CYL No.
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).
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. The device remains in the SET MAX LOCK state until a power cycle or the acceptance of SET MAX UNLOCK or SET MAX FREEZE LOCK command.
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. If the password compare fails, the device returns command aborted and decrements the Unlock counter, and remains in the Set Max Lock state.
Interface • SET MAX FREEZE LOCK (Features Field = 04h) The Set MAX FREEZE LOCK command sets the device to SET_MAX_Frozen state.
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. Other command controls are the same as those of the READ SECTOR (S) command. • Error reporting conditions (1) The command was issued in CHS mode (ST = 51h, ER = 04h).
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. Other command controls are the same as those of the READ DMA command. • Error reporting conditions (1) The command was issued in CHS mode (ST = 51h, ER = 04h).
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. • Error reporting conditions (1) This command is issued with LBA = 0. (ST = 51h, ER= 04h) (2) A SATA communication error occurred (ST = 51h, ER = 14h).
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. Other command controls are the same as those of the READ MULTIPLE command. • Error reporting conditions (1) The command was issued in CHS mode (ST = 51h, ER = 04h).
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. For the protocol concerning data transfers, see Section 5.4. The number of the log to be read is specified as the Log address.
Interface At command issuance (Shadow Block Registers setting contents) CM 0 0 1 0 1 1 1 1 DH x x x x xx xx CH EXP xx CH Sector offset (15-8) CL EXP Sector offset (7-0) CL xx SN EXP Log address SN Sector count (15-8) SC EXP Sector count (7-0) SC xx FR EXP xx FR At command completion (Shadow Block Registers contents to be read) ST Status information DH x x x x xx xx CH EXP xx CH xx CL EXP xx CL xx SN EXP xx SN xx SC EXP xx SC Error information ER 5-148 C141-E259
5.3 Host Commands Table 5.
Interface Table 5.40 Data format of Read Log Ext log page 11h Byte(hex) 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 ... ... 4C to 4D Counter 10 Identifier 4E to 51 Counter 10 Value 52 to 53 Counter 0 Identifier 54 to 1FE 1FF Reserved Check sum Table 5.
5.3 Host Commands • SCT STATUS REQUEST (SN = E0h) Refer to SMART Command Transport (SCT).
Interface • SCT READ DATA (SN = E1h, FR = D5) Refer to SMART Command Transport (SCT).
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. Other command controls are the same as those of the WRITE SECTOR (S) command. • Error reporting conditions (1) The command was issued in CHS mode (ST = 51h, ER = 04h).
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. Other command controls are the same as those of the WRITE DMA command. • Error reporting conditions (1) The command was issued in CHS mode (ST = 51h, ER = 04h).
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. If read or write processing is executed for an address that is outside of the new address space, an ID Not Found error occurs.
Interface At command issuance (Shadow Block Registers setting contents) CM 0 0 1 1 DH 1 L 1 x 0 1 1 xx CH EXP SET MAX LBA (47-40) CH SET MAX LBA (23-16) CL EXP SET MAX LBA (39-32) CL SET MAX LBA (15-8) SN EXP SET MAX LBA (31-24) SN 1 SET MAX LBA (7-0) SC EXP xx SC xx VV FR EXP xx FR xx At command completion (Shadow Block Registers contents to be read) ST DH 1 L 1 x xx CH EXP SET MAX LBA (47-40) CH SET MAX LBA (23-16) CL EXP SET MAX LBA (39-32) CL SET MAX LBA
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. Other command controls are the same as those of the WRITE MULTIPLE command. • Error reporting conditions (1) The command was issued in CHS mode (ST = 51h, ER = 04h).
Interface (46) 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.
5.3 Host Commands (47) 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. The effectiveness of the log types depends on customization. For the protocol concerning data transfers, see Section 5.4. The number of a log to be written is specified as the Log address.
Interface At command issuance (Shadow Block Registers setting contents) CM 0 0 1 1 1 1 1 1 DH x x x x xx xx CH EXP xx CH Sector offset (15-8) CL EXP Sector offset (7-0) CL xx SN EXP Log address SN Sector count (15-8) SC EXP Sector count (7-0) SC xx FR EXP xx FR At command completion (Shadow Block Registers contents to be read) ST Status information DH x x x x xx xx CH EXP xx CH xx CL EXP xx CL xx SN EXP xx SN xx SC EXP xx SC Error information ER 5-160 C141-E259
5.3 Host Commands • SCT COMMAND SET (SN = E0h) Refer to SMART Command Transport (SCT).
Interface • SCT WRITE DATA (SN = E1h) Refer to SMART Command Transport (SCT).
5.3 Host Commands (48) 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. Other command controls are the same as those of the READ VERIFY SECTOR (S) command. • Error reporting conditions (1) The command was issued in CHS mode (ST = 51h, ER = 04h).
Interface (49) WRITE UNCORRECTABLE EXT (X '39') • Description In this command, it is a purpose to make the uncorrectable error for specified LBA intentionally. It reports on the uncorrectable error in the LBA against corresponding LBA after this command ends the lead operation etc. However, if a usual light operates afterwards even when the uncorrectable error is made by this command, it is recoverable. The command is specified by Logical Form (LBA), and the data transfer is unnecessary.
5.
Interface (50) READ LOG DMA EXT (X '47') • Description This command does operation that it is the same as READ LOG EXT doing transfer to the host in the DMA mode. Details are refer to READ LOG EXT.
5.3 Host Commands (51) WRITE LOG DMA EX (X '57') • Description This command does operation that it is the same as WRITE LOG EXT doing transfer to the host in the DMA mode. Details are refer to WRITE LOG EXT.
Interface (52) READ FP DMA QUEUED (X '60') • Description For details about control of the READ FP DMA QUEUED command, see Section 5.4.6.
5.3 Host Commands (53) WRITE FP DMA QUEUED (X '61') • Description For details about control of the WRITE FP DMA QUEUED command, see Section 5.4.6.
Interface (54) 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.
5.3 Host Commands (55) 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).
Interface 5.3.3 Error posting Table 5.43 lists the defined errors that are valid for each command. Table 5.
5.3 Host Commands Table 5.
Interface 5.4 Command Protocol The host should confirm that the BSY bit of the Shadow Block Status register 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 register is 1. However, the following commands can be executed even if DRDY bit is 0.
5.4 Command Protocol 5.4.1 Non-data command protocol Execution of the following commands does not involve data transfer between the host and the device.
Interface • SLEEP • DEVICE CONFIGRATION RESTORE • DEVICE CONFIGRATION FREEZE LOCK The following is the protocol for command execution without data transfer: 1) The device receives a non-data command with the RegHD FIS. 2) The device executes the received command. 3) Command execution is completed. 4) The device reports the completion of command execution by sending to the host the RegDH FIS with 1 set in the I bit. Host RegHD Device RegDH Figure 5.
5.4 Command Protocol 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 • READ LOG EXT • DEVICE CONFIGRATION IDENTIFY Data of one or more sectors is transferred from the device to the host. An outline of this protocol is as follows: 1) The device receives a PIO data-in command with the RegHD FIS.
Interface RegHD Host Device PIO Setup DATA Figure 5.
5.4 Command Protocol 5.4.
Interface 4) The device receives the DATA FIS from the host. 5) When all data has been transferred, the device sends the RegDH FIS (with 1 set in the I bit) to complete execution of the command. If the device has an error, it reports the error. If any data remains to be received by the device, this protocol is repeated starting from step 3). (The maximum data size is 8 KB.) RegHD Host PIO Setup Device DATA RegDH Figure 5.
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 DMA • READ LOG DMA EXT The DMA mechanism transfers data of more than one block from the device to the host. The completion of a command is reported by an interruption. An outline of this protocol is as follows: 1) The device receives a DMA data-in command with the RegHD FIS.
Interface 5.4.5 DMA data-out command protocol The DMA data-out command is the following command: • WRITE DMA (EXT) (FUA EXT) • WRITE LOG DMA 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.
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.
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). The device reports abort for other commands.
5.4 Command Protocol RegHD Host Device RegDH DMA Setup DMACT DATA SetDB Figure 5.
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.
5.5 Power-on and COMRESET Host Host/device releases on ComReset Host Host calibrate Host releases ComWake Host Align Host ComReset Host ComWake data Host TX (Device RX) Device TX (Host RX) Device ComInit Device releases ComInit Device ComWake Device Calibrate Device data Device Align Figure 5.
This page is intentionally left blank.
CHAPTER 6 Operations 6.1 Reset and Diagnosis 6.2 Power Save 6.3 Power Save Controlled by Interface Power Management (IPM) 6.4 Read-ahead Cache 6.5 Write Cache This chapter explains each of the above operations.
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. The device establishes communication with the SATA interface (PHY Ready) within 10 ms.
6.1 Reset and Diagnosis Figure 6.
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. Then, the COMRESET sequence is completed. Figure 6.
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.
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. • SET FEATURES (Set Transfer Mode) PIO, Multiword, and UDMA transfer mode settings established by the SET FEATURES command with subcommand code of 03h.
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.
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. • Active mode • Active idle mode • Low power idle mode • Standby mode • Sleep mode The device enters the active idle mode by itself. The device also enters the idle mode in the same way after power-on sequence is completed.
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.
Operations 6.2.2 Power commands The following commands are available as power commands.
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.
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. • The device sends the PMREQ_S signal and the host responds with PMACK signal. The device cannot switch to Slumber mode if the following condition is satisfied: • The device responds with the PMNAK signal because it is not waiting for commands.
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. As the result, faster data access becomes possible for the host. 6.4.1 Data buffer structure This device contains a data buffer.
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. • A part of the sector data including the start sector, that this command processes. If part of the data to be processed is stored on the data buffer, the remaining data is read from disk media and sent to the host system.
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 cachingtarget data is invalidated.
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. (If pre-read is executed, HAP is set at the requested data reading position.
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. 1) When the sequential read command is received, HAP is set in the sequential address of the last read command, and DAP is set at a present read position as it is.
Operations 6.4.3.3 Full hit In this situation, all read requested data is stored in the data buffer. Transfer of the read requested data is started from the location where hit data is stored. For 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.
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. An example is a case where a partial hit occurs in cache data, as shown below.
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. Because of this function, command processing appears to be completed swiftly from the viewpoint of the host. It improves system throughput. 6.5.
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.
This page is intentionally left blank.
CHAPTER 7 Maintenance and Diagnosis 7.1 Maintenance 7.2 Operation Confirmation 7.3 Troubleshooting Procedure 7.4 Disk Drive Removal Procedure 7.5 Spare Disk Drive This chapter describes the maintenance, diagnosis, operation check, troubleshooting, removal, and replacement of the disk drive.
Maintenance and Diagnosis 7.1 Maintenance 7.1.1 Rules for maintenance The following cautions must be observed to prevent injury during troubleshooting or maintenance. Static, Damage 1. Don't install or remove a PCA or connect or disconnect a cable or connector plug when the drive is powered. This may give you an electric shock. 2. Keep away from mechanical assemblies in the unit during operation. This may cause injuries. 3. Avoid dangerous detergent when the disk drive is cleaned.
7.1 Maintenance 7.1.2 Maintenance requirements (1) Preventive maintenance The disk drive needs no preventive maintenance, not even the air filter needs to be changed. Device damage The DE is completely sealed. Do not open the DE in the field. (2) Service life See Section (3), "Service life", in Section 1.7. (3) Exchangeable parts in field The PCA and the DE cannot be replaced separately in the field. Replace the whole disk drive.
Maintenance and Diagnosis Data corruption When asking for repair, save all data stored in the disk drive beforehand. Fujitsu Limited is not responsible for any loss of data during service and repair. (5) Notes on handling a. General notes a) Vibrations and shocks more severe than allowed will cause fatal damage to the device so be very careful. Be especially careful when unpacking the device. b) Do not leave the device in a dusty environment. c) b.
7.1 Maintenance d. Packaging a) Place the device in an antistatic vinyl bag along with a desiccant (silica gel). b) It is recommended that you use the shock absorption cushion material and packaging that contained the device when it was delivered by Fujitsu. If the same packaging material cannot be used, use a shock absorbent box that will transmit shocks directly to the device. When using this type of box, adequately protect the PCA surface and interface connector section. e.
Maintenance and Diagnosis 7.1.4 Disk drive revision number The disk drive revision number is a single alphabetic character followed by a single alphanumeric character. It is stuck on the DE and marked on the revision number label. Figure 7.1 shows the disk drive revision number label format. Disk drive revision number Firmware code/revision Figure 7.
7.1 Maintenance (1) Revision number marking at delivery The machine revision number is indicated by crossing out up to the relevant number in the relevant alphabetic character row using = marks (see Figure 7.2). (2) Revision number change in the field When a part is replaced in the field or other modifications are made, the machine revision number may need to be changed. The level is indicated by crossing out the relevant number in the relevant alphabetic character row using { marks (see Figure 7.2).
Maintenance and Diagnosis 7.1.5 Tools and test equipment At the field maintenance level, only ordinary hand tools are required for troubleshooting and repairing the disk drive. Special tools and test equipment is not required. Factory level tools and test equipment are beyond the scope of this manual. 7.1.6 Self-diagnostics The disk drive has the following self-diagnostics. These self-diagnostics allow normal basic operation of an isolated disk drive can be checked.
7.1 Maintenance Start Check the host system (Table 7.1) Yes Operation test with the host computer or test equipment System normal? No Analyze the system related failure Yes Disk drive replacement or repair Test acceptable? Yes Continue with the operation No Disk drive normal? No Yes Diagnostic test with the host computer or test equipment Test acceptable? No Yes Test using voltage or temperature stress Test acceptable? No Disk drive failure analysis (Table 7.2) Yes No failure Figure 7.
Maintenance and Diagnosis Table 7.1 Status Field contents bit Contents BIT0=1 Shown in Table 7.2 BIT1, 2 It is not necessary to take any measure when other bits are normal, in spite of these bits. (Normal) BIT3=1 (1) Check whether vibration is transmitted because of the way the disk drive is mounted. BIT5=1 BIT6=0 Any of these cases. (2) Check the power, cable, and connector. (3) If it is concluded that the disk drive is the cause, replace the disk drive. BIT7=1 Table 7.
7.2 Operation Confirmation 7.2 Operation Confirmation 7.2.1 Operation test When the host computer is processing data, the disk drive monitors disk drive operation errors including data, command, and seek errors. The host is notified of the error that the disk drive detected and the user is notified of its result. The user may notice intermittent and indefinite failures such as overlong execution time, abnormal noise, abnormal odor, or failures in particular processes.
Maintenance and Diagnosis 7.3 Troubleshooting Procedure 7.3.1 Troubleshooting procedure This section describes the troubleshooting procedures for a disk drive failure at field maintenance level described in Subsection 7.1.3. In this section, troubleshooting is made to isolate the reported failure to the disk drive or a host system. Usually, troubleshooting is necessary only when a cause of failure is uncertain or unknown.
7.3 Troubleshooting Procedure Table 7.3 System level and field troubleshooting Check to be made DC power voltage level Recommended work Confirm that the DC power voltage is within ±5% of the standard value. When measured at +5 V power pins P8 or P9 and GND pins P4-P6, P10, or P12 of the power supply connector, the +5 DVC must be 4.75 to 5.25 VDC. Refer to Sections 3.3 and 5.1.4.
Maintenance and Diagnosis 7.3.3 Troubleshooting at factory When the trouble is recovered by replacing the drive at field (Subsection 7.3.2), troubleshoot the replaced drive to isolate the trouble to the subassembly parts. To shorten the troubleshooting time and repairing time, gather the data, such as environmental data and other information, from the user and then return the failed drive to the factory to repair. At the factory, user environment is made and a reappearance test is performed.
7.4 Disk Drive Removal Procedure 7.4 Disk Drive Removal Procedure The method and procedures to demount the disk drive to check the jumper terminal, change the jumper position, or replace the device differ depend on the system cabinet structure. Therefore, for actual working procedures, the specific conditions necessary for each system must be determined. The general removal procedures, with notes, are as follows. a) Disconnect the power-interface cable.
This page is intentionally left blank.
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. Interfaces based on this standard are called ATA interfaces. Command Commands are instructions to input data to and output data from a drive.
Glossary Master (Device 0) The master is the first drive that can operate on the AT bus. The master is daisychained with the second drive which can operate in conformity with the ATA standard. MTBF Mean time between failures. The MTBF is calculated by dividing the total operation time (total power-on time) by the number of failures in the disk drive during operation. MTTR Mean time to repair. The MTTR is the average time required for a service person to diagnose and repair a faulty drive.
Glossary Serial-ATA Serial ATA is an extension specification from the current Parallel ATA physical storage interface. The parallel data transfer of Parallel ATA is changed to the serial data transfer in Serial-ATA for obtaining greater data transfer speed. Slave (Device 1) The slave is a second drive that can operate on the AT bus. The slave is daisychained with the first drive operating in conformity with the ATA standard.
This page is intentionally left blank.
Acronyms and Abbreviations I A ABRT AIC AMNF ATA AWG Aborted command Automatic idle control Address mark not found AT attachment American wire gage IDNF IRQ14 L LED B BBK BIOS Bad block detected Basic input-output system C CORR CH CL CM CSR CSS CY Corrected data Cylinder high field Cylinder low field Command field Current sense resistor Current start/stop Cylinder field dB A-scale weighting Disk enclosure Device/head field Drive ready Data request bit Drive seek complete Drive write fault E ECC E
This page is intentionally left blank.
Index A A/D converter circuit .............................. 4-12 AAM ..................................................... 5-125 acceleration mode ................................... 4-19 acoustic noise .......................................... 1-10 active field............................................... 5-26 active idle mode ........................................ 6-8 active mode ...................................... 6-8, 6-11 actuator...............................................
Index configuration device.............................................. 2-1, 2-2 drive system ........................................... 2-3 system .................................................... 2-3 connection drive ....................................................... 2-3 connection to SATA interface ................... 1-3 connection with host system...................... 3-9 connector location ..................................... 3-9 connector pinout........................................
Index error (ERR) bit ........................................ 5-25 error correction and retry by ECC............. 1-3 error data structure .................................. 5-66 error field................................................. 5-22 error logging capability ........................... 5-64 error posting .......................................... 5-172 error rate.................................................. 1-12 example of model name and product number.......................................
Index IPM.......................................................... 1-15 L large capacity............................................. 1-2 layer, communication .............................. 5-12 limitation of mounting............................... 3-4 load/unload function................................ 1-12 location of breather.................................... 3-5 location, connector .................................... 3-9 lock function, operation of ....................
Index power-on, response to ............................... 6-2 primitive mnemonic .................................. 5-5 programmable filter circuit ..................... 4-11 protocol, command................................ 5-174 R raw attribute value................................... 5-61 READ BUFFER.................................... 5-100 read circuit............................................... 4-11 READ DMA ........................................... 5-96 READ DMA EXT............................
Index shadow block register, outline of ............ 5-13 shock and vibration ................................. 1-10 shock and vibration specification ............ 1-10 signal interface regulation ......................... 5-4 signal segment ......................................... 3-10 signal, interface ......................................... 5-2 SLEEP ..................................................... 5-53 sleep mode.................................................
Comment Form We would appreciate your comments and suggestions regarding this manual. Manual code C141-E259-01EN Manual name MHW2160BJ, MHW2120BJ, MHW2080BJ DISK DRIVES PRODUCT/MAINTENANCE MANUAL Please mark each item: E(Excellent), G(Good), F(Fair), P(Poor). General appearance Technical level Organization Clarity Accuracy ( ( ( ( ( ) ) ) ) ) Illustration Glossary Acronyms & Abbreviations Index ( ( ( ( ) ) ) ) Comments & Suggestions List any errors or suggestions for improvement.
This page is intentionally left blank.
C141-E259-01EN C141-E259-01EN MHW2160BJ, MHW2120BJ, MHW2080BJ DISK DRIVES PRODUCT/MAINTENANCE MANUAL MHW2160BJ, MHW2120BJ, MHW2080BJ DISK DRIVES PRODUCT/MAINTENANCE MANUAL