5.3 Host Commands
(7)EXECUTE DEVICE DIAGNOSTIC (X '90')
This command performs an internal diagnostic test
Table 5.6 lists the diagnostic code written in the Error field which is
|
| Table 5.6 Diagnostic code |
|
|
|
Code |
| Result of diagnostic |
|
| |
X '00' | Format Unit is not completed. | |
X '01' | No error detected. | |
X '02' | HDC diagnostic error | |
X '03' | Data buffer diagnostic error | |
X '04' | Memory diagnostic error | |
X '05' | Reading the system area is abnormal. | |
X '06' | Calibration abnormal | |
|
|
|
Note: | The device responds to this command with the result of | |
|
•Error reporting conditions
(1)A SATA communication error occurred (ST = 51h, ER = 14h).
At command issuance (Shadow Block Registers setting contents)
CM | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
|
|
|
|
|
|
|
| |
DH | x | x | x | x |
| HD No. /LBA |
| |
|
|
|
|
|
|
|
|
|
CH |
|
|
|
| xx |
|
|
|
CL |
|
|
|
| xx |
|
|
|
SN |
|
|
|
| xx |
|
|
|
SC |
|
|
|
| xx |
|
|
|
FR |
|
|
|
| xx |
|
|
|
|
|
|
|
|
|
|
|
|
At command completion (Shadow Block Registers contents to be read)
ST |
|
|
| Status information | |||
|
|
|
|
|
|
|
|
DH | x | x | x |
| x |
| HD No. /LBA |
|
|
|
|
|
|
|
|
CH |
|
|
|
|
| xx | |
CL |
|
|
|
|
| xx | |
SN |
|
|
|
|
| 01H | |
SC |
|
|
|
|
| 01H | |
ER |
|
|
| Diagnostic code | |||
|
|
|
|
|
|
|
|