Fujitsu MCM3130AP Computer Drive User Manual


 
4.5 ATA Commands
C156-E227-01EN 4-33
4.5.5 EXECUTE DEVICE DIAGNOSTIC (90h)
Table 4.24 EXECUTE DEVICE DIAGNOSTIC command
Bit
76543210
CM10010000
DHXXXXXXXX
CHXXXXXXXX
CLXXXXXXXX
SNXXXXXXXX
SCXXXXXXXX
FRXXXXXXXX
When the ODD receives this command, it recognizes self-diagnostics.
When the ODD receives this command, it responds to the command regardless of
the DEV bit value; this means that the drive is unit 0 or 1.
When the ODD is device 0 (master), its response after the command is received
depends on whether device 1 (slave) is connected.
When no device 1 is connected
The ODD sets 01h in the Error register and terminates the command.
When device 1 is connected
The ODD monitors the PDIAG- signal sent from device 1 for six seconds. If
device 1 asserts the PDIAG- signal within this time, the ODD recognizes that the
device 1 self-diagnostic test ends successfully. Otherwise, the ODD recognizes
that the device 1 self-diagnostic test ended abnormally and the ODD makes OR-
operation to its self-diagnostics results of unit 0 (Device 0) with 80h and sets it in
the Error register. If device 1 ends abnormally, the ODD sets the CHECK bit of
the Status register.
When the ODD is device 1
The ODD asserts the PDIAG- signal within five seconds. It sets 01h in the Error
register and ends the command.