Travelstar 5K160 (SATA) Hard Disk Drive Specification
14.3 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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Status Register |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
7 |
| 6 | 5 | 4 |
| 3 |
|
|
| 2 |
|
| 1 |
|
|
|
| 0 |
|
|
|
|
| 7 |
| 6 | 5 | 4 | 3 |
|
| 2 |
|
|
| 1 |
|
|
| 0 | ||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||||||||
CRC |
| UNC | 0 | IDN |
| 0 |
|
|
| ABT |
| T0N |
|
|
| AM |
|
|
| BSY |
| RDY | DF | DSC | DRQ |
|
| COR | IDX |
| ERR | |||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| N |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
0 |
| V | V | V |
|
| V |
|
|
|
|
|
| V |
|
|
|
| V |
|
|
| V |
|
|
| 0 |
| 0 | 0 | - | - |
|
| 0 |
|
|
| 0 |
|
|
| 0 | |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 Page 5 for the definition.
77/167