.1.1.1.1.1.1.1 TOSHIBA TOSHIBA Hard Disk Drive Specification 1.8 inch Hard Disk Drive MK6006GAH/MK4006GAH /MK3006GAL Rev.
Revision History 1.
SAFETY The hard disk drive and product specifications contain essential information for the protection of users and others from possible injury and property damage and to ensure correct handling. Please check that you fully understand the definition of the following messages (signs and graphical symbols) before going on to read the text, and always follow the instructions.
USAGE RESTRICTIONS ● Since the drive is not designed or manufactured to be used for a system including equipment (*1) directly linked with human life, etc., Toshiba Corporation shall not be liable for this type of use. *1: Equipment directly linked with human life, etc. corresponds to the following. −Medical equipment such as life support systems, equipment used in operations,etc.
SAFETY ■ Do not disassemble, remodel or repair. Disassembly, remodeling or repair may cause injury, failure, or data loss. ■ Do not drop. Dropping may cause injury. ■ Do not touch sharp edges or pins of the drive. Sharp protrusions etc. may cause injury. Hold the drive by both sides when carrying it.
SAFETY Observe the following to prevent failure, malfunction or data loss. NOTE ●Follow the specifications for 7. POWER SUPPLY (page17), 9. ENVIRONMENT (page 22, 23), etc. when using. Failure to do so may cause damage to the drive. ● Observe cautions in 8.3 MOUNTING INSTRUCTION (page18) and 10.6 LOAD / UNLOAD (page27 ) when handling, setting up, or using the drive. ●Take anti-static measures in order to avoid damage to the drive when handling it.
TABLE OF CONTENTS 1. SCOPE........................................................................................................................................................ 11 2. GENERAL DESCRIPTION....................................................................................................................... 11 3. KEY FEATURES ....................................................................................................................................... 13 4.
10.4 HOST INTERFACE TIMING ........................................................................................................................ 35 10.5 10.6 10.7 GROUNDING ............................................................................................................................................. 48 ADDRESS DECODING ................................................................................................................................ 49 REGISTER DESCRIPTION ..................
10.8.35 10.8.36 10.8.37 10.8.38 10.8.39 10.8.40 10.8.41 10.8.42 10.8.43 10.8.44 10.8.45 10.9 Set Features (EFh)....................................................................................................................96 SECURITY SET PASSWORD (F1h) .......................................................................................97 SECURITY UNLOCK (F2h).....................................................................................................98 SECURITY ERASE PREPARE (F3h) ........
Table of Figures FIGURE 1 MK3006GAL DIMENSIONS................................................................................................................20 MK6006GAH/MK4006GAH DIMENSIONS ............................................................................21 FIGURE 2 FIGURE 3 ATA INTERFACE CONNECTOR ................................................................................................................................30 FIGURE 4 PASSWORD SET SECURITY MODE POWER-ON FLOW ................
2. SCOPE This document describes the specifications of the following model, MK3006GAL /MK4006GAH/MK6006GAH of 1.8- inch type Winchester disk drives. . Factory Number Sales Number HDD1442 HDD1564 HDD1544 MK3006GAL MK4006GAH MK6006GAH 3. GENERAL DESCRIPTION The MK3006GAL/MK4006GAH/MK6006GAH which is noted hereinafter as MK3006GAL/MK4006GAH/MK6006GAH or as the drive comprises a series of intelligent disk drives .
SAFETY ■Do not disassemble, remodel or repair. Disassembly, remodeling or repair may cause injury, failure, or data loss. NOTE ●There is a certain probability of the drive causing failure including data error or data loss. Take preventive steps such as backing up data etc. without exception in order to prevent loss etc. in cases where data loss may result in loss or damage. ●Do not touch the top cover since application of force to it may cause damage to the drive.
4. KEY FEATURES • High capacity in smallest size . 1.8 inch-type 2 platters accommodating formatted capacity of 60.0116GB (MK6006GAH)/40.000GB(MK4006GAH), 1 platter accommodating formatted capacity of 30.0058GB(MK3006GAL). . Slim ( MK3006GAL: 5 mm in height, MK6006GAH: 8mm in height) and light (MK3006GAL: 51 gram in weight, MK6006GAH/MK4006GAH: 62 gram in weight) design. • Fast access and fast transfer rate . Quick spin up of Spindle Motor 3 sec. .
. Low power consumption by Adaptive Power Mode Control .
5. BASIC SPECIFICATION MODEL Formatted Capacity ( gigabytes ) Number of sectors Servo design method Recording method Recording density Track / mm (TPI ) Bit / mm ( BPI ) Flux change / mm ( FRPI ) Number of disks Number of data heads Number of user data cylinders Bytes per sector MK3006GAL 30.0058 58,605,120 MK6006GAH 60.0116 MK4006GAH 40.000 117,210,240 78,126,048 Sector Servo 60/61 ME2PR4+MNP 4704 (119.5k) 31.8k (808k ) max. 32.3k (821k ) max.
6. PERFORMANCE MK3006GAL Access time ( msec ) <*1> Track to track seek <*2> Average seek <*3> Max. seek <*4> Rotation speed ( RPM ) Average Latency Time ( msec ) Internal Transfer rate ( Mbits / sec ) Host Transfer rate ( Mbytes / sec ) Ultra DMA mode PIO mode Sector Interleave Track skew Buffer size ( Mbytes ) Cache MK6006GAH MK4006GAH 3 15 26 4,200 + 0.1% 7.14 131.1−283.3 2 Start time <*5> ( Up to Drive Ready) Recovery time from Stand- by <*5> Command Overhead ( msec ) 100 16.
7. POWER REQUIREMENTS 7.1 Supply Voltage Allowable voltage 3.3V + 5% Allowable noise/ripple 70 mV p-p or less (note 1) When DC power is interrupted,+3.3V voltage drop must be greater than or equal 0V. 7.2 Power Consumption Start Seek (note 2) Read / Write(note 3) Active idle (note 4 ) Low power idle (note 5) Stand- by (note 6) Sleep Average(note 1) MK3006GAL/MK6006GAH/MK4006GAH 1.2 W Maximum 1.1 W Typical 1.1 W Typical 0.4 W Typical 0.3 W Typical 0.12 W Typical 0.
8. MECHANICAL SPECIFICATIONS 8.1 Dimension and weight MK3006GAL Width (mm) Height (mm) Depth (mm) Warpage (mm) Interconnected area Width (shorter side) Depth (longer side) Substrate area (thickness including warpage) Weight 5.0 + 0.15 MK6006GAH/MK4006GAH 54.0 ±0.2 8.0 + 0.15 78.5±0.3 0.15 max. 0.35 max. 5.35 max. 51 max. 8.35 max. 62 max. Figure 1 and Figure 2 show an outline of the drive. 8.2 Drive Orientation The drive can be installed in all axes (6 directions). 8.
8.3.1 Installation 1) The drive should be interconnected of mounted carefully on the surface of 0.1mm or less flatness to avoid excessive distortion. 2) The drive can be easily damaged by shocks. In order to prevent the damege, avoid giving shock to the drive. 3) Don’t apply any force to the top cover. 4) The drive contains several parts which may be easily damaged by ESD(Electric Static Discharge). Avoid touching the interface connector pins and surface of PCB.
Figure 1 MK3006GAL Dimensions UNIT: mm Toshiba Corporation Digital Media Network Company Page 20 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Reserved
Figure 2 MK6006GAH/MK4006GAH Dimensions UNIT: mm Toshiba Corporation Digital Media Network Company Page 21 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Reserved
9. ENVIRONMENTAL LIMITS 9.1 Temperature and Humidity 9.1.1 Temperature 5oC- 60oC Operating Non- operating - 20oC- 65oC Under shipment - 40oC- 70oC Gradient 15oC / Hour maximum Gradient 15oC / Hour maximum Gradient 30oC / Hour maximum ( Packed in Toshiba’s original shipping package. ) The temperature of top cover and base must be kept under 65℃ at any moment to maintain the desire reliability. 9.1.2 Humidity Operating Non- operating Under shipment Max. wet bulb 8%- 90% R.H. ( No condensation.
9.4 Altitude Operating Non operating - 300 m to 3,000 m - 400 m to 15,000 m 9.5 Acoustics(Sound Power) MK3006GAL 16dB MK6006GAH/ MK4006GAH 18dB 22dB 24dB For idle mode ( Spindle in rotating ). Randomly select a track to be sought in such a way thatevery track has equal probability of being selected. Seek rate(ns) is defined by the following formura: ns = 0.
9.6 Safety Standards The drive satisfies the following standards . MK3006GAL MK6006GAH/MK4006GAH (UL) 1950 (CSA)C22.2 No.
EMC Adaptability The drive satisfies the following standards . MK3006GAL EN5008M1-E1 EN50081-1 EN55024 MK6006GAH/MK4006GAH EN55022 : 1998 Class B EN61000-3-2 : 1995 EN61000-3-3 : 1995 EN61000-4-2 : 1995 EN61000-4-3 : 1995 ENV50204 : 1995 EN61000-4-4 : 1995 EN61000-4-5 : 1995 EN61000-4-6 : 1996 EN61000-4-11 : 1994 9.7 Magnetic Fields The disk drive shall work without degradation of the soft error rate under the following Magnetic Flux Density Limits at the enclosure surface. MK3006GAL/ 0.
10. RELIABILITY A failure is defined as an inability of the drive to perform its specified function described in the requirements of this document when being operated under the normal conditions or conditions specified in this document. However , damages caused by operation mistake, mishandling, accidents, system errors and other damages that can be induced by the customers are not defined as failure. . 10.1 Error Rate 10.1.
10.6 Load/Unload Be sure to issue and complete the following commands for unloading before cutting off the power supply. Following table shows the specification for normal load/unload cycles. Load/unload cycle (Times) 600,000 300,000 Environment Room temperature Operational temperature range Unload is executed by the following commands : ・Standby ・Standby Immediate ・Sleep ・Hard reset Load/Unload is also executed as one of the idle modes of the drive.
11. HOST INTERFACE Related Standards Information technology - AT Attachment Interface with Extensions (ATA-2) X3T10.
11.2 Electrical specification 11.2.1 Cable length and capacitance 0.46m MAX 35pF MAX 11.2.2 DC input/output Characteristics 11.2.2.1 Input item voltage high (note 1) low leak current Unit V V µA value 2.0 to 5.5 -0.3 to 0.8 + 10 (note 2) As non-connected logic voltage, input voltage level is from -0.3V to 0.5V. (note 1) The max. input range of signal is from -0.3V to 5.5V . (note 2) Except for signal lines pulled up as shown in Table 10.3.3-1 11.2.2.2 Output item voltage high low unit V V value 2.
11.3 Interface connector 11.3.
11.3.2 Pin Assignment The following table describes all of the pins on the Task File Interface. PIN No. 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 SIGNALS - RESET DD 7 DD 6 DD 5 DD 4 DD 3 DD 2 DD 1 DD 0 GROUND DMARQ - DIOW STOP -DIOR -DMARDY HSTROBE IORDY -DMARDY -DSTROBE -DMACK INTRQ DA 1 DA 0 - CS0 - DASP + 3.3V GROUND Table 11.3-1 Signal pin assignment PIN No.
11.3.3 Signal Treatment Driver types and requirements for the signal pull- up and down are as follows. Resistor requirement is minimum for the host. - IO16 is pulled up in the drive with certain value so that the Vol is obtained to run with a host that has large value of pull up resistor. - CS0 and - CS1 are also pulled up for better noise immunity. SIGNAL - RESET Table 11.
11.3.4 Series resistance Each signal has its own series resistance. SIGNAL SERIAL RESISTANCE VALUE 82Ω -DIOR -HDMARDY HSTROBE -DIOW STOP 82Ω -CS0, -CS1 DA0,DA1,DA2 -DMACK DMARQ INTRQ IORDY -DDMARDY DSTROBE 82Ω 82Ω 82Ω 22Ω 22Ω 22Ω DD0∼DD15 33Ω 11.3.5 Signal Description SIGNAL DIR. PIN DESCRIPTION 1 Reset signal from the host system; It shall be active low when system is powered-up or when voltage fault is detected. 16 bit bi- directional data bus between the host system and the drive.
CSEL O 28 - DMACK O 29 INTRQ I 31 - IOCS16 I 32 DA 1 - PDIAG /CBLID O I/O 33 34 DA 0 DA 2 - CS0 O O O 35 36 37 - CS1 O 38 - DASP I 39 RESERVED + 3.3V GROUND 27,44 41,42 2,19 22,24 26,30 40,43 If jumper pins B through D are assigned, Master/Slave setting with this pin is valid. When grounded, the drive recognizes itself as a Master. When not grounded, the drive recognizes itself as a Slave.
11.4 Host Interface Timing 11.4.
11.4.
11.4.3 Multiword DMA Write Timing DMARQ tO tL -DMACK tD tI tJ tK -DIOW DD15∼DD0 tG tH ATA/ATAPI-6 SPECIFICATIONS Symbol t0 tC tD tG tH tI tJ tK tL Transfer mode Meaning Cycle time DMACK to DMARQ delay -DIOW 16-bit -DIOW data setup -DIOW data hold DMACK to -DIOW setup -DIOW to DMACK hold -DIOW negated pulse width -DIOW to DMARQ delay MODE 0 Min. 480 Max. MODE 1 Min. 150 --215 100 20 0 20 215 Max. --- 80 30 15 0 5 50 40 40 MODE 2 Min. Max.
11.4.4 Multiword DMA Read Timing DMARQ tO tL -DMACK tD tI tJ tK -DIOR tZ tE DD15∼DD0 tF ATA/ATAPI-6 SPECIFICATIONS Symbol t0 tC tD tE tF tZ tI tJ tK tL Transfer mode Meaning Cycle time DMACK to DMARQ delay -DIOR 16-bit -DIOR data access -DIOR data hold -DIOR to tristate DMACK to -DIOR setup -DIOR to DMACK hold -DIOR negated pulse width -DIOR to DMARQ delay MODE 0 Min. 480 Max. MODE 1 Min. 150 --215 Max. --- 80 150 5 60 5 20 0 20 50 25 0 5 50 120 40 MODE 2 Min. Max.
11.4.
Sustained Ultra DMA data in burst t2CYC tCYC tCYC t2CYC DSTROBE at device tDVH tDVHIC tDVS tDVH tDVHIC tDVS tDVSIC tDVH tDVHIC tDVSIC DD(15:0) at device DSTROBE at host DD(15:0) at host tDH tDHIC tDS tDSIC tDH tDHIC tDS tDSIC tDH tDHIC Host pausing an Ultra DMA data in burst DMARQ (device) DMACK(host) tRP STOP (host) HDMARDY(host) tRFS DSTROBE (device) DD(15:0) (device) Toshiba Corporation Digital Media Network Company Page 40 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Res
Device terminating an Ultra DMA data in burst DMARQ (device) tMLI DMACK(host) tLI tACK tLI STOP (host) tACK tLI HDMARDY(host) tSS tIORDYZ DSTROBE (device) tZAH tAZ tCVS DD(15:0) tCVH CRC tACK DA0, DA1, DA2, CS0-, CS1- Toshiba Corporation Digital Media Network Company Page 41 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Reserved
Host terminating an Ultra DMA data in burst DMARQ (device) tLI tMLI DMACK(host) tZAH tAZ tRP tACK STOP (host) tACK HDMARDY(host) tRFS tMLI tLI tIORDYZ DSTROBE (device) tCVS DD(15:0) tCVH CRC tACK DA0, DA1, DA2, CS0-, CS1- Toshiba Corporation Digital Media Network Company Page 42 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Reserved
Initiating an Ultra DMA data out burst DMARQ (device) tUI DMACK(host) tACK tENV STOP (host) tZIORDY tLI tUI DDMARDY(device) tACK HSTROBE (host) tDZFS tDVS DD(15:0) (host) tACK DA0, DA1, DA2, CS0-, CS1- Toshiba Corporation Digital Media Network Company Page 43 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Reserved tDVH
Sustained Ultra DMA data out burst t2CYC tCYC tCYC t2CYC HSTROBE at host tDVH tDVHIC tDVS tDVH tDVHIC tDVS tDVSIC tDVH tDVHIC tDVSIC DD(15:0) at host HSTROBE at device tDH tDHIC tDS tDSIC tDH tDHIC tDS tDSIC tDH tDHIC DD(15:0) at device Device pausing an Ultra DMA data out burst tRP DMARQ (device) DMACK(host) STOP (host) DDMARDY -(device) tRFS HSTROBE (host) DD(15:0) (host) Toshiba Corporation Digital Media Network Company Page 44 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Re
Host terminating an Ultra DMA data out burst tLI DMARQ (device) tMLI DMACK(host) tLI tSS tACK STOP (host) tLI tIORDYZ DDMARDY(device) tACK HSTROBE (host) tCVS DD(15:0) (host) tCVH CRC tACK DA0, DA1, DA2, CS0-, CS1- Toshiba Corporation Digital Media Network Company Page 45 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Reserved
Device terminating an Ultra DMA data out burst DMARQ (device) DMACK(host) tLI tMLI tACK STOP (host) tRP tIORDYZ DDMARDY(device) tRFS tLI tMLI tACK HSTROBE (host) tCVS DD(15:0) (host) tCVH CRC tACK DA0, DA1, DA2, CS0-, CS1- Toshiba Corporation Digital Media Network Company Page 46 of 153 © 2003, Copyright TOSHIBA Corporation All Rights Reserved
ATA/ATAPI specifications Symbo l Transfer mode Meaning tCYC Cycle time t2CYC Two cycle time tDS Data setup time tDH Data hold time tDVS Data valid setup time tDVH Data valid hold time tCS CRC setup time tCH CRC hold time tCVS CRC valid setup time tCVH CRC valid hold time tZFS Strobe released to driving tDZFS Data released to driving tFS First STROBE time tLI Limit interlock time tMLI Interlock time min.
11.4.6 Reset Timing BUSY tN - RESET tM Symbol tM tN Meaning RESET pulse width (Low) RESET inactive to BSY active Minimum 25 Maximum 400 Unit µs ns Condition 11.5 Grounding HDA (Head Disk Assembly) and DC ground(ground pins on interface) are connected electrically each other.
11.6 Address Decoding The host addresses the drive using programmed I/O. In this method, the required register address should be placed on the three host address lines, DA2 - DA0. An appropriate chip is selected and a read or write strode (-DIOR / -DIOW) shall be given to the chip. The following I/O map shows definitions of all the register addresses and functions for these I/O locations. The descriptions of each register are shown in the next paragraph. Table 11.
11.7 Register Description In the following register descriptions, unused write bit should be treated as “don't care”, and unused read bits should be read as zeros. 11.7.1 Data Register - CS0 DA2-DA0 : 0 Read / Write There are seven commands which execute data transfer from/to this register of the sector buffer for Read and Write operations. The sector table during Format command and the data associated with the Identify Device command shall also be transferred to this register. 11.7.1.
11.7.2 Error Register - CS0 DA2-DA0 : 1 Read ONLY 11.7.2.1 Operational Mode The following descriptions are bit definitions for the operational mode including the error information from the last command. This command is valid only when the ERROR BIT (bit 0) is set. ICRC Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 UNC MC IDNF MCR ABRT TK0NF AMNF Interface CRC error was found during the transfer of Ultra DMA.
11.7.3.1 Smart command This command is used with the Smart commands to select subcommands. 11.7.4 Sector Count Register - CS0 DA2-DA0 : 2 Read / Write 11.7.4.1 Disk Access command The sector count register determines the number of sectors to be read or written for Read, Write, and Verify commands. A 0 in the sector count register specifies a 256 sector transfer. After normal completion of a command, the content shall be 0.
11.7.5 Sector Number Register - CS0 DA2-DA0 : 3 Read / Write The target logical sector number (starting from 1) for Read, Write, and Verify commands is set in this register. After completion of a command, it shows the sector number of the last sector transferred to the host. The starting sector number is set in this register for multi-sector operations. But when error occurs during multi-sector transfer, it shows the number of the sector in which the error has been detected.
11.7.7.2 SMART commands This register should be set to C2h for SMART commands 11.7.8 Device/Head Register - CS0 DA2-DA0 : 6 Read / Write The value of this register is used to select the drive, Drive0 or Drive1, and head. On multiple sector read/write operation that requires to cross track boundaries, the head select bit will be updated to reflect the currently selected head number.
11.7.9 Status Register -CS0 DA2-DA0:7 Read only This register contains the command status. The contents of the register are updated at the completion of each command and whenever the error occurs. The host system reads this register in order to acknowledge the status and the result of each operation. When the BSY bit (bit 7) is set, no other bits in the register are valid.
11.7.10 Command Register - CS0 DA2-DA0 : 7 Write only The command register accepts commands for the drive to perform fixed disk operations. Commands are executed when the TASK FILE is loaded and the command register is written and only when: The status is not busy (BSY is inactive). and DRDY (drive ready) is active. Any code NOT defined in the following list causes an Aborted Command error. Interrupt request (INTRQ) is reset when a command is written.
Table 11.
11.7.11 Alternate Status Register - CS1 DA2-DA0 : 6 Read only This register contains the same information as the status register in the Task File. The only difference is that this register being read does not imply interrupt acknowledge or doesn’t reset a pending interrupt. See the description of status resister for definitions of the bit in this register. 11.7.12 Device Control Register - CS1 DA2-DA0 : 6 Write only This register contains the following three control bits.
-HEAD SELECT represents one’s complement of the binary coded address of currently selected head, but does not show actual selection of the head.
11.8 Command Descriptions The drive interprets the commands written in the command register by the host system and executes them. This table shows the drive’s response to the valid commands written in command-register.
11.8.1 Nop (00h) 0 0 0 0 0 0 0 0 COMMAND CODE REGISTER SETTING DR drive no. CY HD SN SC FT LBA REGISTER NORMAL COMPLETION no change no change no change no change no change no change no change The Nop command reports the status. The drive terminates the command with aborted error after receiving this command. 11.8.2 Recalibrate5 (1xh) 0 0 0 1 X X X X COMMAND CODE REGISTER SETTING DR drive no.
11.8.5 Read Sector (20h/21h) 0 0 1 0 0 0 0 X COMMAND CODE REGISTER SETTING DR drive no. CY starting cylinder HD starting head SN starting sector SC no.
11.8.7 Write Sector (30h/31h) 0 0 1 1 0 0 0 X COMMAND CODE REGISTER SETTING DR drive no. CY starting cylinder HD starting head SN starting sector SC no. of sector to write FT LBA starting address REGISTER NORMAL COMPLETION no change last possible last possible start sector 00H no change last possible The drive seeks to the target cylinder and selects the head and begins to write to the number of sectors defined in SC register (1-256) starting from the target sector.
This command is available in LBA addressing only. 11.8.9 Read Verify (40h) 0 1 0 0 0 0 0 0 COMMAND CODE REGISTER SETTING DR drive no. CY starting cylinder HD starting head SN starting sector SC no. of sector to be read LBA starting address REGISTER NORMAL COMPLETION no change last possible last possible start sector 00H last address This command is identical to a Read command except that the drive has read the data from the media, and the DRQ bit is not set and no data is sent to the host.
11.8.11 Write Verify6 (3Ch) 0 0 1 1 1 1 0 0 COMMAND CODE REGISTER SETTING DR drive no. CY starting cylinder HD starting head SN starting sector SC no. of sector to be written LBA starting address REGISTER NORMAL COMPLETION no change last possible last possible start sector 00H last address This command is all identical to a Write sector command. Read verification is not performed in this command.
Sector interleave is always set to one regardless of sector sequence in the format table. Data subsequent to format table are handled as “Don't care”. FORMAT TABLE ( FIRST 86 BYTES ) (Ex. 43 logical sector mode) 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0008, 0009, 0013, 0015, 0016, 0017, 0018,.0019, 001A,.......0029, 002A, 002B DON’T CARE ( 426 BYTES ATTACHED ) 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000, ........... 0000, 0000, 0000. 11.8.
11.8.15 Execute Diagnostics (90h) 1 0 0 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR CY HD SN SC FT REGISTER NORMAL COMPLETION OOH OOH OOH O1H O1H This command enables the drive to execute following self-test and reports the results to the error register described in Table 10.7.2-1. (1) ROM checksum test (2) RAM test (3) Controller LSI register test An interrupt is generated at the completion of this command.
11.8.17 Download Microcode (92h) 1 0 0 0 0 0 1 0 COMMAND CODE REGISTER SETTING DR drive number CY HD SN number of sector(high order) SC number of sector(low order) FT subcommand code REGISTER NORMAL COMPLETION no change 00h no change 00h 00h no change This command enables the host to alter the device’s microcode. The data transferred using the DOWNLOAD MICROCODE command is vendor specific. All transfers shall be an integer multiple of the sector size.
11.8.18 Read Multiple (C4h) 1 1 0 0 0 1 0 0 COMMAND CODE REGISTER SETTING DR drive number CY starting cylinder HD starting head SN starting sector SC number of sector to read FT LBA starting address REGISTER NORMAL COMPLETION no change last possible last possible last possible 00H no change last possible The read multiple command performs similarly to the Read Sectors command except for the following features.
11.8.19 Read Multiple EXT (29h) 0 0 1 0 1 0 0 1 REGISTER SETTING drive no.
After the transfer of a data block which contains a sector with error, the contents of the Command Block Registers are undefined. The host should retry the transfer as individual requests to obtain valid error information.
11.8.21 Write Multiple EXT COMMAND CODE DR LBA Low LBA Mid LBA High SC FT (39h) 0 0 1 1 1 0 0 1 REGISTER SETTING drive no.
11.8.23 Read DMA (C8h/C9h) 1 1 0 0 1 0 0 X COMMAND CODE REGISTER SETTING DR drive no. CY starting cylinder HD starting head SN starting sector SC no. of sector to read FT LBA staring address REGISTER NORMAL COMPLETION no change last possible last possible last possible 00H no change last address This command is basically identical to Sector command except following features. • Host initialize the DMA channel before issuing command.
11.8.25 Write DMA (CAh/CBh) 1 1 0 0 1 0 1 X COMMAND CODE REGISTER SETTING DR drive no. CY starting cylinder HD starting head SN starting sector SC no. of sector to write FT LBA staring address REGISTER NORMAL COMPLETION no change last possible last possible last possible 00H no change last address This command is basically identical to Sector command except following differences. • Host initialize the DMA channel before issuing command.
11.8.27 Power Control (Exh) 1 1 1 0 X X X X COMMAND CODE REGISTER SETTING DR drive no. CY HD SN SC shown below FT REGISTER NORMAL COMPLETION no change no change no change no change 00/FFH (for E5/98 command) no change (for other command) no change Power Control is a group of commands which controls low power mode in the drive. The drive has three types of power mode: Idle, Stand-by and Sleep mode At the completion of disk access, the drive automatically enters the idle mode.
11.8.27.3 Stand-by (E2/96) This command causes the device to enter stand-by mode. If SC is non-zero then stand-by timer shall be enabled. The value in SC shall be used to determine the time programmed into the stand-by timer. If SC is zero then the stand-by timer is disabled. Value in SC register 0 1-240 241-251 252 253 254 255 Setting Time out disabled (SC x 5) sec. ((value - 240) x 30) min. 21 min Period between 8 and 12 hrs Reserved 21 min 15 sec.
11.8.28 Read Buffer (E4h) 1 1 1 0 0 1 0 0 COMMAND CODE REGISTER SETTING DR drive no. CY HD SN SC FT REGISTER NORMAL COMPLETION no change no change no change no change 00H no change This command transfers a specified sector of data ( 512 bytes) from the 128kB buffer in the drive to the host. When this command is issued, the drive sets BSY, sets up the buffer for read operation, sets DRQ, resets BSY, and generates an interrupt. The host reads up to 512 bytes of data from the buffer. 11.8.
Table 11.
Table 11.
Table 11.8-3 Identify Information (Continued) WORD 83 84 85 86 DESCRIPTION Command set supported.
Table 11.8-4 Identify Information (Continued) WORD DESCRIPTION Hex.
Table 11.
Word descriptions: WORD 0: General configuration bit 15 0=ATA bit 14-8 Reserved bit 7 1=Removable cartridge bit 6 1=Fixed disk drive bit 5-3 Reserved bit 2 Response incomplete bit 1-0 Reserved The value for this WORD is 0040h. WORD 1: Logical cylinder number that user can access (in default mode) [*1] WORD 2: Specific configuration “37C8” : Device requires SET FEATURES subcommand to spin-up after power-up and IDENTIFY DEVICE response is incomplete.
WORD 47: bit 15 - 8 shall be set to 80h bit 7 - 0 Maximum number of sectors that can be transferred per interrupt on READ/WRITE MULTIPLE commands. The default value for this WORD is 8010h. WORD 48: Reserved WORD 49: Capabilities bit 15-14 0=Reserved bit 13 1=Standby timer value shall be as specified in ATA-/ ATAPI-6 specification 0=Standby timer value are vendor specific bit 12 Reserved (For advanced PIO mode support) bit 11 1=IORDY is supported. bit 10 1=IORDY function can be disabled.
WORD 57-58: Total number of sectors calculated by word 54 - 56 bit31-24 by word 58 bit 7- 0 bit23-16 by word 58 bit 15- 8 bit15- 8 by word 57 bit 7- 0 bit 7- 0 by word 57 bit 15- 8 The power on values for each models are.
WORD 65: Minimum multiword DMA transfer mode cycle time per word (ns) If this bit is supported, word 53 bit 1 shall be set. The value for this WORD is 0078h (120ns). WORD 66: Manufacturer recommended multiword DMA transfer cycle time If the data transfer is requested in a shorter cycle time than this definition, the data transfer may be kept pending with DMARQ low because data is not ready. The value for this WORD is 0078h (120ns).
WORD 83: Features/Command sets supported bit 15 0 (Fixed) bit 14 1 (Fixed) bit 13 1=FLUSH CACHE EXT command supported bit 12 1=FLUSH CACHE command supported bit 11 1=Device Configuration Overlay supported bit 10 1=48-bit Address feature set supported bit 9 1=Automatic Acoustic Management feature set supported bit 8 1=Set MAX security extension supported bit 7 Reserved bit 6 1=SET FEATURES subcommand required to spin up after power-up bit 5 1=Power-Up in Standby feature set supported bit 4 1=Removable Media
WORD 86: Features / Command sets enabled bit 15-14 Reserved bit 13 1=FLUCH CACHE EXT command supported bit 12 1=FLUSH CACHE command supported bit 11 1=Device Configuration Overlay supported bit10 1=48-bit Address feature set supported bit 9 1=Automatic Acoustic Management feature set enabled bit 8 1=SET MAX security extension enabled by SET MAX SET PASSWORD bit 7 Reserved bit 6 1=SET FEATURES subcommand required to spin-up after power-up bit 5 1=Power-Up In Standby feature set enabled bit 4 Removable Media
WORD 90: Time required for Enhanced Security erase completion WORD 91: Current Advanced Power Management setting bit 15-8 Reserved bit 7-0 Current Advanced Power Management setting set by Set Features Command. The default value for this WORD is0080h. WORD 92: Master Password Revision Code the value of the Master Password Revision Code set when the Master Password was last change. Valid values are 0001h through FFFEh. A value of 0000h or FFFFh indicates that the Master Password Revision is not supported.
WORD 128: Security status bit 15-9 Reserved bit 8 the security level. 1=the security level is maximum 0=the security level is high bit 5 1=the Enhanced security erase unit feature supported bit 4 the security count has expired. 1=the security count is expired and SECURITY UNLOCK and SECURITY ERASE UNIT are aborted until receiving a power-on reset or hard reset. bit 3 security frozen. 1=the drive is in security frozen mode. bit 2 security locked. 1=the drive is in security locked mode.
11.8.31 SET MAX (F9h) Individual SET MAX commands are identified by the value placed in the Features register. Table 11.8-6 shows these Features register values. But regardless of Feature register value, the case this command is immediately proceded by a Read Native Max ADRESS comamnd, it is interpreted as a Set Max ADDRESS command. Table 11.
11.8.31.2 Set Max Set Password F9h with the content of the Features register equal to 01h. 1 1 1 1 1 0 0 1 COMMAND CODE REGISTER SETTING DR DRIVE No. CY HD SN SC FT 01 H LBA REGISTER NORMAL COMPLETION no change no change no change no change no change no change no change This command is not immediately preceded by a READ NATIVE MAX ADDRESS command. If this command is immediately preceded by a READ NATIVE MAX ADDRESS command, it shall be interpreted as a SET MAX ADDRESS command.
11.8.31.4 Set Max Unlock F9h with the content of the Features register equal to 03h. 1 1 1 1 1 0 0 1 COMMAND CODE REGISTER SETTING DR DRIVE No. CY HD SN SC FT 03 H LBA REGISTER NORMAL COMPLETION no change no change no change no change no change no change no change This command is not immediately preceded by a READ NATIVE MAX ADDRESS command. If this command is immediately preceded by a READ NATIVE MAX ADDRESS command, it shall be interpreted as a SET MAX ADDRESS command.
11.8.32 SET MAX ADDRESS EXT (37h) COMMAND CODE DR LBA Low LBA Mid LBA High SC FT Current Previous Current Previous Current Previous Current Previous Current Previous 0 0 1 1 0 1 1 1 REGISTER SETTING drive no.
11.8.34 Read Native Max Address EXT COMMAND CODE DR LBA Low LBA Mid LBA High SC FT Current Previous Current Previous Current Previous Current Previous Current Previous (27h) 0 0 1 0 0 1 1 1 REGISTER SETTING drive no.
11.8.35 Set Features (EFh) 1 1 1 0 1 1 1 1 COMMAND CODE REGISTER SETTING DR DRIVE No. CY HD SN SC Mode Selection for Data Transfer(*2) FT Features(*1) REGISTER NORMAL COMPLETION no change no change no change no change no change no change (*1) Features: FT register defines following selections.
11.8.36 SECURITY SET PASSWORD (F1h) 1 1 1 1 0 0 0 1 COMMAND CODE REGISTER SETTING DR DRIVE No. CY HD SN SC FT REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command requests a transfer of a sector of data from the host including the information specified in the table below. The function of this command is decided by the transferred data. The revision code field is returned in the IDENTIFY DEVICE word 92. The valid revision codes are 0001h through FFFEh.
11.8.37 SECURITY UNLOCK (F2h) 1 1 1 1 0 0 1 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY HD SN SC FT REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command requests the host to transfer a sector of data including ones described in the table below .
11.8.39 SECURITY ERASE UNIT (F4h) 1 1 1 1 0 1 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY HD SN SC FT REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command must be issued immediately after the SECURITY ERASE PREPARE command. This command requests to transfer a sector of data from the host including the data specified in the following table. If the password does not match, the drive rejects the command with an Aborted command error.
11.8.41 SECURITY DISABLE PASSWORD (F6h) 1 1 1 1 0 1 1 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY HD SN SC FT REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command can be executed only when the drive is in unlocked mode. When the drive is in locked mode, the drive rejects the command with an Aborted command error.
11.8.42.1 SMART Read Attribute values 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY C24Fh HD SN SC FT D0h REGISTER NORMAL COMPLETION no change no change no change no change no change This command transfers SMART data as 512 byte data. Upon receipt of this command, the drive sets BSY, sets the SMART data on the buffer. Then, it sets DRQ, resets BSY, issue an interrupt to report that the drive is ready to transfer data.
Byte 0 1-2 3 4 5-10 11 Description Attribute ID number 01 - FFh Status flag bit 0 (pre-failure/advisory bit) bit 0 = 0: If attribute value is less than the threshold, the drive is in advisory condition. Product life period may expired. bit 0 = 1: If attribute value is less than the threshold, the drive is in pre-failure condition. The drive may have failure. bit 1 (on-line data collection bit) bit 1= 0: Attribute value will be changed during off-line data collection operation.
BYTE 362: Off-line data collection status Value 00h or 80h 01h 02h or 82h 03h or 83h 04h or 84h 05h or 85h 06h or 86h 07h-FFh Definition Off-line data collection activity was never started. Reserved Off-line data collection activity was completed without error. Off-line activity in progress. Off-line data collection activity was suspended by an interrupting command from host. Off-line data collection activity was aborted by an interrupting command from host.
bit 3 (off-line read scanning implemented bit) If this bit is cleared to zero, the device does not support off-line read scanning. If this bit is set to one, the device supports off-line read scanning. This bit is set to 1. bit 4 (self-test implemented bit) If this bit is cleared to zero, the device does not implement the Short and Extended self-test routines. If this bit is set to one, the device implements the Short and Extended self-test routines. This bit is set to 1. bits 5 (reserved).
11.8.42.2 SMART Read Attribute thresholds 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY C24Fh HD SN SC FT D1h REGISTER NORMAL COMPLETION no change no change no change no change no change This command transfers attribute thresholds of the drive as 512 byte data. Upon receipt of the command, the drive sets BSY, sets SMART data on the buffer, then, sets DRQ, resets BSY and issues an interrupt to report to the host that data transfer is ready.
11.8.42.3 SMART Enable Disable Attribute Autosave 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY C24Fh HD SN SC 00h/F1h FT D2h REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command enables and disables the attribute autosave function within the drive. This command allow the drive to automatically save its updated attribute values to the attribute data sector at mode transition or cause the autosave feature to be disabled.
11.8.42.5 SMART Execute Off-line Immediate 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY C24Fh HD SN Subcommand specific SC FT D4h REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command causes the device to immediately initiate the activities that collect SMART data in an off-line mode and then save this data to the device's non-volatile memory, or execute a self-diagnostic test routine in either captive or off-line mode.
e) If the device is in the process of performing the subcommand routine and is interrupted by a SMART DISABLE OPERATIONS command from the host, the device will abort the subcommand routine and service the host within two seconds after receipt of the command.
User LBA space LBA 0 LBA max Test span 1 Test span 2 Test span 3 Starting LBA for test span 1 Starting LBA for test span 2 Starting LBA for test span 3 Ending LBA for test span 1 Ending LBA for test span 2 Ending LBA for test span 3 Selective self-test test span example After the scan of the selected spans described above, a user may wish to have the rest of media read scanned as an off-line scan. In this case, the user shall set the flag to enable off-line scan in addition to the other settings.
11.8.42.6 SMART Read Log Sector COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD SN Log Sector Address SC Number of sectors to read FT D5h REGISTER NORMAL COMPLETION no change no change no change no change 00h no change This command returns the indicated log sector contents to the host. Sector count -specifies the number of sectors to be read from the specified log.
Byte 0-1 2 3 4 5 … 510 511 SMART Log Directory Descriptions SMART Logging Version Number of sectors in the log at log address 1 Reserved Number of sectors in the log at log address 2 Reserved … Number of sectors in the log at log address 255 Reserved The value of the SMART Logging Version word is set to 01h. Then the drive supports multi-sector SMART logs. In addition, if the drive supports multi-sector logs, then the logs at log addresses 80-9Fh shall each be defined as 16 sectors long. 11.8.42.6.
11.8.42.6.2.3 Command data structure The fifth command data structure will contain the command or reset for which the error is being reported. The fourth command data structure should contain the command or reset that preceded the command or reset for which the error is being reported, the third command data structure should contain the command or reset preceding the one in the fourth command data structure, etc.
State field values Value State x0h Unknown x1h Sleep x2h Standby x3h Active/Idle with BSY cleared to zero x4h Executing SMART off-line or self-test x5h-xAh Reserved xBh-xFh Vendor unique The value of x is vendor specific and may be different for each state. Sleep indicates the reset for which the error is being reported was received when the device was in the Sleep mode. Standby indicates the command or reset for which the error is being reported was received when the device was in the Standby mode.
Comprehensive error log Byte First sector Subsequent sectors 0 SMART error log version Reserved 1 Error log index Reserved 2-91 First error log data structure Data structure 5n+1 92-181 Second error log data structure Data structure 5n+2 182-271 Third error log data structure Data structure 5n+3 272-361 Fourth error log data structure Data structure 5n+4 362-451 Fifth error log data structure Data structure 5n+5 452-453 Device error count Reserved 454-510 Reserved Reserved 511 Data structure checksum Data s
Byte 0-1 2-25 26-49 ..... 482-505 506-507 508 509-510 511 Self-test log data structure Descriptions Self-test log data structure revision number First descriptor entry Second descriptor entry ............ Twenty-first descriptor entry Vendor specific Self-test index Reserved Data structure checksum 11.8.42.6.4.1 Self-test log data structure revision number The value of the self-test log data structure revision number is set to 0001h. 11.8.42.6.4.
11.8.42.6.4.3 Self-test index The self-test index will point to the most recent entry. Initially, when the log is empty, the index will be set to zero. It will be set to one when the first entry is made, two for the second entry, etc., until the 22nd entry, when the index will be reset to one. 11.8.42.6.4.4 Data structure checksum The data structure checksum is the two's complement of the sum of the first 511 bytes in the data structure.
11.8.42.6.5.3 Current LBA under test The Current LBA under test field shall be written with a value of zero by the host. As the self-test progresses, the device shall modify this value to contain the beginning LBA of the 65,536 sector block currently being tested. When the self-test including the off-line scan between test spans has been completed, a zero value is placed in this field. 11.8.42.6.5.4 Current span under test The Current span under test field shall be written with a value of zero by the host.
11.8.42.7 SMART Write Log Sector 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY C24Fh HD SN Log Sector Address Number of sectors to write SC FT D6h REGISTER NORMAL COMPLETION no change no change no change no change 00h no change This command writes an indicated number of 512 byte data sectors to the indicated log. 11.8.42.8 SMART Enable Operations 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No.
11.8.42.9 SMART Disable Operations 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY C24Fh HD SN SC FT D9h REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command disables all SMART capabilities within the drive including any and all timer functions related exclusively to this function. After receipt of this command the drive may disable all SMART operations. Parameters for drive failure prediction will no longer be monitored or saved by the drive.
11.8.42.11 SMART Enable/Disable Automatic Off-line 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY C24Fh HD SN SC 00h/F8h FT DBh REGISTER NORMAL COMPLETION no change no change no change no change no change no change This subcommand enables and disables the optional feature that causes the device to perform the set of off-line data collection activities that automatically collect attribute data in an off-line mode and then save this data to the device’s non-volatile memory.
11.8.43 Read Log EXT (2Fh) COMMAND CODE DR LBA Low LBA Mid LBA High SC FT Current Previous Current Previous Current Previous Current Previous Current Previous 0 0 1 0 1 1 1 1 REGISTER SETTING drive no.
General Purpose Log Directory Descriptions General Purpose Logging Version Number of sectors in the log at log address 01h (7:0) Number of sectors in the log at log address 01h (15:8) Number of sectors in the log at log address 02h (7:0) Number of sectors in the log at log address 02h (15:8) Byte 0-1 2 3 4 5 … 256 257 … 510-511 10h sectors in the log at log address 80h 00h sectors in the log at log address 80h Number of sectors in the log at log address FFh The value of the General Purpose Logging Versio
11.8.43.2.3 Extended Error log data structure The error log is viewed as a circular buffer. When the last supported error log sector has been filled, the next error shall create an error log data structure that replaces the first error log data structure in sector zero. The next error after that shall create an error log data structure that replaces the second error log data structure in sector zero.
Command data structure Byte Descriptions n Content of the Device Control register when the Command register was written. N+1 Content of the Features register (7:0) when the Command register was written. (see note) n+2 Content of the Features register (15:8) when the Command register was written. N+3 Content of the Sector Count register (7:0) when the Command register was written. N+4 Content of the Sector Count register (15:8) when the Command register was written.
State shall contain a value indicating the state of the device when the command was written to the Command register or the reset occurred as described in the following table. State field values Value State x0h Unknown x1h Sleep x2h Standby x3h Active/Idle with BSY cleared to zero x4h Executing SMART off-line or self-test x5h-xFh Reserved The value of x is vendor specific and may be different for each state.
Extended Self-test log data structure Byte First sector Subsequent sectors 0 Self-test log data structure revision number Reserved 1 Reserved Reserved 2 Self-test descriptor index (7:0) Reserved 3 Self-test descriptor index (15:8) Reserved 4-29 Descriptor entry 1 Descriptor entry 18n+1 30-55 Descriptor entry 2 Descriptor entry 18n+2 …. .... ....
Life timestamp shall contain the power-on lifetime of the device in hours when the nth self-test subcommand was completed. Content of the self-test failure checkpoint byte may contain additional information about the self-test that failed. The failing LBA shall be the LBA of the sector that caused the test to fail. If the device encountered more than one failed sector during the test, this field shall indicate the LBA of the first failed sector encountered.
11.8.45.1 Device Configuration Restore 1 0 1 1 0 0 0 1 COMMAND CODE REGISTER SETTING DR DRIVE No.
The DEVICE CONFIGURATION IDENTIFY command returns a 512 byte data structure via PIO data-in transfer. The content of this data structure indicates the selectable commands, modes, and feature sets that the device is capable of supporting.
11.8.45.3.1.3 Word 2: Ultra DMA modes supported Word 3 bits 5-0 contain the same information as contained in word 88 of the IDENTIFY DEVICE or IDENTIFY PACKET DEVICE command response. Bits 15-6 of word 3 are reserved. 11.8.45.3.1.4 Words 3-6: Maximum LBA address Words 4 through 7 define the maximum LBA address. This is the highest address accepted by the device in the factory default condition.
11.8.45.4.
The format of the overlay transmitted by the device is described inTable 11.8-9. The restrictions on changing these bits is described in the text following Table 11.8-9. If any of the bit modification restrictions described are violated, the device shall return command aborted. Table 11.
11.8.45.4.2.3 Word 2: Ultra DMA modes supported Word 2 bits 15:6 are reserved. Word 2 bit 5 is cleared to disable support for Ultra DMA mode 5 and has the effect of clearing bit 5 in word 88 of the IDENTIFY DEVICE or IDENTIFY PACKET DEVICE response. This bit shall not be cleared if Ultra DMA mode 5 is currently selected. Word 2 bit 4 is cleared to disable support for Ultra DMA mode 4 and has the effect of clearing bit 4 in word 88 of the IDENTIFY DEVICE or IDENTIFY PACKET DEVICE response.
Word 7 bit 4 is cleared to disable support for the Power-up in Standby feature set and has the effect of clearing bits 5 and 6 in words 83 and 86 and clearing the value in word 94 of the IDENTIFY DEVICE or IDENTIFY PACKET DEVICE response. If Power-up in Standby has been enabled by a jumper, these bits shall not be cleared. Word 7 bit 3 is cleared to disable support for the Security feature set and has the effect of clearing bit 1 in words 82 and 85 of the IDENTIFY DEVICE or IDENTIFY PACKET DEVICE response.
11.9 Security Mode Feature Set The Security mode features allow the host to implement a security password system to prevent unauthorized access to the disk drive. • • • • • • • Following Commands are supported for this feature set . SECURITY SET PASSWORD SECURITY UNLOCK SECURITY ERASE PREPARE SECURITY ERASE UNIT SECURITY FREEZE LOCK SECURITY DISABLE PASSWORD Parameter word for the Security mode feature set is described in IDENTIFY DEVICE response Word 128. 11.9.
11.9.3 Security mode operation from power-on In locked mode, the drive rejects media access commands until a SECURITY UNLOCK command is successfully completed.
11.9.4 Password lost If the user password is lost and High level security is set, the drive does not allow the user to access any data. However, the drive can be unlocked using the master password. If the user password is lost and Maximum security level is set, it is impossible to access data. However, the drive can be unlocked using the ERASE UNIT command with the master password. The drive will erase all user data and unlock the drive.
11.9.5 Command Table This command table shows the drive’s response to commands when the Security Function is enabled. Table 11.
11.10 Self-Monitoring, Analysis and Reporting Technology Self-monitoring, analysis and reporting technology (SMART) is the function to protect user data and to minimize the likelihood of unscheduled system downtime that may be caused by predictable degradation and/or fault of the drive. By monitoring and storing the critical performance and calibration parameters, SMART drives attempt to predict the likelihood of near-term degradation or fault condition.
11.11 Adaptive Power Mode Control Adaptive Power Mode Control is a function to reduce power consumption without performance degradation. The drive supports the following Idle modes of 3 levels. The drive enters into idle mode adaptively in accordance with the command pattern. 11.11.1 Performance Idle The drive enters Performance Idle mode at the completion of a command from host. In this mode, electric circuit and servo is ready to process the next command without delay. 11.11.
11.12 Reset A RESET condition sets the drive ( or both drives in case of Drive0/Drive1 connection ) BSY, allowing the drive to perform the specified initialization required for normal operation. A RESET condition can be generated by both hardware and software. There are two hardware resets, one is by the Host (- RESET) and the other is by the drive power sense circuitry. These resets are set high when the system and the drive respectively acknowledge specified supply voltage ( See 6.1).
11.13 Drive0/Drive1 Configuration Drive address shall be set by the optional jumper of interface connector. The drive runs as Drive0 when the jumper is open or if jumper plug is set to position B-D when P28(CSEL) signal is low. The drive runs as Drive1 when the jumper plug is inserted into position C-D or if jumper plug is set to position B-D when P28 (CSEL) signal is high. In case of two- drive configuration, one shall be Drive0 and the other should be Drive1.
11.14 Cache Memory 11.14.1 Cache Operations (1) READ CACHE OPERATION Receiving a read command, the data in the buffer memory are sent to the host without access to the disk media as long as the object data reside in the buffer memory and the conditions for the drive’s read cache operation are fulfilled.
12. Protocol Commands can be grouped into different classes according to the protocols used for command execution. The command classes with their associated protocols are defined below. For all commands, the host first checks BSY bit and DRDY bit. If BSY=1, the host should proceed no further unless and until the BSY=0, and the DRDY=1. Interrupts are cleared when host reads Status register, issues a reset, or writes to the Command register.
12.1 PIO data in commands Commands for this class are: • • • • • • • • • • IDENTIFY DEVICE READ BUFFER READ SECTOR(S) (with and without retry) READ SECTOR(S) EXT READ MULTIPLE READ MULTIPLE EXT SMART Read Attribute Values SMART Read Attribute Thresholds SMART Read Log Sector DEVICE CONFIGRATION IDENTIFY PIO data in protocol: a) The host writes any required command parameters to the Features, Sector Count, Sector Number, Cylinder High, Cylinder Low and Device/Head registers.
• • • • • • • • • • • • WRITE MULTIPLE WRITE MULTIPLE EXT WRITE SECTOR(S) (with and without retry) WRITE SECTOR(S) EXT WRITE VERIFY SECURITY DISABLE PASSWORD SECURITY ERASE UNIT SECURITY SET PASSWORD SECURITY UNLOCK SET MAX SET PASSWORD SMART Write Log Sector DOWNLOAD MICROCODE PIO data out protocol: a) The host writes any required command parameters to the Features, Sector Count, Sector Number, Cylinder High, Cylinder Low and Device/Head registers.
The Write Multiple command transfers one block ( the number of sectors is defined by the Set Multiple command ) of data for each interrupt. The other commands transfer one sector of data for each interrupt. If the drive detects an invalid parameter in register setting, the drive clears the BSY bit and sets the ERR bit in the Status register and sets the ABRT bit in the Error register and asserts INTRQ to terminate the command execution.
b) The host writes the command code to the Command register. c) The drive sets the BSY bit . d) When the drive has finished processing a sector (or block) of data, it clears the BSY bit and asserts INTRQ. e) In response to the INTRQ, the host reads the Status register. f) The drive negates INTRQ in response to the Status register being read See each command description for error report protocol.
12.
12.5 Ultra DMA Ultra DMA protocol is used with Read DMA, and Write DMA commands. Ultra DMA modes are set by Set features command. Since the setting after power-up ( Default setting ) is mode 2 of Multi Word DMA, Set Features command shall be issued to be used in Ultra DMA mode. An Ultra DMA data transfer is accomplished through a series of Ultra DMA data in or data out bursts.
3. Ultra DMA burst termination phase a) Either a sender or a recipient may terminate an Ultra DMA burst. b) Ultra DMA burst termination is not the same as command termination or completion. If an Ultra DMA burst termination occurs before the command is complete, the command shall be completed by initiation of a new Ultra DMA burst at some later time or aborted by the host issuing a hardware or software reset to the drive. c) An Ultra DMA shall be paused before a recipient requests a termination.
DD(15:0) CRCOUT (15:0) CRCIN (15:0:) Combinational Logic Edge Triggered Register Device f1-f16 Word Clock CRCIN0 = f16 CRCIN1 = f15 CRCIN2 = f14 CRCIN3 = f13 CRCIN4 = f12 CRCIN5 = f11 XOR f16 CRCIN6 = f10 XOR f15 CRCIN7 = f9 XOR f14 f1 = DD0 XOR CRCOUT15 f2 = DD1 XOR CRCOUT14 f3 = DD2 XOR CRCOUT13 f4 = DD3 XOR CRCOUT12 f5 = DD4 XOR CRCOUT11 XOR f1 f6 = DD5 XOR CRCOUT10 XOR f2 f7 = DD6 XOR CRCOUT9 XOR f3 f8 = DD7 XOR CRCOUT8 XOR f4 CRCIN8 = f8 XOR f13 CRCIN9 = f7 XOR f12 CRCIN10 = f6 XOR f11 CRCIN11 =
12.6 Other timings See HOST INTERFACE section for timings which are not shown here. Table 12.6-1 Other timings.