5.3 Host Commands

(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'

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

 

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

 

 

 

 

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

 

 

 

 

 

 

 

 

C141-E269

5-41

Page 119
Image 119
Fujitsu MHY2160BS, MHY2200BS, MHY2120BS, MHY2040BS, MHY2080BS, MHY2060BS manual Execute Device Diagnostic X, Diagnostic code