
5K320 SATA OEM Specification
14.4 Execute Device Diagnostic (90h)
Command Block Output Registers |
|
|
|
|
|
|
|
|
|
|
|
| Command Block Input Registers |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
Register | 7 |
| 6 |
| 5 |
| 4 |
| 3 | 2 |
| 1 |
| 0 |
| Register | 7 |
| 6 |
|
| 5 |
| 4 |
| 3 |
| 2 |
| 1 | 0 |
Data | - |
| - |
| - |
| - |
| - | - |
| - |
| - |
| Data | - |
| - |
|
| - |
| - |
| - |
| - |
| - | - |
Feature | - |
| - |
| - |
| - |
| - | - |
| - |
| - |
| Error |
|
|
|
| ...See Below... |
|
| ||||||||
Sector Count | - |
| - |
| - |
| - |
| - | - |
| - |
| - |
| Sector Count | - |
| - |
|
| - |
| - |
| - |
| - |
| - | - |
LBA Low | - |
| - |
| - |
| - |
| - | - |
| - |
| - |
| LBA Low | - |
| - |
|
| - |
| - |
| - |
| - |
| - | - |
LBA Mid | - |
| - |
| - |
| - |
| - | - |
| - |
| - |
| LBA Mid | - |
| - |
|
| - |
| - |
| - |
| - |
| - | - |
LBA High | - |
| - |
| - |
| - |
| - | - |
| - |
| - |
| LBA High | - |
| - |
|
| - |
| - |
| - |
| - |
| - | - |
Device | - |
| - |
| - |
| - |
| - | - |
| - |
| - |
| Device | - |
| - |
|
| - |
| - |
| - |
| - |
| - | - |
Command | 1 |
| 0 |
| 0 |
| 1 |
| 0 | 0 |
| 0 |
| 0 |
| Status |
|
|
|
| ...See Below... |
|
|
Error Register
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
CRC | UNC | 0 | IDN | 0 | ABT | T0N | AM |
|
|
|
|
|
|
|
| N |
|
0 | V | V | V | V | V | V | V |
|
Status Register
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BSY | RDY | DF | DSC | DRQ | COR | IDX | ERR |
|
|
|
|
|
|
|
|
0 | 0 | 0 | - | - | 0 | 0 | 0 |
Table 49 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 “Table 31 Diagnostic Codes” on Page 52 for the definition.
86