ISO/IEC 17760-103:2021
(Main)Information technology — AT Attachment — Part 103: ATA/ATAPI Command Set - 3 (ACS-3)
Information technology — AT Attachment — Part 103: ATA/ATAPI Command Set - 3 (ACS-3)
This document specifies the command set host systems use to access storage devices. It provides a common command set for systems manufacturers, system integrators, software suppliers, and suppliers of intelligent storage devices. This document maintains compatibility with the ACS-2 standard, ISO/IEC 17760-102, while providing additional functions.
Titre manque — Partie 103: Titre manque
General Information
Standards Content (Sample)
ISO/IEC 17760-103
Edition 1.0 2021-06
INTERNATIONAL
STANDARD
colour
inside
Information technology – AT attachment –
Part 103: ATA/ATAPI Command Set - 3 (ACS-3)
ISO/IEC 17760-103:2021-06(en)
---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2021 ISO/IEC, Geneva, Switzerland
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about
ISO/IEC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address
below or your local IEC member National Committee for further information.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.
IEC publications search - webstore.iec.ch/advsearchform IEC online collection - oc.iec.ch
The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always
committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.
and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or
need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
---------------------- Page: 2 ----------------------
ISO/IEC 17760-103
Edition 1.0 2021-06
INTERNATIONAL
STANDARD
colour
inside
Information technology – AT attachment –
Part 103: ATA/ATAPI Command Set - 3 (ACS-3)
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 35.200 ISBN 978-2-8322-9827-5
Warning! Make sure that you obtained this publication from an authorized distributor.
---------------------- Page: 3 ----------------------
2 ISO/IEC 17760-103:2021 © ISO/IEC 2021
CONTENTS
FOREWORD. 16
INTRODUCTION . 18
1 Scope . 20
2 Normative references . 20
3 Terms, definitions, abbreviations, and conventions . 21
3.1 Terms and definitions . 21
3.2 Symbols and abbreviations. 30
3.2.1 Abbreviations . 30
3.2.2 Units: . 31
3.2.3 Mathematical operators: . 31
3.2.4 Other Symbols . 31
3.3 Conventions. 31
3.3.1 Overview . 31
3.3.2 Precedence . 32
3.3.3 Lists . 32
3.3.4 Keywords . 33
3.3.5 Numbering . 34
3.3.6 Bit conventions . 35
3.3.7 Number range convention . 35
3.3.8 State diagram conventions . 35
3.3.9 Byte, word, DWord, QWord, and DQWord Relationships . 37
3.3.10 ATA string convention . 38
3.3.11 Offset Convention . 39
4 Feature set definitions . 40
4.1 Overview. 40
4.1.1 Feature set summary . 40
4.1.2 Capacity reporting . 41
4.2 General feature set . 42
4.3 The PACKET feature set . 42
4.3.1 Overview . 42
4.3.2 Identification of PACKET feature set devices . 43
4.3.3 Signature for ATAPI devices . 43
4.3.4 The PACKET command . 43
4.4 48-bit Address feature set. 43
4.5 Accessible Max Address Configuration feature set . 44
4.5.1 Overview . 44
4.5.2 SET ACCESSIBLE MAX ADDRESS EXT description . 44
4.5.3 Device Statistics data . 44
4.6 Advanced Power Management (APM) feature set . 44
4.7 CompactFlash Association (CFA) feature set. 45
4.8 Device Statistics Notification (DSN) feature set. 45
4.8.1 Overview . 45
4.8.2 DSN notifications . 46
4.8.3 DSN notifications setup . 46
4.9 Extended Power Conditions (EPC) feature set. 47
4.9.1 Overview . 47
4.9.2 Power conditions . 47
4.9.3 Power condition timers . 47
4.9.4 Interaction with resets, commands, and other features if the EPC feature set is enabled . 48
---------------------- Page: 4 ----------------------
ISO/IEC 17760-103:2021 © ISO/IEC 2021 3
4.10 Free-fall Control feature set . 49
4.11 General Purpose Logging (GPL) feature set . 49
4.12 Long Logical Sector (LLS) feature set . 50
4.13 Long Physical Sector (LPS) feature set. 51
4.14 Native Command Queuing (NCQ) feature set . 53
4.14.1 Overview . 53
4.14.2 Priority . 54
4.14.3 Unload with NCQ commands outstanding . 54
4.14.4 Command Phases . 54
4.15 Power Management feature set. 55
4.15.1 Overview . 55
4.15.2 Power management commands .55
4.15.3 Standby timer . 56
4.15.4 Power Management states and transitions . 57
4.16 Power-Up In Standby (PUIS) feature set. 60
4.16.1 Overview . 60
4.16.2 Interactions with IDENTIFY DEVICE and IDENTIFY PACKET DEVICE commands . 60
4.16.3 PUIS feature set device spin-up subcommand . 60
4.17 Sanitize Device feature set . 61
4.17.1 Overview . 61
4.17.2 Sanitize operation scope . 61
4.17.3 Sanitize commands . 61
4.17.4 Sanitize operations . 61
4.17.5 Command processing during sanitize operations . 62
4.17.6 Sanitize Operation Completed Without Error value . 62
4.17.7 Failure Mode Policy value . 62
4.17.8 Sanitize Antifreeze value . 63
4.17.9 Sanitize Device state machine . 63
4.18 Security feature set. 66
4.18.1 Overview . 66
4.18.2 Disabling and enabling the Security feature set . 66
4.18.3 Passwords . 66
4.18.4 Master password capability . 67
4.18.5 Frozen mode . 67
4.18.6 Commands . 67
4.18.7 Security initial setting . 67
4.18.8 Password Rules . 67
4.18.9 Password attempt counter and SECURITY COUNT EXPIRED bit . 68
4.18.10 Master Password Identifier feature . 68
4.18.11 Security states . 69
4.19 Self-Monitoring, Analysis, and Reporting Technology (SMART) feature set . 78
4.19.1 Overview . 78
4.19.2 Device SMART data structure . 78
4.19.3 Background data collection . 78
4.19.4 Off-line/Captive mode data collection . 78
4.19.5 Threshold exceeded condition . 79
4.19.6 SMART feature set commands . 79
4.19.7 SMART operation with power management modes . 79
4.19.8 SMART device error log reporting . 79
4.20 Sense Data Reporting feature set . 79
4.21 Software Settings Preservation (SSP) feature set. 80
4.22 SATA Hardware Feature Control. 81
4.23 Streaming feature set . 82
4.23.1 Streaming feature set overview . 82
4.23.2 Streaming commands . 82
4.24 Trusted Computing feature set . 83
4.25 Write-Read-Verify feature set . 84
---------------------- Page: 5 ----------------------
4 ISO/IEC 17760-103:2021 © ISO/IEC 2021
5 ATA protocols . 85
6 Normal and Error Output field descriptions . 86
6.1 Overview. 86
6.2 STATUS field. 86
6.2.1 Overview . 86
6.2.2 ALIGNMENT ERROR bit . 86
6.2.3 BUSY bit . 87
6.2.4 CHECK CONDITION bit . 87
6.2.5 DATA REQUEST bit . 87
6.2.6 DEFERRED WRITE ERROR bit . 87
6.2.7 DEVICE FAULT bit . 87
6.2.8 DEVICE READY bit . 87
6.2.9 ERROR bit . 87
6.2.10 SENSE DATA AVAILABLE bit . 88
6.2.11 STREAM ERROR bit . 88
6.2.12 Transport Dependent bits and fields . 88
6.3 ERROR field. 89
6.3.1 Overview . 89
6.3.2 ABORT bit . 89
6.3.3 COMMAND COMPLETION TIME OUT bit . 89
6.3.4 END OF MEDIA bit . 89
6.3.5 ID NOT FOUND bit . 89
6.3.6 ILLEGAL LENGTH INDICATOR bit . 90
6.3.7 INTERFACE CRC bit . 90
6.3.8 SENSE KEY field . 90
6.3.9 UNCORRECTABLE ERROR bit . 90
6.4 INTERRUPT REASON field. 90
6.4.1 Overview . 90
6.4.2 COMMAND/DATA bit . 90
6.4.3 INPUT/OUTPUT bit . 90
6.5 COUNT field . 90
6.5.1 Overview . 90
6.5.2 Contiguous stream logical sectors that contain potentially bad data . 90
6.5.3 NCQ Tag . 91
6.6 SACTIVE field. 91
6.7 SATA STATUS field . 91
6.8 LBA field. 91
6.8.1 Overview . 91
6.8.2 LBA of First Unrecoverable Error . 91
7 Command descriptions . 92
7.1 Command description introduction . 92
7.1.1 Overview . 92
7.1.10 Command Code Usage . 96
7.2 Accessible Max Address Configuration . 97
7.2.1 Accessible Max Address Configuration overview . 97
7.2.2 GET NATIVE MAX ADDRESS EXT – 78h/0000h, Non-Data . 97
7.2.3 SET ACCESSIBLE MAX ADDRESS EXT – 78h/0001h, Non-Data . 98
7.2.4 FREEZE ACCESSIBLE MAX ADDRESS EXT – 78h/0002h, Non-Data. 99
7.3 CHECK POWER MODE – E5h, Non-Data . 100
7.4 CONFIGURE STREAM – 51h, Non-Data . 101
7.5 DATA SET MANAGEMENT – 06h, DMA . 103
7.6 DEVICE RESET – 08h, Device Reset . 106
7.7 DOWNLOAD MICROCODE – 92h, PIO Data-Out/Non-Data . 107
7.8 DOWNLOAD MICROCODE DMA – 93h, DMA . 120
7.9 EXECUTE DEVICE DIAGNOSTIC – 90h, Execute Device Diagnostic . 121
---------------------- Page: 6 ----------------------
ISO/IEC 17760-103:2021 © ISO/IEC 2021 5
7.10 FLUSH CACHE – E7h, Non-Data . 123
7.11 FLUSH CACHE EXT – EAh, Non-Data . 124
7.12 IDENTIFY DEVICE – ECh, PIO Data-In . 125
7.13 IDENTIFY PACKET DEVICE – A1h, PIO Data-In . 162
7.14 IDLE – E3h, Non-Data . 182
7.15 IDLE IMMEDIATE – E1h, Non-Data . 184
7.16 NCQ QUEUE MANAGEMENT – 63h, Non-Data . 186
7.16.8 ABORT NCQ QUEUE – 63h/0h, Non-Data. 188
7.16.9 DEADLINE HANDLING – 63h/1h, Non-Data . 191
7.17 NOP – 00h, Non-Data . 194
7.18 PACKET – A0h, Packet . 195
7.19 READ BUFFER – E4h, PIO Data-In . 198
7.20 READ BUFFER DMA – E9h, DMA . 199
7.21 READ DMA – C8h, DMA . 200
7.22 READ DMA EXT – 25h, DMA . 201
7.23 READ FPDMA QUEUED – 60h, DMA Queued . 202
7.24 READ LOG EXT – 2Fh, PIO Data-In . 204
7.25 READ LOG DMA EXT – 47h, DMA . 206
7.26 READ MULTIPLE – C4h, PIO Data-In . 207
7.27 READ MULTIPLE EXT – 29h, PIO Data-In . 208
7.28 READ SECTOR(S) – 20h, PIO Data-In . 209
7.29 READ SECTOR(S) EXT – 24h, PIO Data-In . 210
7.30 READ STREAM DMA EXT – 2Ah, DMA . 211
7.31 READ STREAM EXT – 2Bh, PIO Data-In . 214
7.32 READ VERIFY SECTOR(S) – 40h, Non-Data . 215
7.33 READ VERIFY SECTOR(S) EXT – 42h, Non-Data .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.