Z5K500 OEM Specifications Hard Disk Drive Specification HGST Travelstar Z5K500 2.5 inch SATA hard disk drive Models: Revision 3.
Z5K500 OEM Specifications The 1st Edition (Revision 1.0) (24 October 2011) The 2nd Edition (Revision 2.0) (27 July 2012) The 3rd Edition (Revision 3.0) (12 October 2012) The 4th Edition (Revision 3.
Z5K500 OEM Specifications Table of Contents 1 GENERAL ................................................................................................................................................9 1.1 Introduction ...............................................................................................................................9 1.2 Abbreviations.............................................................................................................................9 1.3 References ......
Z5K500 OEM Specifications 11.8 LBA Low Register....................................................................................................................44 11.9 LBA Mid Register ....................................................................................................................44 11.10 Sector Count Register..........................................................................................................45 11.11 Status Register................................................
Z5K500 OEM Specifications 14.33 Security Unlock (F2h)........................................................................................................130 14.34 Seek (7xh) ...........................................................................................................................131 14.35 Sense Condition (F0h : vendor specific)............................................................................132 14.36 Set Features (EFh)..........................................................
Z5K500 OEM Specifications List of Figures Figure 1 Limits of temperature and humidity Figure 2 Mounting hole locations Figure 3 Interface connector pin assignments Figure 4 Parameter descriptions Figure 5 Initial Setting Figure 6 Usual Operation Figure 7 Password Lost Figure 8 Set Max security mode transition Figure 9 Selective self-test test span example 23 29 36 38 55 56 57 62 143 List of Tables Table 1 Formatted capacity by model number.
Z5K500 OEM Specifications Table 46 Device Configuration Overlay Data structure 77 Table 47 DCO error information definition 78 Table 48 Download Command (92h) 79 Table 49 Execute Device Diagnostic Command (90h) 81 Table 50 Flush Cache Command (E7h) 82 Table 51 Flush Cache EXT Command (EAh) 83 Table 52 Format Track Command (50h) 84 Table 53 Format Unit Command (F7h) 85 Table 54 Identify Device Command (ECh) 86 Table 55 Identify device information 87 Table 56 Identify device information --- Continued --88 Tab
Table 108 Set Max Address Ext Command (37h) Table 109 Set Multiple Command (C6h) Table 110 Sleep Command (E6h/99h) Table 111 S.M.A.R.T. Function Set Command (B0h) Table 112 Log sector addresses Table 113 Device Attribute Data Structure Table 114 Individual Attribute Data Structure Table 115 Status Flag Definitions Table 116 Device Attribute Thresholds Data Structure Table 117 Individual Threshold Data Structure Table 118 SMART Log Directory Table 119 S.M.A.R.T.
Z5K500 OEM Specifications 1 General 1.1 Introduction This document describes the specifications of the HGST Travelstar Z5K500 2.5-inch hard disk Serial ATA interface: Drive name Model Number Type Max data transfer rate (Gbps) Capacity (GB) Height (mm) Rotation speed (rpm) Travelstar Z5K500-500 HTE545050A7E380 / HTE545050A7E680 TT5SAE500 3.0 / 6.0 500 7 5400 Travelstar Z5K500-320 HTE545032A7E380 / HTE545032A7E680 TT5SAE320 3.0 / 6.0 320 7 5400 1.
Z5K500 OEM Specifications GB 1 000 000 000 bytes GND Ground h Hexadecimal HDD Hard disk drive Hz Hertz I Input ILS Integrated lead suspension imped Impedance I/O Input/Output ISO International Standards Organization KB 1,000 bytes Kbit/mm 1,000 bits per mm Kbit/sq-mm 1000 bits per square mm KHz Kilohertz LBA logical block addressing Lw Unit of A-weighted sound power m Meter max. or Max.
Z5K500 OEM Specifications RH Relative humidity % RH Percent relative humidity RMS Root mean square RPM Revolutions per minute RST Reset R/W Read/write sec Second Sect/Trk Sectors per track SELV Secondary low voltage S.M.A.R.T Self-monitoring, analysis, and reporting technology Trk.
Z5K500 OEM Specifications 1.3 References Serial ATA International Organization: Serial ATA Revision 2.6 1.4 General caution Do not apply force to the top cover (See a figure below). Do not cover the breathing hole on the top cover (See a figure below). Do not touch the interface connector pins or the surface of the printed circuit board. The hard disk drive can be damaged by shock or ESD (Electric Static Discharge).
Z5K500 OEM Specifications 2 Outline of the hard disk drive ・ 2.5-inch, 7 mm Height ・ Perpendicular Recording ・ Formatted capacities of 500GB, 320GB (4kB/sector,512B emulation) ・ SATA Interface conforming to Serial ATA International Organization: Serial ATA Revision 2.
Z5K500 OEM Specifications Part 1 Function Specification 14
Z5K500 OEM Specifications 3 Fixed disk subsystem description 3.1 Control Electronics The control electronics works with the following functions: SATA Interface Protocol Embedded Sector Servo No-ID (TM) formatting Multi-zone recording System ECC 3.
Z5K500 OEM Specifications 4 Fixed disk characteristics 4.1 Formatted capacity by model number Description 500GB 320GB Physical Layout Bytes per Sector Number of Heads Number of Disks Logical Layout Number of Heads 4k 2 1 4k 2 1 16 16 Number of Sectors/ Track 63 63 16,383 16,383 976,773,168 625,142,448 500,107,862,016 320,072,933,376 Number of Cylinders Number of Sectors Total Logical Data Bytes Table 1 Formatted capacity by model number. 4.
Z5K500 OEM Specifications 4.3 Cylinder allocation Data format is allocated by each head characteristics. Typical format is described below. 500GB/p Mid BIP-Mid TPI format Zone 0 0 1 11375 2 22500 3 33375 4 44125 5 54625 6 64875 7 75000 8 84875 9 94500 10 104000 11 113250 12 122250 13 131125 14 139750 15 148125 16 156375 17 164375 18 172125 19 179625 20 187000 21 194125 22 201000 23 207750 24 214250 25 220500 26 226625 27 232500 28 238125 29 243625 Table 3 Cylinder allocation No.
Z5K500 OEM Specifications 4.4 Performance characteristics Hard disk drive performance is characterized by the following parameters: Command Overhead Mechanical Positioning Seek Time Latency Data Transfer Speed Buffering Operation (Look ahead/Write Cache) Note: All the above parameters contribute to the hard disk drive performance. There are other parameters which contribute to the performance of the actual system.
Z5K500 OEM Specifications 4.4.1.2 Full stroke seek Command Type Read Write Table 6 Full stroke seek time Typical (ms) 25.0 25.0 Max. (ms) 30.0 30.0 Full stroke seek time in milli-seconds is the average time of 1000 full stroke seeks. 4.4.1.3 Single track seek time (without command overhead, including settling) Command Type Read Write Table 7 Single track seek time Typical (ms) 1.0 1.1 Maximum (ms) 2.0 2.
Z5K500 OEM Specifications Operating modes 4.4.2 Operating mode Description Start up time period from spindle stop or power down. Spin-Up Seek Seek operation mode Write Write operation mode Read Read operation mode Performance idle The device is capable of responding immediately to media access requests. All electronic components remain powered and the full frequency servo remains operational. Standby The device interface is capable of accepting commands. The spindle motor is stopped.
Z5K500 OEM Specifications 5 Data integrity 5.1 Data loss on power off Data loss will not be caused by a power off during any operation except write operation. A power off during a write operation causes the loss of any received or resident data that has not been written onto disk media. A power off during a write operation might make a maximum of one sector of data unreadable. This state can be recovered by a rewrite operation. 5.
Z5K500 OEM Specifications 5.5 Data buffer test The data buffer is tested at power on reset and when the hard disk drive self-test is requested by the host. The test consists of a write/read '00'x and 'ff'x pattern on all buffers. 5.6 Error recovery Errors occurring on the hard disk drive are handled by the error recovery procedure. Errors that are uncorrectable after application of the error recovery procedure are reported to the host system as non-recoverable errors. 5.
Z5K500 OEM Specifications 6 Specification 6.1 Environment Temperature and humidity 6.1.1 Operating conditions Temperature 0 to 60°C (See note below) Relative humidity 8 to 90% non-condensing Maximum wet bulb temperature 29.
Z5K500 OEM Specifications 6.1.2 Corrosion test The hard disk drive must be functional and show no signs of corrosion after being exposed to a temperature humidity stress of 50°C/90%RH (relative humidity) for one week followed by a temperature and humidity drop to 25'C/40%RH in 2 hours. 6.1.3 Radiation noise The hard disk drive shall work without degradation of the soft error rate under the following magnetic flux density limits at the enclosure surface.
Z5K500 OEM Specifications 6.2 DC power requirements Connection to the product should be made in a safety extra low voltage (SELV) circuits. The voltage specifications are applied at the power connector of the hard disk drive. Item Nominal supply Supply voltage 1 Power supply ripple (0–20 MHz) 2 Tolerance Supply rise time Requirements +5 Volt dc –0.3 Volt to 6.0 Volt 100 mV p-p max.
Z5K500 OEM Specifications 6.3 6.3.1 Reliability Data reliability Probability of not recovering data is 1 in 1014 bits read 6.3.2 Failure prediction (S.M.A.R.T.) The hard disk drive supports Self-monitoring, analysis and reporting technology (S.M.A.R.T.) function. 6.3.
Z5K500 OEM Specifications Load/unload 6.3.6 The product supports a minimum of 600,000 normal load/unloads. Load/unload is a functional mechanism of the hard disk drive. It is controlled by the hard disk drive micro code. Specifically, unloading of the heads is invoked by the following commands: Standby Standby immediate Sleep Load/unload is also invoked as one of the idle modes of the hard disk drive.
Z5K500 OEM Specifications 6.3.6.4 Test considerations Start/stop testing is classically performed to verify head/disk durability. The heads do not land on the disk, so this type of test should be viewed as a test of the load/unload function. Start/Stop testing should be done by commands through the interface, not by power cycling of the hard disk drive. Simple power cycling of the hard disk drive invokes the emergency unload mechanism and subjects the HDD to non-typical mechanical stress.
Z5K500 OEM Specifications 6.4 6.4.1 Mechanical specifications Physical dimensions and weight The following figure lists the dimensions for the hard disk drive. Model Height (mm) 500GB, 320GB models 6.8±0.2 Table 16 Physical dimensions and weight 6.4.2 Width (mm) 69.85±0.25 Length (mm) 100.2±0.25 Mounting hole locations The mounting hole locations and size of the hard disk drive are shown below.
Z5K500 OEM Specifications 6.4.3 Connector description Connector specifications are included in section 7.2, "Interface connector". 6.4.4 Mounting orientation The hard disk drive will operate in all axes (six directions) and will stay within the specified error rates when tilted ± 5 degrees from these positions. Performance and error rate will stay within specification limits if the hard disk drive is operated in the other permissible orientations from which it was formatted.
Z5K500 OEM Specifications 6.5 Vibration and shock All vibration and shock measurements in this section are for hard disk drives without mounting attachments for systems. The input level shall be applied to the normal mounting points. Vibration tests and shock tests are to be conducted by mounting the hard disk drive to a table using the bottom or side four mounting holes. 6.5.
Z5K500 OEM Specifications Non-operating vibration 6.5.2 The hard disk drive withstands the following vibration levels without any loss or permanent damage. 6.5.2.1 Random vibration The test consists of a random vibration applied in each of three mutually perpendicular axes for a duration of 15 minutes per axis. The PSD levels for the test simulating the shipping and relocation environment is shown below. Hz (m2/sec4)/Hz 2.5 0.096 5 2.88 40 1.73 500 1.
Z5K500 OEM Specifications 6.6 Acoustics Sound power level 6.6.1 The criteria of A-weighted sound power level are described below. Measurements are to be taken in accordance with ISO 7779. The mean of the sample of 40 hard disk drives is to be less than the typical value. Each hard disk drive is to be less than the maximum value. The hard disk drives are to meet this requirement in both board down orientations. A-weighted Sound Power Typical (Bels) Maximum (Bels) Idle 1.9 2.2 Operating 2.1 2.
Z5K500 OEM Specifications 6.7 Identification labels The following labels are affixed to every hard disk drive: A label which is placed on the top of the head disk assembly containing the statement "Made by HGST" or equivalent, part number. A bar code label which is placed on the hard disk drive based on user request. The location on the hard disk drive is to be designated in the drawing provided by the user.
Z5K500 OEM Specifications 6.9 6.9.1 Safety UL and CSA approval All models of the Travelstar Z5K500 are qualified per UL60950-1: 2nd edition (2007-03-27), CSA C22.2 No.60950-1-07:2nd edition (2007-03) 6.9.2 IEC compliance All models of the Travelstar Z5K500 comply with IEC 60950-1: 2005 (2nd edition). 6.9.3 German Safety Mark All models of the Travelstar Z5K500 are approved by TUV on Test Requirement: EN 60950-1:2006+A11,, but the GS mark has not been obtained. 6.9.
Z5K500 OEM Specifications 7 Electrical interface specifications 7.1 Cabling The maximum cable length from the host system to the hard disk drive plus circuit pattern length in the host system shall not exceed 1 meter. 7.2 Interface connector The figure below shows the physical pin location. Figure 3 Interface connector pin assignments All pins are in a single row, with a 1.27 mm(.050”) pitch. The comments on the mating sequence in Table in the section 7.
Z5K500 OEM Specifications 7.3 Signal definitions The pin assignments of interface signals are listed as follows: Signal No. S1 S2 S3 S4 S5 S6 S7 GND A+ AGnd BB+ Gnd Plug Connector pin definition 2nd mate Differential signal A from Phy 2nd mate Differential signal B from Phy 2nd mate Key and spacing separate signal and power segments P1 V33 3.3V power P2 V33 3.3V power P3 V33 3.
Z5K500 OEM Specifications Out of band signaling 7.3.3 Figure 4 shows the timing of COMRESET, COMINIT and COMWAKE. t1 COMRESET/COMINIT t2 t3 COMWAKE t4 PARAMETER DESCRIPTION Nominal (ns) T1 ALIGN primitives 106.7 T2 Spacing 320 T3 ALIGN primitives 106.7 T4 Spacing 106.
Z5K500 OEM Specifications Part 2 Interface Specification 39
Z5K500 OEM Specifications 8 General 8.1 Introduction This specification describes the host interface of HTE5450xxA7Ex80. The interface conforms to following Working Document of Information technology with certain limitations described in the chapter 0“Deviations from Standard”. Serial ATA International Organization: Serial ATA Revision 2.
Z5K500 OEM Specifications 9 Deviations from Standard The device conforms to the referenced specifications, with deviations described below. The interface conforms to the Working Document of Information Technology, AT Attachment 8 – ATA/ATAPI Command Set (ATA/ATAPI8-ACS) with deviation as follows: S.M.A.R.T. Return Status Check Power Mode S.M.A.R.T. RETURN STATUS subcommand does not check advisory attributes.
Z5K500 OEM Specifications 11 Registers In Serial ATA, the host adapter contains a set of registers that shadow the contents of the traditional device registers, referred to as the Shadow Register Block. Shadow Register Block registers are interface registers used for delivering commands to the device or posting status from the device. About details, please refer to the Serial ATA Specification.
Z5K500 OEM Specifications 11.2 Command register This register contains the command code being sent to the device. Command execution begins immediately after this register is written. The command set is shown in “Table 40 Command set” on page 70. All other registers required for the command must be set up before writing the Command Register. 11.3 Device Control Register Device Control Register 7 6 5 Table 25 Device Control Register Bit Definitions SRST (RST) -IEN 11.
Z5K500 OEM Specifications 11.5 Error Register Error Register 7 6 CRC UNC Table 27 Error Register 5 0 4 IDNF 3 0 2 ABRT 1 TK0NF 0 AMNF This register contains status from the last command executed by the device, or a diagnostic code. At the completion of any command except Execute Device Diagnostic, the contents of this register are valid always even if ERR=0 in the Status Register.
Z5K500 OEM Specifications 11.10 Sector Count Register This register contains the number of sectors of data requested to be transferred on a read or write operation between the host and the device. If the value in the register is set to 0, a count of 256 sectors (in 28-bit addressing) or 65,536 sectors (in 48-bit addressing) is specified. If the register is zero at command completion, the command was successful.
Z5K500 OEM Specifications 12 General Operation Descriptions 12.1 Reset Response There are three types of reset in ATA as follows: The device executes a series of electrical circuitry diagnostics, spins up the HDA, tests speed and other mechanical parametric, and sets default values. COMRESET is issued in Serial ATA bus. COMRESET The device resets the interface circuitry as well as Soft Reset. Soft Reset (Software Reset) SRST bit in the Device Control Register is set, then is reset.
12.1.1 Register Initialization Z5K500 OEM Specifications After power on, COMRESET, or software reset, the register values are initialized as shown in the following table. Register Error Sector Count LBA Low LBA Mid LBA High Device Status Alternate Status Table 30 Default Register Values Default Value Diagnostic Code 01h 01h 00h 00h 00h 50h 50h The meaning of the Error Register diagnostic codes resulting from power on, COMRESET or the Execute Device Diagnostic command are shown in the following table.
Z5K500 OEM Specifications 12.3 12.3.1 Power-off considerations Load/Unload Load/Unload is a functional mechanism of the HDD. It is controlled by the drive microcode. Specifically, unloading of the heads is invoked by the commands: Command Standby Standby immediate Sleep Response UL -> Comp. UL -> Comp. UL -> Comp. “UL” means “unload”. “Comp” means “complete”. Table 33 Device’s behavior by ATA commands Load/unload is also invoked as one of the idle modes of the drive.
Z5K500 OEM Specifications 12.4 Sector Addressing Mode All addressing of data sectors recorded on the device’s media is by a logical sector address. The logical CHS address for HTE5450xxA7Ex80 is different from the actual physical CHS location of the data sector on the disk media. HTE5450xxA7Ex80 support both Logical CHS Addressing Mode and LBA Addressing Mode as the sector addressing mode.
Z5K500 OEM Specifications 12.5 Power Management Feature The power management feature set permits a host to modify the behavior in a manner which reduces the power required to operate. The power management feature set provides a set of commands and a timer that enables a device to implement low power consumption modes. HTE5450xxA7Ex80 implements the following set of functions. 1. 2. 3. 4. 5. 6.
Z5K500 OEM Specifications 12.5.5 Interface Capability for Power Modes Each power mode affects the physical interface as defined in the following table: Mode Active Idle Standby Sleep Table 34 Power conditions BSY x 0 0 x RDY x 1 1 x Interface active Yes Yes Yes No Media Active Active Inactive Inactive Ready(RDY) is not a power condition. A device may post ready at the interface even though the media may not be accessible. 12.5.
Z5K500 OEM Specifications 12.6 Interface Power Management Mode(Slumber and Partial) Interface Power Management Mode is supported by both Device-initiated interface power management and Host-initiated interface power management. Please refer to the Serial ATA Specification about Power Management Mode. 12.7 S.M.A.R.T. Function The intent of Self-monitoring, analysis and reporting technology (S.M.A.R.
Z5K500 OEM Specifications 12.7.6 S.M.A.R.T operation with power management modes The device saves attribute values automatically on every head unload timing except the emergency unload, even if the attribute auto save feature is not enabled. The head unload is done not only by Standby, Standby Immediate, or Sleep command, but also by the automatic power saving functions like ABLE-3 or Standby timer.
Z5K500 OEM Specifications 12.8 Security Mode Feature Set Security Mode Feature Set is a powerful security feature. With a device lock password, a user can prevent unauthorized access to hard disk device even if the device is removed from the computer. New commands are supported for this feature as below. Security Set Password Security Unlock Security Erase Prepare Security Erase Unit Security Freeze Lock Security Disable Password 12.8.
12.8.4 Master Password Revision Code Z5K500 OEM Specifications This Master Password Revision Code is set by Security Set Password command with the master password. And this revision code field is returned in the Identify Device command word 92. The valid revision codes are 0001h to FFFEh. The default value of Master Password Revision Code is FFFEh. Value 0000h and FFFFh is reserved. 12.8.5 12.8.5.
Z5K500 OEM Specifications 12.8.5.3 Operation from POR after User Password is set When Device Lock Function is enabled, the device rejects media access command until a Security Unlock command is successfully completed. (*1) refer to Table 35 Command table for device lock operation on Page 58 and Table 36 Command table for device lock operation - continued on Page 59.
Z5K500 OEM Specifications 12.8.5.4 User Password Lost If the User Password is forgotten and High level security is set, the system user can’t access any data. However the device can be unlocked using the Master Password. If a system user forgets the User Password and Maximum security level is set, data access is impossible. However the device can be unlocked using the Security Erase Unit command to unlock the device and erase all user data with the Master Password. Figure 7 Password Lost 12.8.5.
12.8.6 Z5K500 OEM Specifications Command Table This table shows the device’s response to commands when the Security Mode Feature Set (Device lock function) is enabled.
Z5K500 OEM Specifications Command Set Max Address Set Max Address Ext Set Max Freeze Lock Set Max Lock Set Max Set Password Set Max Unlock Set Multiple Mode Sleep S.M.A.R.T. Disable Operations S.M.A.R.T. Enable/Disable Automatic Offline S.M.A.R.T. Enable/Disable Attribute Autosave S.M.A.R.T. Enable Operations S.M.A.R.T. Execute Off-line Immediate S.M.A.R.T. Read Attribute Values S.M.A.R.T. Read Attribute Thresholds S.M.A.R.T. Read Log Sector S.M.A.R.T. Write Log Sector S.M.A.R.T. Return Status S.M.A.R.T.
Z5K500 OEM Specifications 12.9 Protected Area Function Protected Area Function is to provide the ‘protected area’ which can not be accessed via conventional method. This ‘protected area’ is used to contain critical system data such as BIOS or system management information. The contents of entire system main memory may also be dumped into ‘protected area’ to resume after system power off. The LBA/CYL changed by following command affects the Identify Device Information.
Z5K500 OEM Specifications 3. Advanced usage using protected area The data in the protected area is accessed by following. Issue Read Native Max Address command to get the real device max LBA/CYL. Returned value shows that native device Max LBA is 0FFFFFh regardless of the current setting. Make entire device be accessible including the protected area by setting device Max LBA as 0FFFFFh via Set Max Address command with volatile option.
Z5K500 OEM Specifications Figure 8 Set Max security mode transition 62
Z5K500 OEM Specifications 12.10 Write Cache Function Write cache is a performance enhancement whereby the device reports completion of the write command (Write Sector(s) and Write Multiple) to the host as soon as the device has received all of the data into its buffer. The device assumes responsibility to write the data subsequently onto the disk. While writing data after completed acknowledgment of a write command, soft reset or COMRESET does not affect its operation.
Z5K500 OEM Specifications 12.12 48-bit Address Feature Set The 48-bit Address feature set allows devices with capacities up to 281,474,976,710,655 sectors. This allows device capacity up to 144,115,188,075,855,360 bytes. In addition, the number of sectors that may be transferred by a single command are increased by increasing the allowable sector count to 16 bits.
Z5K500 OEM Specifications 12.13 Software Setting Preservation Feature Set When a device is enumerated, software will configure the device using Set Features and other commands. These software settings are often preserved across software reset but not necessarily across hardware reset. In Parallel ATA, only commanded hardware resets can occur, thus legacy software only reprograms settings that are cleared for the particular type of reset it has issued.
Z5K500 OEM Specifications 12.14 Native Command Queuing Native Command Queuing feature (Read / Write FPDMA Queued commands) is supported. Please refer to the Serial ATA II Specification about Native Command Queuing. The host shall not issue a legacy ATA command while a native queued command is outstanding. Upon receiving a legacy ATA command while a native queued command is outstanding, the device aborts the command and halts command processing of outstanding native queued commands. 12.
Z5K500 OEM Specifications 13 Command Protocol The commands are grouped into different classes according to the protocols followed for command execution. The command classes with their associated protocols are defined below. Please refer to Serial ATA Revision 2.6 (Section 11. device command layer protocol) about each protocol. For all commands, the host must first check if BSY=1, and should proceed no further unless and until BSY=0. For all commands, the host must also wait for RDY=1 before proceeding.
Z5K500 OEM Specifications 13.2 Data Out Commands These commands are: Device Configuration Set Download Microcode Format Track Security Disable Password Security Erase Unit Security Set Password Security Unlock Set Max Set Password Set Max Unlock S.M.A.R.
Z5K500 OEM Specifications Sleep S.M.A.R.T. Disable Operations S.M.A.R.T. Enable/Disable Attribute Autosave S.M.A.R.T. Enable/Disable Automatic Off-line S.M.A.R.T. Enable Operations S.M.A.R.T. Execute Off-line Immediate S.M.A.R.T. Return Status S.M.A.R.T. Save Attribute Values Standby Standby Immediate Write Uncorrectable Ext Execution of these commands involves no data transfer. 13.
Z5K500 OEM Specifications 14 Command Descriptions Protocol Command Code (Hex) E5 98 B1 B1 B1 B1 92 90 E7 EA 50 F7 EC E3 97 E1 95 E1 91 E4 C8 C9 25 60 2F 47 C4 29 F8 27 20 21 24 40 41 42 1x F6 F3 F4 F5 F1 F2 7x F0 EF 3 Check Power Mode 3 Check Power Mode* 3 Device Configuration Restore 3 Device Configuration Freeze Lock 1 Device Configuration Identify 2 Device Configuration Set 2 Download Microcode 3 Execute Device Diagnostic 3 Flush Cache 3 Flush Cache Ext 2 Format Track 3+ Format Unit 1 Identify Device
Z5K500 OEM Specifications Protocol 3 3 3 3 2 2 3 3 3 3 3 3 3 3 1 1 1 3 3 2 3 3 3 3 2 4 4 4 4 5 2 4 2 2 2 2 2 2 3 Protocol : Command Set Max Address Set Max Address Ext Set Max Freeze Lock Set Max Lock Set Max Set Password Set Max Unlock Set Multiple Mode Sleep Sleep* S.M.A.R.T. Disable Operations S.M.A.R.T. Enable/Disable Attribute Auto save S.M.A.R.T. Enable/Disable Automatic Off-line S.M.A.R.T. Enable Operations S.M.A.R.T. Execute Off-line Immediate S.M.A.R.T. Read Attribute Values S.M.A.R.T.
Z5K500 OEM Specifications Commands marked * are alternate command codes for previously defined commands. Command (Subcommand) (S.M.A.R.T Function) S.M.A.R.T. Read Attribute Values S.M.A.R.T. Read Attribute Thresholds S.M.A.R.T. Enable/Disable Attribute Autosave S.M.A.R.T. Save Attribute Values S.M.A.R.T. Execute Off-line Immediate S.M.A.R.T. Read Log Sector S.M.A.R.T. Write Log Sector S.M.A.R.T. Enable Operations S.M.A.R.T. Disable Operations S.M.A.R.T. Return Status S.M.A.R.T.
Z5K500 OEM Specifications The following symbols are used in the command descriptions: Output Registers Indicates that the bit must be set to 0. 0 Indicates that the bit must be set to 1. 1 Head number. Indicates that the head number part of the Device Register is an output parameter H and should be specified. LBA mode. Indicates the addressing mode. Zero specifies CHS mode and one does LBA L addressing mode. Retry. Original meaning is already obsolete, there is no difference between 0 and 1.
Z5K500 OEM Specifications 14.1 Check Power Mode (E5h/98h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 0 3 0 2 1 1 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.2 Device Configuration Overlay (B1h) Command Block Output Registers Register 7 6 5 Data - - Feature 1 0 1 Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 0 1 4 0 1 3 V 0 2 V 0 1 V 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low - - - - - - LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.2.3 DEVICE CONFIGURATION IDENTIFY (subcommand C2h) 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.
Z5K500 OEM Specifications Word Content 0002h 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 2 Ultra DMA modes supported 15-6 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
Z5K500 OEM Specifications LBA High LBA Mid LBA Low Sector count invalid word location invalid bit location (bits (7:0)) invalid bit location (bits (15:8)) error reason code & description 01h DCO feature is frozen 02h Device is now Security Locked mode 03h Device’s feature is already modified with DCO 04h User attempt to disable any feature enabled 05h Device is now SET MAX Locked or Frozen mode 06h Protected area is now established 07h DCO is not supported 08h Subcommand code is invalid FFh other reason Ta
Z5K500 OEM Specifications 14.3 Download Microcode (92h) Command Block Output Registers Register 7 6 5 Data - - Feature V V V Sector Count V V V LBA Low V V V LBA Mid V V V LBA High V V V Device - - Command 1 0 0 4 V V V V V 1 3 V V V V V 0 2 V V V V V 0 1 V V V V V 1 0 V V V V V 0 Error Register 7 8 9 10 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN 0 V 0 0 0 V 0 0 Table 48 Download Command (92h) Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below...
Z5K500 OEM Specifications When the device detects the last download microcode command for the firmware download the device will perform any device required verification and save the complete set of downloaded microcode. If the device receives a command other than download microcode prior to the receipt of the last segment the new command is executed and all previously downloaded microcode is discarded.
Z5K500 OEM Specifications 14.4 Execute Device Diagnostic (90h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 0 0 4 1 3 0 2 0 1 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.5 Flush Cache (E7h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 7 6 CRC UNC 4 0 3 0 2 1 Error Register 5 4 3 2 1 0 IDN 0 ABT T0N 0 0 0 0 0 V Table 50 Flush Cache Command (E7h) 0 1 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.7 Format Track (50h: Vendor Specific) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 0 1 0 4 V V V 1 3 V V V H 0 2 V V V H 0 1 V V V H 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...See Below...
Z5K500 OEM Specifications 14.8 Format Unit (F7h: Vendor Specific) Command Block Output Registers Register 7 6 5 Data - - Feature V V V Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 V 1 3 V 0 2 V 1 1 V 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.9 Identify Device (ECh) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 0 3 1 2 1 1 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications Word Description Drive classification, bit assignments: 15 (=0): 1=ATAPI device, 0=ATA device * 14 (=0): 1=format speed tolerance gap required * 13 (=0): 1=track offset option available * 12 (=0): 1=data strobe offset option available * 11 (=0): 1=rotational speed tolerance > 0.
Z5K500 OEM Specifications Word 48 Content 4000H Description Trusted Computing feature set options 15(=0) Always 0 14(=1) Always 1 13- 1(=0) Reserved 0(=0) 1=Trusted Computing feature set is supported 49 2F00H Capabilities, bit assignments: 15-14 (=0) Reserved 13 (=1) 1= Standby timer value as specified in ATA standard are supported.
Z5K500 OEM Specifications Word 63 Content 0x07H Description Multiword DMA Transfer Capability 15-11(=0) Reserved 10 1=Multiword DMA mode 2 is selected 9 1=Multiword DMA mode 1 is selected 8 1=Multiword DMA mode 0 is selected 7- 3 (=0) Reserved 2 (=1) 1=Multiword DMA mode 2 is supported 1 (=1) 1=Multiword DMA mode 1 is supported 0 (=1) 1=Multiword DMA mode 0 is supported 64 0003H Flow Control PIO Transfer Modes Supported 15- 8 (=0) Reserved 7- 0 (=3) Advanced PIO Transfer Modes Supported ‘11’ = PIO Mode 3
Z5K500 OEM Specifications Word 78 Content 005EH Description SATA supported features 15-7(=0) Reserved 6(=1) 1=Software setting preservation supported 5(=0) Reserved 4(=1) 1=In-order data delivery supported 1=Device initiated interface power management 3(=1) supported 2(=1) 1=DMA Setup Auto-Activate optimization supported 1(=1) 1=Non-zero buffer offset in DMA Setup FIS supported 0(=0) Reserved 79 00xxH SATA enabled features 15-7(=0) Reserved 6(=x) 1=Software setting preservation enabled 5(=0) Reserved 4(=x
Z5K500 OEM Specifications Word 83 Content 7D69H Description Command set supported 15 (=0) Always 14 (=1) Always 13 (=1) 1=FLUSH CACHE EXT command supported 12 (=1) 1=FLUSH CACHE command supported 11 (=1) 1=Device Configuration Overlay command supported 10 (=1) 1=48-bit Address feature set supported 9 (=0) Reserved.
Z5K500 OEM Specifications Word 85 Content 74xxH Description Command set/feature enabled 15 (=0) Obsolete 14 (=1) 1=NOP command supported 13 (=1) 1=READ BUFFER command supported 12 (=1) 1=WRITE BUFFER command supported 11 (=0) Reserved 10 (=1) 1=Host Protected Area Feature Set supported 9 (=0) 1=DEVICE RESET command supported 8 (=0) 1=SERVICE interrupt enabled 7 (=0) 1=release interrupt enabled 6 (=x) 1=look-ahead enabled 5 (=x) 1=write cache enabled 4 (=0) 1=supports PACKET Command Feature Set 3 (=1) 1=su
Z5K500 OEM Specifications Word 87 Content 6163H Description Command set/feature enabled 15 (=0) Always 14 (=1) Always 13 (=1) 1=IDLE IMMEDIATE with UNLOAD FEATURE supported 12- 9 (=0) Reserved 8 (=1) 1=64 bit World wide name supported 7 (=0) 1=WRITE DMA QUEUED FUA EXT command supported 6 (=1) 1=WRITE DMA FUA EXT and WRITE MULTIPLE FUA EXT command supported 5 (=1) 1=General Purpose Logging feature set supported 4- 2 (=0) Reserved 1 (=1) 1=SMART self-test supported 0 (=1) 1=SMART error logging supported 88
Z5K500 OEM Specifications Word 92 93 94 95 96 97 98-99 100-103 104 105 106 107 108-111 112-116 117-118 119 Content xxxxH 0000H 0000H 0000H 0000H 0000H 0000H Note.
Z5K500 OEM Specifications Word 129 Content 000xH Description * Current Set Feature Option. Bit assignments 15-4(=0) Reserved 3(=x) 1=Auto reassign enabled 2(=x) 1=Reverting enabled 1(=x) 1=Read Look-ahead enabled 0(=x) 1=Write Cache enabled 130 xxxxH * Reserved 131 000xH * Initial Power Mode Selection.
Z5K500 OEM Specifications Model Number in ASCII Number of cylinders Number of heads Total number of user addressable sectors (word 60-61) HGST HGST HTE545050A7Ex80 HTE545032A7Ex80 3FFFh 10h FFFFFFFh 3FFFh 10h FFFFFFFh Maximum user LBA address for 48-bit 3A386030h Address feature set (word 100-103) 2542EAB0h Table 64 Number of cylinders/heads/sectors by models for HTE5450xxA7Ex80 96
Z5K500 OEM Specifications 14.10 Idle (E3h/97h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 V 0 3 V 0 2 V 0 1 V 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.11 Idle Immediate (E1h/95h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 0 3 0 2 0 1 0 0 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.12 Initialize Device Parameters (91h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 0 0 4 V 1 3 V H 0 2 V H 0 1 V H 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.13 Read Buffer (E4h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 0 3 0 2 1 1 0 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.14 Read DMA(C8h/C9h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 1 1 0 4 V V V V 0 3 V V V V H 1 2 V V V V H 0 1 V V V V H 0 0 V V V V H R Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...See Below...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications If the feature set associated with the log specified in the Sector Number register is not supported or enabled, or if the values in the Sector Count, Sector Number or Cylinder Low registers are invalid, the device shall return command aborted. 14.17.1 General purpose Log Directory The following table defines the 512 bytes that make up the General Purpose Log Directory.
Z5K500 OEM Specifications 14.17.2.1 Error Log version The value of this version shall be 01h. 14.17.2.2 Error log index This indicates the error log data structure representing the most recent error. If there have been no error log entries, it is cleared to 0. Valid values for the error log index are 0 to 4. 14.17.2.3 Extended Error log data structure An error log data structure shall be presented for each of the last four errors reported by the device.
Z5K500 OEM Specifications Error data structure: Data format of error data structure is shown below.
Z5K500 OEM Specifications 14.17.3 Extended Self-test log sector The following table defines the format of each of the sectors that comprise the Extended SMART self-test log. The Extended SMART self-test log sector shall support 48-bit and 28-bit addressing. All 28-bit entries contained in the SMART self-test log, defined in “Self-test log data structure” shall also be included in the Extended SMART self-test log with all 48-bit entries.
Z5K500 OEM Specifications 14.17.4 Command Error The following table defines the format of the Command Error data structure.
Z5K500 OEM Specifications Phy Event Counter 14.17.5 Phy Event Counters are a feature to obtain more information about Phy level events that occur on the interface. The counter values are not retained across power cycles. The counter values are preserved across COMRESET and software resets. 14.17.5.1 Counter Reset Mechanisms There are 2 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.
Z5K500 OEM Specifications 14.17.5.3 Read Log Ext Log Page 11h The following table defines the format of the Phy Event counter data structure.
Z5K500 OEM Specifications The Data Structure Checksum (Byte 511) contains the 2’s complement of the sum of the first 511 bytes in the data structure. The sum of all 512 bytes of the data structure will be zero when the checksum is correct.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.19 Read Multiple (C4h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 1 1 0 4 V V V V 0 3 V V V V H 0 2 V V V V H 1 1 V V V V H 0 0 V V V V H 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...See Below...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.21 Read Native Max Address (F8h) Block Output Registers Command Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - L Command 1 1 1 4 1 3 1 2 0 1 0 0 0 Error Register 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN 0 0 0 0 0 V 0 0 Table 87 Read Native Max Address Command (F8h) Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.23 Read Sector(s) (20h/21h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 0 0 1 4 V V V V 0 3 V V V V H 0 2 V V V V H 0 1 V V V V H 0 0 V V V V H R Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.25 Read Verify Sector(s) (40h/41h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 0 0 1 4 V V V V 0 3 V V V V H 0 2 V V V V H 0 1 V V V V H 0 0 V V V V H R Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.27 Recalibrate (1xh) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 0 0 0 4 1 3 - 2 - 1 - 0 - Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.28 Security Disable Password (F6h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 1 3 0 2 1 1 1 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.29 Security Erase Prepare (F3h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 1 3 0 2 0 1 1 0 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.30 Security Erase Unit (F4h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 1 3 0 2 1 1 0 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications The execution time of this command is set in Word 89 of Identify Device data information. The execution time of this command is set in Word 90 of Identify Device data information. In case of the FDE model, the execution time in Enhanced Erase mode is less than 1 minutes.
Z5K500 OEM Specifications 14.31 Security Freeze Lock (F5h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 1 3 0 2 1 1 0 0 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.32 Security Set Password (F1h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 1 3 0 2 0 1 0 0 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications The setting of the Identifier and Security level bits interact as follows. Identifier=User / Security level = High The password supplied with the command will be saved as the new user password. The security mode feature (lock function) will be enabled from the next power on. The file may then be unlocked by either the user password or the previously set master password.
Z5K500 OEM Specifications 14.33 Security Unlock (F2h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 1 3 0 2 0 1 1 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.34 Seek (7xh) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 0 1 1 4 V V V 1 3 V V V H - 2 V V V H - 1 V V V H - 0 V V V H - Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...See Below...
Z5K500 OEM Specifications 14.35 Sense Condition (F0h : vendor specific) Command Block Output Registers Register 7 6 5 Data - - Feature 0 0 0 Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 0 1 3 0 0 2 0 0 1 0 0 0 1 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.36 Set Features (EFh) Command Block Output Registers Register 7 6 5 4 3 2 Data - - - - - Feature V V V V V V Sector Count Note.1 LBA Low - - - - - LBA Mid - - - - - LBA High - - - - - Device - - - - - Command 1 1 1 0 1 1 1 0 - V V 1 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications Note 1. When Feature register is 03h (=Set Transfer mode), the Sector Count Register specifies the transfer mechanism. The upper 5 bits define the type of transfer and the low order 3 bits encode the mode value.
Z5K500 OEM Specifications 14.37 Set Max Address (F9h) Command Block Output Registers Register 7 6 5 Data - - Feature V V V Sector Count - - LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 1 1 1 4 V V V V 1 3 V V V V H 1 2 V V V V H 0 1 V V V V H 0 0 V B V V V H 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...See Below...
Z5K500 OEM Specifications Output Parameters To The Device Destination code for this command Feature SET MAX SET PASSWORD 01h SET MAX LOCK 02h SET MAX UNLOCK 03h SET MAX FREEZE LOCK 04h When the Set Max ADDRESS command is executed, this register is ignored. Option bit for selection whether nonvolatile or volatile. B=0 is volatile B condition. When B=1, MAX LBA/CYL which is set by Set Max ADDRESS command is preserved by POR. When B=0, MAX LBA/CYL which is set by Set Max ADDRESS command will be lost by POR.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications LBA Mid (HOB=0) LBA Mid (HOB=1) LBA High (HOB=0) LBA High (HOB=1) Set Max LBA (15:8). Set Max LBA (39:32). Set Max LBA (23:16). Set Max LBA (47:40).
Z5K500 OEM Specifications 14.39 Set Multiple (C6h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 0 4 V 0 3 V 0 2 V 1 1 V 1 0 V 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.40 Sleep (E6h/99h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 0 3 0 2 1 1 1 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.41 S.M.A.R.T Function Set (B0h) Command Block Output Registers Register 7 6 5 Data - - Feature V V V Sector Count V V V LBA Low - - LBA Mid 0 1 0 LBA High 1 1 0 Device - - Command 1 0 1 4 V V 0 0 1 3 V V 1 0 0 2 V V 1 0 0 1 V V 1 1 0 0 V V 1 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications S.M.A.R.T. Enable/Disable Attribute Autosave (Subcommand D2h) This subcommand enables and disables the attribute autosave feature of the device. The S.M.A.R.T. Enable/Disable Attribute Autosave subcommand allows the device to automatically save its updated Attribute Values to the Attribute Data Sector; this subcommand causes the autosave feature to be disabled.
Z5K500 OEM Specifications SMART Selective self-test routine When the value in the LBA Low register is 4 or 132, the Selective self-test routine shall be performed. This self-test routine shall include the initial tests performed by the Extended self-test routine plus a selectable read scan. The host shall not write the Selective self-test log while the execution of a Selective self-test command is in progress. The user may choose to do read scan only on specific areas of the media.
Z5K500 OEM Specifications Low register shall abort Selective self-test regardless of where the device is in the execution of the command. If a second self-test is issued while a selective self-test is in progress, the selective self-test is aborted and the newly requested self-test is executed. S.M.A.R.T. Read Log Sector (Subcommand D5h) This command returns the specified log sector contents to the host. The 512 bytes data are returned at a command and the Sector Count value shall be set to one.
Z5K500 OEM Specifications S.M.A.R.T. Return Status (Subcommand DAh) This command is used to communicate the reliability status of the device to the host’s request. Upon receipt of the S.M.A.R.T. Return Status subcommand the device asserts BSY, saves any updated Attribute Values to the reserved sector and compares the updated Attribute Values to the Attribute Thresholds.
Z5K500 OEM Specifications 14.41.2 Device Attributes Data Structure The following defines the 512 bytes that make up the Attribute Value information. This data structure is accessed by the host in its entirety using the S.M.A.R.T. Read Attribute Values subcommand. All multi-byte fields shown in these data structures follow the ATA/ATAPI-6 specification for byte ordering, namely that the least significant byte occupies the lowest numbered byte address location in the field.
Z5K500 OEM Specifications 14.41.2.2 Individual Attribute Data Structure The following defines the 12 bytes that make up the information for each Attribute entry in the Device Attribute Data Structure.
Z5K500 OEM Specifications Status Flag Definitions: Bit Flag Name 0 Pre-Failure/Advisory bit Definition If bit = 0, an Attribute Value less than or equal to its corresponding Attribute Threshold indicates an Advisory condition where the usage or age of the device has exceeded its intended design life period. If bit = 1, an Attribute Value less than or equal to its corresponding Attribute Threshold indicates a Pre-Failure condition where imminent loss of data is being predicted.
Z5K500 OEM Specifications 14.41.2.3 Off-Line Data Collection Status The value of this byte defines the current status of the off-line activities of the device. Bit 7 indicates Automatic Off-Line Data Collection Status. Bit 7 Automatic Off-Line Data Collection Status Automatic Off-Line Data Collection is disabled. 0 Automatic Off-Line Data Collection is enabled. 1 Bits 0 thru 6 represents a hexadecimal status value reported by the device.
Z5K500 OEM Specifications 14.41.2.7 Bit 0 1 2 3 4 5 6 7 Off-Line Data Collection Capability Definition Execute Off-line Immediate implemented bit 0 S.M.A.R.T. Execute Off-line Immediate subcommand is not implemented 1 S.M.A.R.T. Execute Off-line Immediate subcommand is implemented Enable/disable Automatic Off-line implemented bit 0 S.M.A.R.T. Enable/disable Automatic Off-line subcommand is not implemented 1 S.M.A.R.T.
Z5K500 OEM Specifications 14.41.3 Device Attribute Thresholds Data Structure The following defines the 512 bytes that make up the Attribute Threshold information. This data structure is accessed by the host in its entirety using the S.M.A.R.T. Read Attribute Thresholds. All multi-byte fields shown in these data structures follow the ATA/ATAPI-6 specification for byte ordering, namely that the least significant byte occupies the lowest numbered byte address location in the field.
Z5K500 OEM Specifications 14.41.3.4 Attribute Threshold These values are preset at the factory and are not meant to be changeable. However, the host might use “S.M.A.R.T. Write Attribute Threshold” subcommand to override these preset values in the Threshold sectors. 14.41.3.5 Data Structure Checksum The Data Structure Checksum is the 2’s compliment of the result of a simple 8-bit addition of the first 511 bytes in the data structure. 14.41.4 S.M.A.R.T.
Z5K500 OEM Specifications 14.41.5 S.M.A.R.T. error log sector The following defines the 512 bytes that make up the S.M.A.R.T. error log sector. All multi-byte fields shown in these data structures follow the ATA/ATAPI-6 specifications for byte ordering. Description Bytes Offset S.M.A.R.T.
Z5K500 OEM Specifications Error data structure: Data format of error data structure is shown below.
Z5K500 OEM Specifications 14.41.7 Selective self-test log data structure 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 contents of the Selective self-test log which is 512 bytes long. All multi-byte fields shown in these data structures follow the specifications for byte ordering.
Z5K500 OEM Specifications 14.42 Standby (E2h/96h) Command Block Output Registers Register 7 6 5 4 3 2 1 0 Data - - - - - - - Feature - - - - - - - Sector Count V V V V V V V V LBA Low - - - - - - - LBA Mid - - - - - - - LBA High - - - - - - - Device - - - - - - - Command 1 1 1 0 0 0 1 0 Error Register 7 6 5 4 3 2 1 0 CRC UNC 0 IDN 0 ABT T0N AMN 0 0 0 0 0 V 0 0 Table 126 Standby Command (E2h/96h) Command Block Input Registers Register 7 6 5 4 3 2 1 0 Data - - - - - - - Error ...See Below...
Z5K500 OEM Specifications 14.43 Standby Immediate (E0h/94h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 0 3 0 2 0 1 0 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.44 Write Buffer (E8h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count - - LBA Low - - LBA Mid - - LBA High - - Device - - Command 1 1 1 4 0 3 1 2 0 1 0 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count - - - - - - LBA Low - - - - - - LBA Mid - - - - - - LBA High - - - - - - Device - - - - - - Status ...See Below...
Z5K500 OEM Specifications 14.45 Write DMA (CAh/CBh) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 1 1 0 4 V V V V 0 3 V V V V H 1 2 V V V V H 0 1 V V V V H 1 0 V V V V H R Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...See Below...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.51 Write Multiple (C5h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 1 1 0 4 V V V V 0 3 V V V V H 0 2 V V V V H 1 1 V V V V H 0 0 V V V V H 1 Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...See Below...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.54 Write Sector(s) (30h/31h) Command Block Output Registers Register 7 6 5 Data - - Feature - - Sector Count V V V LBA Low V V V LBA Mid V V V LBA High V V V Device - L Command 0 0 1 4 V V V V 1 3 V V V V H 0 2 V V V V H 0 1 V V V V H 0 0 V V V V H R Command Block Input Registers Register 7 6 5 4 3 2 1 Data - - - - - - Error ...See Below... Sector Count V V V V V V V LBA Low V V V V V V V LBA Mid V V V V V V V LBA High V V V V V V V Device - - - - H H H Status ...
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications 14.
Z5K500 OEM Specifications Output Parameters To The Device Uncorrectable options Feature Current 55h : Create a pseudo uncorrectable error with logging AAh: Create a flagged error without logging Other: Reserved (command is aborted) The number of continuous sectors to be marked low order, bits (7:0). Sector Count Current Sector Count Previous The number of continuous sectors to be marked high order bits (15:8). If 0000h in the Sector Count register is specified, then 65,536 sectors will be transferred.
Z5K500 OEM Specifications 15 Timings The timing of BSY and DRQ in Status Register are shown in the following table. The other timings are described in Functional Specification part. FUNCTION INTERVAL START STOP TIMEOUT Device Ready Power On and COMRESET Status Register 31 sec Power On After Power On BSY=0 and RDY=1 and and sends a Register COMRESET FIS to the host.
Z5K500 OEM Specifications We recommend that the host system executes Soft reset and then retry to issue the command if the host system timeout would occur for the device. For SECURITY ERASE UNIT command, the execution time is referred to “14.30 (Note.1) Security Erase Unit (F4h)” on Page 125. FORMAT UNIT command, the execution time is referred to “14.8 Format Unit (F7h: (Note.2) Vendor Specific)” on Page 85.