360073945 2.5 Type Disk Drives MK5065GSXF MK3265GSXF MK2565GSXF Product Specification 株式会社 東芝 TOSHIBA CORPORATION No. 360073945 TOTAL 164 CONT.ON 2 PAGE No. 1 Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 TOSHIBA TITLE: 2.5 type Disk Drives MK5065/3265/2565GSXF Product Specification REV No. 00 DATE 2011-5-16 01 2011-5-24 日 付 記 事 部 CONTENTS Initial issue Revise wrong descriptions (P.23) 門 担 当 承 認 DEP. 1SETSU2 REVISED S.Kitamura APP’D S.Kurosawa 1SETSU2 S.Kitamura S.Kurosawa 保 管 日 STGE.PER. 2011-5-19 No. 360073945 TOSHIBA CORPORATION CONT.ON 3 Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved. -2- PAGE No.
60073945 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.
360073945 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.
360073945 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. Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 SAFETY Observe the following to prevent failure, malfunction or data loss. NOTE ●Follow the specifications for 6. POWER SUPPLY (page15), 8. ENVIRONMENT (page 21), etc. when using. Failure to do so may cause damage to the drive. ● Observe cautions in 7.4 MOUNTING INSTRUCTION (page16) and 9.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.
360073945 TABLE OF CONTENTS 1. SCOPE ........................................................................................................................................................................... 11 2. GENERAL DESCRIPTION......................................................................................................................................... 11 3. KEY FEATURES....................................................................................................................
360073945 10.5.3 Data .................................................................................................................................................................... 38 10.5.4 PIO Setup (PIOSU) .......................................................................................................................................... 39 10.5.5 DMA Activate (DMACT)................................................................................................................................
360073945 10.7.43 SECURITY FREEZE LOCK (F5h)........................................................................................................... 98 10.7.44 SECURITY DISABLE PASSWORD (F6h) ............................................................................................. 99 10.7.45 SMART Function Set (B0h)......................................................................................................................... 99 10.7.46 Read Log EXT (2Fh) ....................................
360073945 Table of Figures FIGURE 1 FIGURE 2 FIGURE 3 FIGURE 4 FIGURE 5 MK5065GSXF DIMENSIONS ............................................................................................................................ 18 MOUNTING RECOMMENDATION ........................................................................................................................... 20 SERIAL ATA INTERFACE CONNECTOR ..........................................................................................................
360073945 1. SCOPE This document describes the specifications of the following model, MK5065/3265/2565GSXF of 2.5-type Winchester disk drives. . Factory Number Sales Number HDD2L13 HDD2L14 HDD2L15 MK5065GSXF MK3265GSXF MK2565GSXF 2. GENERAL DESCRIPTION The MK5065/3265/2565GSXF which is noted hereinafter as ” MK5065/3265/2565GSXF ” or as “ the drive ” comprises a series of intelligent disk drives . The drive features an ATA8 and Serial ATA 2.
360073945 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.
360073945 3. KEY FEATURES High capacity in smallest size . 2.5-type 2 platters accommodating formatted capacity of 500.107GB(MK5065GSXF) / 320.072GB(MK3265GSXF) / 250.065GB(MK2565GSXF). . Slim ( 9.5 mm in height ) and light ( MK5065GSXF: 102gram in weight MK3265/2565GSXF: 98gram in weight) design. Fast access and fast transfer rate . Quick spin up of Spindle Motor 3.5 sec. .
360073945 4. BASIC SPECIFICATION MODEL Formatted Capacity( gigabytes ) Servo design method Recording method Recording density Track / mm (TPI ) Bit / mm max. ( BPI max.) Bit / mm2 max. ( bpsi max.) Number of disks Number of data heads Number of user data cylinders Bytes per sector MK3265GSXF MK5065/2565GSXF 500.107GB 320.072GB 250.059GB Sector Servo Iterative-Noise Predictive PR+NLV 11654(296k) typical 68.6k(1742.6k) typical 799.5M(515.8G) typical 1 2 187231 typical 10472(266k) typical 61.4k(1559.
360073945 6. POWER REQUIREMENTS 6.1 Supply Voltage Allowable voltage 5V + 5% Allowable noise/ripple 100 mV p-p or less Allowable supply rise time 2 –100 msec (note 1) When DC power is turned off, +5V voltage must not be lower than 0V. 6.2 Power Consumption Average (note 1,2) MK5065/3265/2565GSXF 4.5W Peak,Maximum 1.85W Typical 1.5W Typical 0.85W Typical 0.55W Typical 0.18W Typical 0.
360073945 7. MECHANICAL SPECIFICATIONS 7.1 Dimension Width Height Depth 69.85mm ( 2.75” ) 9.7 mm ( 0.38”) 100.0 mm ( 3.94” ) Figure 1 and Table 7.4-1 show an outline of the drive. 7.2 Weight MK5065GSXF 101 gram (typ.) / 102 gram(max.) MK3265/2565GSXF 97 gram (typ.) / 98 gram(max.) 7.3 Drive Orientation The drive can be installed in all axes (6 directions). 7.4 Mounting Instructions SAFETY NOTE ●Take anti-static measures in order to avoid damage to the drive when handling it.
360073945 7.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. 7.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).
360073945 Figure 1 MK5065GSXF Dimensions Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 Table 7.4-1 Dimensions Dimension A1 SFF-8200 Rev2.0(*1) SFF-8201 Rev2.4 SFF-8223 Rev2.5 Millimeters Inches 9.7 0.381 Toshiba S-ATA Model (Differences only) Millimeters Inches 100.00 0.41 3.937 0.016 9.40 0.51 30.125 ±0.28 0.370 0.020 1.186 0.011 A2 0.20 0.008 A3 0.20 0.008 A4 69.85 2.750 A5 0.25 0.010 A6(*2) A7 100.45 max 3.50 A8 A10(*3) 9.40 - 0.370 - A12 0.38 0.015 A23 A26 3.00 M3 0.118 N/A 3.00 ±0.20 0.118 0.007 A28 4.07 0.160 0.160 +0.011 -0.
360073945 Figure 2 Mounting Recommendation Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 8. ENVIRONMENTAL LIMITS 8.1 Temperature and Humidity 8.1.1 Temperature Operating 5oC- 55oC Gradient 20oC / Hour maximum *) The temperature of top cover and base must be kept under 63 at any moment. Measurement point Non- operating - 40oC- 60oC Gradient 20oC / Hour maximum Under shipment - 40oC- 70oC Gradient 30oC / Hour maximum (Packed in Toshiba’s original shipping package) 8.1.2 Humidity Operating Non- operating Under shipment Max. wet bulb 8%- 90% R.H. (No condensation) 8%- 90% R.H.
360073945 8.3 Shock Operating Non- operating Under shipment 1,960 m/s2 ( 200G ) 1 msec half sine wave 3,920 m/s2 ( 400G ) 2 msec half sine wave Repeated twice maximum / second No unrecoverable error. 8,820 m/s2 ( 900G ) 1msec half sine wave 1,960 m/s2 ( 200G ) 11 msec half sine wave Repeated twice maximum / second No unrecoverable error. 70 cm free drop No unrecoverable error. Apply shocks in each direction of the drive’s three mutually perpendicular axes, one axis at a time.
360073945 8.6 Safety/EMI Standards The drive satisfies the following standards. MK5065/3265/2565GSXF Underwriters Laboratories(UL) UL 60950 Third Edition:2000 Canadian Standard Association(CSA) CAN/CSA-C22.2 No.60950-01-03 Technischer Uberwachungs-Verein(TUV) EN 60950-1:2001+A11 Bureau of Standards, Metrology and Inspection (BSMI) Ministry of Information and Communication (KCC) Spectrum Management Agency (SMA) CNS 13438 (CISPR Pub. 22 Class B):D33003 電磁波障害防止基準 告示2004-23号 (CISPR Pub.
360073945 8.7 EMC Adaptability The drive satisfies the following standards. MK5065/3265/2565GSXF EN55022 with * EN61000-3-2 with * EN61000-3-3 with* EN61000-4-2 with * EN61000-4-3 with * EN61000-4-4 with * EN61000-4-5 with * EN61000-4-6 with * EN61000-4-11 with * ENV50204 with * EN55024 8.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. MK5065GSXF MK3265GSXF MK2565GSXF 1.
360073945 9. 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. . 9.1 Error Rate 9.1.
360073945 9.4 Repair A defective drive should be replaced. Parts and subassemblies should not be repaired individually. 9.5 Preventive Maintenance (PM) No preventive maintenance is required. 9.6 Load/Unload Be sure to issue and complete the following commands for unloading before cutting off the power supply. 600,000 times of normal Load /Unload can be performed by a command and power management.
360073945 10.
360073945 10.2 Electrical specification 10.2.1 Physical Layer Table 10.
360073945 10.2.2 OOB signaling 10.2.2.1 OOB signal spacing There shall be three Out Of Band (OOB) signals used/detected by Phy, COMRESET, COMINIT and COMWAKE. When transmitting these signals, keep following spacing as follows. 10.2.2.2 POWER ON sequence timing Power-on sequence state diagram is follows. Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 10.2.2.3 COMRESET sequence timing COMRESET sequence state diagram is follows. Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 10.2.2.4 Power Segment Pin 11 Pin 11 of the power segment of the drive connector has two functions One function is used by the drive to provide the host with an activity indication. Another function is used by the host to indicate whether staggered spin-up should be used. To accomplish both of these these goals, pin 11 acts as an input from the host to the drive prior to PhyRdy for “staggered spin-up control”.
360073945 10.2.2.4.2 Staggered Spin-up Disable Control Before the drive spins up its media, drives that supported “staggered spin-up disable control” shall detect whether pin 11 is asserted low by the host. If pin 11 is asserted to low the drive shall disable staggered spin-up and immediately initiate media spin-up. If pin 11 is not connected in the host (floating), the drive that supported “staggered spin up disable” through pin 11 shall enable staggered spin-up.
360073945 10.3 Interface connector 10.3.1 Serial ATA interface connector Power Segment P1 Signal Segment S1 Figure 3 Serial ATA interface connector Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 10.3.2 Pin Assignment The following table describes all of the pins on Serial ATA connector. Table 10.3-1 Signal pin assignment Signal segment S1 S2 S3 S4 S5 S6 S7 Signal segment key GND 2nd mate A+ Differential Pair A from PHY AGND BDifferential Pair B from PHY B+ GND 2nd mate Signal segment “L” Central connector polarizer Power segment “L” P1 V33 3.3V power (Unused) P2 V33 3.3V power (Unused) P3 V33 3.
360073945 10.5 Frame Information Structure (FIS) A FIS is a group of Dword that convey information between host and drive 10.5.1 Register – Host to Device (RegHD) See Register Details 10.7 Table 10.
0073945 Field Name Descriptions FIS Type Set a value of 27h C This bit is set to one when the register transfer is due to an update of the Command Register. The bit is set to zero when the register transfer is due to an update of the Device Control Register. Command Contains the contents of the Command register of the Shadow Command Block Feature Contains the contents of the Features register of the Shadow Command Block.
360073945 10.5.2 Register – Device to Host (RegDH) See Register details 10.7 Table 10.
360073945 10.5.3 Data Table 10.5-7 Data FIS Layout 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 0 … N Dwords of data (minimum of one Dword – maximum of 2048 Dwords) … n Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 10.5.4 PIO Setup (PIOSU) See Register details 10.7 Table 10.5-8 PIO Setup Layout(48bit LBA mode: Read/Write Sector EXT) 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 Error Status R I R Reserved (0) FIS Type (34h) Device LBA High LBA Mid LBA Low Reserved (0) LBA High (exp) LBA Mid (exp) LBA Low (exp) E_STATUS Reserved(0) Sector Count (exp) Sector Count Reserved (0) Reserved (0) Transfer Count Table 10.
360073945 10.5.5 DMA Activate (DMACT) Table 10.5-11 DMA Activate Layout (Write DMA/Write DMA Queued/Service (Drive to Host)) 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 1 0 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 0 Reserved (0) Reserved (0) R R R Reserved (0) FIS Type (39h) 10.5.6 DMA Setup (DMASU) Table 10.
360073945 10.5.8 Shadow Register Block Registers, Control Block Registers Shadow Register Block Registers are interface registers used for delivering commands to the drive or posting status from the drive. Table 10.
360073945 10.6 Shadow Register Block registers 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. 10.6.1 Error Register FIS bit position RegH2D None RegD2H Dword 0: 31:24 PIO SU Dword 0 : 31:24 10.6.1.1 Operational Mode The following descriptions are bit definitions for the operational mode including the error information from the last command.
360073945 10.6.1.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 10.6-1 Diagnostic mode error register 01 02 03 04 05 06-0F 10 11-7F 8x No errors Controller register error Buffer RAM error ECC device error CPU ROM/RAM error Reserved FFS IC POST Error Reserved Reserved 10.6.
360073945 10.6.4 Sector Count Register FIS bit position RegH2D Dword 3: 7:0 RegD2H Dword 3: 7:0 PIO SU Dword 3: 7:0 10.6.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. During a multi-sector operation, the sector count is decremented and the sector number is incremented.
360073945 10.6.6 Sector Number (LBA low, LBA7:0) Register FIS bit position RegH2D Dword 1: 7:0 RegD2H Dword 1: 7:0 PIO SU Dword 1: 7:0 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.
360073945 10.6.8.2 SMART commands This register should be set to C2h for SMART commands 10.6.9 Device/Head Register FIS bit position RegH2D Dword 1: 31:24 RegD2H Dword 1: 31:24 PIO SU Dword 1: 31:24 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.
360073945 10.6.10 Status Register FIS bit position RegD2H Dword 0: 23:16 PIO SU Dword 0: 23:16 SDB Dword 0: 23:16 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.
360073945 10.6.11 Command Register FIS bit position RegH2D Dword 1: 23:16 The command register accepts commands for the drive to perform fixed disk operations. Commands are executed when the Shadow Block Registers are 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.
360073945 Table 10.
360073945 Parameters are defined as follows. SC = SECTOR COUNT register. SN = SECTOR NUMBER register. CY = CYLINDER LOW and CYLINDER HIGH register. DRV = DRIVE SELECT bit (bit 4 in DRIVE/HEAD register) HD = HEAD SELECT bits (bit 3-0 in DRIVE/HEAD register) FT = FEATURES register (WRITE PRECOMPENSATION register) 10.6.12 Device Control Register FIS bit position RegH2D Dword 3: 31:24 This register contains the following three control bits.
360073945 10.7 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.
360073945 Status register Command DRDY WRITE DMA FUA EXT WRITE MULTIPLE (EXT) WRITE MULTIPLE FUA EXT WRITE SECTOR(S) (EXT) WRITE VERIFY WRITE FPDMA QUEUED WRITE LOG EXT WRITE LOG DMA EXT Invalid command code DF CORR Error register ERR ICRC UNC IDNF = valid on this command Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 10.7.1 Nop (00h) COMMAND CODE 00000000 REGISTER SETTING DR drive no. CY na HD na SN na SC na FT Reserved LBA na REGISTER NORMAL COMPLETION no change na na na na na na The Nop command reports the status. The drive terminates the command with aborted error after receiving this command. 10.7.2 Recalibrate3 (1xh) COMMAND CODE 0001XXXX REGISTER SETTING DR drive no.
360073945 10.7.5 Read Sector (20h/21h) COMMAND CODE 0010000X REGISTER SETTING DR drive no. CY starting cylinder HD starting head SN starting sector SC no. of sector to read FT na LBA staring address REGISTER NORMAL COMPLETION no change na na na na na na Setting BSY bit, the drive will seek to the target cylinder if the head is not on target track ( implied seek ), select the head and begin to read the number of sector defined in SC register ( 1-256 ) starting from the target sector.
360073945 10.7.7 Write Sector (30h/31h) COMMAND CODE 0011000X REGISTER SETTING DR drive no. CY starting cylinder HD starting head SN starting sector SC no. of sector to write FT na LBA starting address REGISTER NORMAL COMPLETION no change na na na na na na 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.
360073945 10.7.9 Read Verify (40h/41h) COMMAND CODE 0100000X 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 na na na na na 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.
360073945 10.7.11 Write Verify4 (3Ch) COMMAND CODE 00111100 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 na na na na na This command is all identical to a Write sector command. Read verification is not performed in this command.
360073945 10.7.13 Toshiba Specific COMMAND CODE 1000XXXX 10011010 11110000 11110111 1111101X 111111XX These commands are only for factory use. Host must not issue them. 10.7.14 Execute Diagnostics (90h) COMMAND CODE 10010000 REGISTER SETTING DR na CY na HD na SN na SC na FT na REGISTER NORMAL COMPLETION 0H 0000H 0H 01H 01H na 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.
360073945 10.7.15 Initialize Device Parameters (91h) COMMAND CODE 10010001 REGISTER SETTING DR drive number CY HD total number of heads-1 SN SC number of sector per track FT REGISTER NORMAL COMPLETION no change na na na na na 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.
360073945 10.7.16 Download Microcode (92h) COMMAND CODE 10000010 REGISTER SETTING DR drive number CY Buffer offset (only used for FT = 03h, otherwise 00h) HD 0h SN number of sector(high order) SC number of sector(low order) FT subcommand code REGISTER NORMAL COMPLETION no change na na na 01h/02h (only used for FT=03h, otherwise na) na This command enables the host to alter the drive’s microcode. The data transferred using the DOWNLOAD MICROCODE command is vendor specific.
360073945 10.7.17 Read Multiple (C4h) COMMAND CODE 11000100 REGISTER SETTING DR drive number CY starting cylinder HD starting head SN starting sector SC number of sector to read FT na LBA starting address REGISTER NORMAL COMPLETION no change na na na na na na The read multiple command performs similarly to the Read Sectors command except for the following features.
360073945 10.7.18 Read Multiple EXT (29h) COMMAND CODE 00101001 REGISTER REGISTER SETTING NORMAL COMPLETION DR Drive no. no change LBA Low LBA(7:0) Reserved LBA Low(exp) LBA(31:24) Reserved LBA Mid LBA(15:8) Reserved LBA Mid(exp) LBA(39:32) Reserved LBA High LBA(23:16) Reserved LBA High(exp) LBA(47:40) Reserved SC sector count(7:0) Reserved SC(exp) sector count(15:8) Reserved FT reserved na FT(exp) reserved na This command is basically identical to Read Multiple command except register setting.
360073945 10.7.20 Write Multiple EXT COMMAND CODE DR LBA Low LBA Low(exp) LBA Mid LBA Mid(exp) LBA High LBA High(exp) SC SC(exp) FT FT(exp) (39h) 00111001 REGISTER SETTING drive no. LBA(7:0) LBA(31:24) LBA(15:8) LBA(39:32) LBA(23:16) LBA(47:40) sector count(7:0) sector count(15:8) reserved reserved REGISTER NORMAL COMPLETION no change Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved na na This command is basically identical to Write Multiple command except register setting.
360073945 10.7.22 Set Multiple Mode (C6h) COMMAND CODE 11000110 REGISTER SETTING DR drive no. CY na HD na SN na SC The number of sectors / block FT na REGISTER NORMAL COMPLETION no change na na na na na This command enables the drive to perform Read and Write Multiple operations and sets the block count for these commands. The Sector Count Register is loaded with the number of sectors per block. The drive supports 1,2,4,8 or16 sectors per block.
360073945 10.7.24 Read DMA EXT COMMAND CODE DR LBA Low LBA Low(exp) LBA Mid LBA Mid(exp) LBA High LBA High(exp) SC SC(exp) FT FT(exp) (25h) 00100101 REGISTER SETTING drive no. LBA(7:0) LBA(31:24) LBA(15:8) LBA(39:32) LBA(23:16) LBA(47:40) sector count(7:0) sector count(15:8) reserved reserved REGISTER NORMAL COMPLETION no change Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved na na This command is basically identical to Read DMA command except for the register settings.
360073945 10.7.26 Write DMA EXT COMMAND CODE DR LBA Low LBA Low(exp) LBA Mid LBA Mid(exp) LBA High LBA High(exp) SC SC(exp) FT FT(exp) (35h) 00110101 REGISTER SETTING drive no.
360073945 10.7.28 READ FPDMA QUEUED (60h) COMMAND CODE 01100000 REGISTER REGISTER SETTING NORMAL COMPLETION DR F1R0RRRR Na LBA Low LBA(7:0) na LBA Low(exp) LBA(31:24) na LBA Mid LBA(15:8) na LBA Mid(exp) LBA(39:32) na LBA High LBA(23:16) na LBA High(exp) LBA(47:40) na SC TAG(7:3) na SC(exp) Reserved(2:0) na Reserved FT Sector Count 7:0 FT(exp) Sector Count 15:8 TAG The TAG value shall be assigned by host software to be different from all other TAG values corresponding to outstanding commands.
360073945 10.7.30 POWER CONTROL (Exh/9xh) COMMAND CODE 1110XXXX REGISTER SETTING DR drive no. CY Reserved (except for E1h command) HD Reserved SN Reserved (except for E1h command) SC shown below FT Reserved (except for E1h command) REGISTER NORMAL COMPLETION no change na na Reserved (except for E1h command) 00/FFH (for E5/98 command) na(for other command) na Power Control is a group of commands which controls low power mode in the drive.
360073945 10.7.30.3 Idle Immediate with Unload Feature (E1) Register Setting: FT=44h,SC=00h,CY(LBA High/Mid)=554Eh,SN(LBA Low)=4Ch The UNLOAD FEATURE of the IDLE IMMEDIATE command provides a method for the host to cause a device that is a hard disk drive to move its read/write heads to a safe position as soon as possible.
360073945 10.7.30.4 Stand-by (E2/96) This command causes the drive 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.
360073945 10.7.31 Read Buffer (E4h) COMMAND CODE 11100100 REGISTER SETTING DR drive no. CY na HD na SN na SC na FT na REGISTER NORMAL COMPLETION no change na na na na na This command transfers a specified sector of data ( 512 bytes) from the 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. 10.7.
360073945 Table 10.
360073945 Table 10.
360073945 Table 10.7-3 Identify Information (Continued) WORD 80 81 82 83 84 DESCRIPTION Major version number 0000h or FFFFh = device does not report version 15-9 Reserved for ATA-9~14 8 1=supports ATA/ATAPI-8 7 1=supports ATA/ATAPI-7 6 1=supports ATA/ATAPI-6 5 1=supports ATA/ATAPI-5 4 1=supports ATA/ATAPI-4 3 1=supports ATA-3 2 1=supports ATA-2 1 1=supports ATA-1 0 Reserved Minor version number 0000h or FFFFh = device does not report version Command set supported.
360073945 Table 10.7-4 Identify Information (Continued) WORD 85 86 87 88 89 90 91 92 93 94 95-99 100-103 104-105 DESCRIPTION Hex.
360073945 Table 10.
360073945 Table 10.
360073945 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” : Drive requires SET FEATURES subcommand to spin-up after power-up and IDENTIFY DEVICE response is incomplete.
360073945 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.
360073945 WORD 57-58: Total number of sectors calculated by word 54 - 56 bit31-24 bit23-16 bit15- 8 bit 7- 0 by word 58 bit 7- 0 by word 58 bit 15- 8 by word 57 bit 7- 0 by word 57 bit 15- 8 The default values for each models are.
360073945 WORD 68: Minimum PIO transfer cycle time with IORDY flow control (ns) If this bit is supported, word 53 bit 1 is to be set. The drive that support PIO mode 3 or higher shall support this field too. This figure shall not be less than 120. The value for this WORD is 0078h (120ns). WORD 69-74: Reserved WORD 75: Queue depth This word is as defined in the ATA reference.
360073945 bit 3 bit 2 bit 1 bit 0 Device initiating power management requests to the host supported. DMA Setup FIS Auto Activate optimization supported. Non-zero buffer offsets in the DMA Setup FIS supported. Reserved Word 78 shall be 004Ch. WORD 79: Serial ATA features enabled If word 76 is not 0000h or FFFFh, word 79 reports the optional features supported by the drive are enabled.
360073945 bit 2 bit 1 bit 0 1=CFA feature set supported 1=READ / WRITE DMA QUEUED supported 1=DOWNLOAD MICROCODE command supported The value for this WORD is 7D09h.
360073945 bit 15 bit 14 bit 13 bit 12-9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 (Fixed) 1 (Fixed) 1 = IDLE IMMEDIATE with UNLOAD FEATURE supported Reserved 1= 64-bit World wide name supported Reserved 1=Write DMA FUA EXT and Write Multiple FUA EXT commands supported 1=General Purpose Logging feature set supported Reserved 1=Media Card Pass Through command feature set enabled 1=Media serial number is valid 1=SMART self-test supported 1=SMART error logging supported The value for this WORD i
360073945 WORD 95-99: Reserved WORD 100-103: Maximum User LBA for 48-bit Address feature set The default values for each models are.
360073945 The value for this WORD is 4018h. WORD 121-126: Reserved WORD 127: Removable Media Status Notification feature set supported This function is not supported. The value for this WORD is 0000h. 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.
360073945 2 1 0 1 = SCT Command Transport Write Same supported 1 = SCT Command Transport Long Sector Access supported 1 = SCT Command Transport supported The value for this WORD is 003Dh. WORD 207-216: Reserved WORD 217: Nominal media rotation rate Value Description 0000h Rate not reported 0001h Non-rotating media (e.g., solid state device) 0002h-0400h Reserved 0401h-FFFEh Nominal media rotation rate in rotations per minute (rpm) (e.g., 7200rpm = 1C20h) FFFFh Reserved The value for this WORD is 1518h.
360073945 10.7.34 SET MAX (F9h) Individual SET MAX commands are identified by the value placed in the Features register. Table 10.7-7 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 10.
360073945 10.7.34.2 Set Max Set Password F9h with the content of the Features register equal to 01h. COMMAND CODE 11111001 REGISTER SETTING DR DRIVE No. CY na HD na SN na SC na FT 01 H LBA na REGISTER NORMAL COMPLETION no change na na na na na na 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.
360073945 10.7.34.4 Set Max Unlock F9h with the content of the Features register equal to 03h. COMMAND CODE 11111001 REGISTER SETTING DR DRIVE No. CY na HD na SN na SC na FT 03 H LBA na REGISTER NORMAL COMPLETION no change na na na na na na 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.
360073945 SET MAX ADDRESS SET MAX SET PASSWORD SET MAX LOCK SET MAX UNLOCK 10.7.35 SET MAX ADDRESS EXT (37h) COMMAND CODE DR LBA Low LBA Low(exp) LBA Mid LBA Mid(exp) LBA High LBA High(exp) SC SC(exp) FT FT(exp) 00110111 REGISTER SETTING drive no.
360073945 10.7.37 Read Native Max Address EXT COMMAND CODE DR LBA Low LBA Low(exp) LBA Mid LBA Mid(exp) LBA High LBA High(exp) SC SC(exp) FT FT(exp) (27h) 00110111 REGISTER SETTING drive no. Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved REGISTER NORMAL COMPLETION no change last address last address last address last address last address last address Reserved Reserved na na This command sets the maximum address (LBA value). 10.7.
360073945 The level of Advanced Power Management function is set in Sector count register. C0h-FEh …… 80h-BFh …… 01h-7Fh …… 00h,FFh …… Mode0 (Power save up to Low Power Idle) Mode1 (Power save up to Low Power Idle) Mode2 (Power save up to Standby) Aborted Transition time of power save is changed dynamically in Mode1 and Mode2 due to Adaptive power control function. The function level is set to Mode1 when Advanced Power Management function is disabled.
360073945 Command Set Features (Write Cache Enable/Disable) Set Features (Set Transfer Mode) Ser Features (Advanced Power Management Enable/Disable) Set Features (Read Look-Ahead) Set Multiple Mode Set Features(Reverting to Defaults) Description The write cache enable/disable setting established by the Set Features command with subcommand code of 02h and 82h. PIO, Multiword and UDMA transfer mode setting established by the Set Features command with subcommand code of 03h.
360073945 Security Set Password information Word 0 Content Control word Bits 15-9 Bits 8 Reserved Security level Bits 7-1 Bit 0 Reserved Identifier 0=High 1=Maximum 0=set user password 1=set master password 1-16 Password ( 32 bytes ) 17 Master Password Revision Code (valid if word 0 bit 0 = 1) 18-255 Reserved The settings of the identifier and security level bits interact as shown in the table below.
360073945 10.7.40 SECURITY UNLOCK (F2h) COMMAND CODE 11110010 REGISTER SETTING DR DRIVE No. CY na HD na SN na SC na FT na REGISTER NORMAL COMPLETION no change na na na na na This command requests the host to transfer a sector of data including ones described in the table below .
360073945 10.7.42 SECURITY ERASE UNIT (F4h) COMMAND CODE 11110100 REGISTER SETTING DR DRIVE No. CY na HD na SN na SC na FT na REGISTER NORMAL COMPLETION no change na na na na na 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.
360073945 10.7.43 SECURITY FREEZE LOCK (F5h) COMMAND CODE 11110101 REGISTER SETTING DR DRIVE No. CY na HD na SN na SC na FT na REGISTER NORMAL COMPLETION no change na na na na na The SECURITY FREEZE LOCK allows the drive to enter frozen mode. After the completion of this command, any other commands that update the drive lock functions are rejected. The drive recovers from the frozen mode by power-on reset or hard reset.
360073945 10.7.44 SECURITY DISABLE PASSWORD (F6h) COMMAND CODE 11110110 REGISTER SETTING DR DRIVE No. CY na HD na SN na SC na FT na REGISTER NORMAL COMPLETION no change na na na na na 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. The SECURITY DISABLE PASSWORD command requests a transfer of a single sector of data from the host including the information specified in the following table.
360073945 10.7.45.1 SMART Read Attribute values COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD na SN na SC na FT D0h REGISTER NORMAL COMPLETION no change na na na na na 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.
360073945 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.
360073945 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.
360073945 bit 3 (off-line read scanning implemented bit) If this bit is cleared to zero, the drive does not support off-line read scanning. If this bit is set to one, the drive 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 drive does not implement the Short and Extended self-test routines. If this bit is set to one, the drive implements the Short and Extended self-test routines. This bit is set to 1. bits 5 (reserved).
360073945 10.7.45.2 SMART Read Attribute thresholds COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD na SN na SC na FT D1h REGISTER NORMAL COMPLETION no change na na na na na 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.
360073945 10.7.45.3 SMART Enable Disable Attribute Autosave COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD na SN na SC 00h/F1h FT D2h REGISTER NORMAL COMPLETION no change na na na na na 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.
360073945 10.7.45.5 SMART Execute Off-line Immediate COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD Na SN Subcommand specific SC Na FT D4h REGISTER NORMAL COMPLETION no change no change na na na na This command causes the drive to immediately initiate the activities that collect SMART data in an off-line mode and then save this data to the drive 's non-volatile memory, or execute a self-diagnostic test routine in either captive or off-line mode.
360073945 f) If the drive is in the process of performing the subcommand routine and is interrupted by a SMART EXECUTE OFF-LINE IMMEDIATE command from the host, the drive will abort the subcommand routine and service the host within two seconds after receipt of the command. The drive will then service the new SMART EXECUTE OFF-LINE IMMEDIATE subcommand.
360073945 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.
360073945 10.7.45.6 SMART Read Log Sector COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD na SN Log Sector Address SC Number of sectors to read FT D5h REGISTER NORMAL COMPLETION no change na na na na na 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. The log transferred by the drive shall start at the first sector in the specified log, regardless of the sector count requested.
360073945 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. 10.7.45.6.2 Summary error log sector The following Table defines the 512 bytes that make up the SMART summary error log sector.
360073945 If the command data structure represents a command or software reset, the content of the command data structure will be as shown in the following Table. Byte n n+1 n+2 n+3 n+4 n+5 n+6 n+7 n+8 n+9 n+10 n+11 Command data structure Descriptions Content of the Device Control register when the Command register was written. Content of the Features register when the Command register was written. Content of the Sector Count register when the Command register was written.
360073945 Standby indicates the command or reset for which the error is being reported was received when the drive was in the Standby mode. Active/Idle with BSY cleared to zero indicates the command or reset for which the error is being reported was received when the drive was in the Active or Idle mode and BSY was cleared to zero.
360073945 10.7.45.6.3.3 Error log data structure The error log is viewed as a circular buffer. The drive may support from two to 51 error log sectors. 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.
360073945 10.7.45.6.4.2 Self-test log descriptor entry This log is viewed as a circular buffer. The first entry will begin at byte 2, the second entry will begin at byte 26, and so on until the twenty-second entry, that will replace the first entry. Then, the twenty-third entry will replace the second entry, and so on. If fewer than 21 self-tests have been performed by the drive, the unused descriptor entries will be filled with zeroes.
360073945 10.7.45.6.5 Selective self-test log The Selective self-test log is a log that may be both written and read by the host. This log allows the host to select the parameters for the self-test and to monitor the progress of the self-test. The following table defines the content of the Selective self-test log.
360073945 10.7.45.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 drive 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. 10.7.45.6.5.
360073945 10.7.45.7 SMART Write Log Sector COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD na SN Log Sector Address SC Number of sectors to write FT D6h REGISTER NORMAL COMPLETION no change na na na na na This command writes an indicated number of 512 byte data sectors to the indicated log. Copyright © 2011 Toshiba Storage Device Corporation. All rights reserved.
360073945 10.7.45.8 SMART Enable Operations COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD na SN na SC na FT D8h REGISTER NORMAL COMPLETION no change na na na na na 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.
360073945 10.7.45.10 SMART Return Status COMMAND CODE 10110000 REGISTER SETTING DR DRIVE No. CY C24Fh HD na SN na SC na FT DAh REGISTER NORMAL COMPLETION no change C24Fh/2CF4h na na na na 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.
360073945 10.7.46 Read Log EXT (2Fh) 10.7.47 Read Log DMA EXT COMMAND CODE DR LBA Low LBA Low(exp) LBA Mid LBA Mid(exp) LBA High LBA High(exp) SC SC(exp) FT FT(exp) (47h) 00101111 REGISTER SETTING drive no.
360073945 10.7.47.1 General Purpose Log Directory The following table defines the 512 bytes that make up the General Purpose Log Directory. Byte 0-1 2 3 4 5 … 32 33 34 35 ….
360073945 10.7.47.2.1 Error log version The value of the SMART error log version byte is 01h. 10.7.47.2.2 Error log index The error log index indicates the error log data structure representing the most recent error. If there have been no error log entries, the error log index is cleared to zero. Valid values for the error log index are zero to 255. 10.7.47.2.3 Extended Error log data structure The error log is viewed as a circular buffer.
360073945 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.
360073945 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. Sleep indicates the reset for which the error is being reported was received when the drive was in the Sleep mode. Standby indicates the command or reset for which the error is being reported was received when the drive was in the Standby mode.
360073945 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 19n+1 30-55 Descriptor entry 2 Descriptor entry 19n+2 …. .... ....
360073945 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 drive encountered more than one failed sector during the test, this field shall indicate the LBA of the first failed sector encountered. If the test passed or the test failed for some reason other than a failed sector, the value of this field is undefined. 10.7.47.3.
360073945 Shall be set to 4Ch if the unload was not accepted or has failed. NQ If set indicates that the error condition was a result of a non-queued command Having been issued and that the TAG field is therefore not valid. If cleared indicates that the TAG field is valid and that the error condition applies to a queued command. BYTE 1-19 An image of a device to host Register FIS is embedded in the data structure.
360073945 10.7.47.
360073945 Counter n Identifier Phy event counter identifier that corresponds to Counter n Value. Specifies the particular event counter that is being reported. The identifier is 16 bits in length. Counter n Value Value of Phy event counter that corresponds to Counter n Identifier. The numebr of significant bits is determined by Counter n Identifier bits 14:12. All counters are specified 32 bits in length. The counter will stop (and not wrap to zero) after reaching its maximum value.
360073945 Identifier 007h The counter with identifier 007h returns the number of received Host-to-Device non-Data FISes to which the device responded with R_ERR. Retries of non-Data FISes are included in this count. Identifier 008h The counter with identifier 008h returns the number of transmitted Device-to-Host non-Data FISes which were retried after which the host responded with R_ERR.
360073945 10.7.47.5.1 Counter Reset Mechanisms The counter values are not retained across power cycles. The counter values are preserved across COMRESET and software resets. There are two mechanisms by which the host can explicitly cause the Phy counters to be reset. The first mechanism is to issue a BIST Activate FIS to the drive. Upon reception of a BISA Activate FIS the drive will reset all Phy event counters to their reset value. The second mechanism uses the Read LOG EXT command.
360073945 10.7.50 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 10.7.50.1 Device Configuration Restore COMMAND CODE 10110001 REGISTER SETTING DR DRIVE No.
360073945 10.7.50.3 Device Configuration Identify COMMAND CODE 10110001 REGISTER SETTING DR DRIVE No. CY na HD na SN na SC na FT C2h LBA na REGISTER NORMAL COMPLETION no change na na na na na na 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.
360073945 Table 10.
360073945 10.7.50.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. 10.7.50.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 drive in the factory default condition.
360073945 10.7.50.3.1.10 Word 255: Integrity word Bits 7:0 of this word shall contain the value A5h. Bits 15:8 of this word shall contain the data structure checksum. The data structure checksum shall be the two’s complement of the sum of all byte in words 0 through 254 and the byte consisting of bits 7:0 of word 255. Each byte shall be added with unsigned arithmetic, and overflow shall be ignored. The sum of all bytes is zero when the checksum is correct.
360073945 10.7.50.4 Device Configuration Set COMMAND CODE 10110001 REGISTER SETTING DR DRIVE No. CY na HD na SN na SC na FT C3h LBA na REGISTER NORMAL COMPLETION no change na na na na na na 10.7.50.4.
360073945 10.7.50.4.2 Description The DEVICE CONFIGURATION SET command allows a device manufacturer or a personal computer system manufacturer to reduce the set of optional commands, modes, or feature sets supported by a device as indicated by a DEVICE CONFIGURATION IDENTIFY command. The DEVICE CONFIGURATION SET command transfers an overlay that modifies some of the bits set in words 63, 82, 83, 84, and 88 of the IDENTIFY DEVICE or IDENTIFY PACKET DEVICE command response.
360073945 Table 10.
360073945 10.7.50.4.2.1 Word 0: Data structure revision Word 0 shall contain the value 0001h. 10.7.50.4.2.2 Word 1: Multiword DMA modes supported Word 1 bits 15:3 are reserved. Word 1 bit 2 is cleared to disable support for Multiword DMA mode 2 and has the effect of clearing bit 2 in word 63 of the IDENTIFY DEVICE or IDENTIFY PACKET DEVICE response. This bit shall not be cleared if Multiword DMA mode 2 is currently selected.
360073945 10.7.50.4.2.5 Word 7: Command/features set supported Word 7 bits 15:9 are reserved. Word 7 bit 8 is cleared to disable support for the 48-bit Addressing feature set and has the effect of clearing bit 10 in words 83 and 86 and clearing the value in words 103:100 of the IDENTIFY DEVICE or IDENTIFY PACKET DEVICE response.
360073945 10.7.50.4.2.7 Words 9-20: Reserved 10.7.50.4.2.8 Words 21: Command set/feature set supported part 2 Word 21 bits 0 through 10 are reserved and shall be cleared to zero. Word 21 bit 11 is cleard to disable support for Freefall Control feature set and word 119 bit 5, word 120 bit 5, word 53 bit 15:8 of the IDENTIFY DEVICE will all be cleared to zero. Word 21 bits12 through 15 are reserved and shall be cleared to zero. 10.7.50.4.2.9 Words 22-254: Reserved 10.7.50.4.2.
360073945 10.8 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. 10.8.
360073945 10.8.3 Security mode operation from power-on In locked mode, the drive rejects media access commands until a SECURITY UNLOCK command is successfully completed.
360073945 10.8.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.
360073945 10.8.5 Command Table This command table shows the drive’s response to commands when the Security Function is enabled. Table 10.
360073945 10.9 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.
360073945 10.10 SMART COMMAND TRANSPORT(SCT) The SMART COMMAND TRANSPORT(SCT) feature set is supported. SCT commands are executed by using SMART Read Log and SMART Write Log Command, or Read Log EXT and Write Log EXT command. Log Address E0h is used to issue commands and return status. Log Address E1h is used to transport data. Please refer to ATA8-ACS “SCT Command Transport” section for more detail. SCT command format is below: Table 10.
360073945 10.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. 10.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. 10.11.
360073945 10.12 Interface Power Management Control Interface power management Control is a function to reduce power consumption of the interface.. Host can initiate Partial request and Slumber request to reduce power consumption. The interface management can also be initiated by the drive. To enable the device initiating interface power management, host shall enable this feature by SET FEATURE command. 10.12.
360073945 10.12.1.3 Slumber Interface is in-active and wake up time to Active mode is less than 10 miliseconds. The drive will get in Slumber mode when following situation happened. 10.12.1.3.1 Host Initiated Slumber 1) The drive detect PMREQ_S primitive and the drive accept its the primitive. To indicate drive acceptance, PMACK primitive will be used. 2) The drive will not accept PMREQ_S when the drive waiting for command or transmitting/receiving FIS.
360073945 10.13 Reset A RESET condition will change the drive condition to busy, allowing the drive to perform the specified initialization required for normal operation. A RESET condition can be generated by both COMRESET and software. There are two hardware resets, one is by the COMRESET and the other is by the drive power sense circuitry. These resets will chenge the drive condition to busy when the system and the drive respectively acknowledge specified supply voltage (See 6.1).
360073945 Table 10.
360073945 10.13.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.
360073945 10.15 Freefall Control Freefall Control feature is for the device to act on its data protection in the event of freefall detection.When this feature is enabled, upon detecting a freefall event the device should protect its data from the mechanical contacts that could damage the data on the device. 10.15.1 SET FEATURE Commnad SET FEATURE command with Feature Code”41h” : Enable Freefall Control feature. SET FEATURE command with Feature Code”C1h” : Disable Freefall Control feature. 10.15.
360073945 11. Command 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 in the Shadow Register Block registers. If BSY =1, the host should proceed no further unless and until the BSY=0, and the DRDY=1.
360073945 11.1 PIO data In commands 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 READ LOG EXT SMART Read Attribute Values SMART Read Attribute Thresholds SMART Read Log Sector DEVICE CONFIGRATION IDENTIFY PIO data in protocol: a) The host sends the RegHD to the drive including required command parameters.
360073945 11.2 PIO data out commands Commands for this class are: WRITE BUFFER WRITE MULTIPLE WRITE MULTIPLE EXT WRITE MULTIPLE FUA EXT WRITE SECTOR(S) (with and without retry) WRITE SECTOR(S) EXT WRITE VERIFY WRITE LOG EXT 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 sends the RegHD to the drive including required command parameters.
360073945 Command data error protocol for PIO Data Out command(during the data transfer) Host Tx -----[RegHD]----------------[Data]-----------------[Data]-------------------- Drive Tx --------------------[PIOSU]----------…..
360073945 11.
360073945 Non-Data command protocol Host Tx -----[RegHD]------------------ Drive Tx ------------------[RegDH]---(No Error : BSY=0, DRQ=0, I=1, Error Reg=00h) (Error : BSY=0, DRQ=0, I=1, Error Reg=Error Code) Note: During command execution of in Parallel ATA, sometimes host will poll the status. For Serial ATA, there are no transaction of FIS during command execution.
360073945 11.4 DMA data In commands Commands for this class are: READ DMA (with and without retry) READ DMA EXT READ LOG DMA EXT DMA data in protocol: a) The host sends the RegHD to drive including required command parameters. b) When the dsrive finishes the preparation of the data to be transferred, the drive will start data transfer with Data FIS. c) Continue data transfer from b) until the data transer complete.
360073945 11.5 DMA data Out commands WRITE DMA (with and without retry) WRITE DMA EXT WRITE DMA FUA EXT WRITE LOG DMA EXT DMA Data out protocol: a) The host send the RegHD to the drive including required command parameters. b) When the drive finishes to accept the data transfer, send DMA Activate FIS(DMACT) to the host. c) The host sends the data FIS. d) Continue data transfer from c) until the data transer is complete.
360073945 11.6 Native Command Queue commands Commands for this class are: READ FPDMA QUEUED WRITE FPDMA QUEUED 11.6.1 Command Issue protocol The protocol to issue these commands are similar to the Non Data command protocol. But the data transfer following to the command is unque for the NCQ commands. a) The host sends the RegHD to the drive including required command parameters.
360073945 11.6.3 Data transfer protocol for the WRITE FPDMA QUEUED a) When the drive is prepaeed to accept data from the host, the drive will send the DMA Setup FIS with the Tag number as the response to WRITE FPDMA QUEUED command, the offset of the data and the number of the data to be transfered, D=0, I=0 and A=0 and the DMA Activate FIS (when the DMA Auto-activate optimization is disabled) b) The host send data with Data FIS.