5.27RECEIVE DIAGNOSTIC RESULTS Command (1Ch)

The RECEIVE DIAGNOSTIC RESULTS command fetches the results of the last SEND DIAGNOSTIC command sent to the drive. The drives support the diagnostic pages listed in Table 5-149.

Table 5-149Diagnostic Pages Supported by The Drives

Page

Description

Size In Bytes

Code

 

 

 

 

 

00h

Supported Diagnostic Pages

6

40h

Translate Address Page (SEND DIAG)

14

 

 

 

40h

Translate Address Page (RECEIVE DIAG)

14 or more

 

 

 

The RECEIVE DIAGNOSTIC RESULTS Command Descriptor Block is shown in Table 5-150;the data fields are described in Table 5-151.

To receive one or both of the two diagnostic pages that are available, the initiator first sends the desired page code(s) to the drive using a SEND DIAGNOSTICS command. The SEND DIAGNOSTICS command tells the drive which page it should return in response to the next RECEIVE DIAGNOSTICS RESULTS command. The page specified in the most recent SEND DIAGNOSTICS command is always the page returned in response to the RECEIVE DIAGNOSTICS RESULTS command.

Table 5-150RECEIVE DIAGNOSTIC RESULTS Command Descriptor Block-Data Format

Bit

7

 

6

5

4

3

 

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Operation

Code (1Ch)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

Reserved

 

 

 

 

PCV

 

 

 

 

 

 

 

 

 

2

 

 

 

 

Page Code Value

 

 

 

 

 

 

 

 

 

 

 

 

3 - 4

 

 

 

 

Allocation Length

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

Reserved

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5-151RECEIVE DIAGNOSTIC RESULTS Command Descriptor Block-Field Descriptions

Field

Description

 

 

Allocation

Specifies the number of bytes of diagnostic-page results the drive is allowed to send to the

initiator. A CHECK CONDITION is not returned if this value truncates the information

Length

available.

 

 

 

5-106 Maxtor Atlas 10K V