5.38SEND 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-191shows the SEND DIAGNOSTIC CDB data format and Table 5-192shows the field descriptions.

Table 5-191SEND DIAGNOSTIC Command Descriptor Block-Data Format

Bit

7

6

5

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation Code (1Dh)

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Function

 

PF

 

Rsvd

Self

DevOnl

UnitOfl

 

 

 

Test

 

 

 

 

 

 

 

 

 

2

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

3 - 4

 

 

 

Parameter List Length

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5-192SEND DIAGNOSTIC Command-Field Descriptions

 

 

 

Field

 

Description

 

 

 

 

 

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.

Function

 

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

 

 

 

 

 

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

PF

 

(Table 5-194).

 

SelfTest is ignored when PF = 1.

 

 

 

 

The PF bit must be 1 if Parameter List Length is not 0.

 

 

 

Maxtor Atlas 10K V

5-141