Maxtor 10K V Computer Drive User Manual


 
Maxtor Atlas 10K V 5-141
5.38 SEND DIAGNOSTIC Command (1Dh)
The SEND DIAGNOSTIC command sends a diagnostic page to the drive. Refer to
the RECEIVE DIAGNOSTICS RESULTS command for a description of the
diagnostic pages and the use of the diagnostic commands. The Supported Diagnostic
Page List (Table 5-193) and Translate Page List (Table 5-194) can be sent with this
command. Table 5-191 shows the SEND DIAGNOSTIC CDB data format and
Table 5-192 shows the field descriptions.
Table 5-191 SEND DIAGNOSTIC Command Descriptor Block-Data Format
Table 5-192 SEND DIAGNOSTIC Command-Field Descriptions
Bit
Byte
765 4 3210
0 Operation Code (1Dh)
1 Function PF Rsvd
Self
Test
DevOnl UnitOfl
2 Reserved
3 - 4 Parameter List Length
5 Control
Field Description
Function
When the SelfTest bit is set to one, the Function code field is 000b. When the SelfTest bit is
cleared to zero, the content of the Function code field is specified as follows:
000b: Value to be used when the SelfTest bit is set to one or if the SEND DIAGNOSTIC command
is not invoking one of the other self-test function codes (for example, Translate Address page)
001b: Background short self-test. The device server will start its short self-test routine in the back-
ground mode.
010b: Background extended self test. The device server will start its extended self-test routine in
the background mode.
011b: Reserved
100b: Abort background self-test. Abort the current self-test running in background mode. This
value is only valid if a previous SEND DIAGNOSTIC command specified a Background self-test
function and that function has not completed. If either of these conditions is not true, then the de-
vice server will respond by returning a CHECK CONDITION with a sense key of NOT READY
and an additional sense code of LOGICAL UNIT NOT READY, SELF-TEST IN PROGRESS.
101b: Foreground short self-test. The device server will start its short self-test routine in the fore-
ground mode
110b: Foreground extended self-test. The device server will start its extended self-test routine in
the foreground mode
111b: Reserved
PF
Page Format. When the PF bit is 1, the parameters that follow conform to the Supported Diagnos-
tic Page List (Table 5-193) or the Translate Address Page
(Table 5-194).
SelfTest is ignored when PF = 1.
The PF bit must be 1 if Parameter List Length is not 0.