User's Manual

5.3 Host Commands
C141-E262 5-41
(7) EXECUTE DEVICE DIAGNOSTIC (X '90')
This command performs an internal diagnostic test (self-diagnosis) of the device.
The device reports the diagnostic result and status to the host.
Table 5.6 lists the diagnostic code written in the Error field which is 8-bit code.
Table 5.6 Diagnostic code
Code Result of diagnostic
X '00'
X '01'
X '02'
X '03'
X '04'
X '05'
X '06'
Format Unit is not completed.
No error detected.
HDC diagnostic error
Data buffer diagnostic error
Memory diagnostic error
Reading the system area is abnormal.
Calibration abnormal
Note: The device responds to this command with the result of
power-on diagnostic test.
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
CL
SN
SC
FR
xx
xx
xx
xx
xx
At command completion (Shadow Block Registers contents to be read)
ST Status information
DH x x x x HD No. /LBA
CH
CL
SN
SC
ER
xx
xx
01H
01H
Diagnostic code