Текст страницы
Error Outputs
Field
Description
ERROR
Bit Description
7:5 N/A
4 ID NOT FOUND bit
3 N/A
2 ABORT bit
1 N/A
0 Obsolete
COUNT
Reserved
LBA
Bit
Description
27:24
N/A
23:8
Value Description
C24Fh: Subcommand specified a captive self-test and some error other than a self-
test routine failure occurred (i.e., if the sub-command is not supported or
field values are invalid)
2CF4h: the subcommand specified a captive self-test routine that has failed during
processing.
All Other Values: the subcommand specified an off-line routine including an off-line
self-test routine.
7:0
N/A
DEVICE
Bit Description
7 Obsolete
6 N/A
5 Obsolete
4 Transport Dependent
3:0 Reserved
STATUS
Bit Description
7:6 Transport Dependent
5 DEVICE FAULT bit
4 N/A
3 Transport Dependent
2 N/A
1 SENSE DATA AVAILABLE bit
0 ERROR bit
The Sector Number register shall be set to specify the operation to be executed.
Subcommand
Operation to be executed
0
Execute SMART off-line data collection routine immediately
1
Execute SMART Short self-test routine immediately in off-line mode
2
Execute SMART Extended self-test routine immediately in off-line mode
4
Execute SMART Selective self-test routine immediately in off-line mode
127
Abort off-line mode self-test routine
129
Execute SMART Short self-test routine immediately in captive mode
130
Execute SMART Extended self-test routine immediately in captive mode
132
Execute SMART Selective self-test routine immediately in captive mode
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 performing 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 (See Table 230) and ATA registers as below and executes command completion.
305
Hard Disk Drive Specification