PREFACE This manual describes the MPF3xxxAH series, a 3.5-inch hard disk drive with a BUILT-IN controller that is compatible with the ATA interface. This manual explains, in detail, how to incorporate the hard disk drives into user systems. This manual assumes that users have a basic knowledge of hard disk drives and their application in computer systems.
Page 7
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.
Page 8
"Disk drive defects" refers to defects that involve adjustment, repair, or replacement. Fujitsu is not liable for any other disk drive defects, such as those caused by user misoperation or mishandling, inappropriate operating environments, defects in the power supply or cable, problems of the host system, or other causes outside the disk drive.
Page 13
5.6.3 Ultra DMA data transfer ....................5 - 87 5.6.3.1 Initiating an Ultra DMA data in burst ................5 - 87 5.6.3.2 Ultra DMA data burst timing requirements ..............5 - 88 5.6.3.3 Sustained Ultra DMA data in burst ..................5 - 90 5.6.3.4 Host pausing an Ultra DMA data in burst.................5 - 91 5.6.3.5 Device terminating an Ultra DMA data in burst ...............5 - 92 5.6.3.6 Host terminating an Ultra DMA data in burst..............5 - 93 5.6.3.7 Initiating an Ultra DMA data out burst................5 - 94...
Page 14
FIGURES page Current fluctuation (Typ.) when power is turned on ............1 - 7 Disk drive outerview ......................2 - 1 1 drive system configuration.....................2 - 3 2 drives configuration ......................2 - 3 Dimensions ........................3 - 2 Handling cautions ......................3 - 3 Direction..........................3 - 4 Limitation of side-mounting.....................3 - 5 Mounting frame structure....................3 - 5...
Page 15
Protocol for command abort .....................5 - 69 WRITE SECTOR(S) command protocol ................5 - 70 Protocol for the command execution without data transfer..........5 - 71 Normal DMA data transfer ....................5 - 73 Ultra DMA termination with pull-up or pull-down ............5 - 84 PIO data transfer timing....................5 - 85 Multiword DMA data transfer timing (mode 2)..............5 - 86 5.10...
The disk drive can be used over a wide temperature range (5°C to 55°C). Low noise and vibration In Ready status, the noise of the disk drive is only about 3.7 bels (MPF3204AH, Typical Sound Power per ISO7779 and ISO9296).
Page 20
Error correction and retry by ECC If a recoverable error occurs, the disk drive itself attempts error recovery. The 40 bytes ECC has improved buffer error correction for correctable data errors. Write cache When the disk drive receives a write command, the disk drive posts the command completion at completion of transferring data to the data buffer completion of writing to the disk media.
Service life In situations where management and handling are correct, the disk drive requires no overhaul for five years when the DE surface temperature is less than 48°C. When the DE surface temperature exceeds 48°C, the disk drives requires no overhaul for five years or 20,000 hours of operation, whichever occurs first.
CHAPTER 2 DEVICE CONFIGURATION Device Configuration System Configuration 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 motors actuators, and a circulating air filter. Figure 2.1 Disk drive outerview C141-E106-01EN...
Page 29
The disks are rated at over 40,000 start/stop operations. MPF3102AH: 1 disks MPF3153AH: 2 disks MPF3204AH: 2 disks Head The heads are of the contact start/stop (CSS) type. The head touches the disk surface while the disk is not rotating and automatically lifts when the disk starts.
System Configuration 2.2.1 ATA interface Figures 2.2 and 2.3 show the ATA interface system configuration. The drive has a 40-pin PC AT interface connector and supports the PIO transfer till 16.7 MB/s (PIO mode 4), the DMA transfer till 16.7 MB/s (Multiword DMA mode 2), and the ultra DMA transfer till 66.6 MB/s (Ultra DMA mode 4).
CHAPTER 3 INSTALLATION CONDITIONS Dimensions Handling Cautions Mounting Cable Connections Jumper Settings Dimensions Figure 3.1 illustrates the dimensions of the disk drive and positions of the mounting screw holes. All dimensions are in mm. C141-E106-01EN 3 - 1...
Mounting Direction Figure 3.3 illustrates normal direction for the disk drive. The disk drives can be mounted in any direction. Horizontal mounting with the PCB facing down Figure 3.3 Direction Frame The disk enclosure (DE) body is connected to signal ground (SG) and the mounting frame is also connected to signal ground.
Use these screw holes Do not use this screw holes Figure 3.4 Limitation of side-mounting Side surface mounting Bottom surface mounting Frame of system Frame of system cabinet cabinet 4.5 or less Screw Screw 5.0 or less Details of A Details of B Figure 3.5 Mounting frame structure...
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. Pay attention to the air flow to prevent the DE surface temperature from exceeding 60°C. Provide air circulation in the cabinet such that the PCA side, in particular, receives sufficient cooling.
Service area Figure 3.7 shows how the drive must be accessed (service areas) during and after installation. - Mounting screw hole [Q side] - Mounting screw hole [P side] [R side] - Cable connection - Mounting screw hole - Mode setting switches Figure 3.7 Service area External magnetic fields...
3.4.4 Power supply connector (CN1) Figure 3.10 shows the pin assignment of the power supply connector (CN1). +12VDC +12V RETURN +5V RETURN +5VDC (Viewed from cable side) Figure 3.10 Power supply connector pins (CN1) 3.4.5 System configuration for Ultra DMA Host system that support Ultra DMA transfer modes greater than mode 2 shall not share I/O ports.
254.0 to 457.2 mm (10 to 18 inch) 127.0 to 304.8 mm 101.6 to 152.4 mm (5 to 12 inch) (4 to 6 inch) Pin 40 (Ground) open Pin 34 Pin 34 contact Pin 30 (Ground) (PDIAG-:CBLID- signal) Symbolizes Pin 34 Pin 26 (Ground) Conductor being cut Pin 24 (Ground)
Host detected CBLID- above V Host detected CBLID- below V open PDIAG-: CBLID- conductor PDIAG-: CBLID- conductor Host Device 1 Device 0 Host Device 1 Device 0 with 40-conductor cable with 80-conductor cable Figure 3.12 Cable type detection using CBLID- signal (Host sensing the condition of the CBLID- signal) IDENTIFY DEVICE information IDENTIFY DEVICE information...
CSEL connected to the interface cable selection can be done by the special interface cable. Figure 3.17 Jumper setting of Cable Select Figures 3.18 and 3.19 show examples of cable selection using unique interface cables. By connecting the CSEL of the master device to the CSEL Line (conductor) of the cable and connecting it to ground further, the CSEL is set to low level.
Page 47
No. of sectors MPF3102AH 4,092 MPF3153AH 4,092 MPF3204AH 4,092 (b) Slave present If the slave device does not use the Device Active/Slave Present (DASP–) signal to indicate its presence, the device is configured as a Master with slave present when the following jumper settings is applied.
The DE contains the disks with an outer diameter of 95 mm. The MPF3102AH has 1 disk, and MPF3153AH and MPF3204AH have 2 disk. The head contacts the disk each time the disk rotation stops; the life of the disk is 40,000 contacts or more.
4.2.5 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.
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 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.
Power on Start Self-diagnosis 1 • MPU bus test • Inner register write/read test • Work RAM write/read test The spindle motor starts. Self-diagnosis 2 • Data buffer write/read test Confirming spindle motor speed Release heads from actuator lock Initial on-track and read out of system information Execute self-calibration Drive ready state...
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 Sensing and compensating for external forces The actuator suffers from torque due to the FPC forces and winds accompanying disk revolution. The torque vary with the disk drive and the cylinder where the head is positioned.
4.5.2 Execution timing of self-calibration Self-calibration is executed when: • The power is turned on. • The self-calibration execution timechart of the disk drive specifies self-calibration. The disk drive performs self-calibration according to the timechart based on the time elapsed from power-on.
4.7.1 Servo control circuit Figure 4.4 is the block diagram of the servo control circuit. The following describes the functions of the blocks: VCM current Servo Head burst unit Amp. capture Position Sense Spindle Spindle Driver motor motor CSR: Current Sense Resistor control VCM: Voice Coil Motor Figure 4.4...
c. Seek to specified cylinder Drives the VCM to position the head to the specified cylinder. d. Calibration Senses and stores the thermal offset between heads and the mechanical forces on the actuator, and stores the calibration value. Servo frame (72 servo frames per revolution) Figure 4.5 Physical sector servo configuration on disk surface...
Page 62
Servo burst capture circuit The four servo signals can be synchronously detected by the DEMOD signal (internal), full-wave rectified integrated. A/D converter (ADC) The A/D converter (ADC) receives the servo signals are integrated, converts them to digital, and transfers the digital signal to the DSP unit. D/A converter (DAC) The D/A converter (DAC) converts the VCM drive current value (digital value) calculated by the DSP unit into analog values and transfers them to the power amplifier.
4.7.2 Data-surface servo format Figure 4.5 describes the physical layout of the servo frame. The three areas indicated by (1) to (3) in Figure 4.6 are described below. Inner guard band The head is in contact with the disk in this space when the spindle starts turning or stops, and the rotational speed of the spindle can be controlled on this cylinder area for head moving.
Preamble This area is used to synchronize with the PLL, which is used to search the SSM by detecting the ASM. Gray code (including index bit) This area is used as cylinder address. The data in this area is converted into the binary data by the gray code demodulation circuit.
(called SVC hereafter). The firmware operates on the MPU manufactured by Fujitsu. The spindle motor is controlled by sending several signals from the MPU to the SVC. There are three modes for the spindle control;...
Page 67
Acceleration mode In this mode, the MPU stops to send the phase switching signal to the SVC. The SVC starts a phase switching by itself based on the counter electromotive force. Then, rotation of the spindle motor accelerates. The MPU calculates a rotational speed of the spindle motor based on the PHASE signal from the SVC, and accelerates till the rotational speed reaches 7,200 rpm.
5.1.2 Signal assignment on the connector Table 5.2 shows the signal assignment on the interface connector. Table 5.2 Signal assignment on the interface connector Pin No. Signal Pin No. Signal RESET– DATA7 DATA8 DATA6 DATA9 DATA5 DATA10 DATA4 DATA11 DATA3 DATA12 DATA2 DATA13...
Page 71
[signal] [I/O] [Description] DIOR– DIOR– is the strobe signal asserted by the host to read device registers or the data port. HDMARDY– HDMARDY– is a flow control signal for Ultra DMA data in bursts. This signal is asserted by the host to indicate to the device that the host is ready to receive Ultra DMA data in bursts.
Page 72
[signal] [I/O] [Description] IORDY This signal is negated to extend the host transfer cycle of any host register access (Read or Write) when the device is not ready to respond to a data transfer request. DDMARDY– DDMARDY– is a flow control signal for Ultra DMA data out bursts. This signal is asserted by the device to indicate to the host that the device is ready to receive Ultra DMA data out bursts.
Logical Interface The device can operate for command execution in either address-specified mode; cylinder-head- sector (CHS) or Logical block address (LBA) mode. The IDENTIFY DEVICE information indicates whether the device supports the LBA mode. When the host system specifies the LBA mode by setting bit 6 in the Device/Head register to 1, HS3 to HS0 bits of the Device/Head register indicates the head No.
Table 5.3 I/O registers I/O registers Host I/O CS0– CS1– address Read operation Write operation Command block registers Data Data X'1F0' Error Register Features X'1F1' Sector Count Sector Count X'1F2' Sector Number Sector Number X'1F3' Cylinder Low Cylinder Low X'1F4' Cylinder High Cylinder High X'1F5'...
Page 75
5.2.2 Command block registers Data register (X'1F0') The Data register is a 16-bit register for data block transfer between the device and the host system. Data transfer mode is PIO or LBA mode. Error register (X'1F1') The Error register indicates the status of the command executed by the device. The contents of this register are valid when the ERR bit of the Status register is 1.
Page 76
[Diagnostic code] X'01': No Error Detected. X'02': HDC Register Compare Error X'03': Data Buffer Compare Error. X'05': ROM Sum Check Error. X'80': Device 1 (slave device) Failed. Error register of the master device is valid under two devices (master and slave) configuration.
Page 77
Cylinder Low register (X'1F4') The contents of this register indicates low-order 8 bits of the starting cylinder address for any disk-access. At the end of a command, the contents of this register are updated to the current cylinder number. Under the LBA mode, this register indicates LBA bits 15 to 8. Cylinder High register (X'1F5') The contents of this register indicates high-order 8 bits of the disk-access start cylinder address.
Page 78
Status register (X'1F7') The contents of this register indicate the status of the device. The contents of this register are updated at the completion of each command. When the BSY bit is cleared, other bits in this register should be validated within 400 ns. When the BSY bit is 1, other bits of this register are invalid.
Page 79
- Bit 3: Data Request (DRQ) bit. This bit indicates that the device is ready to transfer data of word unit or byte unit between the host system and the device. - Bit 2: Always 0. - Bit 1: Always 0. - Bit 0: Error (ERR) bit.
5.2.3 Control block registers Alternate Status register (X'3F6') The Alternate Status register contains the same information as the Status register of the command block register. The only difference from the Status register is that a read of this register does not imply Interrupt Acknowledge and INTRQ signal is not reset.
5.3.1 Command code and parameters Table 5.4 lists the supported commands, command code and the registers that needed parameters are written. Table 5.4 Command code and parameters (1 of 2) Command code (Bit) Parameters used Command name FR SC SN CY DH READ SECTOR(S) READ MULTIPLE READ DMA...
Page 82
Table 5.4 Command code and parameters (2 of 2) Command code (Bit) Parameters used Command name FR SC SN CY DH STANDBY IMMEDIATE SLEEP CHECK POWER MODE SMART FLUSH CACHE SECURITY DISABLE PASSWORD SECURITY ERASE PREPARE SECURITY ERASE UNIT SECURITY FREEZE LOCK SECURITY SET PASSWORD SECURITY UNLOCK SET MAX ADDRESS...
5.3.2 Command descriptions The contents of the I/O registers to be necessary for issuing a command and the example indication of the I/O registers at command completion are shown as following in this subsection. Example: READ SECTOR(S) At command issuance (I/O registers setting contents) (CM) ×...
Page 84
Note: When the L bit is specified to 1, the lower 4 bits of the DH register and all bits of the CH, CL and SN registers indicate the LBA bits (bits of the DH register are the MSB (most significant bit) and bits of the SN register are the LSB (least significant bit). At error occurrence, the SC register indicates the remaining sector count of data transfer.
Page 85
At command completion (I/O registers contents to be read) (ST) Status information × × (DH) End head No. /LBA [MSB] (CH) End cylinder No. [MSB] / LBA (CL) End cylinder No. [LSB] / LBA (SN) End sector No. / LBA [LSB] (SC) 00 (*1) (ER)
Figure 5.1 shows an example of the execution of the READ MULTIPLE command. • Block count specified by SET MULTIPLE MODE command = 4 (number of sectors in a block) • READ MULTIPLE command specifies; Number of requested sectors = 9 (Sector Count register = 9) ↓...
Page 87
READ DMA (X'C8' or X'C9') This command operates similarly to the READ SECTOR(S) command except for following events. • The data transfer starts at the timing of DMARQ signal assertion. • The device controls the assertion or negation timing of the DMARQ signal. •...
Page 88
At command completion (I/O registers contents to be read) (ST) Status information × × (DH) End head No. /LBA [MSB] (CH) End cylinder No. [MSB] / LBA (CL) End cylinder No. [LSB] / LBA (SN) End sector No. / LBA [LSB] (SC) 00 (*1) (ER)
Page 89
At command completion (I/O registers contents to be read) (ST) Status information × × (DH) End head No. /LBA [MSB] (CH) End cylinder No. [MSB] / LBA (CL) End cylinder No. [LSB] / LBA (SN) End sector No. / LBA [LSB] (SC) 00 (*1) (ER)
Page 90
At command completion (I/O registers contents to be read) (ST) Status information × × (DH) End head No. /LBA [MSB] (CH) End cylinder No. [MSB] / LBA (CL) End cylinder No. [LSB] / LBA (SN) End sector No. / LBA [LSB] (SC) 00 (*1) (ER)
Page 91
The contents of the command block registers related to addresses after the transfer of a data block containing an erred sector are undefined. To obtain a valid error information, the host should retry data transfer as an individual requests. At command issuance (I/O registers setting contents) (CM) ×...
Page 92
1) Multiword DMA transfer mode 2: Sets the FR register = X'03' and SC register = X'22' by the SET FEATURES command 2) Ultra DMA transfer mode 2: Sets the FR register = X'03' and SC register = X'42' by the SET FEATURES command At command issuance (I/O registers setting contents) (CM) ×...
Page 93
At command completion (I/O registers contents to be read) (ST) Status information × × (DH) End head No. /LBA [MSB] (CH) End cylinder No. [MSB] / LBA (CL) End cylinder No. [LSB] / LBA (SN) End sector No. / LBA [LSB] (SC) 00 (*1) (ER)
Page 94
(10) SEEK (X'7x', x : X'0' to X'F') 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 clears the BSY bit in the Status register and generates an interrupt. The IDD always sets the DSC bit (Drive Seek Complete status) of the Status register to 1.
Page 95
(11) 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 BSY bit of Status register and saves the parameters. Then the device clears the BSY bit and generates an interrupt.
Page 101
(13) 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. At command issuance (I/O registers setting contents) (CM) ×...
Page 103
At command issuance (I/O registers setting contents) (CM) × × × (DH) (CH) (CL) (SN) (SC) xx or transfer mode (FR) [See Table 5.6] At command completion (I/O registers contents to be read) (ST) Status information × × × (DH) (CH) (CL) (SN)
Page 104
(15) SET MULTIPLE MODE (X'C6') This command enables the device to perform the READ MULTIPLE and WRITE MULTIPLE commands. The block count (number of sectors in a block) for these commands are also specified by the SET MULTIPLE MODE command. The number of sectors per block is written into the Sector Count register.
Page 105
Regarding software reset, the mode set prior to software reset is retained after software reset. The parameters for the multiple commands which are posted to the host system when the IDENTIFY DEVICE command is issued are listed below. See Subsection 5.3.2 for the IDENTIFY DEVICE command.
Page 106
Table 5.7 Diagnostic code Code Result of diagnostic X‘01’ No error detected. X‘03’ Data buffer compare error X‘05’ ROM sum check error X‘8x’ Failure of device 1 At command issuance (I/O registers setting contents) (CM) × × × (DH) (CH) (CL) (SN) (SC)
Page 107
The READ LONG command supports only single sector operation. At command issuance (I/O registers setting contents) (CM) × × (DH) Head No. /LBA [MSB] (CH) Cylinder No. [MSB] / LBA (CL) Cylinder No. [LSB] / LBA (SN) Sector No. / LBA [LSB] (SC) Number of sectors to be transferred (FR)
Page 108
At command issuance (I/O registers setting contents) (CM) × × (DH) Head No. /LBA [MSB] (CH) Cylinder No. [MSB] / LBA (CL) Cylinder No. [LSB] / LBA (SN) Sector No. / LBA [LSB] (SC) Number of sectors to be transferred (FR) R = 0 or 1 At command completion (I/O registers contents to be read)
Page 109
At command completion (I/O registers contents to be read) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) (ER) Error information (21) WRITE BUFFER (X'E8') The host system can overwrite the contents of the sector buffer of the device with a desired data pattern by issuing this command.
Page 110
(22) IDLE (X'97' or X'E3') Upon receipt of this command, the device sets the BSY bit of the Status register, and enters the idle mode. Then, the device clears the BSY bit, and generates an interrupt. The device generates an interrupt even if the device has not fully entered the idle mode. If the spindle of the device is already rotating, the spin-up sequence shall not be implemented.
Page 111
At command completion (I/O registers contents to be read) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) (ER) Error information (23) IDLE IMMEDIATE (X'95' or X'E1') Upon receipt of this command, the device sets the BSY bit of the Status register, and enters the idle mode.
Page 112
(24) STANDBY (X'96' or X'E2') Upon receipt of this command, the device sets the BSY bit of the Status register and enters the standby mode. The device then clears the BSY bit and generates an interrupt. The device generates an interrupt even if the device has not fully entered the standby mode. If the device has already spun down, the spin-down sequence is not implemented.
Page 113
At command issuance (I/O registers setting contents) (CM) X'94' or X'E0' × × × (DH) (CH) (CL) (SN) (SC) (FR) At command completion (I/O registers contents to be read) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) (ER) Error information (26)
Page 114
At command completion (I/O registers contents to be read) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) (ER) Error information (27) 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 analyzing the contents of the Sector Count and Sector Number registers.
Page 115
At command issuance (I/O registers setting contents) (CM) X'98' or X'E5' × × × (DH) (CH) (CL) (SN) (SC) (FR) At command completion (I/O registers contents to be read) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) X'00' or X'FF' (ER) Error information...
Page 117
The host can predict failures in the device by periodically issuing the SMART Return Status subcommand (FR register = DAh) to reference the CL and CH registers. If an attribute value is below the insurance failure threshold value, the device is about to fail or the device is nearing the end of it life .
Page 118
The attribute value information is 512-byte data; the format of this data is shown below. The host can access this data using the SMART Read Attribute Values subcommand (FR register = D0h). The insurance failure threshold value data is 512-byte data; the format of this data is shown below.
Page 119
Table 5.10 Format of insurance failure threshold value data Byte Item Data format version number Attribute 1 Attribute ID Insurance failure threshold Threshold 1 (Threshold of Reserved attribute 1) Threshold 2 to (The format of each threshold value is the same as threshold 30 that of bytes 02 to 0D.) Reserved...
Page 120
• Attribute ID The attribute ID is defined as follows: Attribute ID Attribute name (Indicates unused attribute data.) Read error rate Throughput performance Spin up time Number of times the spindle motor is activated Number of alternative sectors Seek error rate Seek time performance Power-on time Number of retries made to activate the spindle motor...
Page 121
• Raw attribute value Raw attributes data is retained. • Failure prediction capability flag Bit 0: The attribute value data is saved to a medium before the device enters power saving mode. Bit 1: The device automatically saves the attribute value data to a medium after the previously set operation.
Page 123
(30) SECURITY DISABLE PASSWORD (F6h) This command invalidates the user password already set and releases the lock function. The host transfers the 512-byte data shown in Table 1.1 to the device. The device compares the user password or master password in the transferred data with the user password or master password already set, and releases the lock function if the passwords are the same.
Page 124
At command issuance (I-O registers setting contents) (CM) × × × (DH) (CH) (CL) (SN) (SC) (FR) At command completion (I-O registers setting contents) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) (ER) Error information (31) SECURITY ERASE PREPARE (F3h) The SECURITY ERASE UNIT command feature is enabled by issuing the SECURITY ERASE PREPARE command and then the SECURITY ERASE UNIT command.
Page 125
At command issuance (I-O registers setting contents) (CM) × × × (DH) (CH) (CL) (SN) (SC) (FR) At command completion (I-O registers setting contents) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) (ER) Error information (32) SECURITY ERASE UNIT (F4h) This command erases all user data.
Page 127
x 5($''0$ x :5,7(/21* x 6(&85,7<',6$%/(3$66:25' x 5($'/21* x :5,7(08/7,3/( x 6(&85,7<)5((=(/2&. x 5($'08/7,3/( x :5,7(6(&7256 x 6(&85,7<6(73$66:25' x 5($'6(&7256 x :5,7(9(5,)< x )250$775$&. x 5($'9(5,)< x 6(70$;$''5(66 x )/$6+&$&+( x :5,7('0$ $WFRPPDQGLVVXDQFH,2UHJLVWHUVVHWWLQJFRQWHQWV &0 '+ &+ &/ 61 6& )5 $WFRPPDQGFRPSOHWLRQ,2UHJLVWHUVVHWWLQJFRQWHQWV 67 6WDWXVLQIRUPDWLRQ...
Page 128
Table 5.12 Contents of SECURITY SET PASSWORD data Word Contents Control word Bit 0 Identifier 0 = Sets a user password. 1 = Sets a master password. Bits 1 to 7 Reserved Bit 8 Security level 0 = High 1 = Maximum Bits 9 to 15 Reserved 1 to 16 Password (32 bytes)
Page 129
At command issuance (I-O registers setting contents) (CM) × × × (DH) (CH) (CL) (SN) (SC) (FR) At command completion (I-O registers setting contents) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) (ER) Error information (35) SECURITY UNLOCK (F2h) This command cancels LOCKED MODE.
Page 130
At command issuance (I-O registers setting contents) (CM) × × × (DH) (CH) (CL) (SN) (SC) (FR) At command completion (I-O registers setting contents) (ST) Status information × × × (DH) (CH) (CL) (SN) (SC) (ER) Error information (36) SET MAX ADDRESS (F9) This command allows the maximum address accessible by the user to be set in LBA or CHS mode.
Page 131
At command issuance (I/O registers setting contents) (CM) × × (DH) Max head/LBA [MSB] (CH) Max. cylinder [MSB]/Max. LBA (CL) Max. cylinder [LSB]/Max. LBA (SN) Max. sector/Max. LBA [LSB] (SC) (FR) At command completion (I/O registers contents to be read) (ST) Status information ×...
Page 132
At command completion (I/O registers contents to be read) (ST) Status information × × × (DH) Max head/LBA [MSB] (CH) Max. cylinder [MSB]/Max. LBA (CL) Max. cylinder [LSB]/Max. LBA (SN) Max. sector/Max. LBA [LSB] (SC) (ER) Error information C141-E106-01EN 5 - 65...
Command Protocol The host should confirm that the BSY bit of the 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 Commands can be executed only when the DRDY bit of the Status register is 1.
Note: For transfer of a sector of data, the host needs to read Status register (X'1F7') in order to clear INTRQ (interrupt) signal. The Status register should be read within a period from the DRQ setting by the device to 5 µs after the completion of the sector data transfer. Note that the host does not need to read the Status register for the reading of a single sector or the last sector in multiple-sector reading.
Page 137
D 7KH KRVW ZULWHV DQ\ UHTXLUHG SDUDPHWHUV WR WKH )HDWXUHV 6HFWRU &RXQW 6HFWRU 1XPEHU &\OLQGHUDQG'HYLFH+HDGUHJLVWHUV E 7KHKRVWZULWHVDFRPPDQGFRGHLQWKH&RPPDQGUHJLVWHU7KHGULYHVHWVWKH%6<ELWRIWKH 6WDWXVUHJLVWHU F :KHQWKHGHYLFHLVUHDG\WRUHFHLYHWKHGDWDRIWKHILUVWVHFWRUWKHGHYLFHVHWV'54ELWDQG FOHDUV%6<ELW G 7KHKRVWZULWHVRQHVHFWRURIGDWDWKURXJKWKH'DWDUHJLVWHU H 7KHGHYLFHFOHDUVWKH'54ELWDQGVHWVWKH%6<ELW I :KHQ WKH GULYH FRPSOHWHV WUDQVIHUULQJ WKH GDWD RI WKH VHFWRU WKH GHYLFH FOHDUV %6< ELW DQG DVVHUWV,1754VLJQDO,IWUDQVIHURIDQRWKHUVHFWRULVUHTXHVWHGWKHGULYHVHWVWKH'54ELW J $IWHUGHWHFWLQJWKH,1754VLJQDODVVHUWLRQWKHKRVWUHDGVWKH6WDWXVUHJLVWHU K 7KHGHYLFHUHVHWV,1754WKHLQWHUUXSWVLJQDO...
Note: For transfer of a sector of data, the host needs to read Status register (X'1F7') in order to clear INTRQ (interrupt) signal. The Status register should be read within a period from the DRQ setting by the device to 5 µs after the completion of the sector data transfer. Note that the host does not need to read the Status register for the first and the last sector to be transferred.
5.4.4 Other commands • READ MULTIPLE • SLEEP • WRITE MULTIPLE See the description of each command. 5.4.5 DMA data transfer commands • READ DMA • WRITE DMA Starting the DMA transfer command is the same as the READ SECTOR(S) or WRITE SECTOR(S) command except the point that the host initializes the DMA channel preceding the command issuance.
Ultra DMA feature set 5.5.1 Overview Ultra DMA is a data transfer protocol used with the READ DMA and WRITE DMA commands. When this protocol is enabled it shall be used instead of the Multiword DMA protocol when these commands are issued by the host. This protocol applies to the Ultra DMA data burst only. When this protocol is used there are no changes to other elements of the ATA protocol (e.g.: Command Block Register access).
5.5.2 Phases of operation An Ultra DMA data transfer is accomplished through a series of Ultra DMA data in or data out bursts. Each Ultra DMA burst has three mandatory phases of operation: the initiation phase, the data transfer phase, and the Ultra DMA burst termination phase. In addition, an Ultra DMA burst may be paused during the data transfer phase (see 5.5.3 and 5.5.4 for the detailed protocol descriptions for each of these phases, 5.6 defines the specific timing requirements).
11) The device shall drive the first word of the data transfer onto DD (15:0). This step may occur when the device first drives DD (15:0) in step (10). 12) To transfer the first word of data the device shall negate DSTROBE within t after the host has negated STOP and asserted HDMARDY-.
The device shall stop generating DSTROBE edges within t of the host negating HDMARDY-. If the host negates HDMARDY- within t after the device has generated a DSTROBE edge, then the host shall be prepared to receive zero or one additional data words. If the host negates HDMARDY- greater than t after the device has generated a DSTROBE edge, then the host shall be prepared to receive zero, one or two additional data words.
Page 145
10) The device shall latch the host's CRC data from DD (15:0) on the negating edge of DMACK-. 11) The device shall compare the CRC data received from the host with the results of its own CRC calculation. If a miscompare error occurs during one or more Ultra DMA bursts for any one command, at the end of the command the device shall report the first error that occurred (see 5.5.5).
10) If the host has not placed the result of its CRC calculation on DD (15:0) since first driving DD (15:0) during (9), the host shall place the result of its CRC calculation on DD (15:0) (see 5.5.5). 11) The host shall negate DMACK- no sooner than t after the device has asserted DSTROBE and negated DMARQ and the host has asserted STOP and negated HDMARDY-, and no sooner than t...
9) The device shall assert DDMARDY- within t after the host has negated STOP. After asserting DMARQ and DDMARDY- the device shall not negate either signal until after the first negation of HSTROBE by the host. 10) The host shall drive the first word of the data transfer onto DD (15:0). This step may occur any time during Ultra DMA burst initiation.
b) Device pausing an Ultra DMA data out burst The device shall not pause an Ultra DMA burst until at least one data word of an Ultra DMA burst has been transferred. The device shall pause an Ultra DMA burst by negating DDMARDY-. The host shall stop generating HSTROBE edges within t of the device negating DDMARDY-.
Page 149
The device shall compare the CRC data received from the host with the results of its own CRC calculation. If a miscompare error occurs during one or more Ultra DMA bursts for any one command, at the end of the command, the device shall report the first error that occurred (see 5.5.5).
11) The device shall compare the CRC data received from the host with the results of its own CRC calculation. If a miscompare error occurs during one or more Ultra DMA bursts for any one command, at the end of the command, the device shall report the first error that occurred (see 5.5.5).
Timing 5.6.1 PIO data transfer Figure 5.8 shows of the data transfer timing between the device and the host system. Addresses DIOR-/DIOW- Write data DD0-DD15 Read data DD0-DD15 IORDY Symbol Timing parameter Min. Max. Unit Cycle time — Data register selection setup time for DIOR-/DIOW- —...
5.6.2 Multiword data transfer Figure 5.9 shows the multiword DMA data transfer timing between the device and the host system. DMARQ DMACK- DIOR-/DIOW- Write data DD0-DD15 Read data DD0-DD15 Symbol Timing parameter Min. Max. Unit Cycle time — Delay time from DMACK assertion to DMARQ negation —...
5.6.3 Ultra DMA data transfer Figures 5.10 through 5.19 define the timings associated with all phases of Ultra DMA bursts. Table 5.16 contains the values for the timings for each of the Ultra DMA Modes. 5.6.3.1 Initiating an Ultra DMA data in burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes.
5.6.3.2 Ultra DMA data burst timing requirements Table 5.16 Ultra DMA data burst timing requirements (1 of 2) NAME MODE 0 MODE 1 MODE 2 MODE 3 MODE 4 COMMENT (in ns) (in ns) (in ns) (in ns) (in ns) MAX (see Notes 1 and 2) Typical sustained average two cycle 2CYCTYP...
Page 156
Table 5.16 Ultra DMA data burst timing requirements (2 of 2) NAME MODE 0 MODE 1 MODE 2 MODE 3 MODE 4 COMMENT (in ns) (in ns) (in ns) (in ns) (in ns) MAX (see Notes 1 and 2) Minimum time before driving ZIORDY IORDY Setup and hold times for DMACK-...
5.6.3.3 Sustained Ultra DMA data in burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Note: DD (15:0) and DSTROBE are shown at both the host and the device to emphasize that cable setting time as well as cable propagation delay shall not allow the data signals to be considered stable at the host until some time after they are driven by the device.
5.6.3.4 Host pausing an Ultra DMA data in burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Notes: The host may assert STOP to request termination of the Ultra DMA burst no sooner than t after HDMARDY- is negated.
5.6.3.5 Device terminating an Ultra DMA data in burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Note: The definitions for the STOP, HDMARDY- and DSTROBE signal lines are no longer in effect after DMARQ and DMACK are negated. Figure 5.13 Device terminating an Ultra DMA data in burst 5 - 92 C141-E106-01EN...
5.6.3.6 Host terminating an Ultra DMA data in burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Note: The definitions for the STOP, HDMARDY- and DSTROBE signal lines are no longer in effect after DMARQ and DMACK are negated. Figure 5.14 Host terminating an Ultra DMA data in burst C141-E106-01EN 5 - 93...
5.6.3.7 Initiating an Ultra DMA data out burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Note: The definitions for the STOP, DDMARDY- and HSTROBE signal lines are not in effect until DMARQ and DMACK are asserted. Figure 5.15 Initiating an Ultra DMA data out burst 5 - 94 C141-E106-01EN...
5.6.3.8 Sustained Ultra DMA data out burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Note: DD (15:0) and HSTROBE signals are shown at both the device and the host to emphasize that cable setting time as well as cable propagation delay shall not allow the data signals to be considered stable at the device until some time after they are driven by the host.
5.6.3.9 Device pausing an Ultra DMA data out burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Notes: The device may negate DMARQ to request termination of the Ultra DMA burst no sooner than t after DDMARDY- is negated.
5.6.3.10 Host terminating an Ultra DMA data out burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Note: The definitions for the STOP, DDMARDY- and HSTROBE signal lines are no longer in effect after DMARQ and DMACK are negated. Figure 5.18 Host terminating an Ultra DMA data out burst C141-E106-01EN 5 - 97...
5.6.3.11 Device terminating an Ultra DMA data in burst 5.6.3.2 contains the values for the timings for each of the Ultra DMA Modes. Note: The definitions for the STOP, DDMARDY- and HSTROBE signal lines are no longer in effect after DMARQ and DMACK are negated. Figure 5.19 Device terminating an Ultra DMA data out burst 5 - 98 C141-E106-01EN...
CHAPTER 6 OPERATIONS Device Response to the Reset Address Translation Power Save Defect Management Read-Ahead Cache Write Cache Device Response to the Reset This section describes how the PDIAG- and DASP- signals responds when the power of the IDD is turned on or the IDD receives a reset or diagnostic command. C141-E106-01EN 6 - 1...
6.1.1 Response to power-on After the master device (device 0) releases its own power-on reset state, the master device shall check a DASP- signal for up to 450 ms to confirm presence of a slave device (device 1). The master device recognizes presence of the slave device when it confirms assertion of the DASP- signal.
6.1.2 Response to hardware reset Response to RESET- (hardware reset through the interface) is similar to the power-on reset. Upon receipt of hardware reset, the master device checks a DASP- signal for up to 450 ms to confirm presence of a slave device. The master device recognizes the presence of the slave device when it confirms assertion of the DASP- signal.
6.1.3 Response to software reset The master device does not check the DASP- signal for a software reset. If a slave device is present, the master device checks the PDIAG- signal for up to 31 seconds to see if the slave device has completed the self-diagnosis successfully.
6.1.4 Response to diagnostic command When the master device receives an EXECUTE DEVICE DIAGNOSTIC command and the slave device is present, the master device checks the PDIAG- signal for up to 6 seconds to see if the slave device has completed the self-diagnosis successfully. The master device does not check the DASP- signal.
PARAMETERS command, the default values listed in Table 6.1 are used. This is called as the default translation mode. The parameters in Table 6.1 are called BIOS specification. Table 6.1 Default parameters MPF3102AH MPF3153AH MPF3204AH Number of cylinders 16,383 Parameters Number of head (logical)
• CHECK POWER MODE command Sleep mode The power consumption of the drive is minimal in this mode. The drive enters only the standby mode from the sleep mode. The only method to return from the standby mode is to execute a software or hardware reset.
6.5.2 Caching operation The caching operation is performed only at receipt of the following commands. The device transfers data from the data buffer to the host system if the following data exist in the data buffer. • All sector data to be processed by the command •...
6.5.3 Usage of read segment This subsection explains the usage of the read segment buffer at following cases. Miss-hit (no hit) A lead block of the read-requested data is not stored in the data buffer. The requested data is read from the disk media. 1) Sets the host address pointer (HAP) and the disk address pointer (DAP) to the sequential address to the last read segment.
Page 183
Sequential read When the disk drive receives the read command that targets the sequential address to the previous read command, the disk drive tries to fill the buffer space with the read ahead data. a. Sequential command just after non-sequential command At receiving the sequential read command, the disk drive sets the DAP and HAP to the sequential address of the last read command and reads the requested data.
Page 184
b. Sequential hit When the last sector address of the previous read command is sequential to the lead sector address of the received read command, the disk drive transfers the hit data in the buffer to the host system. The disk drive performs the read-ahead operation of the new continuous data to the empty area that becomes vacant by data transfer at the same time as the disk drive starts transferring data to the host system.
Page 185
Full hit (hit all) All requested data are stored in the data buffer. The disk drive starts transferring the requested data from the address of which the requested data is stored. After completion of command, a previously existed cache data before the full hit reading are still kept in the buffer, and the disk drive does not perform the read-ahead operation.
Page 186
1) The disk drive sets the HAP to the address where the partially hit data is stored, and sets the DAP to the address just after the partially hit data. Partially hit data Lack data 2) The disk drive starts transferring partially hit data and reads lack data from the disk media at the same time.
Write Cache The write cache function of the drive makes a high speed processing in the case that data to be written by a write command is logically sequent the data of previous command and random write operation is performed. When the drive receives a write command, the drive starts transferring data of sectors requested by the host system and writing on the disk medium.
Page 188
At the time that the drive has stopped the command execution after the error recovery has failed, the write cache function is disabled automatically. The releasing the disable state can be done by the SET FEATURES command. When the power of the drive is turned on after the power is turned off once, the status of the write cache function returns to the default state.