6.Command Specification

SEND DIAGNOSTIC

6.25.SEND DIAGNOSTIC 1Dh

Bit

7

6

5

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

0

 

 

 

Operation

Code (1Dh)

 

 

 

1

 

Reserved

 

PF

 

Reserved

Self Test

DevOfl(0)

UnitOfl

2

 

 

 

 

Reserved

 

 

 

3

(MSB)

 

 

Parameter List Length

 

 

 

4

 

 

 

 

 

 

 

 

(LSB)

5

 

 

 

 

Control

 

 

 

The SEND DIAGNOSTIC command requests the drive to perform diagnostic tests on itself.

PF: The drive expects the Page Format bit to be set to indicate that the parameters transferred during the DATA OUT phase will include four bytes of header information as well as the diagnostic test bytes.

If this bit is not set, the parameter bytes will only describe the diagnostic test. Note that if the Self Test bit is set, this bit must be ZERO else the drive will return a CHECK CONDITION with the ILLEGAL REQUEST sense key set.

Self Test: When this bit is set, the drive executes its POWER-ON SEQUENCE. The Parameter List Length must be ZERO when this bit is set other-wise the drive will return a CHECK CONDITION status with an ILLEGAL REQUEST sense key set. After Self Test, a LOAD command is required to bring the drive online.

DevOfl: Device Off-line is not supported and will be set to ZERO, otherwise the driver will return a CHECK CONDITION status with an ILLEGAL REQUEST SENSE key set.

UnitOfl: This bit must be set for proper operation of any diagnostic test except Self Test. If this bit is not set, except for self-test, the drive will return a CHECK CONDITION status with an ILLEGAL REQUEST sense key set.

Parameter List Length: This field provides the count of the number of Parameter List bytes which will be transferred in the DATA-OUT phase. These bytes describe the test that is to be run. This field must be set to ZERO if the Self-Test bit is set.

If the PF bit is ZERO, the Parameter List describes the diagnostic test to be executed. The diagnostic tests are five bytes in length. If the Parameter List Length is not set to five or ZERO if the Self-Test bit is set, the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST sense key set.

If the PF bit is set, the Parameter List includes a four byte header as of the form:

Table 6-95: Diagnostic Page Format

Bit

7

6

5

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Page

Code

 

 

 

1

 

 

 

 

Reserved

 

 

 

2

(MSB)

 

 

Page Length (n-3)

 

 

 

3

 

 

 

 

 

 

 

 

(LSB)

Page Code: The drive supports two Page Codes:

00h - Return Supported pages

81h - Drive Diagnostic page

For Page Code 00h, the Page Length must be ZERO and the Parameter List Length must be set to four otherwise the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST sense key set. This Page Code requests that the drive return a list of the supported pages in the DATA -IN phase of RECEIVE DIAGNOSTIC.

6-96

SONY AIT-5 drive SDX-1100V series Ver.1.0

Page 150
Image 150
Sony SDX-1100V manual Send Diagnostic 1Dh, Reserved Self Test, UnitOfl, Diagnostic Page Format Bit Byte Code Reserved