14.3 Execute Device Diagnostic (90h)
Command Block Output Registers
Register
Data
Feature
Sector Count
LBA Low
LBA Mid
LBA High
Device
Command
Error Register
7
6
5
4
CRC UNC
0
IDN
0
V
V
V
Figure 28 Execute Device Diagnostic Command (90h)
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 "Diagnostic Codes" on
Travelstar 5K160 (SATA) Hard Disk Drive Specification
7 6 5 4 3 2 1 0
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
-
-
-
- - - - -
1 0 0 1 0 0 0 0
3
2
1
0
0
ABT T0N
AM
N
V
V
V
V
Command Block Input Registers
Register
Data
Error
Sector Count
LBA Low
LBA Mid
LBA High
Device
Status
Status Register
7
6
5
BSY RDY
DF
DSC DRQ COR IDX ERR
0
0
0
Page 5
for the definition.
77/167
7 6 5 4 3 2 1 0
- - - - - - - -
...See Below...
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
...See Below...
4
3
2
1
-
-
0
0
0
0