background image

Содержание CDU-541

Страница 1: ... L CD ROM DRIVE SCSI INTERFACE MANUAL MODEL CDU 541 SONY CORPORATION CD ROM Drive Division Mechatronic Products Group ...

Страница 2: ... ...

Страница 3: ... particular purpose This document is subject to change without notice and does not represent a commitment on the part of Sony Corporation This document could have technical inaccuracies or typographical errors SONY is a registered trademark of Sony Corporation This document is prepared for use by customers of Sony It contains information for writing softw for the drive An operators manual includes...

Страница 4: ...COU 541 CO ROM DRIVE SCSI INTERFACE MANUAL CHANGE LIST REVISION 1 00 First release Revision 1 00 20 MAR 89 Page 3 ...

Страница 5: ...ssages I I ol 4 7 4 5 Handling of Status Phase 4 10 4 5 1 Status Byte Description 4 10 4 6 Disconnect Reconnect 4 11 4 1 Disc Compatibility 4 11 4 8 TOC Recovery Strategy 4 11 4 9 Audio Playback Implementation Rules 4 12 5 CD ROM Devices 5 1 5 1 CD ROM Model 5 1 5 2 CD ROM Command Descriptions 5 4 5 2 1 INQUIRY Command 5 5 5 2 2 MODE SELECT Command 5 8 5 2 3 MODE SENSE Command 5 11 5 2 3 1 Current...

Страница 6: ...SENSE Command 5 51 5 2 28 RESERVE Command 5 54 5 2 29 REZERO UNIT Command 5 55 5 2 30 SEEK Command 5 56 5 2 31 SEEK EXTENDED Command 5 57 5 2 32 SEND DIAGNOSTIC Command 5 58 5 2 33 START STOP UNIT Command 5 60 5 2 34 TEST UNIT READY Command 5 61 5 2 35 VERIFY Command 5 62 5 2 36 WRITE BUFFER Command 5 63 5 3 CD ROM Page Descriptions 5 65 5 3 1 MODE SELECT Pages 5 65 5 3 1 1 Page Code One 5 65 5 3 ...

Страница 7: ... Control Field Bits 5 46 5 25 TOC Data Format 5 47 5 26 Definition Of Control Field Bit 5 48 5 27 Receive Diagnostic Data 5 49 5 28 Error Code 70h Sense Data Format 5 52 5 29 Sense Key Descriptions 5 53 5 30 Send Diagnostic Data 5 59 5 31 Write Buffer Header 5 64 5 22 Page Codes 5 65 5 23 Page Code One Read Error Recovery Parameters 5 65 5 24 Error Recovery Byte Bit Settings 5 66 5 25 Error Recove...

Страница 8: ......

Страница 9: ...asible date At this time it is expected that most of the current implementation will comply with SCSI 2 However the commands used for audio control are still controversial and most likely will change in a future firmware release Information about the current status of the audio commands and the proposed SCSI 2 interface for CD ROM can be obtained from Sony CD ROM Engineering 2 Introduction This do...

Страница 10: ......

Страница 11: ...sserted or a BUS DEVICE RESET message is received 4 1 3 Unit Attention Condition The unit attention condition occurs following a power on condition a reset condition the insertion of a caddy with the successful recovery of the table of contents or the receipt of a MODE SELECT command from another initiator The unit attention condition will persist for each initiator until that initiator issues a c...

Страница 12: ...the drive if the A check condition status will be returned for the drive not ready condition only for commands that require or imply a disc access The following commands will not return a check condition status for the not ready condition The value in parentatheses is the command code 1 INQUIRY 12h 6 STOP UNIT with LoEj bit set to one lBh 2 MODE SELECT 15h 7 ALLOW MEDIUM REMOVAL lEh 3 RESERVE 16h ...

Страница 13: ...MESSAGE OUT will occur at the controller s convenience on a logical block boundary The initiator must continue REQ ACK handshakes until it detects the phase change 3 If ATN occurs during a STATUS phase MESSAGE OUT will occur after the status byte has been acknowledged by the initiator 4 If ATN occurs during a MESS GE IN phase MESSAGE OUT phase will occur after the current MESSAGE 1M byte has been ...

Страница 14: ...ed read verify or play operation is to begin Not all COB s have starting logical addresses 4 2 4 Transfer Length The transfer length specifies the number of logical blocks to be transferred A transfer lengt value of zero has special meaning in some commands The size of the logical blocks can be set using the MODE SELECT command 4 2 5 Parameter Length The parameter length specifies the exact number...

Страница 15: ...ssful the controller returns a status byte to the initiator Since most error and exception conditions cannot be adequately described with a single status byte one status code CHECK CONDITION dicates that additional information is available The initiator may issue a REQUEST SENSE command to retrieve this additional information An initiator should never send a second command to a logical unit until ...

Страница 16: ...rror occurs If the controller detects one or more parity error s on the message byte s received it may indicate its desire to retry the message s by asserting REQ after detecting ATN has gone false and prior to changing to any other phase The initiator upon detecting this condition shall re send all of the previous message byte s in the same order as previously sent during this phase When re sendi...

Страница 17: ...ng this message the controller will go to the BUS FREE phase by releasing BSY The controller will consider the message transmission to be successful when it detects the negation of ACK for the COMMAND COMPLETE message with the ATN signal false SAVE DATA POINTER 02h This message is sent from the controller to direct the initiator to save a copy of the present active data pointer for the currently a...

Страница 18: ...ge is sent from an initiator to inform the controller that an error e g parity error has occurred that does not preclude the controll r from retrying the operation Although present pointer integrity is not assured a RESTORE POINTERS message or a disconnect followed by a reconnect shall cause the pointers to be restored to their defined prior state ABORT 06h This message is sent from the initiator ...

Страница 19: ...ETE WITH FLAG OBh This message is sent from the controller to an initiator to indicate that the execution of a linked command with the flag bit set to one has completed and that status has been sent The initiator shall then set the pointers to the initial state of the next linked command Typically this message would be used to cause an interrupt in the initiator between two linked commands BUS DEV...

Страница 20: ...y an unexpected BUS FREE condition 4 5 1 Status Byte Description GOOD OOh This status indicates that the controller has successfully completed the command CHECK CONDITION 02h This status indicates that an error exception or abnormal condition has caused the sense key or additional sense code to be set The REQUEST SENSE command should be issued following a CHECK CONDITION status to determine the na...

Страница 21: ...ta in mode zero 4 8 TOe Recovery Strategy The recovery of the TOC data is required before a logical unit is ready and data can be read from the disc The TOC data is written several times in the area set up for TOC data The exact number of repetitions depends on the number of tracks on a disc The following TOC recovery strategy attempts to maximize the chance of recovering the TOC data The drive at...

Страница 22: ... be terminated with a CHECK CONDITION status The sense key will be set to ILLEGAL REQUEST and the additional sense code set to END OF USER AREA ENCOUNTERED ON THIS TRACK If any of the following condi ions occur and the drive has not detected the ending audio address audio play operation will continue on the next track a an index equal zero is detected i e pre gap detected b a track number change i...

Страница 23: ...tes of audio in the larger diameter The smaller diameter has a capacity of 200 megabytes of data or 23 minutes of audio A disc may contain both audio and data a so called combined mode disc A disc contains from one to ninety nine tracks Each change in the type of information on the disc audio or data requires a change in track number A disc containing both audio and data would have at least two tr...

Страница 24: ... time to recover a TOC that is read without error is approximately five seconds The repeated TOC data can be up to two minutes long A frame has 588 bits A frame must be EFM decoded by the drive before the bit stream contains recognizable data Fourteen bits are used to represent each eight bit byte Three merging bits are added to each fourteen bits A block contains 98 frames FRAME BYTES 1 24 3 Sync...

Страница 25: ... Field in bcd format Absolute Second Field in bcd format Absolute Frame Field in bcd format CD ROM Mode Field 2048 bytes user defined data 4 bytes Error Detection Code 8 bytes zero 276 bytes Layered Error Correction Code A block of data contains the following if the CD ROM Mode field has a value of two 12 bytes Synchronization 4 bytes CD ROM data header Absolute Minute Field in bcd format Absolute...

Страница 26: ...ADER READ HEADER READ SUB CHANNEL READ SUB CHANNEL READ TOC READ TOC RECEIVE DIAGNOSTIC RESULT RELEASE REQUEST SENSE RESERVE REZERO UNIT SEEK SEEK EXTENDED SEND DIAGNOSTIC START STOP UNIT ITST UNIT READY VERIFY WRITE BUFFER Command Code 12h 15h 1Ah C5h 4Bh C8h 45h 47h 48h C7h C6h C9h C4h 1Eh a8h 3Ch 25h 28h C3h 44 C2h 42h C1h 43h 1Ch 17h 03h 16h a1h aBh 2Bh 1Dh 1Bh OOh 2Fh 3Bh Type M M M V o V o o...

Страница 27: ... the initiator The INQUIRY command will be terminated with a BUSY status when the controller is performing power on diagnostics or the reading of the table of contents is occurring The INQUIRY command will be terminated with a CHECK CONDITION status only then the controller has detected a catastrophic error If an INQUIRY command is received from an initiator with a pending unit attention condition...

Страница 28: ...the logical unit is present If the logical unit is not present the peripheral device type code is set to 7Fh The RMB bit is set to one because the disc is removable The device type qualifier is a set to zero The response data format is set to one The additional length is set to 31h If the allocation length of the command descriptor block is too small to transfer all of the parameters the additiona...

Страница 29: ...case letter indicating reV1S10n Y is corresponding hex code for letter Byte 32 A value of three indicates that this is a production release of the firmware A value of two indicates a beta test version of the firmware A value of one indicates an Engineering development version of the firmware Byte 33 is a period Byte 34 This byte indicates major reV1S1ons of or additions to the firmware The value o...

Страница 30: ... specifies the length in bytes of the MODE SELECT parameter list that will be transferred from the initiator to the controller A parameter list length of zero indicates that no data will be transferred This condition will not be considered as an error The block descriptor and the pages which follow if any must be sent in their entirety Truncation of a page due to an incorrect parameter list length...

Страница 31: ...served 1 1 I DOh 1 2 OOh 1 3 DOh 1 4 I Reserved I 1 5 I MSB 1 I 6 I Block Length I 1 I 7 I LSB Page s o I Reserved Page Code 1 1 I Page Specific Parameter Length 1 2 I Page Specific Parameters _0_ n The medium type is set to zero to indicate the default disc is CD ROM The block descriptor length shall be set to either OOh or a8h The block descriptor specifies the medium characteristics for the who...

Страница 32: ... header 2048 bytes of user data 288 bytes ECC data if CD ROM mode one data 4 byte header 2336 bytes of user data if CD ROM mode two data A block length of 2336 or 2340 can be specified for CD ROM mode one or CD ROM mode two data If a read operation is requested on a track that is CD ROM mode two data and L EC is not disabled the command will be terminated with a CHECK CONDITION status The sense ke...

Страница 33: ...lt Values 1 1 Default Values 5 2 3 1 Current Values A PC field value of Oh requests the controller return the current values for the page code specified The current values returned are either the parameters set in the last successful MODE SELECT command or the default values if a MODE SELECT command has not been executed 5 2 3 2 Changeable Values A PC field value of lh requests the controller retu...

Страница 34: ...age code specifies which page or pages to return The page codes are described in Section 5 3 If the page code specified is not implemented the command will be terminated with a CHECK CONDITION status The sense key will be set to ILLEGAL REQUEST and the additional sense code set to ILLEGAL VALUE IN COB If the page code is 3Fh all implemented pages are requested to be returned by the controller The ...

Страница 35: ...er of Blocks i 3 r LSB i 4 i Reserved i 5 i MSB 1 I 6 I I Block Length I I i 7 I I I LSB i Page s o Reserved Page Code 1 Page Specific Parameter Length 2 Page Specific Parameters n The medium type is set to zero to indicate the default disc is CD ROM The block descriptor length is set to 08h The block descriptor speci ies the medium characteristics for the whole disc The number of blocks field ind...

Страница 36: ...ing the header are the page parameters The page length value is the number of bytes that follow the page length byte and does not include the header The pages are defined in Section 5 3 5 2 4 PAUSE Command Bitl Byte I 7 6 5 4 3 2 1 o o Operation Code C5h 1 1 1 1 Logical Unit Number I Pause I Reserved I 1 2 Reserved I 1 3 1 Reserved 1 4 1 Reserved 1 5 Reserved 1 6 1 Reserved 1 7 1 Reserved I 1 1 8 ...

Страница 37: ...bit of MODE SELECT PAGE CODE 9 is set to one A resume bit of zero indicates that the drive enter the hold track with the audio output muted after the current audio block is played bit of one indicates that the drive release the pause and begin play block following the last block played state A resume at the This command is terminated with CHECK CONDITION status if the resume bit is zero and the au...

Страница 38: ...ck address for the specified transfer length The audio is output as specified by the audio control parameters This command returns the status byte when the address requested is found If the address is not found or if the ready condition does not exist or if the address is not within an audio track a CHECK CONDITION status will be returned and the appropriate sense key set If the transfer length is...

Страница 39: ...quested is found The Immd bit in MODE SELECT page code 9 of zero requests that this command return the statuas byte when reading operation of data transfer length specifird byte 7 and 8 above is completed or an error occurs If the address is not found or if the ready condition does not exist or if the address is not within an audio track a CHECK CONDITION status will be returned and the appropriat...

Страница 40: ...et In most targets a starting logical address that occurs within a sector causes audio play to start at the beginning of that sector Many targets play any partial audio sector beyond the end of the requested transfer length NOTE When the immideate bit in MODE SELECT PAGE CODE 9 is set to one the command will be terminated at the address specified by the starting logical block address When it is se...

Страница 41: ...SELECT page code 9 of one requests that this command return the status byte when the address requested is found The Immd bit in MODE SELECT page code 9 of zero requests that this command return the statues byte when reading operation of data transfer length specifird byte 7 and 8 above is completed or an error occurs If the address is not found or if the ready condition does not exist or if the ad...

Страница 42: ...ntil the lead out or non audio track is detected or an error occurs IMPLEMENTORS NOTE A typical audio track for music has only one index number i e the number of indexes is equal to one The number of indexes within a track in not obtainable from data in the table of contents The status returning conditioD depends on the Immd bit of MODE SELECT page code 9 The Immd bit in MODE SELECT page code 9 of...

Страница 43: ...starting address in absolute time The Ending minutes seconds frame specify the ending address in absolute time If the ending address is less than the starting address a CHECK CONDITION status is returned The sense key is set to ILLEGAL REQUEST and the additional sense code is set to ILLEGAL VALUE IN COMMAND DESCRIPTOR BLOCK This command returns the status byte when the address requested is found I...

Страница 44: ...ly supports a starting index of one The number of indexes specifies the duration of the audio play operation If the value in the number of indexes field exceeds the number of indexes within the track the play operation will continue until the end of the track request A value of FFh requests that the play operation continue until the lead out track or a non audio track is detected IMPLEMENTORS NOTE...

Страница 45: ...ved 1 1 1 7 I MSB 1 1 Parameter Length I 8 1 LSB 1 1 1 9 1 Control Byte 1 The PLAYBACK CONTROL command requests that the target set the audio playas specified If the drive is not in the ready condition the command will be terminated with a CHECK CONDITION status The sense key will be set to NOT READY and the appropriate additional sense code set The parameter length specifies the number of bytes o...

Страница 46: ...erved I Channel 1 Output Selection 13 Channel 1 Volume 14 Reserved Channel 2 Output Selection 15 Channel 2 Volume 1 16 Reserved 1 Channel 3 Output Selection 1 17 Channel 3 Volume The channel output selection specifies where the audio for that channel will be output Channel output selection and volume control of channel 0 and 1 is valid in this command The valid values of volume control are OOh thr...

Страница 47: ...a CHECK CONDITION status The sense key will be set to ILLEGAL REQUEST 5 2 13 PLAYBACK STATUS Command Bit 7 6 5 4 3 2 1 o Byte 1 o Operation Code C4h 1 1 1 Logical Unit Number 1 Reserved 1 1 1 2 Reserved 1 1 1 3 1 Reserved 1 1 1 4 1 Reserved 1 1 5 I Reserved 1 6 I Reserved 1 7 1 MSB 1 Allocation Length 8 LSB 1 9 1 Control Byte 1 The PLAYBACK STATUS command requests that the target return the status...

Страница 48: ...4 I Audio Status 5 6 7 8 9 10 11 12 13 14 Reserved Control I CD Address I I I I I I 1 Reserved Channel 0 Output Selection 1 Channel 0 Volume Reserved Channel 1 Output Selection 1 Reserved Channel 1 Volume I I I Channel 2 Output Selection 1 15 I Channel 2 Volume 1 16 I Reserved Channel 3 Output Selection 17 Channel 3 Volume The audio status bits are defined in Table 5 10 5 26 ...

Страница 49: ...ol bits are defined in Table 5 24 The CD address field specifies the current address The format of the address is determined by the LBAMSF bit in the CD ROM parameters See Section 5 3 The channel output selection indicates where the audio channel is output See Table 5 8 A channel may be output to more than one channel i e channel one may be output to channels one and two The channel volume control...

Страница 50: ...ect button The emergency release mechanism will not be overridden A prevent bit of zero will allow removal of the caddy This prevention of caddy removal condition will terminate upon receipt of a ALLOW MEDIUM REMOVAL command i e the prevent bit set to zero or by the receipt of a BUS DEVICE RESET message from any initiator or by a reset condition If a PREVENT MEDIUM REMOVAL command is issued withou...

Страница 51: ...ransferred This command will be terminated with a RESERVATION CONFLICT status if any reservation conflict exists and no data will be read This command will be terminated with a CHECK CONDITION status for a number of reasons The error recovery parameters determine when and how the data errors are reported See Section 5 3 1 1 The data transfer will also be terminated with a CHECK CONDITION STATUS if...

Страница 52: ...AD BUFFER command is used in conjunction with the WRITE BUFFER command as a diagnostic function for testing controller memory and the bus integrity This command will not alter the medium The function of this command and the meaning of fields within the command descriptor block depend on the contents of the mode field A mode field value of zero indicates that the buffer offset is zero A mode field ...

Страница 53: ...and Bit 7 6 5 4 3 2 1 o Byte o Operation Code 25h l 1 Logical Unit Number Reserved 2 Reserved 3 Reserved 4 Reserved 5 Reserved I 6 Reserved 7 Reserved I I 8 Reserved I I 1 9 Control Byte I I The READ CAPACITY command a means for the initiator to request information regarding the capacity of the logical unit The eight bytes of READ CAPACITY data is shown below The capacity is based on the starting ...

Страница 54: ...address reports the address of the last user accessible block on the disc based on the block length specified in the MODE SELECT command The default block length is used if a MODE SELECT command has not been issued The block length reported is based on the block size requested in the MODE SELECT command The default block length default is reported if a MODE SELECT command has not been issued 5 32 ...

Страница 55: ...d in whole blocks without delays occurring during a block transfer The logical block address specifies the logical block at which the read operation will begin The transfer length specifies the number of contiguous logical blocks of data that will be transferred A transfer length of zero indicates that no logical blocks will be transferred but the addressed drive will perform a seek operation to t...

Страница 56: ...Reserved 1 1 1 7 1 MSB 1 1 Allocation Length I 8 I LSB 1 1 1 9 I Control Byte 1 The READ HEADER command requests that the target return the CD ROM data header for the specified logical block See the READ command for exception handling If the logical block size is less than the physical block size the CD ROM data header will be returned for the physical block which contains the logical block reques...

Страница 57: ... 6 5 4 3 2 1 a a I Absolute Minute 1 1 1 I Absolute Second I 1 1 2 I Absolute Frame I 1 1 3 I CD ROM Mode The absolute minutes seconds and frame fields specify the physical location from the beginning of the disc The CD ROM Mode field specifies the CD ROM mode of the physical block 5 35 ...

Страница 58: ...logical block In case of the block size smaller than 2048 bytes the header date of the block including the specified logical block address will be returned See the READ command for exception handling The logical block address field specifies the logical block at which the read header operation shall begin The address format returned is specified by MSF bit as follows o If MSF bit is equal to 1 it ...

Страница 59: ... CD ROM Address 6 1 7 1 LSB The CD ROM Data Mode field shall return the requested logical block data mode format which is defined as_follows Table 5 15 Logical Block Data Mode Format CD ROM Mode User Data Field Contents 2048 bytes Auxialiary Field Contents 288 bytes OOh All bytes zero All bytes zero 01h User Data EDC L EC symbols 02h User Data User Data 03h to FFh Reserved Reserved 5 37 ...

Страница 60: ...block The data format returned is specified by the LBAMSF bit of MODE SELECT page code 8 The LBAMSF bit of zero indicates that the target will return LBA data format The LBAMSF bit of one indicates that the target will return MSF data format The Sub Q bit set to one requests the target return the Q sub channel data The Sub Q bit set to zero requests that no data be returned NOTE The other bits in ...

Страница 61: ...lute Minute 1 1 1 7 1 Absolute Second I 1 1 8 1 Absolute Frame 1 The control bits are definedjn Table 5 24 The Track Number specifies the current track number The Index Number specifies the index number in the current track The relative minutes seconds and frame fields specify the relative physical location from the beginning of the current track The absolute minutes seconds and frame fields speci...

Страница 62: ... 5 24 The Track Number specifies the current track number The Index Number specifies the index number in the current track The relative CD address returns the equivalent logical address of the relative physical location from the beginning of the current track The absolute CD address returns the equivalent logical address of the absolute physical location from the beginning of the disc If the first...

Страница 63: ...m d requests that the target return the requested sub channel data of the current block but only Sub Q Channel data will be returned in current condition The Sub Q bit set to one requests the target return the Q sub channel data The Sub Q bit set to zero requests that no data be returned This shall not be considered an error NOTE The other bits in this byte are reserved for use in requesting other...

Страница 64: ...dard Recording Code ISRC Not used Error Each returning format is defined as follows o The Format of Time Data MC Q TC O Table 5 19 The Format of Time Data MC O TC O Bit I Byte I 7 6 5 4 3 2 1 o o I Reserved I 1 1 1 Audio Status I 1 1 2 I I 1 Sub Channel Data Length I 3 I I 1 1 4 I Reserved I 1 1 5 I Reserved I Control I 1 1 6 Track Number 1 1 7 I Index Number I 1 1 8 I I Absolute CD ROM Address _I...

Страница 65: ... in progress Olh Audio pause operation in progress 02h Audio muting on 03h Audio play operation successfully completed 04h Error occurred during audio play operation 1 1 05h Audio play operation not requested 1 The other data fields in the format of Time Data are the same as those of Group 6 o The Format of Media Catalog Number MC O TC l Table 5 21 The Format of Media Catalog Number MC O TC l Bitl...

Страница 66: ... The data is raw data read from the disc OOh is specified in the fields without data 5 2 23 READ TOe Command 1 1 1 7 6 5 4 3 2 1 o Byte I o I Operation Code Clh I 1 1 1 I Logical Unit Number I Reserved I 1 1 2 Reserved 1 J 1 3 Reserved J J J 4 Reserved I 1 1 5 I Track Number J 1 1 6 Rese ved J J 7 I MSB 1 Allocation Length J 8 I LSB J J 1 9 I Cont ol Byte The READ TOC command equests the transfe o...

Страница 67: ...iguous ascending order Valid values for the starting track field are lh to 63h A value of AAh requests that the starting address of the lead out area be returned The TOC data returned is a four byte header followed by one or more up to 100 TOC track descriptors The last track descriptor is for the lead out area The format of the CD Address is determined by the LBAMSF bit in the CD ROM parameters p...

Страница 68: ...el equal zero Without pre emphasis Digital copy prohibited Audio track Two channel 5 2 24 READ TOe Command Bitl Byte I 7 6 5 4 3 2 1 o o 1 Operation Code 43h 1 1 1 Logical Unit Number 1 Reserved 1 MSF 1Reserved 1 2 1 Reserved 1 3 1 Reserved 1 4 1 Reserved 1 5 I Reserved 6 Starting Track I 1 7 MSB 1 Allocation Length I 8 LSB 1 1 1 9 I Control Byte The READ TOC command requests the transfer of the t...

Страница 69: ...1 TOC Data Length 1 1 LSB 1 2 1 First Track Number 1 3 1 Last Track Number TOC Track Descriptor s o 1 Reserved I I 1 1 Reserved Control 1 2 1 Track number 1 3 1 Reserved 1 4 1 MSB 7 1 I I Absolute CD ROM Address LSB The TOC data returned is a four byte header followed by one or more up to 100 TOC track descriptors The last track descriptor is for the lead out area The format of the CD Address is d...

Страница 70: ...the attributes of the track These are defined as follows Table 5 26 Definition of Control Field Bits Bit o 1 2 3 equal one With pre emphasis Digital copy permitted Data track Four channel equal zero Without pre emphasis Digital copy prohibited Audio track Two channel The a bsolute CD ROM address contains the address of the first block with user information for that track number as read from the ta...

Страница 71: ...DIAGNOSTIC command The RECEIVE DIAGNOSTIC data contains an eight byte parameter list defined as follows Table 5 7 Receive Diagnostic Data Bit 7 6 5 4 3 2 1 o Byte I o I I Reserved 1 1 I Parameter Length 1 2 i ROM Diagnostic 1 3 RAM Diagnostic 1 4 I I Data Buffer Diagnostic i 5 I I Interface Diagnostic 1 6 i Reserved I 1 1 7 i Reserved The parameter length specifies the length in bytes of the follo...

Страница 72: ...ive control mechanism control interface has failed 5 2 26 RELEASE Command Bit 7 6 5 4 3 2 1 o Byte 1 o 1 Operation Code 17h 1 1 I Logical Unit Number I 3rdPty I Third Party Device 10 IReserved 1 2 Reserved 1 1 3 I Reserved 1 4 I Reserved 1 1 5 I Control Byte The RELEASE command is used to release previously reserved logical units It is not an error for an initiator to attempt to release a reservat...

Страница 73: ...mand for the same logical unit from that initiator 3 a reset condition occurs Note The sense data will be cleared upon receipt of any subsequent command for the same logical unit from the initiator that was returned the CHECK CONDITION status See Section 4 1 3 The REQUEST SENSE command will return the CHECK CONDITION status only to report catastrophic errors for the REQUEST SENSE command Following...

Страница 74: ...bytes contain valid information as defined in this document The sense keys are described in Table 5 29 The additional sense codes are described in Section 5 4 The contents of the information bytes are command specific and are defined under the appropriate command description Unless specified otherwise these bytes contain the unsigned logical block address associated with the sense key The addition...

Страница 75: ...nguish between a flaw in the medium and a specific hardware failure sense key 4h See Section 5 3 1 1 HARDWARE ERROR 4h Indicates that the controller detected a unrecoverable hardware failure for example controller failure device failure parity error etc while performing the command or during a self test ILLEGAL REQUEST 5h Indicates that there was an illegal parameter in the command descriptor bloc...

Страница 76: ...by another initiator It will be permiSSible for an initiator to reserve a logical unit that is currently reserved by that initiator If the logical unit or any extent within the logical unit is reserved for another initiator the controller will respond by returning a RESERVATION CONFLICT status If after honoring the reservation any other initiator then subsequently attempts to perform any command o...

Страница 77: ...ded then the controller will return RESERVATION CONFLICT status 5 2 29 REZERO UNIT Command Bitl Byte I 7 6 5 4 3 2 1 o o I Operation Code Olh I 1 1 1 I Logical Unit Number i Reserved I 1 1 2 1 Reserved 1 1 3 1 Reserved 1 1 1 4 1 Reserved 1 1 1 5 I Control Byte I The REZERO UNIT command requests that the controller position the optical pick up at logical block address zero and enter the hold track ...

Страница 78: ...lock address is within an audio track it is first converted into a Q sub ch el gddress d the seek is performed to that address The Q sub channel address has a tolerance of 75 blocks If the disconnect privilege is granted the controller will disconnect before performing the seek operation If the ready condition does not exist a CHECK CONDITION status will be returned and the appropriate additional ...

Страница 79: ...1 3 I 1 Logical Block Address 4 I 1 5 I LSB 1 1 6 Reserved 1 7 1 Reserved 1 8 I Reserved 1 1 9 1 Control Byte 1 The SE EXTENDED co a d requests that the controller position the optical pick up at logical block address specified and enter the hold track state for the duration of the inactivity time See the SEEK command for further definition and exception handling 5 57 ...

Страница 80: ...ith CHECK CONDITION status The sense key is set to ILLEGAL REQUEST and the additional sense code set to INVALID VALUE IN COB The controller will not disconnect during self test If the self test does not fail the command will be terminated with a GOOD status otherwise the command will be terminated with CHECK CONDITION status and the sense key will be set to HARDWARE ERROR The parameter list length...

Страница 81: ...ts that diagnostics not be performed on the RAM The RAM Diagnostic field if one requests that diagnostics be performed on the controller The RAM Diagnostic field if two requests that diagnostics be performed on the drive control The Data Buffer Diagnostic field if zero requests that diagnostics not be performed on the data buffer The Data Buffer Diagnostic field if one requests that diagnostics be...

Страница 82: ... is completed A load eject LoEj bit of zero indicates that no action is to be taken regarding loading or ejecting the disc A LoEj bit of one indicates that the disc is to be unloaded if the start bit is zero A start bit of one requests the logical unit be made ready for use A start bit of zero requests that the logical unit be stopped LoEj Start Description o o 1 1 o 1 o 1 spin down the disc optic...

Страница 83: ...er Reserved i 2 i Reserved i 3 Reserved i 1 4 I Reserved 1 1 5 1 Control Byte i The TEST UNIT READY command provides a means to check if the logical unit is in the ready condition This is not a request for a self test If the ready condition does not exist a CHECK CONDITION status will be returned and the appropriate additional sense code set 5 61 ...

Страница 84: ...nsferred to the initiator The verification is performed according to the settings of the verification page See Section 5 3 1 3 The logical block address specifies the logical block at which the verify operation will begin The verification length specifies the number of contiguous logical blocks of data that will be verified A verification length of zero indicates that no logical blocks will be ver...

Страница 85: ...lid and the data will be placed in the buffer with that offset The buffer offset is the byte offset within the buffer where the data will be stored If the controller is unable to accept the specified buffer offset it will return CHECK CONDITION status The sense key is set to ILLEGAL REQUEST and the additional sense code is set to ILLEGAL VALUE IN CDB The data to be transferred is preceded by a fou...

Страница 86: ...he sense key is set to ILLEGAL REQUEST and the additional sense code is set to ILLEGAL VALUE IN CDB Table 5 31 Write Buffer Header Bitl Byte I 7 6 5 4 3 2 1 o o Reserved 1 Reserved 2 Reserved 3 Reserved The WRITE BUFFER header is sent as part of the data transfer phase to the controller The purpose is to make the READ BUFFER and WRITE BUFFER transfers equivalent in byte count 5 64 ...

Страница 87: ...l Byte I 7 6 5 4 3 2 1 o 0 Reserved _ Page Code Olh 1 1 I D _ _o o_ Leng h 06h I I I i i 2 i Error Recovery i i i 3 I Read Retry Count i i 4 Reserved I i 5 Reserved 1 6 I Reserved I 1 7 I Reserved I The implementation of error recovery procedures for CD ROM devices is markedly different than those used for magnetic medium disc drives At least one level of error correction i e CIRC is required to u...

Страница 88: ... 0 0 1 1 11 1 20 1 1 0 0 0 0 I 1 21 I 1 0 0 0 1 1 1 26 1 1 0 1 1 0 I 1 1 I 27 I 1 0 1 1 1 A CIRC recovered data error is defined as a block for which the C2PO flag was set but on a subsequent read operations it was not set The number ofo subsequent read operations is limited to the read retry count Layered error correction is not used A CIRC unrecovered data error is defined as a block for which t...

Страница 89: ...RED ERROR and the additional sense code is set to L EC RECOVERED DATA ERROR The information bytes are set to the address of the last block for which an L EC recovered data error was detected If an L EC uncorrectable data error occurs data transfer is not terminated However when the data transfer has completed a CHECK CONDITION status is reported The sense key is set to MEDIUM ERROR and the additio...

Страница 90: ...detected 26h The maximum error recovery procedures are used L EC recovered data errors are reported If an L EC recovered data error occurs data transfer is not terminated However when the data transfer has completed a CHECK CONDITION status is reported The sense key is set to RECOVERED ERROR and the additional sense code is set to L EC RECOVERED DATA ERROR The information bytes are set to the addr...

Страница 91: ...dress of the last block for which an CIRC recovered data error was detected If an CIRC unrecovered data error occurs data transfer is not terminated However when the data transfer has completed a CHECK CONDITION status is reported The sense key is set to EDIUM ERROR and the additional sense code is set to CIRC UNRECO ERED DATA ERROR The information bytes are set to the address of the last block on...

Страница 92: ...nly retries of the read operation are used layer error correction is not used CIRC recovered data errors are reported If a CIRC recovered data error occurs data transfer is not terminated However when the data transfer has completed a CHECK CONDITION status is reported The sense key is set to RECOVERED ERROR and the additional sense code is set to CIRC RECOVERED DATA ERROR The information bytes ar...

Страница 93: ...1 1 6 I MSB I 1 Disconnect Time Limit I 7 I LSB I 1 1 8 I MSB I 1 Connect Time Limit I 9 I LSB I 1 1 10 I Reserved I 1 1 11 I Reserved The Buffer Full Ratio indicates to the controller on read operations how full the buffer will be prior to attempting a reselection The number of blocks available in the buffer when reselection is attempted for given Buffer Full Ratio is specified in Table 5 39 The ...

Страница 94: ... ACK handshake If the Bus Inactivity Limit is exceeded the controller will disconnect if the initiator has granted the disconnect privilege The controller may round to its nearest capable value A value of zero allows the controller to assert BSY until completion of the command The default value of Bus Inactivity Limit is zero The Disconnect Time Limit indicates the minimum time in 100 microsecond ...

Страница 95: ...s is the same as for read operations on CD ROM devices 5 3 1 4 Page Code Eight Table 5 42 Page Code Eight CD ROM Parameters Bit I Byte I 7 6 5 4 3 2 1 o o I Reserved I Page Code 08h i 1 I Parameter Length 02h 1 2 I Reserved I LBAMSF 1 3 I I Reserved Inactivity Timer Multiplier The LBAMSF bit if zero indicates that the target will use the logical block addressing mode The LBAMSF bit if one indicate...

Страница 96: ... Timer Multiplier sets the length of time that the drive will remain in the hold track state after completion of a seek or read operation The default value is five Table 5 45 Inactivity Times Inactivity Timer Minimum Time in Inactivity Timer Minimum Time in Multiplier Hold Track State Mul tiplier Hold Track State Oh infinite 8h 16 minutes Ih 2 minutes 9h 18 minutes 2h 4 minutes Ah 20 minutes 3h 6 ...

Страница 97: ... 11 Output port 1 Volume FFh 1 1 12 Reserved Out port 2 ch Select Oh 13 Output port 2 Volume OOh 14 Reserved lOut port 3 ch Select Oh 1 1 15 1 Output port 3 Volume OOh Default value If Immd Immediate bit is set to one the command shall be terminated at the moment when the seek operation in audio commands of Group 2 such as play audio is completed If this bit is set zero the command shall not be te...

Страница 98: ...meters Disconnect Reconnect Control Parameters Verify Error Recovery Parameters CD ROM Parameters CD ROM Audio Control Parameters Return All Implemented Pages The MODE SENSE pages have the same meanings of the fields within a page the settings are reported instead of 5 76 format as MODE SELECT pages are the same except that in being requested The MODE SENSE ...

Страница 99: ...ption 04 Unit off line BO Caddy not inserted in drive B1 Unable to recover TOC B2 Caddy load eject failed B7 TOC read in progress For Sense Key MEDIUM ERROR 3h Code Description 02 Error occurred during seek operation 11 L EC uncorrectable data error L EC on 83 CIRC unrecovered data error L EC off For Sense Key HARDWARE ERROR 4h Code Description 08 Logical unit communication failure 09 Tracking ser...

Страница 100: ...nit number 26 Invalid field in parameter list 80 Prevent bit is set 81 Logical unit is reserved 82 End of user area encountered on this track 84 Illegal mode for this track 85 Audio address not valid For Sense Key UNIT ATTENTION 6h Code Description 28 Not ready to ready transition caddy inserted 29 Power on reset or BUS DEVICE RESET occurred 2A Mode select parameters changed For Sense Key ABORTED ...

Страница 101: ... are called tracks The The data within a track is either CD ROM or CD Audio TOe The Table Of Contents has information on the t e of each track and the starting address of the user data in a tracks This information is encoded in the Sub Q channel during tne lead in area of the compact disc MSF Address The address on the disc in minutes seconds and frame number All three must be specified to determi...

Страница 102: ... ...

Отзывы: