Текст страницы
12.6 Execute Device Diagnostic (90h)
Table 94 Execute Device Diagnostic Command (90h)
Command Input
Field
Description
FEATURE
N/A
COUNT
N/A
LBA
N/A
DEVICE
Bit Description
7 Obsolete
6 N/A
5 Obsolete
4 Transport Dependent
3:0 Reserved
Command
7:0 90h
Normal Outputs
Field
Description
ERROR
Diagnostic Results – The diagnostic code as described in Table 33 is returned.
COUNT
0x01
LBA
0x00ABCD01
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 or ALIGNMENT ERROR bit
1 SENSE DATA AVAILABLE bit
0
For ATAPI devices. the CHECK CONDITION bit
For ATA devices, be cleared to zero
The Execute Device Diagnostic command performs the internal diagnostic tests implemented by the device. The
results of the test are stored in the Error Register.
The normal Error Register bit definitions do not apply to this command. Instead, the register contains a diagnostic
code. See Table 33 for its definition.
149
Hard Disk Drive Specification