Sony SDX-800V/R User Manual

Page of 206
6.Command Specification 
SEND DIAGNOSTIC
 
6-98 
 
SONY AIT-3Ex drive SDX-800V series Ver.1.1 
 
6.25.  SEND DIAGNOSTIC 1Dh 
Bit 
Byte 
7 6 5 4 3 2 1 0 
Operation Code (1Dh) 
Obsolete PF 
Reserved
Self 
Test
DevOfl(0)
 UnitOfl 
Reserved 
(MSB) 
Parameter List Length 
 
  
(LSB) 
Control 
SEND DIAGNOSTIC tells 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 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 shall 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-94: Diagnostic Page Format 
Bit 
Byte 
7 6 5 4 3 2 1 0 
Page Code 
Reserved 
(MSB) 
Page Length (n-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. 
For Page Code 81h, the Page Length must be five and the Parameter List Length must be set to nine otherwise the 
drive returns a CHECK CONDITION status with an ILLEGAL REQUEST sense key set. This page Code instructs the 
drive to execute the five bytes of diagnostic  test  that follow the four bytes of header. The five bytes of diagnostic test 
information will be of the form: