OEM MANUAL:K6602924
5 COMMAND DESCRIPTIONS
Revision: 1 / Date: 2003.03.06
Page: 218 / 273
5.19 RECEIVE DIAGNOSTIC RESULTS:(1C
H
)
Bit
Byte
7
6
5
4
3
2
1
0
0
Operation Code (1C
H
)
0
0
0
1
1
1
0
0
1
Logical Unit Number
Reserved
0
0
0
0
0
2
Reserved
0
0
0
0
0
0
0
0
3
Allocation Length
4
Allocation Length
5
Vendor Unique
Reserved
Flag
Link
0
0
0
0
0
0
The RECEIVE DIAGNOSTIC RESULTS command requests the controller to return
the results of the SEND DIAGNOSTIC command (see 5.29) to the host computer
whose SelfTest bit is set to 0. The results of the diagnostics are unpredictable if the
SelfTest bit is set to 1.
The Allocation Length field specifies the number of bytes that the host computer has
allocated for returned diagnostic data. An allocation length of 0 specifies that no
diagnostic data is to be transferred.
This condition must not be considered as an error. Any other allocation length value
specifies the maximum number of bytes that must be transferred. The controller
terminates the Data In phase when the number of bytes specified in the Allocation
Length field have been transferred or when all available diagnostic data have been
transferred to the host computer, whichever is less.
The diagnostic data is described in the description on the SEND DIAGNOSTIC
command. (See 5.29)
RECEIVE DIAGNOSTIC RESULTS:(1Ch)