1、American National StandardDeveloped byfor Information Technology SCSI Multimedia Commands - 4(MMC-4)ANSI INCITS 401-2005ANSIINCITS401-2005Stabilized as INCITS 401-2005 S2015ANSIINCITS 401-2005American National Standardfor Information Technology SCSI Multimedia Commands - 4(MMC-4)SecretariatInformati
2、on Technology Industry CouncilApproved August 25, 2005 American National Standards Institute, Inc.AbstractThis standard defines a SCSI based command set needed to access multimedia features. The applicableclauses of this standard when used in conjunction with other standards and publications define
3、a full stan-dard set of commands.Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Re
4、view, substantial agreement has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resol
5、ution.The use of American National Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The America
6、n National Standards Institute does not develop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standard
7、s Institute. Requests for interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require t
8、hat action be taken periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards I
9、nstitute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2005 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW
10、, Washington, DC 20005. Printed in the United States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may berequired for the implementation of the standard disclose such patents to the publisher. However,neither the developers nor the publisher have unde
11、rtaken a patent search in order to identifywhich, if any, patents may apply to this standard. As of the date of publication of this standardand following calls for the identification of patents that may be required for the implementation ofthe standard, no such claims have been made. No further pate
12、nt search is conducted by the de-veloper or publisher in respect to any standard it processes. No representation is made or impliedthat licenses are not required to avoid infringement in the use of this standard.iContentsPageForeword .xlviii1 Scope. 12 References. 32.1 Normative References . 32.2 Ap
13、proved References 32.3 References Under Development 42.4 Other References. 43 Definitions, Symbols, Abbreviations, and Conventions 73.1 Definitions 73.2 List of Abbreviations and Acronyms. 183.3 Keywords . 193.4 Conventions. 203.5 Bit and byte ordering 214 Multi-Media Device Models 234.1 General 234
14、.1.1 Media Organization 234.1.2 Logical Blocks 234.1.3 Logical Sub-Divisions of Media 244.1.3.1 General 244.1.3.2 Logical Tracks 244.1.3.3 Sessions 244.1.4 Data cache. 254.1.5 Resets 254.1.5.1 Reset Types. 254.1.5.2 Power-On Reset 254.1.5.3 Hard Reset. 264.1.5.4 Device Reset 264.1.6 Error reporting
15、264.1.6.1 Unit Attention Conditions . 264.1.6.2 Logical Unit Busy Conditions . 264.1.6.3 Unable to Write Errors . 284.1.6.4 Deferred Errors 284.1.7 Removable medium. 284.1.8 Timeouts 304.1.8.1 General 304.1.8.2 Group 1 Timeouts 304.1.8.3 Group 2 Timeouts 314.1.8.4 No Timeout Commands. 314.1.8.5 Grou
16、p 3 timeout for Real Time Stream recording/playback. 314.1.8.5.1 General 314.1.8.5.2 Trace time for requested sectors . 324.1.8.5.3 Exception 1: Time for the initial OPC. 324.1.8.5.4 Exception 2: Sync cache time 33iiPage4.1.8.5.5 Exception 3: Power state transition time to Active state 334.1.8.5.6 R
17、elationship of Group 3 time unit and Unit length . 334.1.8.6 Recommended Timeout value handling 344.1.9 Power Management. 354.2 CD Model. 364.2.1 CD Media Organization . 364.2.2 Recorded CD Media Structure. 364.2.2.1 The CD Frame Structure . 364.2.2.2 Sub-channel. 374.2.3 Physical Track Topology: Si
18、ngle Session Disc 394.2.4 Physical track topology - Multi-Session Disc . 394.2.4.1 Sessions 394.2.4.2 Tracks 394.2.4.3 Frame Addressing . 404.2.4.4 Q Sub-channel. 404.2.4.5 Q Sub-channel in the Program Area 414.2.4.5.1 Types of Q . 414.2.4.5.2 ADR=1 (0001b) - Mode-1 Q. 414.2.4.5.3 ADR=2 (0010b) - Mo
19、de-2 Q. 414.2.4.5.4 ADR=3 (0011b) - Mode-3 Q. 424.2.4.6 Q Sub-channel in the Lead-out Area . 434.2.4.7 Q Sub-channel in the Lead-in Area . 434.2.4.7.1 Types of Q . 434.2.4.7.2 Mode-1 Q. 434.2.4.7.3 Mode-2 Q. 444.2.4.7.4 Mode-5 Q. 444.2.4.8 CD Main Channel Block Formats 454.2.4.8.1 General Data Block
20、 Format . 454.2.4.8.2 Block Format for Audio 464.2.4.8.3 Block Format for Mode 0 Data. 464.2.4.8.4 Block Format for Mode 1 Data. 464.2.4.8.5 Block Format for Mode 2 Data. 474.2.4.9 CD Recordable and CD ReWritable Media Structure 484.2.4.9.1 ATIP. 484.2.4.9.2 ATIP Time Codes 504.2.4.9.3 Special Infor
21、mation 504.2.4.9.4 Additional Information 514.2.4.10 Blank Media Structure . 514.2.4.10.1 CD-R Volume 1 and CD-RW . 514.2.4.10.2 CD-R Volume 2 524.2.4.10.3 PMA Q Sub-channel 524.2.4.11 Recording 534.2.4.12 The Track Descriptor Block . 544.2.5 High Speed CD-RW media recording 554.2.6 CD Audio error r
22、eporting 564.2.7 CD ready condition/not ready condition. 564.2.8 Sensing support for CD-audio commands. 574.3 DDCD Model 584.3.1 Introduction 584.3.2 DDCD Specifications . 584.3.2.1 General 58iiiPage4.3.2.2 Disc Structure. 594.3.2.3 Single Session Disc . 604.3.2.4 Multi-Session Disc 614.3.2.5 Physic
23、al Sector 614.3.2.6 Sector Structure . 614.3.2.7 Sub-Channel Information Formats . 624.3.2.8 DDCD Ready Condition/Not Ready Condition . 624.3.2.9 DDCD Address Reporting Format (TIME bit). 634.3.2.10 Error Reporting. 634.3.2.11 Recording for DDCD media . 644.3.2.12 DDCD Recordable and DDCD ReWritable
24、 Structure. 644.3.2.13 Packet Layout for DDCD 654.4 DVD Model. 664.4.1 General 664.4.2 Physical Media Characteristics 664.4.2.1 The Disc. 664.4.2.2 Track (Groove) Structure . 674.4.2.3 ECC Blocks 684.4.2.3.1 General 684.4.2.3.2 The Structure of the Data Sector . 684.4.2.3.3 The Structure of the ECC
25、Block . 694.4.2.4 The Lead-in Area . 704.4.3 DVD-ROM 724.4.3.1 Track Structure. 724.4.3.2 Sector Structure . 724.4.3.3 The Lead-in 734.4.4 DVD-RAM 744.4.4.1 Track Structure. 744.4.4.2 Sector Structure . 744.4.4.3 The Lead-in 754.4.4.4 DVD-RAM Recording. 764.4.5 DVD-R/-RW 774.4.5.1 Track Structure. 7
26、74.4.5.2 Sector Structure . 774.4.5.3 The Lead-in 784.4.5.3.1 Control Data Zone 794.4.5.3.2 DVD-R/-RW Physical format information Zone 804.4.5.3.3 Extra Border Zone 814.4.5.4 DVD-R/-RW Recording 824.4.5.4.1 Rzone Description 824.4.5.4.2 Border-in/Border-out 824.4.5.4.3 RMA Caching. 824.4.6 DVD+R. 83
27、4.4.6.1 Track Structure. 834.4.6.1.1 The ADIP (Address in Pre-groove) 834.4.6.1.2 The ECC Block. 834.4.6.1.3 DVD+R Groove Layout 844.4.6.2 Recording on DVD+R. 854.4.6.2.1 Recording Structures . 854.4.6.2.2 The Initiators Perspective 884.4.6.2.3 Building from a Blank Disc . 89ivPage4.4.7 DVD+RW . 904
28、.4.7.1 Track Structure 904.4.7.1.1 The ADIP (Address in Pre-groove) 904.4.7.1.2 Logical Structure 904.4.7.2 The ECC Block 904.4.7.2.1 The Groove Layout 914.4.7.3 DVD+RW Basic Format. 914.4.7.3.1 Reading . 914.4.7.3.2 Writing 924.4.7.3.3 Formatting 924.4.8 Disc Control Blocks 934.5 The MRW Format for
29、 ReWritable Media . 944.5.1 Overview 944.5.2 Consequences of a Multi-Volume Format . 944.5.2.1 LBA Spaces . 944.5.2.2 Features and Events 954.5.3 Initiator Requests/Logical Unit Responses 954.5.3.1 General 954.5.3.2 Streamed Writing . 954.5.3.3 Formatting 954.5.3.4 Media Specific Implementations 954
30、.6 Logical Unit Assisted Software Defect Management. 964.6.1 General 964.6.2 Basic actions for defect management 964.6.3 Software Defect management modes . 964.6.3.1 General 964.6.3.2 Persistent defect management (Persistent-DM) mode 964.6.3.3 Distributed real-time defect management (DRT-DM) mode 97
31、4.6.4 Enhanced Defect Reporting. 974.6.4.1 General 974.6.4.2 Standard playback model for DVD-RW media 974.6.4.3 Four types of defect level. 974.6.4.4 Error reporting control 984.6.4.5 DBI memory management. 1014.6.4.5.1 General 1014.6.4.5.2 Simple DBI memory model 1014.6.4.5.3 Large DBI buffer memor
32、y model 1014.6.4.5.4 Small DBI cache memory model . 1014.6.5 Implicit synchronize cache. 1034.6.6 Persistent-DM mode behavior . 1044.6.6.1 General 1044.6.6.2 RECOVERED ERROR reporting control for Persistent-DM mode 1044.6.6.3 Recommend Initiator sequence of Persistent-DM mode . 1054.6.7 DRT-DM mode
33、behavior 1054.6.7.1 General 1054.6.7.2 Defect Level Transition model . 1054.6.7.3 Certification 1064.6.7.4 Detecting the use of a defective block . 1064.6.7.5 Management of defective block . 1074.6.7.6 Delayed replacement of data on defective block . 1074.6.7.7 RECOVERED ERROR reporting control for
34、DRT-DM mode. 107vPage4.7 Real-Time Stream Recording/Playback Model 1094.7.1 General 1094.7.2 Real-Time Stream Playback 1094.7.3 Error Handling with Hardware or No Defect Management. 1104.7.4 Real-Time Stream Recording. 1114.7.5 Error Handling with Hardware or No Defect Management. 1124.7.6 Error Han
35、dling with Software Defect Management 1124.7.7 Fatal error recovery model with Group 3 time-out 1124.8 Write Protect 1144.8.1 Types of Write Protect 1144.8.2 SWPP. 1144.8.3 CWP. 1154.8.4 MSWI . 1154.8.5 PWP. 1154.8.6 WDCB 1154.8.7 Event Reporting . 1154.8.8 Error reporting 1164.9 Changer Model. 1174
36、.9.1 General 1174.9.2 Side definition. 1174.9.2.1 Overview 1174.9.2.2 Side Changing Only Logical Unit . 1184.9.2.3 Attention Conditions for Sided Discs 1184.9.2.4 Error Conditions for Sided Discs 1184.9.2.5 Initialization 1194.9.3 Changer Addressing 1204.9.4 Automatic Load and Unload Operations 1204
37、.9.5 Delayed Disc load operation 1204.9.6 Prevent / Allow processing. 1214.9.7 Error Reporting for Changers. 1215 Features and Profiles for Multi-Media Devices 1225.1 Introduction 1225.2 Features. 1225.2.1 Overview 1225.2.2 Version field . 1235.2.3 Persistent Bit 1235.2.4 Current Bit 1235.2.5 Additi
38、onal Length Field. 1235.2.6 Feature Codes . 1235.3 Feature Definitions. 1265.3.1 Profile List Feature (0000h) 1265.3.2 Core Feature (0001h). 1285.3.3 Morphing Feature (0002h) . 1305.3.4 Removable Medium Feature (0003h) 1315.3.5 Write Protect Feature (0004h) 1335.3.6 Random Readable Feature (0010h) 1
39、345.3.7 Multi-Read Feature (001Dh) 1365.3.8 CD Read Feature (001Eh) . 1375.3.9 DVD Read Feature (001Fh). 138viPage5.3.10 Random Writable Feature (0020h) 1395.3.11 Incremental Streaming Writable (0021h) . 1415.3.12 Sector Erasable Feature (0022h) 1435.3.13 Formattable Feature (0023h). 1445.3.14 Hardw
40、are Defect Management Feature (0024h) . 1455.3.15 Write Once Feature (0025h) 1465.3.16 Restricted Overwrite Feature (0026h) . 1485.3.17 CD-RW CAV Write Feature (0027h) 1495.3.18 The MRW Feature (0028h) 1505.3.19 Enhanced Defect Reporting Feature (0029h) 1525.3.20 DVD+RW Feature (002Ah) 1545.3.21 DVD
41、+R Feature (002Bh) . 1565.3.22 Rigid Restricted Overwrite Feature (002Ch) 1575.3.23 CD Track at Once Feature (002Dh). 1595.3.24 CD Mastering (Session at Once) Feature (002Eh) 1615.3.25 DVD-R/-RW Write Feature (002Fh). 1635.3.26 Double Density CD Read Feature (0030h) 1645.3.27 Double Density CD-R Wri
42、te Feature (0031h) 1655.3.28 Double Density CD-RW Write Feature (0032h). 1665.3.29 CD-RW Media Write Support Feature (0037h) 1675.3.30 Power Management Feature (0100h) 1685.3.31 S.M.A.R.T. Feature (0101h) 1695.3.32 Embedded Changer Feature (0102h) 1705.3.33 CD Audio External Play Feature (0103h) 171
43、5.3.34 Microcode Upgrade Feature (0104h). 1735.3.35 Timeout Feature (0105h) . 1745.3.36 DVD CSS Feature (0106h) 1755.3.37 Real Time Streaming Feature (0107h) 1765.3.38 Logical Unit Serial Number Feature (0108h) . 1785.3.39 Media Serial Number Feature (0109h) 1795.3.40 Disc Control Blocks Feature (01
44、0Ah) 1805.3.41 DVD CPRM Feature (010Bh) 1815.3.42 Firmware Information Feature (010Ch) . 1825.4 Profile Definitions. 1845.4.1 Overview 1845.4.2 Profile 0000h: No Current Profile. 1845.4.3 Profile 0001h: Non-Removable Disk 1855.4.4 Profile 0002h: Removable Disk . 1865.4.5 Profile 0003h: Magneto-Optic
45、al Erasable 1875.4.6 Profile 0004h: Optical Write Once . 1885.4.7 Profile 0005h: AS-MO 1895.4.8 Profile 0008h: CD-ROM. 1905.4.9 Profile 0009h: CD-R. 1915.4.10 Profile 000Ah: CD-RW. 1935.4.11 Profile 0010h: DVD-ROM 1955.4.12 Profile 0011h: DVD-R Sequential recording 1965.4.13 Profile 0012h: DVD-RAM.
46、1985.4.14 Profile 0013h: DVD-RW Restricted Overwrite . 1995.4.15 Profile 0014h: DVD-RW Sequential recording. 2015.4.16 Profile 001Ah: DVD+RW 2035.4.17 Profile 001Bh: DVD+R. 205viiPage5.4.18 Profile 0020h: DDCD-ROM 2075.4.19 Profile 0021h: DDCD-R 2085.4.20 Profile 0022h: DDCD-RW 2095.4.21 Profile FFF
47、Fh: Logical Units Not Conformingto a Standard Profile . 2116 Commands for Multi-Media Devices 2126.1 Overview 2126.2 BLANK Command 2146.2.1 Introduction 2146.2.2 The CDB and its Parameters . 2146.2.2.1 The CDB 2146.2.2.2 IMMED . 2146.2.2.3 Blanking Type 2146.2.2.4 Start Address/Track Number 2146.2.3
48、 Command Execution 2176.2.4 Timeouts 2176.2.5 Error Reporting. 2176.3 CLOSE TRACK/SESSION Command . 2186.3.1 Introduction 2186.3.2 The CDB and its Parameters . 2186.3.2.1 The CDB 2186.3.2.2 IMMED . 2186.3.2.3 Close Functions . 2186.3.2.4 Track Number 2186.3.3 Command Execution 2216.3.4 Timeouts 2226
49、.3.5 Error Reporting. 2226.4 ERASE (10) Command 2236.4.1 Introduction 2236.4.2 The CDB and its Parameters . 2236.4.2.1 The CDB 2236.4.2.2 ERA 2236.4.2.3 IMMED . 2236.4.2.4 RelAdr 2236.4.2.5 Logical Block Address 2236.4.2.6 Number of Blocks. 2236.4.3 Command Execution 2246.4.4 Timeouts 2246.4.5 Error Reporting. 2246.5 FORMAT UNIT Command. 2256.5.1 Introduction 2256.5.2 The CDB and Its Parameters. 2256.5.2.1 The CDB 2256.5.2.2 FmtData . 2256.5.2.3 CmpList 2256.5.2.4 Format Code 2266.5.2.5 Interleave Value . 2266.5.3 Format Parameter List . 2266.5.3.1 List Format . 226viiiPage6.5.3.2 Form