7.30 SEND DIAGNOSTIC (1D)
ÚÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³³
Bit
³
³
Byte
ÃÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄ´
³³
7
³
6
³
5
³
4
³
3
³
2
³
1
³
0
³
ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄ´
³
0
³
Command Code = 1Dh
³
ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄ´
³
1
³
LUN
³
PF
³
RSVD =0
³
SlfTst
³
DevOfl
³
UntOfl
³
ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄ´
³
2
³
Reserved = 0
³
ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
³
3
³
(MSB) Parameter List Length
³
³
4
³
(LSB)
³
ÃÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄ´
³
5
³
VU=0
³
Reserved = 0
³
FLAG
³
LINK
³
ÀÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÙ
Figure 112. SEND DIAGNOSTIC (1D)
The SEND DIAGNOSTIC command requests the file to perform its self-diagnostic test, or to perform a
function based on a page of information sent in a Data Out phase during the command.
PF (Page Format) bit set to 1 indicates the data sent by the Initiator conform to the page structure as
specified in SCSI-2 standard. This bit must be set to 1 if the SlfTst bit is set to 0. This bit is ignored by
the Target if the SlfTst bit is set.
SlfTst set to 1 indicates the device performs it's internal self test. If set to 0 then a parameter list should
be sent by the initiator.
DevOfl this bit is ignored by the target for compatibility.
UntOfl this bit is ignored by the target for compatibility.
Parameter List Length is ignored by the Target if the SlfTst bit is set. Otherwise it should be set to the
length of the page to be transferred in the Data Out phase of the command. If it does not match the
expected length of the page a CHECK CONDITION status will be generated with a Sense Key of
Illegal Request and additional sense of Invalid Field in CDB.
If the SlfTst bit is set upon command completion, the following status is returned:
GOOD status for successful test completion.
CHECK CONDITION status for unsuccessful test completions.
The self diagnostics consists of two parts :
6
The first part is executed immediately after power up. This test is performed to verify all hardware
which is not related to the disk drive. The local microprocessor, RAM (scratchpad and buffer), and
control electronics are included here.
The second part is executed after the spindle motor is started. This includes disk access (seek), R/W
channel, and error correction circuitry verification. A reserved area on the disk is used for this test.
6
See 10.18.2, “Diagnostics Command” on page 196 for a detailed listing of the operations carried out by the Diag-
nostics Command.
144 OEM Spec. of DDRS-3xxxx