ANSI INCITS482-2012 Information technology - ATA ATAPI Command Set - 2 (ACS-2)《信息技术.ATA ATAPI指挥台.2(ACS-2)》.pdf

上传人:brainfellow396 文档编号:436830 上传时间:2018-11-14 格式:PDF 页数:545 大小:3.49MB
下载 相关 举报
ANSI INCITS482-2012 Information technology - ATA ATAPI Command Set - 2 (ACS-2)《信息技术.ATA ATAPI指挥台.2(ACS-2)》.pdf_第1页
第1页 / 共545页
ANSI INCITS482-2012 Information technology - ATA ATAPI Command Set - 2 (ACS-2)《信息技术.ATA ATAPI指挥台.2(ACS-2)》.pdf_第2页
第2页 / 共545页
ANSI INCITS482-2012 Information technology - ATA ATAPI Command Set - 2 (ACS-2)《信息技术.ATA ATAPI指挥台.2(ACS-2)》.pdf_第3页
第3页 / 共545页
ANSI INCITS482-2012 Information technology - ATA ATAPI Command Set - 2 (ACS-2)《信息技术.ATA ATAPI指挥台.2(ACS-2)》.pdf_第4页
第4页 / 共545页
ANSI INCITS482-2012 Information technology - ATA ATAPI Command Set - 2 (ACS-2)《信息技术.ATA ATAPI指挥台.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-2012Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-Co

2、pyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-INCITS 482-2012American National Standardfor Information Technology ATA/ATAPI Command Set -2(ACS-2)SecretariatInformation Technolog

3、y Industry CouncilApproved May 30, 2012American 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 suppl

4、iers, and suppliers of storage devices. The 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).C

5、opyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other crite

6、ria 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 affected interests. Substantial agreement means much more thana simple majority, but not nec

7、essarily 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; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards

8、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 circumstances give an interpretation of any American NationalStandard. Moreover, no person

9、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 secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: Thi

10、s 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 standard. Purchasers of American National Standards mayreceive current information on all sta

11、ndards 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 Information Technology Industry Council (ITI)All rights reserved.No part of this publication

12、 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 AmericaCAUTION: The developers of this standard have requested that holders of patents that may be

13、 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, patents may apply to this standard. As of the date of publication of this standard, followin

14、gcalls 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 respect to the validity of this claim or of any rights in connection therewith. The know

15、npatent 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 license. Details may be obtained from the publisher. No further patent search is con-ducted b

16、y 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.Copyright American National Standards Institute Provided by IHS under license with ANSI Not fo

17、r ResaleNo reproduction or networking permitted without license from IHS-,-,-iContentsPageForewordxvIntroduction . 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 conventio

18、ns . 43.1 Definitions and abbreviations . 43.2 Symbols and abbreviations 83.3 Conventions 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, a

19、nd QWord Relationships . 143.3.10 ATA string convention . 153.3.11 Offset Convention . 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 .

20、 194.3.4 The PACKET command 194.4 48-bit Address feature set 194.5 Advanced Power Management (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

21、conditions . 234.8.3 Power condition timers 244.8.4 Interaction with resets, commands 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.

22、2 HPA security extensions . 264.11.3 28-bit and 48-bit HPA commands interactions 274.11.4 IDENTIFY DEVICE data . 284.11.5 Determination of SET MAX security extension status . 294.11.6 HPA State Transition Diagrams 29Copyright American National Standards Institute Provided by IHS under license with A

23、NSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-ii4.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 Priority . 484.14.3 Unload . 494.14.4 Command

24、 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 (PUIS) feature set 554.19 Sanitize Device feature

25、 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 Password attempt counter 614.20.10 Security st

26、ates . 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 mode data collection . 734.21.5 Threshold ex

27、ceeded 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 Streaming feature set . 754.24.1 Streaming fe

28、ature 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.2 Alignment Error . 806.2.3 Busy bit . 816.2.

29、4 Check Condition bit . 816.2.5 Data Request bit . 816.2.6 Deferred Write Error bit . 816.2.7 Device Fault bit . 81Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-iii6.2.8 Devic

30、e 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) 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.

31、6 ID Not Found bit 826.3.7 Illegal Length Indicator bit . 836.3.8 Insufficient LBA Range Entries Remaining bit 836.3.9 Insufficient 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 . 83

32、6.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 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 8

33、97.3 CFA REQUEST EXTENDED ERROR CODE - 03h, Non-Data . 907.4 CFA TRANSLATE SECTOR - 87h, PIO Data-In 927.5 CFA WRITE MULTIPLE 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 .

34、967.9 DATA SET MANAGEMENT - 06h, DMA 987.10 Device Configuration Overlay (DCO) . 1007.10.1 DCO Overview 1007.10.2 DEVICE CONFIGURATION 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

35、 DEVICE CONFIGURATION RESTORE - B1h/C0h, Non-Data 1087.10.6 DEVICE CONFIGURATION SET - B1h/C3h, PIO Data-Out 1097.10.7 DEVICE 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,

36、DMA . 1257.14 EXECUTE DEVICE DIAGNOSTIC - 90h, Execute Device Diagnostic . 1267.15 FLUSH CACHE - E7h, Non-Data . 1287.16 FLUSH 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 . 191Copyright Americ

37、an National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-iv7.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 . 195

38、7.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 2047.

39、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 READ

40、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 .

41、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 SE

42、CTOR(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.42.

43、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 . 2517

44、.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 set 2

45、607.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 Enabl

46、e/disable reverting to defaults 262Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-v7.49.14 Enable/Disable the Free-fall Control feature set . 2627.49.15 Enable/Disable SATA fea

47、ture . 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 conditions . 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 MA

48、X 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/03h, 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 MOD

49、E - 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 AUTOSAVE - 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, PI

展开阅读全文
相关资源
猜你喜欢
相关搜索

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

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