ANSI INCITS 482-2012 Information Technology C ATA ATAPI Command Set - 2 (ACS-2).pdf

上传人:李朗 文档编号:435792 上传时间:2018-11-14 格式:PDF 页数:545 大小:2MB
下载 相关 举报
ANSI INCITS 482-2012 Information Technology C ATA ATAPI Command Set - 2 (ACS-2).pdf_第1页
第1页 / 共545页
ANSI INCITS 482-2012 Information Technology C ATA ATAPI Command Set - 2 (ACS-2).pdf_第2页
第2页 / 共545页
ANSI INCITS 482-2012 Information Technology C ATA ATAPI Command Set - 2 (ACS-2).pdf_第3页
第3页 / 共545页
ANSI INCITS 482-2012 Information Technology C ATA ATAPI Command Set - 2 (ACS-2).pdf_第4页
第4页 / 共545页
ANSI INCITS 482-2012 Information Technology C ATA ATAPI Command Set - 2 (ACS-2).pdf_第5页
第5页 / 共545页
亲,该文档总共545页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、American National StandardDeveloped byfor Information Technology ATA/ATAPI Command Set - 2(ACS-2)INCITS 482-2012INCITS 482-2012INCITS 482-2012American National Standardfor Information Technology ATA/ATAPI Command Set -2(ACS-2)SecretariatInformation Technology Industry CouncilApproved May 30, 2012Ame

2、rican National Standards Institute, Inc.AbstractThis standard specifies the AT Attachment command set used to communicate between host systems andstorage devices. This provides a common command set for systems manufacturers, system integrators,software suppliers, and suppliers of storage devices. Th

3、e AT Attachment command set includes thePACKET feature set implemented by devices commonly known as ATAPI devices. This standard main-tains a high degree of compatibility with the AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS) (seeANSI INCITS 453-2008).Approval of an American National Standard r

4、equires 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 Review, substantial agreement has been reached by directly andmaterially affec

5、ted 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 resolution.The use of American National Standards is completely voluntary; theire

6、xistence 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 American National Standards Institute does not develop standards andwill in no circ

7、umstances 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 Standards Institute. Requests for interpretations should beaddressed to the secretar

8、iat 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 that action be taken periodically to reaffirm, revise, orwithdraw this standa

9、rd. 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 Institute, Inc.25 West 43rd Street, New York, NY 10036Copyright 2012 by Infor

10、mation 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, 1101 K Street NW, Suite 610, Washington, DC 20005. Printed in the United States of AmericaCAUT

11、ION: The developers of this standard have requested that holders of patents that may be re-quired for the implementation of the standard disclose such patents to the publisher. However, nei-ther the developers nor the publisher have undertaken a patent search in order to identify which, ifany, paten

12、ts may apply to this standard. As of the date of publication of this standard, followingcalls for the identification of patents that may be required for the implementation of the standard,notice of one or more such claims has been received. By publication of this standard, no positionis taken with r

13、espect to the validity of this claim or of any rights in connection therewith. The knownpatent holder(s) has (have), however, filed a statement of willingness to grant a license underthese rights on reasonable and nondiscriminatory terms and conditions to applicants desiring to ob-tain such a licens

14、e. Details may be obtained from the publisher. No further patent search is con-ducted by the developer or publisher in respect to any standard it processes. No representation ismade or implied that this is the only license that may be required to avoid infringement in the use ofthis standard.iConten

15、tsPageForewordxvIntroduction . xviii1 Scope . 12 Normative references . 22.1 General . 22.2 Approved references 22.3 References under development . 32.4 Other references . 33 Definitions, abbreviations, and conventions . 43.1 Definitions and abbreviations . 43.2 Symbols and abbreviations 83.3 Conven

16、tions 93.3.1 Overview . 93.3.2 Precedence . 93.3.3 Lists . 103.3.4 Keywords 103.3.5 Numbering . 113.3.6 Bit conventions 123.3.7 Number range convention . 123.3.8 State diagram conventions 123.3.9 Byte, word, DWord, and QWord Relationships . 143.3.10 ATA string convention . 153.3.11 Offset Convention

17、 . 164 Feature set definitions 174.1 Overview . 174.2 General feature set . 174.3 The PACKET feature set 184.3.1 Overview . 184.3.2 Identification of PACKET feature set devices . 184.3.3 Signature for ATAPI devices . 194.3.4 The PACKET command 194.4 48-bit Address feature set 194.5 Advanced Power Ma

18、nagement (APM) feature set . 194.6 CompactFlash Association (CFA) feature set 204.7 Device Configuration Overlay (DCO) feature set . 204.8 Extended Power Conditions (EPC) feature set 234.8.1 Overview . 234.8.2 Power conditions . 234.8.3 Power condition timers 244.8.4 Interaction with resets, command

19、s and other features if the EPC feature set is enabled . 244.9 Free-fall Control feature set 254.10 General Purpose Logging (GPL) feature set 264.11 Host Protected Area (HPA) feature set 264.11.1 HPA overview 264.11.2 HPA security extensions . 264.11.3 28-bit and 48-bit HPA commands interactions 274

20、.11.4 IDENTIFY DEVICE data . 284.11.5 Determination of SET MAX security extension status . 294.11.6 HPA State Transition Diagrams 29ii4.12 Long Logical Sector (LLS) feature set 444.13 Long Physical Sector (LPS) feature set 464.14 Native Command Queuing (NCQ) feature set 484.14.1 Overview . 484.14.2

21、Priority . 484.14.3 Unload . 494.14.4 Command Phases . 494.15 NV Cache feature set . 494.16 NV Cache Power Management feature set 514.17 Power Management feature set . 514.17.1 Overview . 514.17.2 Power management commands . 524.17.3 Standby timer 524.17.4 Power modes 534.18 Power-Up In Standby (PUI

22、S) feature set 554.19 Sanitize Device feature set . 564.20 Security feature set . 604.20.1 Overview . 604.20.2 Passwords . 604.20.3 Master Password Capability 604.20.4 Frozen Mode . 604.20.5 Commands 604.20.6 IDENTIFY DEVICE data . 614.20.7 Security initial setting 614.20.8 Password Rules 614.20.9 P

23、assword attempt counter 614.20.10 Security states . 614.20.11 Master Password Identifier feature . 724.21 Self-Monitoring, Analysis, and Reporting Technology (SMART) feature set 734.21.1 Overview . 734.21.2 Device SMART data structure . 734.21.3 Background data collection . 734.21.4 Off-line/Captive

24、 mode data collection . 734.21.5 Threshold exceeded condition 734.21.6 SMART feature set commands . 734.21.7 SMART operation with power management modes 734.21.8 SMART device error log reporting . 744.22 Sense Data Reporting feature set 744.23 Software Settings Preservation (SSP) feature set 744.24

25、Streaming feature set . 754.24.1 Streaming feature set overview . 754.24.2 Streaming commands . 754.25 Trusted Computing feature set . 764.26 Write-Read-Verify feature set . 775 ATA protocols 796 Normal and Error Output field descriptions 806.1 Overview . 806.2 Status field 806.2.1 Overview . 806.2.

26、2 Alignment Error . 806.2.3 Busy bit . 816.2.4 Check Condition bit . 816.2.5 Data Request bit . 816.2.6 Deferred Write Error bit . 816.2.7 Device Fault bit . 81iii6.2.8 Device Ready bit . 816.2.9 Error bit . 816.2.10 Sense Data Available 816.2.11 Stream Error bit . 816.2.12 Transport Dependent (TD)

27、826.3 Error field 826.3.1 Overview . 826.3.2 Abort bit . 826.3.3 Attempted Partial Range Removal bit . 826.3.4 Command Completion Time Out bit 826.3.5 End of Media bit 826.3.6 ID Not Found bit 826.3.7 Illegal Length Indicator bit . 836.3.8 Insufficient LBA Range Entries Remaining bit 836.3.9 Insuffi

28、cient NV Cache Space bit 836.3.10 Interface CRC bit . 836.3.11 Media Error bit . 836.3.12 Sense Key field . 836.3.13 Uncorrectable Error bit 836.4 Interrupt Reason field . 836.4.1 Overview . 836.4.2 Command/Data bit 836.4.3 Input/Output (I/O) bit . 836.5 Count field 846.5.1 overview 846.5.2 NCQ Tag

29、field . 846.6 SActive field 846.7 SATA Status . 847 Command descriptions 857.1 Command description introduction . 857.1.1 Overview . 857.2 CFA ERASE SECTORS - C0h, Non-Data 897.3 CFA REQUEST EXTENDED ERROR CODE - 03h, Non-Data . 907.4 CFA TRANSLATE SECTOR - 87h, PIO Data-In 927.5 CFA WRITE MULTIPLE

30、WITHOUT ERASE - CDh, PIO Data-Out 937.6 CFA WRITE SECTORS WITHOUT ERASE - 38h, PIO Data-Out . 947.7 CHECK POWER MODE - E5h, Non-Data 957.8 CONFIGURE STREAM - 51h, Non-Data . 967.9 DATA SET MANAGEMENT - 06h, DMA 987.10 Device Configuration Overlay (DCO) . 1007.10.1 DCO Overview 1007.10.2 DEVICE CONFI

31、GURATION FREEZE LOCK - B1h/C1h, Non-Data 1017.10.3 DEVICE CONFIGURATION IDENTIFY - B1h/C2h, PIO Data-In. 1027.10.4 DEVICE CONFIGURATION IDENTIFY DMA - B1h/C4h, DMA. 1077.10.5 DEVICE CONFIGURATION RESTORE - B1h/C0h, Non-Data 1087.10.6 DEVICE CONFIGURATION SET - B1h/C3h, PIO Data-Out 1097.10.7 DEVICE

32、CONFIGURATION SET DMA - B1h/C5h, DMA 1207.11 DEVICE RESET - 08h, Device Reset . 1217.12 DOWNLOAD MICROCODE - 92h, PIO Data-Out/Non-Data 1227.13 DOWNLOAD MICROCODE DMA - 93h, DMA . 1257.14 EXECUTE DEVICE DIAGNOSTIC - 90h, Execute Device Diagnostic . 1267.15 FLUSH CACHE - E7h, Non-Data . 1287.16 FLUSH

33、 CACHE EXT - EAh, Non-Data . 1297.17 IDENTIFY DEVICE - ECh, PIO Data-In 1307.18 IDENTIFY PACKET DEVICE - A1h, PIO Data-In . 1727.19 IDLE - E3h, Non-Data . 191iv7.20 IDLE IMMEDIATE - E1h, Non-Data 1937.21 Non-Volatile Cache . 1957.21.1 NV Cache Overview 1957.21.2 NV Cache Power Management Overview .

34、1957.21.3 ADD LBA(S) TO NV CACHE PINNED SET - B6h/10h, DMA 1977.21.4 FLUSH NV CACHE - B6h/14h, Non-Data 1997.21.5 NV CACHE DISABLE- B6h/16h, Non-Data . 2007.21.6 NV CACHE ENABLE - B6h/15h, Non-Data . 2017.21.7 QUERY NV CACHE MISSES - B6h/13h, DMA 2027.21.8 QUERY NV CACHE PINNED SET - B6h/12h, DMA 20

35、47.21.9 REMOVE LBA(S) FROM NV CACHE PINNED SET - B6h/11h, DMA/Non-Data 2067.21.10 RETURN FROM NV CACHE POWER MODE - B6h/01h, Non-Data. 2087.21.11 SET NV CACHE POWER MODE - B6h/00h, Non-Data 2097.22 NOP - 00h, Non-Data . 2107.23 PACKET - A0h, Packet . 2117.24 READ BUFFER - E4h, PIO Data-In 2147.25 RE

36、AD BUFFER DMA - E9h, DMA 2157.26 READ DMA - C8h, DMA . 2167.27 READ DMA EXT - 25h, DMA . 2177.28 READ FPDMA QUEUED - 60h, DMA Queued . 2187.29 READ LOG EXT - 2Fh, PIO Data-In . 2207.30 READ LOG DMA EXT - 47h, DMA . 2227.31 READ MULTIPLE - C4h, PIO Data-In 2237.32 READ MULTIPLE EXT - 29h, PIO Data-In

37、 . 2247.33 READ NATIVE MAX ADDRESS - F8h, Non-Data 2257.34 READ NATIVE MAX ADDRESS EXT - 27h, Non-Data 2267.35 READ SECTOR(S) - 20h, PIO Data-In . 2277.36 READ SECTOR(S) EXT - 24h, PIO Data-In . 2287.37 READ STREAM DMA EXT - 2Ah, DMA . 2297.38 READ STREAM EXT - 2Bh, PIO Data-In . 2327.39 READ VERIFY

38、 SECTOR(S) - 40h, Non-Data 2337.40 READ VERIFY SECTOR(S) EXT - 42h, Non-Data 2347.41 REQUEST SENSE DATA EXT - 0Bh, Non-Data . 2357.42 Sanitize Device . 2367.42.2 BLOCK ERASE EXT B4h/0012h, Non-Data. 2377.42.3 CRYPTO SCRAMBLE EXT B4h/0011h, Non-Data. 2397.42.4 OVERWRITE EXT B4h/0014h, Non-Data. 2417.

39、42.5 SANITIZE FREEZE LOCK EXT B4h/0020h, Non-Data 2437.42.6 SANITIZE STATUS EXT B4h/0000h, Non-Data. 2447.43 SECURITY DISABLE PASSWORD - F6h, PIO Data-Out 2467.44 SECURITY ERASE PREPARE - F3h, Non-Data . 2487.45 SECURITY ERASE UNIT - F4h, PIO Data-Out 2497.46 SECURITY FREEZE LOCK - F5h, Non-Data . 2

40、517.47 SECURITY SET PASSWORD - F1h, PIO Data-Out 2527.48 SECURITY UNLOCK - F2h, PIO Data-Out 2547.49 SET FEATURES - EFh, Non-Data . 2567.49.3 Enable/disable 8-bit PIO data transfer 2587.49.4 Enable/disable volatile write cache . 2587.49.5 Set transfer mode 2597.49.6 Enable/disable the APM feature se

41、t 2607.49.7 Enable/disable the PUIS feature set . 2607.49.8 PUIS feature set device spin-up 2607.49.9 Enable/disable CFA power mode 1 . 2607.49.10 Enable/Disable Write-Read-Verify feature set 2617.49.11 Set Maximum Host Interface Sector Times . 2627.49.12 Enable/disable read look-ahead 2627.49.13 En

42、able/disable reverting to defaults 262v7.49.14 Enable/Disable the Free-fall Control feature set . 2627.49.15 Enable/Disable SATA feature . 2627.49.16 Enable/Disable the Sense Data Reporting feature set 2647.49.17 Long Physical Sector Alignment Error Reporting Control . 2647.49.18 Extended power cond

43、itions . 2647.50 SET MAX 2747.50.2 SET MAX ADDRESS - F9h, Non-Data 2757.50.3 SET MAX FREEZE LOCK F9h/04h, Non-Data. 2787.50.4 SET MAX LOCK - F9h/02h, Non-Data. 2797.50.5 SET MAX SET PASSWORD - F9h/01h, PIO Data-Out . 2807.50.6 SET MAX SET PASSWORD DMA - F9h/05h, DMA 2817.50.7 SET MAX UNLOCK - F9h/03

44、h, PIO Data-Out . 2827.50.8 SET MAX UNLOCK DMA - F9h/06h, DMA 2847.51 SET MAX ADDRESS EXT - 37h, Non-Data . 2857.52 SET MULTIPLE MODE - C6h, Non-Data . 2877.53 SLEEP - E6h, Non-Data . 2897.54 SMART . 2907.54.2 SMART DISABLE OPERATIONS - B0h/D9h, Non-Data . 2917.54.3 SMART ENABLE/DISABLE ATTRIBUTE AU

45、TOSAVE - B0h/D2h, Non-Data. 2927.54.4 SMART ENABLE OPERATIONS - B0h/D8h, Non-Data 2947.54.5 SMART EXECUTE OFF-LINE IMMEDIATE - B0h/D4h, Non-Data 2957.54.6 SMART READ DATA - B0h/D0h, PIO Data-In. 2997.54.7 SMART READ LOG - B0h/D5h, PIO Data-In. 3047.54.8 SMART RETURN STATUS - B0h/DAh, Non-Data 3057.5

46、4.9 SMART WRITE LOG - B0h/D6h, PIO Data-Out 3067.55 STANDBY - E2h, Non-Data 3077.56 STANDBY IMMEDIATE - E0h, Non-Data . 3087.57 TRUSTED NON-DATA - 5Bh, Non-Data 3097.58 TRUSTED RECEIVE - 5Ch, PIO Data-In . 3107.59 TRUSTED RECEIVE DMA - 5Dh, DMA . 3157.60 TRUSTED SEND - 5Eh, PIO Data-Out 3167.61 TRUS

47、TED SEND DMA - 5Fh, DMA . 3187.62 WRITE BUFFER - E8h, PIO Data-Out . 3197.63 WRITE BUFFER DMA - EBh, DMA 3207.64 WRITE DMA - CAh, DMA . 3217.65 WRITE DMA EXT - 35h, DMA 3227.66 WRITE DMA FUA EXT - 3Dh, DMA . 3237.67 WRITE FPDMA QUEUED - 61h, DMA Queued . 3247.68 WRITE LOG EXT - 3Fh, PIO Data-Out 326

48、7.69 WRITE LOG DMA EXT - 57h, DMA . 3287.70 WRITE MULTIPLE - C5h, PIO Data-Out 3297.71 WRITE MULTIPLE EXT - 39h, PIO Data-Out 3307.72 WRITE MULTIPLE FUA EXT - CEh, PIO Data-Out . 3327.73 WRITE SECTOR(S) - 30h, PIO Data-Out 3347.74 WRITE SECTOR(S) EXT - 34h, PIO Data-Out 3357.75 WRITE STREAM DMA EXT

49、- 3Ah, DMA . 3367.76 WRITE STREAM EXT - 3Bh, PIO Data-Out . 3397.77 WRITE UNCORRECTABLE EXT - 45h, Non-Data 3408 SCT Command Transport 3428.1 Introduction . 3428.1.1 Overview . 3428.1.2 SCT command nesting and interspersing with standard commands 3428.1.3 Resets . 3428.2 Processing SCT commands . 3438.2.1 Processing SCT commands overview 3438.2.2 SCT capability identification 343vi8.2.3 SCT command transfer . 3438.2.4 SCT data transfer 3488.2.5 SCT status 3498.3 SCT Command Set 3538.3.1 Overview . 3538.3.2 SCT Write Same command . 3548.3.3 SCT Error Recovery Control command . 3

展开阅读全文
相关资源
  • ANSI Z97 1-2009 American National Standard for Safety Glazing Materials used in Buildings - Safety Performance Specifications and Methods of Test《建筑物中窗用玻璃材料安全性用.pdfANSI Z97 1-2009 American National Standard for Safety Glazing Materials used in Buildings - Safety Performance Specifications and Methods of Test《建筑物中窗用玻璃材料安全性用.pdf
  • ANSI Z97 1 ERTA-2010 Re ANSI Z97 1 - 2009 Errata《修订版 美国国家标准学会Z97 1-2009标准的勘误表》.pdfANSI Z97 1 ERTA-2010 Re ANSI Z97 1 - 2009 Errata《修订版 美国国家标准学会Z97 1-2009标准的勘误表》.pdf
  • ANSI Z21 40 2a-1997 Gas-Fired Work Activated Air-Conditioning and Heat Pump Appliances (Same as CGA 2 92a)《燃气、工作激活空气调节和热泵器具(同 CGA 2 92a)》.pdfANSI Z21 40 2a-1997 Gas-Fired Work Activated Air-Conditioning and Heat Pump Appliances (Same as CGA 2 92a)《燃气、工作激活空气调节和热泵器具(同 CGA 2 92a)》.pdf
  • ANSI Z124 9-2004 American National Standard for Plastic Urinal Fixtures《塑料小便器用美国国家标准》.pdfANSI Z124 9-2004 American National Standard for Plastic Urinal Fixtures《塑料小便器用美国国家标准》.pdf
  • ANSI Z124 4-2006 American National Standard for Plastic Water Closet Bowls and Tanks《塑料抽水马桶和水箱用美国国家标准》.pdfANSI Z124 4-2006 American National Standard for Plastic Water Closet Bowls and Tanks《塑料抽水马桶和水箱用美国国家标准》.pdf
  • ANSI Z124 3-2005 American National Standard for Plastic Lavatories《塑料洗脸盆用美国国家标准》.pdfANSI Z124 3-2005 American National Standard for Plastic Lavatories《塑料洗脸盆用美国国家标准》.pdf
  • ANSI T1 659-1996 Telecommunications - Mobility Management Application Protocol (MMAP) RCF-RACF Operations《电信 可移动管理应用协议(MMAP) RCF-RACF操作》.pdfANSI T1 659-1996 Telecommunications - Mobility Management Application Protocol (MMAP) RCF-RACF Operations《电信 可移动管理应用协议(MMAP) RCF-RACF操作》.pdf
  • ANSI T1 651-1996 Telecommunications – Mobility Management Application Protocol (MMAP)《电信 可移动性管理应用协议》.pdfANSI T1 651-1996 Telecommunications – Mobility Management Application Protocol (MMAP)《电信 可移动性管理应用协议》.pdf
  • ANSI T1 609-1999 Interworking between the ISDN User-Network Interface Protocol and the Signalling System Number 7 ISDN User Part《电信 ISDN用户间网络接口协议和7号信令系统ISDN用户部分.pdfANSI T1 609-1999 Interworking between the ISDN User-Network Interface Protocol and the Signalling System Number 7 ISDN User Part《电信 ISDN用户间网络接口协议和7号信令系统ISDN用户部分.pdf
  • ANSI T1 605-1991 Integrated Services Digital Network (ISDN) - Basic Access Interface for S and T Reference Points (Layer 1 Specification)《综合服务数字网络(ISDN) S和T基准点的.pdfANSI T1 605-1991 Integrated Services Digital Network (ISDN) - Basic Access Interface for S and T Reference Points (Layer 1 Specification)《综合服务数字网络(ISDN) S和T基准点的.pdf
  • 猜你喜欢
    相关搜索

    当前位置:首页 > 标准规范 > 国际标准 > ANSI

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1