5 execute device diagnostic (90h) – FUJITSU MCM3064AP User Manual

Page 103

Advertising
background image

4.5 ATA Commands

C156-E227-01EN

4-33

4.5.5 EXECUTE DEVICE DIAGNOSTIC (90h)

Table 4.24 EXECUTE DEVICE DIAGNOSTIC command

Bit

7

6

5

4

3

2

1

0

CM

1

0

0

1

0

0

0

0

DH

X

X

X

X

X

X

X

X

CH

X

X

X

X

X

X

X

X

CL

X

X

X

X

X

X

X

X

SN

X

X

X

X

X

X

X

X

SC

X

X

X

X

X

X

X

X

FR

X

X

X

X

X

X

X

X

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.

Advertising
This manual is related to the following products: