Information technology — AT Attachment — Part 105: ATA Command Set - 5 (ACS-5)

The set of AT Attachment standards consists of this standard and the ATA implementation standards described in AT Attachment - 8 ATA/ATAPI Architecture Model (ATA8-AAM). This standard specifies the command set that host systems use to access storage devices. This standard provides a common command set for systems manufacturers, system integrators, software suppliers, and suppliers of intelligent storage devices. Figure 1 shows the relationship of this standard to other ATA standards as well as related device and host standards and specifications (e.g., SCSI standards and SATA-IO specifications). This standard maintains compatibility with the ACS-4 standard, INCITS 529-2018, while providing additional functions.

Titre manque — Partie 105: Titre manque

General Information

Status
Published
Publication Date
21-Mar-2024
Current Stage
6060 - International Standard published
Start Date
22-Mar-2024
Due Date
01-Mar-2025
Completion Date
22-Mar-2024
Ref Project
Standard
ISO/IEC 17760-105:2024 - Information technology — AT Attachment — Part 105: ATA Command Set - 5 (ACS-5) Released:22. 03. 2024
English language
693 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


International
Standard
ISO/IEC 17760-105
First
Information technology — AT
edition
Attachment —
2024-03
Part 105:
ATA Command Set - 5 (ACS-5)
Reference number
© ISO/IEC 2024
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on
the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below
or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
© ISO/IEC 2024 – All rights reserved
ii
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that are members
of ISO or IEC participate in the development of International Standards through technical committees
established by the respective organization to deal with particular fields of technical activity. ISO and IEC
technical committees collaborate in fields of mutual interest. Other international organizations, governmental
and non-governmental, in liaison with ISO and IEC, also take part in the work.
The procedures used to develop this document and those intended for its further maintenance are described
in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the different types of
document should be noted (see www.iso.org/directives or www.iec.ch/members_experts/refdocs).
ISO and IEC draw attention to the possibility that the implementation of this document may involve the use of
(a) patent(s). ISO and IEC take no position concerning the evidence, validity or applicability of any claimed
patent rights in respect thereof. As of the date of publication of this document, ISO and IEC had not received
notice of (a) patent(s) which may be required to implement this document. However, implementers are
cautioned that this may not represent the latest information, which may be obtained from the patent database
available at www.iso.org/patents and https://patents.iec.ch. ISO and IEC shall not be held responsible for
identifying any or all such patent rights.
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and expressions
related to conformity assessment, as well as information about ISO's adherence to the World Trade
Organization (WTO) principles in the Technical Barriers to Trade (TBT), see www.iso.org/iso/foreword.html.
In the IEC, see www.iec.ch/understanding-standards.
This document was prepared by INCITS (as INCITS 558-2021, ATA Command Set – 5) and drafted in
accordance with its editorial rules. It was assigned to Joint Technical Committee ISO/IEC JTC 1, Information
technology, and adopted under the “fast-track procedure”.
A list of all parts in the ISO/IEC 17760 series can be found on the ISO and IEC websites.
Any feedback or questions on this document should be directed to the user’s national standards body. A
complete listing of these bodies can be found at www.iso.org/members.html and www.iec.ch/national-
committees.
© ISO/IEC 2024 – All rights reserved
iii
Contents
Page
Contents.i
Tables . xii
Figures .xx
Foreword. xxi
Introduction . xxiv
1 Scope . 1
2 Normative references . 2
3 Definitions, abbreviations, and conventions . 3
3.1 Definitions . 3
3.2 Symbols and abbreviations . 9
3.2.1 Abbreviations . 9
3.2.2 Units . 11
3.2.3 Symbols . 11
3.2.4 Mathematical operators . 11
3.3 Keywords . 11
3.4 Conventions . 12
3.4.1 Overview . 12
3.4.2 Precedence . 13
3.4.3 Lists . 13
3.4.4 Numbering . 14
3.4.5 Bit conventions . 14
3.4.6 Number range convention . 14
3.4.7 State diagram conventions . 15
3.4.8 Byte, word, DWord, QWord, and DQWord Relationships . 17
3.4.9 ATA string convention . 18
3.4.10 Offset Convention . 19
4 Feature set definitions . 20
4.1 Overview . 20
4.1.1 Feature set summary . 20
4.1.2 Capacity reporting . 21
4.2 General feature set . 22
4.2.1 Overview . 22
4.2.2 Unexpected power removal . 22
4.2.3 Interactions with volatile caches . 23
4.3 48-bit Address feature set . 24
4.4 Accessible Max Address Configuration feature set . 25
4.4.1 Overview . 25
4.4.2 SET ACCESSIBLE MAX ADDRESS EXT description . 25
4.4.3 Interactions with device statistics data . 25
4.5 Advanced Background Operation feature set (ABO) . 26
4.5.1 Overview . 26
4.5.2 Host-initiated advanced background operations . 26
4.5.3 Device-initiated advanced background operations . 27
4.6 Advanced Power Management (APM) feature set . 28
4.7 Command Duration Limits feature set . 29
4.7.1 Overview . 29
i
© ISO/IEC 2024 – All rights reserved

4.7.2 COMMAND DURATION LIMITS INDEX field . 30
4.7.3 Command duration limits operation . 30
4.7.4 High Priority Enhancement feature . 31
4.8 Device Statistics Notification (DSN) feature set . 33
4.8.1 Overview . 33
4.8.2 DSN notifications . 33
4.8.3 DSN notifications setup . 34
4.9 Extended Power Conditions (EPC) feature set . 35
4.9.1 Overview . 35
4.9.2 Power conditions . 35
4.9.3 Power condition timers . 35
4.9.4 Interaction with resets, commands, and other features if the EPC feature set is enabled . 36
4.10 Free-fall Control feature set . 38
4.11 General Purpose Logging (GPL) feature set . 39
4.12 Hybrid Information feature set . 40
4.12.1 Hybrid Information feature overview . 40
4.12.2 Syncing . 42
4.12.3 Interactions with ATA power management . 42
4.12.4 Other Hybrid conditions . 43
4.13 Long Logical Sector (LLS) feature set . 45
4.14 Long Physical Sector (LPS) feature set . 47
4.15 Native Command Queuing (NCQ) feature set . 49
4.15.1 Overview . 49
4.15.2 Priority . 49
4.15.3 Unload with NCQ commands outstanding . 50
4.15.4 Command Phases . 50
4.15.5 NCQ command processing order requirements . 51
4.15.6 ATA device commands encapsulated in NCQ feature set commands . 51
4.15.7 Returning sense data for successful NCQ feature set commands . 51
4.16 Out Of Band Management Interface . 53
4.17 Power Management feature set . 55
4.17.1 Overview . 55
4.17.2 Power management commands . 55
4.17.3 Standby timer . 55
4.17.4 Power Management states and transitions . 56
4.18 Power-Up In Standby (PUIS) feature set . 60
4.18.1 Overview . 60
4.18.2 Interactions with the IDENTIFY DEVICE command . 60
4.18.3 PUIS feature set device spin-up subcommand . 60
4.19 Rebuild Assist feature set . 61
4.19.1 Overview . 61
4.19.2 Enabling the Rebuild Assist feature set . 61
4.19.3 Using the Rebuild Assist feature set . 61
4.19.4 Disabling the Rebuild Assist feature set . 63
4.19.5 Testing the Rebuild Assist feature set . 63
4.20 Sanitize Device feature set . 64
4.20.1 Overview . 64
4.20.2 Sanitize operation scope . 64
4.20.3 Sanitize commands . 64
4.20.4 Sanitize operations . 64
4.20.5 Interactions of the Sanitize Device feature set and Security feature set . 65
4.20.6 Command processing during sanitize operations . 65
4.20.7 Sanitize Operation Completed Without Error value . 66
4.20.8 Failure Mode Policy value . 66
4.20.9 Sanitize Antifreeze value . 67
4.20.10 Sanitize Device state machine . 67
4.21 SATA Hardware Feature Control feature set . 70
ii
© ISO/IEC 2024 – All rights reserved

4.22 Security feature set . 71
4.22.1 Overview . 71
4.22.2 Disabling and enabling the Security feature set . 71
4.22.3 Passwords . 71
4.22.4 Master password capability . 71
4.22.5 Frozen mode . 72
4.22.6 Commands . 72
4.22.7 Security initial setting . 72
4.22.8 Password Rules . 72
4.22.9 Password attempt counter and SECURITY COUNT EXPIRED bit . 72
4.22.10 Master Password Identifier feature . 73
4.22.11 Security states . 73
4.23 Self-Monitoring, Analysis, and Reporting Technology (SMART) feature set . 85
4.23.1 Overview . 85
4.23.2 Background data collection . 85
4.23.3 Off-line/Captive mode data collection . 85
4.23.4 Threshold exceeded condition . 85
4.23.5 SMART feature set commands . 85
4.23.6 SMART operation with power management modes . 85
4.23.7 SMART device error log reporting . 85
4.24 Sense Data Reporting feature set . 87
4.24.1 General . 87
4.24.2 Current information sense data and deferred error sense data . 88
4.25 Software Settings Preservation (SSP) feature set . 89
4.26 Storage Element Depopulation feature set . 90
4.26.1 Overview . 90
4.26.2 Status change notification . 90
4.26.3 Repurposing Depopulation . 91
4.26.4 Repurposing Depopulation Restoration . 92
4.26.5 Effects of storage depopulation commands on other commands . 93
4.26.6 Interactions with logs . 94
4.26.7 Interactions with caches . 94
4.27 Streaming feature set . 95
4.27.1 Streaming feature set overview . 95
4.27.2 Streaming commands . 95
4.28 Trusted Computing feature set . 97
4.29 User Data Initialization feature set . 98
4.29.1 Overview . 98
4.29.2 User data initialization operation . 98
4.29.3 MUTATE EXT command . 100
4.30 Write-Read-Verify feature set . 101
5 ATA protocols . 102
6 Normal and Error Output field descriptions . 103
6.1 Overview . 103
6.2 STATUS field . 103
6.2.1 Overview . 103
6.2.2 ALIGNMENT ERROR bit . 103
6.2.3 BUSY bit . 103
6.2.4 DATA REQUEST bit . 104
6.2.5 DEFERRED WRITE ERROR bit . 104
6.2.6 DEVICE FAULT bit . 104
6.2.7 DEVICE READY bit . 104
6.2.8 ERROR bit . 104
6.2.9 SENSE DATA AVAILABLE bit . 104
6.2.10 STREAM ERROR bit . 105
iii
© ISO/IEC 2024 – All rights reserved

6.2.11 Transport Dependent bits and fields . 105
6.3 ERROR field . 105
6.3.1 Overview . 105
6.3.2 ABORT bit . 105
6.3.3 COMMAND COMPLETION TIME OUT bit . 106
6.3.4 ID NOT FOUND bit . 106
6.3.5 INTERFACE CRC bit . 106
6.3.6 UNCORRECTABLE ERROR bit . 106
6.4 COUNT field . 106
6.4.1 Overview . 106
6.4.2 Contiguous stream logical sectors that contain potentially bad data . 106
6.4.3 NCQ Tag . 106
6.5 SACTIVE field . 106
6.6 SATA STATUS field . 107
6.7 LBA field . 107
6.7.1 Overview . 107
6.7.2 LBA of First Unrecoverable Error . 107
6.8 Sense code definitions . 107
6.8.1 Overview . 107
6.8.2 ACCESS DENIED - NO ACCESS RIGHTS . 108
6.8.3 COMMAND SEQUENCE ERROR . 109
6.8.4 COMMAND TIMEOUT BEFORE PROCESSING . 109
6.8.5 COMMAND TIMEOUT DURING PROCESSING . 109
6.8.6 DATA CURRENTLY UNAVAILABLE . 109
6.8.7 DEPOPULATION FAILED . 109
6.8.8 DEPOPULATION IN PROGRESS . 109
6.8.9 DEPOPULATION RESTORATION FAILED . 109
6.8.10 DEPOPULATION RESTORATION IN PROGRESS . 109
6.8.11 FAILURE PREDICTION THRESHOLD EXCEEDED . 109
6.8.12 INFORMATION UNIT iuCRC ERROR DETECTED . 109
6.8.13 INITIATOR RESPONSE TIMEOUT . 109
6.8.14 INSUFFICIENT RESOURCES . 109
6.8.15 INTERNAL TARGET FAILURE . 110
6.8.16 INVALID COMMAND OPERATION CODE . 110
6.8.17 INVALID FIELD IN CDB . 110
6.8.18 INVALID FIELD IN PARAMETER LIST . 110
6.8.19 LOGICAL BLOCK ADDRESS OUT OF RANGE . 110
6.8.20 LOGICAL UNIT FAILED SELF-TEST . 110
6.8.21 LOGICAL UNIT NOT READY, FORMAT IN PROGRESS . 110
6.8.22 LOGICAL UNIT NOT READY, INITIALIZING COMMAND REQUIRED . 110
6.8.23 LOGICAL UNIT NOT READY, MICROCODE ACTIVATION REQUIRED . 110
6.8.24 LOGICAL UNIT NOT READY, POWER CYCLE REQUIRED . 110
6.8.25 LOGICAL UNIT NOT READY, SANITIZE IN PROGRESS . 110
6.8.26 MEDIUM FORMAT CORRUPTED . 110
6.8.27 MULTIPLE READ ERRORS . 111
6.8.28 MULTIPLE WRITE ERRORS . 111
6.8.29 NO ADDITIONAL SENSE INFORMATION . 111
6.8.30 NO DEFECT SPARE LOCATION AVAILABLE . 111
6.8.31 OVERLAPPED COMMANDS ATTEMPTED . 111
6.8.32 READ ERROR - LBA MARKED BAD BY APPLICATION CLIENT . 111
6.8.33 UNRECOVERED READ ERROR . 111
6.8.34 WARNING – DEVICE STATISTICS NOTIFICATION ACTIVE . 111
6.8.35 WRITE ERROR . 111
7 Command descriptions . 112
7.1 Command description introduction . 112
7.2 Accessible Max Address Configuration . 119
iv
© ISO/IEC 2024 – All rights reserved

7.2.1 Accessible Max Address Configuration overview . 119
7.2.2 GET NATIVE MAX ADDRESS EXT – 78h/0000h, Non-Data . 120
7.2.3 SET ACCESSIBLE MAX ADDRESS EXT – 78h/0001h, Non-Data. 121
7.2.4 FREEZE ACCESSIBLE MAX ADDRESS EXT – 78h/0002h, Non-Data. 123
7.3 CHECK POWER MODE – E5h, Non-Data . 124
7.4 CONFIGURE STREAM – 51h, Non-Data . 125
7.5 DATA SET MANAGEMENT – 06h, DMA . 127
7.6 DATA SET MANAGEMENT XL – 07h, DMA . 131
7.7 DOWNLOAD MICROCODE – 92h, PIO Data-Out/Non-Data . 133
7.8 DOWNLOAD MICROCODE DMA – 93h, DMA/Non-Data . 147
7.9 EXECUTE DEVICE DIAGNOSTIC – 90h, Execute Device Diagnostic . 148
7.10 FLUSH CACHE – E7h, Non-Data . 150
7.11 FLUSH CACHE EXT – EAh, Non-Data . 151
7.12 GET PHYSICAL ELEMENT STATUS – 12h, DMA . 152
7.13 IDENTIFY DEVICE – ECh, PIO Data-In . 157
7.14 IDLE – E3h, Non-Data . 191
7.15 IDLE IMMEDIATE – E1h, Non-Data . 193
7.16 MUTATE EXT - 96h, Non-Data . 195
7.17 NCQ NON-DATA – 63h, Non-Data . 197
7.18 NOP – 00h, Non-Data . 221
7.19 READ BUFFER – E4h, PIO Data-In . 222
7.20 READ BUFFER DMA – E9h, DMA . 223
7.21 READ DMA – C8h, DMA . 224
7.22 READ DMA EXT – 25h, DMA . 225
7.23 READ FPDMA QUEUED – 60h, DMA Queued . 227
7.24 READ LOG EXT – 2Fh, PIO Data-In . 229
7.25 READ LOG DMA EXT – 47h, DMA . 231
7.26 READ SECTOR(S) – 20h, PIO Data-In . 233
7.27 READ SECTOR(S) EXT – 24h, PIO Data-In . 234
7.28 READ STREAM DMA EXT – 2Ah, DMA . 235
7.29 READ STREAM EXT – 2Bh, PIO Data-In . 238
7.30 READ VERIFY SECTOR(S) – 40h, Non-Data . 239
7.31 READ VERIFY SECTOR(S) EXT – 42h, Non-Data . 240
7.32 RECEIVE FPDMA QUEUED – 65h, DMA Queued . 241
7.33 REMOVE ELEMENT AND TRUNCATE – 7Ch, Non-Data . 243
7.34 REQUEST SENSE DATA EXT – 0Bh, Non-Data . 245
7.35 RESTORE ELEMENTS AND REBUILD – 7Dh, Non-Data . 246
7.36 Sanitize Device . 248
7.36.1 Sanitize Device Overview . 248
7.36.2 BLOCK ERASE EXT – B4h/0012h, Non-Data. 249
7.36.3 CRYPTO SCRAMBLE EXT – B4h/0011h, Non-Data. 252
7.36.4 OVERWRITE EXT – B4h/0014h, Non-Data. 255
7.36.5 SANITIZE ANTIFREEZE LOCK EXT – B4h/0040h, Non-Data. 258
7.36.6 SANITIZE FREEZE LOCK EXT – B4h/0020h, Non-Data . 261
7.36.7 SANITIZE STATUS EXT – B4h/0000h, Non-Data. 263
7.37 SECURITY DISABLE PASSWORD – F6h, PIO Data-Out . 265
7.38 SECURITY ERASE PREPARE – F3h, Non-Data . 267
7.39 SECURITY ERASE UNIT – F4h, PIO Data-Out . 268
7.40 SECURITY FREEZE LOCK – F5h, Non-Data . 271
7.41 SECURITY SET PASSWORD – F1h, PIO Data-Out . 272
7.42 SECURITY UNLOCK – F2h, PIO Data-Out . 275
7.43 SEND FPDMA QUEUED – 64h, DMA Queued . 278
7.43.8 HYBRID EVICT – 64h/1h, DMA Queued . 280
7.44 SET DATE & TIME EXT – 77h, Non-Data . 284
7.45 SET FEATURES – EFh, Non-Data . 285
7.45.1 Introduction . 285
7.45.2 SET FEATURES subcommands . 286
v
© ISO/IEC 2024 – All rights reserved

7.45.3 Enable/disable volatile write cache . 288
7.45.4 Set transfer mode . 289
7.45.5 Enable/disable the APM feature set . 290
7.45.6 Enable/disable the PUIS feature set . 290
7.45.7 PUIS feature set device spin-up . 290
7.45.8 Enable/Disable Write-Read-Verify feature set . 291
7.45.9 Enable/disable device life control . 292
7.45.10 Enable/Disable Command Duration Limits feature set . 292
7.45.11 Set Maximum Host Interface Sector Times . 294
7.45.12 Set rate basis . 294
7.45.13 Enable/disable read look-ahead . 294
7.45.14 Enable/disable reverting to defaults . 295
7.45.15 Enable/Disable the Free-fall Control feature set . 295
7.45.16 Enable/Disable SATA feature . 295
7.45.17 Enable/Disable the Sense Data Reporting feature set . 299
7.45.18 Enable/Disable sense data return for successful NCQ commands . 299
7.45.19 Long Physical Sector Alignment Error Reporting Control . 300
7.45.20 Extended Power Conditions subcommand . 301
7.45.21 Enable/Disable the DSN feature set . 312
7.4
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...