.1.1.1.1.1.1.1 TOSHIBA TOSHIBA Hard Disk Drive Specification 2.5 inch Hard Disk Drive MK1032GAX Rev.
Revision History 2.
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 (page16), 9. ENVIRONMENT (page 22, 23), etc. when using. Failure to do so may cause damage to the drive. ● Observe cautions in 8.4 MOUNTING INSTRUCTION (page17) and 10.6 LOAD / UNLOAD (page26 ) 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...............................................................................................................................
10.3.3 Signal Treatment..................................................................................................................................................31 10.3.4 Series resistance ..................................................................................................................................................32 10.3.5 Signal Description ............................................................................................................................................
10.8.32 SET MAX ADDRESS EXT (37h) ..................................................................................................................... 96 10.8.33 Read Native Max Address (F8h) ................................................................................................................ 97 10.8.34 Read Native Max Address EXT (27h)......................................................................................................... 97 10.8.35 Set Features (EFh) ..........................
Table of Figures FIGURE 1 FIGURE 2 FIGURE 3 FIGURE 4 FIGURE 5 FIGURE 6 MK1032GAX DIMENSIONS ................................................................................................................................19 MOUNTING RECOMMENDATION .........................................................................................................................21 ATA INTERFACE CONNECTOR ....................................................................................................................
2. SCOPE This document describes the specifications of the following model, MK1032GAX of 2.5- inch type Winchester disk drives. . Factory Number Sales Number HDD2D08*ZE MK1032GAX 3. GENERAL DESCRIPTION The MK1032GAX which is noted hereinafter as series of intelligent disk drives . MK1032GAX or as the drive comprises a The drive features an ATA-2 / 3 / 4 / 5 / 6 interface embedded controller that requires a simplified adapter board for interfacing to an AT or AT compatible bus.
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 . . • 2.5inch-type 2 platters accommodating formatted capacity of 100.030GB(MK1032GAX) Slim ( 9.5 mm in height ) and light ( MK1032GAX: 102gram in weight) design. Fast access and fast transfer rate . Quick spin up of Spindle Motor 4 sec. . Average access time 12 msec enabled by optimized balance of a head actuator assembly and an efficiently designed magnet of rotary VCM. . . • Read ahead cache and write cache enhancing system throughput.
5. BASIC SPECIFICATION MODEL Formatted Capacity( gigabytes ) 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 MK1032GAX 100.030 Sector Servo 60/61 ME2PR4+MNP 4330(110k) 29.8k(756k)max. 30.3k(769k)max.
6. PERFORMANCE 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 ( Kbytes ) Cache Start time <*5> ( Up to Drive Ready) Recovery time from Stand- by <*5> Command Overhead ( msec ) 2 12 22 5,400 + 0.1% 7.14 230.6∼445.9 100 16.
7. POWER REQUIREMENTS 7.1 Supply Voltage Allowable voltage Allowable noise/ripple 5V + 5% 100 mV p-p or less 7.2 Power Consumption Average (note 3) MK1032GAX 4.5W Peak,Maximum 2.4W Typical 2.0W Typical 0.85W Typical 0.65W Typical 0.18W Typical 0.1W Typical Start Seek (note 4) Read / Write(note 5) Active idle (note 1) Low power idle (note 6) Stand- by (note 2) Sleep (note 1) Motor is rotating at normal speed but none of Read, Write or Seek is executed.
8. MECHANICAL SPECIFICATIONS 8.1 Dimension Width Height Depth 69.85mm ( 2.75” ) 9.5 mm ( 0.37”) 100.0 mm ( 3.94” ) Figure 1 and Table 8.4-1 show an outline of the drive. 8.2 Weight MK1032GAX 101 gram (typ. ) / 102 gram(max.) 8.3 Drive Orientation The drive can be installed in all axes (6 directions). 8.4 Mounting Instructions SAFETY NOTE ●Take anti-static measures in order to avoid damage to the drive when handling it. The drive uses parts susceptible to damage due to ESD (electrostatic discharge).
8.4.1 Screwing Four screws should be tightened equally with 0.39 N.m ( 4 kgf.cm ) torque. The depth should be 3.0 mm min. and 3.5 mm maximum. 8.4.2 Installation ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ The drive should be mounted carefully on the surface of 0.1mm or less flatness to avoid excessive distortion. In order to prevent short-circuit under any circumstances, the space of 0.5mm or more should be kept under the PCB and the design have to be checked carefully (See fig. 2).
Figure 1 MK1032GAX Dimensions Toshiba Corporation Digital Media Network Company Page 19 of 159 © 2004, Copyright TOSHIBA Corporation All Rights Reserved
Table 8.4-1 Dimensions SFF-8200 Rev1.1(*) SFF-8201 Rev1.2 MK1032GAX SFF-8212 Rev1.2 (Differences only) Dimension Millimeters Inches Millimeters Inches A1 9.5 0.374 − − A2 0.20 0.008 − − A3 0.20 0.008 − − A4 69.85 2.750 A5 0.25 0.010 A6 101.85 max 4.010 max 100.00 ±0.41 3.973 ±0.016 A9 3.99 0.157 3.99 ±0.43 0.157 ±0.017 A10 10.14 0.399 10.14 ±0.27 0.399 ±0.011 A11 2.00 0.079 A12 2.00 0.079 A13 0.50 0.020 A14 0.05 0.002 A17 0.50 0.020 A18 0.05 0.002 A21 3.86 0.152 A22 0.20 0.008 A23 3.00 0.
Figure 2 Mounting Recommendation Toshiba Corporation Digital Media Network Company Page 21 of 159 © 2004, Copyright TOSHIBA Corporation All Rights Reserved
9. ENVIRONMENTAL LIMITS 9.1 Temperature and Humidity 9.1.1 Temperature Operating 5oC- 55oC Gradient 20oC / Hour maximum Non- operating - 20oC- 60oC Gradient 20oC / Hour maximum Under shipment - 40oC- 70oC Gradient 30oC / Hour maximum ( Packed in Toshiba’s original shipping package. ) The temperature of top cover and base must be kept under 63℃ 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) 25 dBA Average 28 dBA Average For idle mode ( Spindle in rotating ). Randomly select a track to be sought in such a way that every track has equal probability of being selected. Seek rate(nS) is defined by the following formula: nS = 0.
9.7 EMC Adaptability The drive satisfies the following standards . EN5008M1-E1 EN50081-1 EN55024 MK1032GAX EN55022:1998 Class B EN61000-3-2 1995 EN61000-3-3 1995 EN61000-4-2 1995 EN61000-4-3 1998 ENV50204 1995 EN61000-4-4 1995 EN61000-4-5 1995 EN61000-4-6 1996 EN61000-4-11 1994 9.8 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. MK1032GAX 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 (supply voltage +0.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 (supply voltage +0.5V ) (note 2) Except for signal lines pulled up as shown inTable 11.3-1 11.2.2.
11.3 Interface connector 11.3.1 ATA interface connector 2.00 2.00 × 24 = 48.
11.3.2 Pin Assignment The following table describes all of the pins on the Task File Interface. Table 11.3-1 Signal pin assignment 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 + 5V GROUND 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. 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 - RESET O (*1) 1 DD 15- 0 I/O 18- 3 KEY N/C 20 DMARQ I 21 Reset signal from the host system; It shall be active low when system is powered-up or when voltage fault is detected.
CSEL O 28 - DMACK O 29 INTRQ I 31 - IOCS16 I 32 DA 1 - PDIAG /- CBLID DA 0 DA 2 - CS0 O I/O 33 34 O O O 35 36 37 - CS1 O 38 - DASP I 39 RESERVED + 5V GROUND 27,44 41, 42 2,19 22,24 26,30 40,43 If jumper pins B through D are assigned, Drive0/Drive1 setting with this pin is valid. When grounded, the drive recognizes itself as a Drive0. When not grounded, the drive recognizes itself as a Drive1.
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 39 of 159 © 2004, 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 40 of 159 © 2004, 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 41 of 159 © 2004, 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 42 of 159 © 2004, 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 43 of 159 © 2004, 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 44 of 159 © 2004, 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 45 of 159 © 2004, 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.1.5 Security commands Password information is transferred during the execution of following four commands. 1) Disable password 2) Erase Unit 3) Set Password 4) Unlock Data in the register and on the media correspond to each other as follows: A15 - A8 D2 D4 : : D512 transfer 1 transfer 2 : : transfer 256 transfer 257 : : transfer 260 A7 - A0 D1 D3 : : D511 E1 E2 : E4 D1 DATA REGISTER D2 --- D512 E1 --- E4 DATA FLOW ON THE MEDIA 11.7.2 Error Register - CS0 DA2-DA0 : 1 Read ONLY 11.7.2.
11.7.2.2 Diagnostic Mode The drive enters diagnostic mode immediately after the power -on or after an Execute Diagnostics command. Error bit in Status Register shall not be set in these cases. The following table shows bit values for the diagnostic mode. Table 11.
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.
Parameters are defined as follows. SC = SECTOR COUNT register. SN = SECTOR NUMBER register. CY = CYLINDER LOW and CYLINDER HIGH register.
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.
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.
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. This allows the system to verify the integrity of the drive.
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.
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.13 Seek (7xh) 0 1 1 1 X X X X COMMAND CODE REGISTER SETTING DR drive no. CY cylinder to seek HD head to seek SN SC FT LBA address to seek REGISTER NORMAL COMPLETION no change no change no change no change no change no change no change This command moves the R/W heads to the cylinder specified in the task files. The drive sets BSY and starts seek operation. After the completion of a seek operation, the drive asserts DSC8 , negates BSY , and return the interrupt.
11.8.16 Initialize Device Parameters (91h) 1 0 0 1 0 0 0 1 COMMAND CODE REGISTER SETTING DR drive number CY HD total number of heads-1 SN number of sector per track SC FT REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command specifies the number of sectors per track and the number of heads per cylinder to set head switching point and cylinder increment point.
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 0 0 1 0 1 0 0 1 REGISTER SETTING drive no.
Disk errors occurred during Write Multiple command are posted after the attempted disk write of the block or partial block which are transferred. The Write Multiple command is terminated at the sector in error , even if it was in the middle of a block. Subsequent blocks are not transferred after an error. Interrupts are generated for each block or each sector, when DRQ is set . After the transfer of a data block which contains a sector with error, the contents of the Command Block Registers are undefined.
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.
11.8.30 Identify Device (ECh) 1 1 1 0 1 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 The identify device command requests the drive to transfer parameter information to the host. When the command is issued, the drive sets BSY, stores the required parameter information in the sector buffer, sets the DRQ bit, and issues an interrupt. The host may read the parameter information of the sector buffer.
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 23-26: Firmware revision ( 8 ASCII characters ) WORD 27-46: Model name (40 ASCII characters) Drive Type MK1032GAX TOSHIBA_MK1032GAX_..._ “_” indicates ASCII space code. 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 54: Number of current cylinders defined by INITIALIZE DEVICE PARAMETERS command WORD 55: Number of current heads defined by INITIALIZE DEVICE PARAMETERS command WORD 56: Number of current sectors/track defined by INITIALIZE DEVICE PARAMETERS command 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 62: Reserved WORD 63: Mode information for multiword DMA bit15- 8 Active mode bit 10 1=Mode 2 is active bit 9 1=Mode 1 is active bit 8 1=Mode 0 is active bit 7- 0 Supported mode bit 2 1=mode 2 is supported bit 1 1=mode 1 is supported bit 0 1=mode 0 is supported Support bit reflects setting by SET FEATURE command.
WORD 69-79: Reserved WORD 80: Major version number If not 0000h or FFFFh, the device claims compliance with the major version(s) as indicated by bits 1 - 6 being equal to one. Values other than 0000h and FFFFh are bit significant. Since the ATA standards maintain downward compatibility, a device may set more than one bit .
WORD 84: Features / Command sets supported bit 15 0 (Fixed) bit 14 1 (Fixed) bit 13 1 (Fixed) bit 12-6 Reserved bit 5 1=General Purpose Logging feature set supported bit 4 Reserved bit 3 1=Media Card Pass Through command feature set supported bit 2 1=Media serial number supported bit 1 1=SMART self-test supported bit 0 1=SMART error logging supported The value for this WORD is 6023h.
WORD 87: Features / Command sets enabled bit 15 0 (Fixed) bit 14 1 (Fixed) bit 13 1 (Fixed) bit 12-6 Reserved bit 5 1=General Purpose Logging feature set supported bit 4 Reserved bit 3 1=Media Card Pass Through command feature set enabled bit 2 1=Media serial number is valid bit 1 1=SMART self-test supported bit 0 1=SMART error logging supported The value for this WORD is 6023h. WORD 88: Mode information for Ultra DMA The active mode reflects the command change.
WORD 93: Hardware configuration test results bit 15 0 (Fixed) bit 14 1 (Fixed) bit 13 1=device detected CBLID- above VIH 0=device detected CBLID- below VIL bit12-8 Device 1 hardware reset result. Device 0 shall clear these bits to zero. Device 1 shall set these bits as follows : 12 Reserved. 11 0=Device 1 did not assert PDIAG-. 1=Device 1 asserted PDIAG-. 10-9 These bits indicate how Device 1 determined the device number: 00=Reserved. 01=a jumper was used. 10=the CSEL signal was used.
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.
device remains in this state until a power cycle or the acceptance of a SET MAX UNLOCK or SET MAX FREEZE LOCK 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.
A SET MAX SET PASSWORD command shall previously have been successfully completed. 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 is interpreted as a SET MAX ADDRESS command. The SET MAX FREEZE LOCK command sets the device to Set_Max_Frozen state. After command completion any subsequent SET MAX commands are rejected.
11.8.33 Read Native Max Address (F8h) 1 1 1 1 1 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY HD SN LBA REGISTER NORMAL COMPLETION no change maximum cylinder number maximum head number maximum sector number maximum LBA This command sets the maximum address in CY, HD, SN register. If LBA ( DRV / HD register bit6 ) is set to 1, the maximum address shall be LBA value.
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 SMART Function Set (B0h) This command has a number of separate functions which can be selected via the Feature Register when the command is issued. The subcommands and their respective codes are listed below.
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.
bit0 = 0 SMART ENABLE/DISABLE AUTOMATIC OFF-LINE command NOT supported This bit is set to 1 bit 2 (abort/restart off-line by host) bit2 = 1 If another command is issued, off-line data collection operation is aborted. bit2 = 0 If another command is issued, off-line data collection operation is interrupted and then the operation will be continued. bit 3 (off-line read scanning implemented bit) If this bit is cleared to zero, the device does not support off-line read scanning.
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.
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 Byte 0-1 2 3 4 5 … 510 511 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
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 Byte 0-1 2-25 26-49 ..... 482-505 506-507 508 509-510 511 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.
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. CY C24Fh HD SN SC FT D8h REGISTER NORMAL COMPLETION no change no change no change no change no change no change This command enables access to all SMART capabilities of the drive. Prior to receipt of this command, Parameters for drive failure prediction are neither monitored nor saved by the drive. The state of SMART (either enabled or disabled) will be preserved by the drive across power cycles.
11.8.42.10 SMART Return Status 1 0 1 1 0 0 0 0 COMMAND CODE REGISTER SETTING DR DRIVE No. CY C24Fh HD SN SC FT DAh REGISTER NORMAL COMPLETION no change C24Fh/2CF4h no change no change no change no change If an impending failure is not predicted, the drive sets the Cylinder Low register to 4Fh and the Cylinder High register to C2h. If an impending failure is predicted, the drive sets the Cylinder Low register to F4h and the Cylinder High register to 2Ch.
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.
Byte 0-1 2 3 4 5 … 256 257 … 510-511 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) 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 Version
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.
Error data structure Byte Descriptions n Reserved n+1 Content of the Error register after command completion occurred. N+2 Content of the Sector Count register (7:0) after command completion occurred. (see note) n+3 Content of the Sector Count register (15:8) after command completion occurred. (see note) n+4 Content of the LBA Low register (7:0) after command completion occurred. N+5 Content of the LBA Low register (15:8) after command completion occurred.
attributed to the receipt of faulty commands such as commands codes not implemented by the device or requests with invalid parameters or invalid addresses. If the maximum value for this field is reached, the count shall remain at the maximum value when additional errors are encountered and logged. 11.8.43.2.5 Data structure checksum The data structure checksum is the two’s complement of the sum of the first 511 bytes in the data structure.
Byte n n+1 n+2 n+3 n+4 n+5 n+6 n+7 n+8 n+9 n+10 n+1 - n+23 Extended Self-test log descriptor entry Descriptions Content of the LBA Low register. Content of the self-test execution status byte. Life timestamp (least significant byte). Life timestamp (most significant byte). Content of the self-test failure checkpoint byte. Failing LBA (7:0). Failing LBA (15:8). Failing LBA (23:16). Failing LBA (31:24). Failing LBA (39:32). Failing LBA (47:40). Vendor specific.
11.8.44 Write Log EXT COMMAND CODE DR LBA Low LBA Mid LBA High SC FT Current Previous Current Previous Current Previous Current Previous Current Previous (3Fh) 0 0 1 1 1 1 1 1 REGISTER SETTING drive no.
11.8.45 Device Configuration (B1h) This command has a number of separate functions which can be selected via the Feature Register when the command is issued. The subcommands and their respective codes are listed below. Subcommand DEVICE CONFIGURATION RESTORE DEVICE CONFIGURATION FREEZE LOCK DEVICE CONFIGURATION IDENTIFY DEVICE CONFIGURATION SET Feature Register C0h C1h C2h C3h 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 FREEZE LOCK command prevents accidental modification of the Device Configuration Overlay settings. After successful execution of a DEVICE CONFIGURATION FREEZE LOCK command, all DEVICE CONFIGURATION SET, DEVICE CONFIGURATION FREEZE LOCK, DEVICE CONFIGURATION IDENTIFY, and DEVICE CONFIGURATION RESTORE commands are aborted by the device. The DEVICE CONFIGURATION FREEZE LOCK condition shall be cleared by a power-down.
Word 0 1 2 3-6 7 8-254 255 Content Data structure revision Multiword DMA modes supported 15-3 Reserved 2 1 = Multiword DMA mode 2 and below are supported 1 1 = Multiword DMA mode 1 and below are supported 0 1 = Multiword DMA mode 0 is supported Ultra DMA modes supported 15-5 Reserved 5 1 = Ultra DMA mode 5 and below are supported 4 1 = Ultra DMA mode 4 and below are supported 3 1 = Ultra DMA mode 3 and below are supported 2 1 = Ultra DMA mode 2 and below are supported 1 1 = Ultra DMA mode 1 and below ar
11.8.45.3.1.5 Word 7: Command/features set supported Word 7 bit 0 if set to one indicates that the device is capable of supporting the SMART feature set. Word 7 bit 1 if set to one indicates that the device is capable of supporting SMART self-test including the self-test log. Word 7 bit 2 if set to one indicates that the device is capable of supporting SMART error logging. Word 7 bit 3 if set to one indicates that the device is capable of supporting the Security feature set.
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 5 is cleared to disable support for the READ DMA QUEUED and WRITE DMA QUEUED commands and has the effect of clearing bit 1 in words 83 and 86 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.
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.
Toshiba Corporation Digital Media Network Company Page 145 of 159 © 2004, Copyright TOSHIBA Corporation All Rights Reserved
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.
12.
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.
Non-data protocol: a) The host writes any required command parameters to the Features, Sector Count, Sector Number, Cylinder High, Cylinder Low and Device/Head registers. 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.
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.