Deskstar 7K500 and Deskstar E7K500 Hard Disk Drive Specification
201
Off-line mode: The device executes command completion before executing the specified routine. During execu-
tion of the routine the device will not set BSY nor clear DRDY. If the device is in the process of performing its rou-
tine and is interrupted by a new command from the host, the device will abort or suspend its routine and service the
host within two seconds after receipt of the new command. After servicing the interrupting command, the device
will resume its routine automatically or not start its routine depending on the interrupting command.
Captive mode: When executing self-test in captive mode, the device sets BSY to one and executes the specified
self-test routine after receipt of the command. At the end of the routine the device sets the execution result in the
Self-test execution status byte (see Table 150: “Device Attribute Data Structure” on page 203) and ATA registers
as defined below and then executes the command completion.
12.42.1.6 S.M.A.R.T. Read Log Sector (subcommand D5h)
This command returns the specified log sector contents to the host.
The 512 bytes of data are returned at a command and the Sector Count value shall be set to one. The Sector Num-
ber shall be set to specify the log sector address.
Note: Log addresses 03h and 07h are used by the Read Log Ext and Write Log Ext commands. If these log
addresses are used with the SMART Read Log Sector command, the device shall return command aborted.
12.42.1.7 S.M.A.R.T. Write Log Sector (subcommand D6h)
This command writes 512 bytes of data to the specified log sector.
The 512 bytes of data are transferred at a command and the Sector Count value shall be set to one. The Sector
Number shall be set to specify the log sector address as shown above. If a Read Only log sector is specified, the
device returns ABRT error.
12.42.1.8 S.M.A.R.T. Enable Operations (subcommand D8h)
This subcommand enables access to all S.M.A.R.T. capabilities within the device. Prior to receipt of a S.M.A.R.T.
Enable Operations subcommand, Attribute Values are neither monitored nor saved by the device. The state of
S.M.A.R.T.—either enabled or disabled—will be preserved by the device across power cycles. When enabled, the
receipt of subsequent S.M.A.R.T. Enable Operations subcommands will not affect any of the Attribute Values.
Upon receipt of the SMART Enable Operations subcommand from the host the device enables S.M.A.R.T. capabil-
ities and functions and then saves any updated Attribute Values to the Attribute Data sector.
Status Set ERR to one when the self-test has failed
Error Set ABRT to one when the self-test has failed
Cyl Low Set to F4h when the self-test has failed
Cyl High Set to 2Ch when the self-test has failed
Log sector address Content Type
00h Log directory Read Only
01h S.M.A.R.T. Error Log Read Only
03h Extended Comprehensive SMART Error Log See note
06h S.M.A.R.T. Self-test Log Read Only
07h Extended Self-test Log See note
09h Selective self - test Log Read / Write
80h-9Fh Host vendor specific Read/Write