13.32.1.5 S.M.A.R.T. Execute Off-line Immediate (subcommand D4h)
This subcommand causes the device to immediately initiate the set of activities that collect Attribute data
in an off-line mode (off-line routine) or execute a self-test routine in either captive or off-line mode. The
Sector Number register shall be set to specify the operation to be executed.
Sector
Number Operation to be executed
Execute S.M.A.R.T. Extended self-test routine immediately in captive mode130
Execute S.M.A.R.T. Short self-test routine immediately in captive mode129
Abort off-line mode self-test routine127
Execute S.M.A.R.T. Extended self-test routine immediately in off-line mode2
Execute S.M.A.R.T. Short self-test routine immediately in off-line mode1
Execute S.M.A.R.T. off-line data collection routine immediately0
Off-line mode
:
The device executes command completion before executing the specified routine. During
execution of the routine the device will not set BSY nor clear DRDY. If the device is in the process of per-
forming its routine 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 (Figure 123 on page 170) and ATA registers—see
definitions below—and then executes the command completion.
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
13.32.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 Number shall be set to specify the log sector address.
Read/WriteHost vendor specific80h-9Fh
Read OnlyS.M.A.R.T. Self-test Log06h
Read OnlyS.M.A.R.T. Error Log01h
TypeContentLog sector address
Figure 122. Log sector addresses
13.32.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 (Figure 121). If a Read Only log sector is
specified, the device returns ABRT error.
Travelstar 60GH & 40GN hard disk drive specifications
167