logo资料库

UFS spec 文档.pdf

第1页 / 共366页
第2页 / 共366页
第3页 / 共366页
第4页 / 共366页
第5页 / 共366页
第6页 / 共366页
第7页 / 共366页
第8页 / 共366页
资料共366页,剩余部分请下载后查看
Contents
Figures
Tables
1 Scope
2 Normative Reference
3 Terms and Definitions
3.1 Acronyms
3.2 Terms and Definitions
3.3 Keywords
3.4 Abbreviations
3.5 Conventions
4 Introduction
4.1 General Features
4.2 Interface Features
4.3 Functional Features
5 UFS Architecture Overview
5.1 UFS Top level Architecture
Application Layer
UFS Device Manager
5.1 UFS Top level Architecture (cont’d)
Service Access Points
5.1 UFS Top level Architecture (cont’d)
UIO_SAP
UDM_SAP
UFS Transport Protocol Layer
UFS Interconnect Layer
UFS Topology
5.2 UFS System Model
5.3 System Boot and Enumeration
5.4 UFS Interconnect (UIC) Layer
5.4.1 UFS Physical Layer Signals
5.4.2 MIPI UniPro
5.4.3 MIPI UniPro Related Attributes
5.5 UFS Transport Protocol (UTP) Layer
5.5.1 Architectural Model
5.5.1.1 Client-Server Model
5.5.1.2 CDB, Status, Task Management
5.5.1.3 Nexus
5.5.1.4 SCSI Command Model
5.5.1.5 SCSI Task Management Functions
5.6 UFS Application and Command Layer
6 UFS Electrical: Clock, Reset, Signals and Supplies
6.1 Embedded UFS Signals
6.2 UFS Memory Card Signals
6.3 Reset Signal
6.4 Power Supplies
6.5 Reference Clock
6.5.1 HS Gear Rates
6.5.2 Host Controller requirements for reference clock generation
6.6 External Charge Pump Capacitors (Optional)
6.7 Absolute Maximum DC Ratings
7 Reset, Power-up and Power-down
7.1 Reset
7.1.1 Power-on Reset
7.1.2 Hardware Reset
7.1.3 EndPointReset
7.1.4 Logical Unit Reset
7.1.5 Other Resets
7.1.6 Summary of Resets and Device Behavior
7.2 Power up ramp
7.3 Power off ramp
7.4 UFS Device Power Modes and LU Power Condition
7.4.1 Device Power Modes
7.4.1.1 Active Power Mode
7.4.1.1 Active Power Mode (cont’d)
7.4.1.2 Idle Power Mode
7.4.1.3 Pre-Active Power Mode
7.4.1.4 UFS-Sleep Power Mode
7.4.1.5 Pre-Sleep Power Mode
7.4.1.6 UFS-PowerDown Power Mode
7.4.1.7 Pre-PowerDown Power Mode
7.4.1.8 Power Mode State Machine
7.4.1.8.1 Transitions from Powered On Power Mode
7.4.1.8.2 Transitions from Pre‐Active Power Mode
7.4.1.8.3 Transitions from Active Power Mode
7.4.1.8.4 Transitions from Idle Power Mode
7.4.1.8.5 Transitions from Pre‐Sleep Power Mode
7.4.1.8.6 Transitions from UFS‐Sleep Power Mode
7.4.1.8.7 Transitions from Pre‐PowerDown Power Mode
7.4.1.8.8 Transitions from UFS‐PowerDown Power Mode
7.4.1.8.9 SCSI command and UPIU transactions
7.4.1.9 Device Well Know Logical Unit Responses to SCSI commands
7.4.1.9 Device Well Know Logical Unit Responses to SCSI commands (cont’d)
7.4.2 Power Management Command: START STOP UNIT
7.4.3 Power Mode Control
7.4.4 Logical Unit Power Condition
8 UFS UIC Layer: MIPI M-PHY
8.1 Termination
8.2 Drive Levels
8.3 PHY State machine
8.4 HS Burst
8.4.1 HS Prepare Length Control
8.4.2 HS Sync Length Control
8.4.3 Slew Rate Control
8.5 PWM Burst
8.5.1 LS Prepare Length Control
8.6 UFS PHY Attributes
8.7 Operation Timings
8.7.1 Reference Clock Timings
8.8 Electrical characteristics
8.8.1 Transmitter Characteristics
8.8.2 Receiver Characteristics
9 UFS UIC Layer: MIPI Unipro
9.1 Overview
9.2 Architectural Model
9.3 UniPro/UFS Transport Protocol Interface (Data Plane)
9.4 UniPro/UFS Control Interface (Control Plane)
9.5 UniPro/UFS Transport Protocol Address Mapping
9.6 Options and Tunable Parameters of UniPro
9.6.1 UniPro PHY Adapter
9.6.2 UniPro Data Link Layer
9.6.3 UniPro Network Layer
9.6.4 UniPro Transport Layer
9.6.5 UniPro Device Management Entity Transport Layer
9.6.6 UniPro Attributes
10 UFS Transport Protocol (UTP) Layer
10.1 Overview
10.2 UTP and UniPro Specific Overview
10.2.1 Phases
10.2.2 Data Pacing
10.2.3 UniPro
10.3 UFS Transport Protocol Transactions
10.3.1 Overview
10.4 Service Delivery Subsystem
10.4.1 UPIU Transaction Codes
10.5 General UFS Protocol Information Unit Format
10.5.1 Overview
10.5.2 Basic Header Format
10.5.3 COMMAND UPIU
10.5.3.1 Overview
10.5.3.2 Basic Header
10.5.4 RESPONSE UPIU
10.5.4.1 Overview
10.5.4.2 Basic Header
10.5.5 DATA OUT UPIU
10.5.5.1 Overview
10.5.5.2 Basic Header
10.5.6 DATA IN UPIU
10.5.6.1 Overview
10.5.6.2 Basic Header
10.5.7 READY TO TRANSFER UPIU
10.5.7.1 Overview
10.5.7.2 Basic Header
10.5.8 TASK MANAGEMENT REQUEST UPIU
10.5.8.1 Overview
10.5.8.2 Basic Header
10.5.9 TASK MANAGEMENT RESPONSE UPIU
10.5.9.1 Overview
10.5.9.2 Basic Header
10.5.10 QUERY REQUEST UPIU
10.5.10.1 Overview
10.5.10.2 Query Function
10.5.10.3 Transaction Specific Fields
10.5.10.4 Read Descriptor Opcode
10.5.10.5 Write Descriptor Opcode
10.5.10.6 Read Attribute Opcode
10.5.10.7 Write Attribute Opcode
10.5.10.8 Read Flag Opcode
10.5.10.9 Set Flag
10.5.10.10 Clear Flag
10.5.10.11 Toggle Flag
10.5.10.12 NOP
10.5.11 QUERY RESPONSE UPIU
10.5.11.1 Overview
10.5.11.2 Query Function
10.5.11.3 Query Response
10.5.11.4 Device Information
10.5.11.5 Transaction Specific Fields
10.5.11.6 Read Descriptor Opcode
10.5.11.7 Write Descriptor Opcode
10.5.11.8 Read Attribute Opcode
10.5.11.9 Write Attribute Opcode
10.5.11.10 Read Flag Opcode
10.5.11.11 Set Flag
10.5.11.12 Clear Flag
10.5.11.13 Toggle Flag
10.5.11.14 NOP
10.5.12 REJECT UPIU
10.5.12.1 Overview
10.5.12.2 Basic Header
10.5.13 NOP OUT UPIU
10.5.13.1 Overview
10.5.13.2 Basic Header
10.5.14 NOP IN UPIU
10.5.14.1 Overview
10.5.14.2 Basic Header
10.6 Logical Units
10.6.1 Overview
10.6.2 UFS SCSI Domain
10.6.3 UFS Logical Unit Definition
10.6.4 Well-Known Logical Unit Definition
10.6.5 Logical Unit Addressing
10.6.6 Well Known Logical Unit Defined in UFS
10.6.7 Translation of 8-bit UFS LUN to 64-bit SCSI LUN Address
10.6.8 SCSI Write Command
10.6.9 SCSI Read Command
10.7 Application Layer and Device Manager Transport Protocol Services
10.7.1 UFS Initiator Port and Target Port Attributes
10.7.2 Execute Command procedure call transport protocol services
10.7.3 Send SCSI Command transport protocol service
10.7.4 SCSI Command Received transport protocol
10.7.5 Send Command Complete transport protocol service
10.7.6 Command Complete Received transport protocol service
10.7.7 Data transfer SCSI transport protocol services
10.7.7.1 Send Data-In transport protocol service
10.7.7.2 Data-In Delivered transport protocol service
10.7.7.3 Receive Data-Out transport protocol service
10.7.7.4 Data-Out Received transport protocol service
10.7.8 Task Management Function procedure calls
10.7.8.1 ABORT TASK
10.7.8.2 ABORT TASK SET
10.7.8.3 CLEAR TASK SET
10.7.8.4 LOGICAL UNIT RESET
10.7.8.5 QUERY TASK
10.7.8.6 QUERY TASK SET
10.7.8.7 Task Management SCSI Transport Protocol Services
10.7.8.8 Send Task Management Request SCSI transport protocol service request
10.7.8.9 Task Management Request Received SCSI transport protocol service indication
10.7.8.10 Task Management Function Executed SCSI transport protocol service response
10.7.8.11 Received Task Management Function Executed SCSI transport protocol service confirmation
10.7.9 Query Function transport protocol services
10.7.9.1 Send Query Request UFS transport protocol service
10.7.9.2 Query Request Received UFS transport protocol service indication
10.7.9.3 Query Function Executed UFS transport protocol service response
10.7.9.4 Received Query Function Executed UFS transport protocol service confirmation
11 UFS Protocol layer – SCSI Commands
11.1 Universal Flash Storage Command Layer (UCL) Introduction
11.1.1 The Command Descriptor Block (CDB)
11.1.1.1 Operation code
11.2 Universal Flash Storage Native Commands (UNC)
11.3 Universal Flash Storage SCSI Commands
11.3.1 General information about SCSI commands in UFS
11.3.2 INQUIRY Command
11.3.2.1 VITAL PRODUCT DATA
11.3.2.2 STANDARD INQUIRY DATA
11.3.2.3 Inquiry Command Data Response
11.3.2.4 Inquiry Response Data
11.3.2.5 Inquiry Command Status Response
11.3.3 MODE SELECT (10) Command
11.3.3.1 Mode Select Command Parameters
11.3.3.2 Mode Select Command Data Transfer
11.3.3.3 Mode Select Command Status Response
11.3.4 MODE SENSE (10) Command
11.3.4.1 Mode Sense Command Parameters
11.3.4.2 Page Control Function
11.3.4.3 Mode Sense Command Data Transfer
11.3.4.4 Mode Sense Command Status Response
11.3.5 READ (6) Command
11.3.5.1 Read (6) Command Parameters
11.3.5.2 Read (6) Command Data Transfer
11.3.5.3 Read (6) Command Status Response
11.3.6 READ (10) Command
11.3.6.1 Read (10) Command Parameters
11.3.6.2 Read (10) Command Data Transfer
11.3.6.3 Read (10) Command Status Response
11.3.7 READ (16) Command
11.3.7.1 Read (16) Command Parameters
11.3.7.2 Read (16) Command Data Transfer
11.3.7.3 Read (16) Command Status Response
11.3.8 READ CAPACITY (10) Command
11.3.8.1 Read Capacity (10) Data Response
11.3.8.2 Read Capacity (10) Parameter Data
11.3.8.3 Read Capacity (10) Status Response
11.3.9 READ CAPACITY (16) Command
11.3.9.1 Read Capacity (16) Data Response
11.3.9.2 Read Capacity (16) Parameter Data
11.3.9.3 Read Capacity (16) Status Response
11.3.10 START STOP UNIT
11.3.10.1 START STOP UNIT Parameters
11.3.10.2 Start Stop Unit Data Response
11.3.10.3 Start Stop Unit Status Response
11.3.11 TEST UNIT READY Command
11.3.11.1 Test Unit Ready Data Response
11.3.11.2 Test Unit Ready Status Response
11.3.12 REPORT LUNS Command
11.3.12.1 Report LUNS Command Parameters
11.3.12.2 Report LUNS Command Select Report Field Values
11.3.12.3 Report LUNS Data Response
11.3.12.4 Report LUNS Parameter Data Format
11.3.12.5 Report LUNS LUN Addressing Formats
11.3.12.6 Report LUNS Status Response
11.3.12.7 UFS LUN Format
11.3.13 VERIFY (10)
11.3.13.1 Verify Command Parameters
11.3.13.2 Verify Command Data Transfer
11.3.13.3 Verify Command Status Response
11.3.14 WRITE (6) Command
11.3.14.1 Write (6) Command Parameters
11.3.14.2 Write (6) Command Data Transfer
11.3.14.3 Write (6) Command Status Response
11.3.15 WRITE (10) Command
11.3.15.1 Write (10) Command Parameters
11.3.15.2 Write(10) Command Data Transfer
11.3.15.3 Write (10) Command Status Response
11.3.16 WRITE (16) Command
11.3.16.1 Write (16) Command Parameters
11.3.16.2 Write (16) Command Data Transfer
11.3.16.3 Write (16) Command Status Response
11.3.17 REQUEST SENSE Command
11.3.17.1 Request Sense Data Response
11.3.17.2 Sense Data
11.3.17.3 Sense Key Descriptions
11.3.17.4 ASC and ASCQ
11.3.17.5 Request Sense Status Response
11.3.18 FORMAT UNIT Command
11.3.18.1 Format Unit Command Parameters
11.3.18.2 Format Unit Command Data Transfer
11.3.18.3 Format Unit Command Status Response
11.3.19 PRE-FETCH (10) Command
11.3.19.1 PRE-FETCH (10) Command Parameters
11.3.19.2 PRE-FETCH Command Data Transfer
11.3.19.3 PRE-FETCH Command Status Response
11.3.20 PRE-FETCH (16) Command
11.3.21 SECURITY PROTOCOL IN Command
11.3.21.1 SECURITY PROTOCOL IN Command Parameter
11.3.21.2 SECURITY PROTOCOL IN Command Data Transfer
11.3.21.3 SECURITY PROTOCOL IN Command Status Response
11.3.22 SECURITY PROTOCOL OUT Command
11.3.22.1 SECURITY PROTOCOL OUT Command Parameter
11.3.22.2 SECURITY PROTOCOL OUT Command Data Transfer
11.3.22.3 SECURITY PROTOCOL OUT Command Status Response
11.3.23 SEND DIAGNOSTIC Command
11.3.23.1 Send Diagnostic Parameters
11.3.23.2 Send Diagnostic Command Data Transfer
11.3.23.3 Send Diagnostic Command Status Response
11.3.24 SYNCHRONIZE CACHE (10) Command
11.3.24.1 Synchronize Cache Command Parameters
11.3.24.2 Synchronize Cache Command Data Transfer
11.3.24.3 Synchronize Cache Command Status Response
11.3.25 SYNCHRONIZE CACHE (16) Command
11.3.26 UNMAP Command
11.3.26.1 UNMAP parameter list
11.3.26.2 UNMAP block descriptor
11.3.27 READ BUFFER Command
11.3.27.1 Read Buffer Command Parameters
11.3.27.2 Read Buffer Command Mode Field Values
11.3.27.3 Read Buffer Command Data Transfer
11.3.27.4 Read Buffer Command Status Response
11.3.28 WRITE BUFFER Command
11.3.28.1 Write Buffer Command Parameters
11.3.28.2 Write Buffer Command Mode Field Values
11.3.28.3 Write Buffer Command Data Transfer
11.3.28.4 Write Buffer Command Status Response
11.4 Mode Pages
11.4.1 Mode Page Overview
11.4.1.1 Mode Page/Subpage Codes
11.4.1.2 Mode parameter list format
11.4.1.3 Mode Parameter Header
11.4.1.4 Mode Parameter Header Detail
11.4.1.5 Page_0 mode page format
11.4.1.6 Sub_page mode page format
11.4.2 UFS Supported Pages
11.4.2.1 Control Mode Page
11.4.2.2 Control Mode Page Parameters
11.4.2.3 Read-Write Error Recovery Mode Page
11.4.2.4 Read-Write Error Recovery Parameters
11.4.2.5 Caching Mode Page
11.4.2.6 Caching Mode Page Parameters
12 UFS Security
12.1 UFS Security Feature Support Requirements
12.2 Secure Mode
12.2.1 Description
12.2.2 Requirements
12.2.2.1 Secure Removal
12.2.2.2 Erase Operation
12.2.2.3 Discard Operation
12.2.2.4 Purge Operation
12.2.3 Implementation
12.2.3.1 Erase
12.2.3.2 Discard
12.2.3.3 Purge operation
12.2.3.4 Wipe Device
12.2.3.5 bProvisioningType Parameter
12.2.3.6 bSecureRemovalType Parameter
12.3 Device Data Protection
12.3.1 Description and Requirements
12.3.2 Implementation
12.4 RPMB
12.4.1 Description
12.4.2 RPMB Well Known Logical Unit Description
12.4.3 Requirements
12.4.3.1 Memory Map of RPMB LU
12.4.3.2 Algorithm and Key for MAC Calculation
12.4.3.3 RPMB Message Components
12.4.3.4 Messages from Host to Device
12.4.3.5 Messages from Device to Host
12.4.3.6 RPMB Operation Result
12.4.4 Implementation
12.4.4.1 Data Frame for RPMB Message
12.4.4.2 MAC Calculation
12.4.4.3 RPMB Message Data Frame Delivery
12.4.5 SECURITY PROTOCOL IN/OUT Commands
12.4.5.1 CDB format of SECURITY PROTOCOL IN/OUT Commands
12.4.5.2 Security Protocol Information Description
12.4.5.3 Supported security protocols list description
12.4.5.4 Certificate data description
12.4.6 RPMB Operations
12.4.6.1 Request Type Message Delivery
12.4.6.2 Response Type Message Delivery
12.4.6.3 Authentication Key Programming
12.4.6.4 Read Counter Value
12.4.6.5 Authenticated Data Write
12.4.6.6 Authenticated Data Read
12.5 Malware Protection
12.6 Mechanical
13 UFS FUNCTIONAL DESCRIPTIONS
13.1 UFS Boot
13.1.1 Introduction
13.1.2 Boot Configuration
13.1.3 Initialization and boot code download process
13.1.3.1 Partial initialization
13.1.3.2 Boot transfer
13.1.3.3 Initialization completion
13.1.4 Initialization process without boot code download
13.1.5 Boot Logical Unit Operations
13.1.6 Configurability
13.1.7 Security
13.1.7.1 Boot Area Protection
13.2 Logical Unit Management
13.2.1 Introduction
13.2.2 Logical Unit features
13.2.3 Logical Unit Configuration
13.3 Logical Block Provisioning
13.4 Host Device Interaction
13.4.1 Overview
13.4.2 Applicable Devices
13.4.3 Command Queue: Inter-LU Priority
13.4.3.1 Implementation
13.4.4 Background Operations Mode
13.4.4.1 Introduction
13.4.4.2 Purpose
Performance Improvement
13.4.4.3 Background Operations Status
13.4.4.4 Operation Initiation
13.4.4.5 Power Failure
13.4.4.6 Implementation
13.4.5 Power Off Notification
13.4.6 Dynamic Device Capacity
13.4.6.1 Implementation
13.4.6.1.1 Initial Device Requirements
13.4.6.1.2 Dynamic Capacity Procedural Flow
13.4.6.1.3 Dynamic Device Capacity Notification
13.4.6.1.4 Error handling
13.4.6.1.5 Physical Memory Resource State Machine
13.4.7 Data Reliability
13.4.7.1 Description
13.4.7.2 Implementation
13.4.8 Real-Time Clock Information
13.4.9 Context Management
13.4.9.1 Context configuration
13.4.9.2 Activation and direction mode
13.4.9.3 Large-Unit mode
13.4.9.4 Reliability mode
13.4.9.5 Large-Unit Multiplier
13.4.10 System Data Tag Mechanism
13.4.11 Exception Events Mechanism
13.4.12 Data transfer rules related with RTT (Ready-to-Transfer)
13.4.12.1 Implementation
13.5 UFS Cache
14 UFS Descriptors, Flags and Attributes
14.1 UFS Descriptors
14.1.1 Descriptor Types
14.1.2 Descriptor Indexing
14.1.3 Accessing Descriptors
14.1.4 Read Descriptor
14.1.5 Write Descriptor
14.1.6 Descriptor Page Definitions
14.1.6.1 Generic Descriptor Format
14.1.6.2 Device Descriptor
14.1.6.3 Configuration Descriptor
14.1.6.4 Geometry Descriptor
14.1.6.5 Unit Descriptor
14.1.6.6 RPMB Unit Descriptor
14.1.6.7 Power Parameters Descriptor
14.1.6.8 Interconnect Descriptor
14.1.6.9 Manufacturer Name String Descriptor
14.1.6.10 Product Name String Descriptor
14.1.6.11 OEM ID String Descriptor
14.1.6.12 Serial Number String Descriptor
14.2 Flags
14.3 Attributes
Annex A - DYNAMIC CAPACITY HOST IMPLEMENTATION EXAMPLE (informative)
A.1 Overview
A.2 Method Outline
Annex B (informative) Differences between JESD220B and JESD220A
B.1 Changes between JESD220B and its predecessor JESD220A
B.1.1 New features or new definitions
B.1.2 Changes in section 2 “Normative Reference”
B.1.3 Changes in features already defined in UFS 1.1
Standard Improvement Form JEDEC
JEDEC STANDARD Universal Flash Storage (UFS) Version 2.0 JESD220B (Revision of JESD220A, June 2012) SEPTEMBER 2013 JEDEC SOLID STATE TECHNOLOGY ASSOCIATION
NOTICE JEDEC standards and publications contain material that has been prepared, reviewed, and approved through the JEDEC Board of Directors level and subsequently reviewed and approved by the JEDEC legal counsel. JEDEC standards and publications are designed to serve the public interest through eliminating misunderstandings between manufacturers and purchasers, facilitating interchangeability and improvement of products, and assisting the purchaser in selecting and obtaining with minimum delay the proper product for use by those other than JEDEC members, whether the standard is to be used either domestically or internationally. JEDEC standards and publications are adopted without regard to whether or not their adoption may involve patents or articles, materials, or processes. By such action JEDEC does not assume any liability to any patent owner, nor does it assume any obligation whatever to parties adopting the JEDEC standards or publications. The information included in JEDEC standards and publications represents a sound approach to product specification and application, principally from the solid state device manufacturer viewpoint. Within the JEDEC organization there are procedures whereby a JEDEC standard or publication may be further processed and ultimately become an ANSI standard. No claims to be in conformance with this standard may be made unless all requirements stated in the standard are met. Inquiries, comments, and suggestions relative to the content of this JEDEC standard or publication should be addressed to JEDEC at the address below, or refer to www.jedec.org under Standards and Documents for alternative contact information. Published by ©JEDEC Solid State Technology Association 2013 3103 North 10th Street Suite 240 South Arlington, VA 22201-2107 This document may be downloaded free of charge; however JEDEC retains the copyright on this material. By downloading this file the individual agrees not to charge for or resell the resulting material. PRICE: Contact JEDEC Printed in the U.S.A. All rights reserved
PLEASE! DON’T VIOLATE THE LAW! This document is copyrighted by JEDEC and may not be reproduced without permission. For information, contact: JEDEC Solid State Technology Association 3103 North 10th Street Suite 240 South Arlington, VA 22201-2107 or refer to www.jedec.org under Standards-Documents/Copyright Information.
1 2 3 4 4.1 4.2 4.3 5 5.1 5.2 5.3 5.4 5.4.1 5.4.2 5.4.3 5.5 5.5.1 5.6 6 6.1 6.2 6.3 6.4 6.5 6.5.1 6.5.2 6.6 6.7 7 7.1 7.1.1 7.1.2 7.1.3 7.1.4 7.1.5 7.1.6 7.2 JEDEC Standard No. 220B UNIVERSAL FLASH STORAGE (UFS), VERSION 2.0 CONTENTS Scope Normative Reference Terms and Definitions Introduction General Features Interface Features Functional Features UFS Architecture Overview UFS Top level Architecture UFS System Model System Boot and Enumeration UFS Interconnect (UIC) Layer UFS Physical Layer Signals MIPI UniPro MIPI UniPro Related Attributes UFS Transport Protocol (UTP) Layer Architectural Model UFS Application and Command Layer UFS Electrical: Clock, Reset, Signals and Supplies Embedded UFS Signals UFS Memory Card Signals Reset Signal Power Supplies Reference Clock HS Gear Rates Host Controller requirements for reference clock generation External Charge Pump Capacitors (Optional) Absolute Maximum DC Ratings Reset, Power-up and Power-down Reset Power-on Reset Hardware Reset EndPointReset Logical Unit Reset Other Resets Summary of Resets and Device Behavior Power up ramp -i- Page 1 1 2 7 7 8 8 9 9 12 12 13 13 13 14 14 15 19 20 20 21 22 22 23 24 25 26 27 28 28 28 29 30 31 31 32 33
Power off ramp UFS Device Power Modes and LU Power Condition Device Power Modes Power Management Command: START STOP UNIT Power Mode Control Logical Unit Power Condition UFS UIC Layer: MIPI M-PHY Termination Drive Levels PHY State machine HS Burst HS Prepare Length Control HS Sync Length Control Slew Rate Control PWM Burst LS Prepare Length Control UFS PHY Attributes Operation Timings Reference Clock Timings Electrical characteristics Transmitter Characteristics Receiver Characteristics UFS UIC Layer: MIPI Unipro Overview Architectural Model UniPro/UFS Transport Protocol Interface (Data Plane) UniPro/UFS Control Interface (Control Plane) UniPro/UFS Transport Protocol Address Mapping Options and Tunable Parameters of UniPro UniPro PHY Adapter UniPro Data Link Layer UniPro Network Layer UniPro Transport Layer UniPro Device Management Entity Transport Layer UniPro Attributes UFS Transport Protocol (UTP) Layer Overview UTP and UniPro Specific Overview Phases JEDEC Standard No. 220B 7.3 7.4 7.4.1 7.4.2 7.4.3 7.4.4 8 8.1 8.2 8.3 8.4 8.4.1 8.4.2 8.4.3 8.5 8.5.1 8.6 8.7 8.7.1 8.8 8.8.1 8.8.2 9 9.1 9.2 9.3 9.4 9.5 9.6 9.6.1 9.6.2 9.6.3 9.6.4 9.6.5 9.6.6 10 10.1 10.2 10.2.1 10.2.2 Data Pacing 10.2.3 UniPro 10.3 10.3.1 Overview 10.4 UFS Transport Protocol Transactions Service Delivery Subsystem -ii- 34 35 35 43 45 47 48 48 48 48 49 49 49 49 49 49 49 52 52 52 52 52 53 53 53 54 55 56 57 57 57 57 57 58 59 60 60 61 61 61 61 62 62 62
JEDEC Standard No. 220B 62 64 65 65 70 73 81 83 85 87 89 91 104 116 118 120 122 122 122 122 123 123 124 125 126 127 128 128 128 130 131 132 133 133 140 145 149 149 149 149 150 151 151 154 Logical Unit Addressing Translation of 8-bit UFS LUN to 64-bit SCSI LUN Address SCSI Write Command SCSI Read Command Application Layer and Device Manager Transport Protocol Services Execute Command procedure call transport protocol services Send SCSI Command transport protocol service SCSI Command Received transport protocol Send Command Complete transport protocol service Command Complete Received transport protocol service General UFS Protocol Information Unit Format READY TO TRANSFER UPIU TASK MANAGEMENT REQUEST UPIU TASK MANAGEMENT RESPONSE UPIU 10.4.1 UPIU Transaction Codes 10.5 10.5.1 Overview 10.5.2 Basic Header Format 10.5.3 COMMAND UPIU 10.5.4 RESPONSE UPIU 10.5.5 DATA OUT UPIU 10.5.6 DATA IN UPIU 10.5.7 10.5.8 10.5.9 10.5.10 QUERY REQUEST UPIU 10.5.11 QUERY RESPONSE UPIU 10.5.12 REJECT UPIU 10.5.13 NOP OUT UPIU 10.5.14 NOP IN UPIU 10.6 Logical Units 10.6.1 Overview 10.6.2 UFS SCSI Domain 10.6.3 UFS Logical Unit Definition 10.6.4 Well-Known Logical Unit Definition 10.6.5 10.6.6 Well Known Logical Unit Defined in UFS 10.6.7 10.6.8 10.6.9 10.7 10.7.1 UFS Initiator Port and Target Port Attributes 10.7.2 10.7.3 10.7.4 10.7.5 10.7.6 10.7.7 Data transfer SCSI transport protocol services 10.7.8 Task Management Function procedure calls 10.7.9 Query Function transport protocol services 11 11.1 11.1.1 11.2 11.3 11.3.1 General information about SCSI commands in UFS 11.3.2 11.3.3 MODE SELECT (10) Command UFS Protocol layer – SCSI Commands Universal Flash Storage Command Layer (UCL) Introduction The Command Descriptor Block (CDB) Universal Flash Storage Native Commands (UNC) Universal Flash Storage SCSI Commands INQUIRY Command -iii-
READ (6) Command READ (10) Command READ (16) Command READ CAPACITY (10) Command READ CAPACITY (16) Command JEDEC Standard No. 220B 11.3.4 MODE SENSE (10) Command 11.3.5 11.3.6 11.3.7 11.3.8 11.3.9 11.3.10 START STOP UNIT 11.3.11 TEST UNIT READY Command 11.3.12 REPORT LUNS Command 11.3.13 VERIFY (10) 11.3.14 WRITE (6) Command 11.3.15 WRITE (10) Command 11.3.16 WRITE (16) Command 11.3.17 REQUEST SENSE Command 11.3.18 FORMAT UNIT Command 11.3.19 PRE-FETCH (10) Command 11.3.20 PRE-FETCH (16) Command 11.3.21 SECURITY PROTOCOL IN Command 11.3.22 SECURITY PROTOCOL OUT Command 11.3.23 SEND DIAGNOSTIC Command 11.3.24 SYNCHRONIZE CACHE (10) Command 11.3.25 SYNCHRONIZE CACHE (16) Command 11.3.26 UNMAP Command 11.3.27 READ BUFFER Command 11.3.28 WRITE BUFFER Command 11.4 11.4.1 Mode Page Overview 11.4.2 UFS Supported Pages 12 12.1 12.2 12.2.1 Description 12.2.2 12.2.3 12.3 12.3.1 Description and Requirements 12.3.2 12.4 12.4.1 Description 12.4.2 12.4.3 12.4.4 12.4.5 12.4.6 UFS Security UFS Security Feature Support Requirements Secure Mode Requirements Implementation Device Data Protection Implementation RPMB Mode Pages RPMB Well Known Logical Unit Description Requirements Implementation SECURITY PROTOCOL IN/OUT Commands RPMB Operations -iv- 156 159 160 162 164 166 170 171 172 177 179 181 184 187 191 193 196 197 199 201 203 206 207 210 213 216 216 221 228 228 228 228 229 230 235 235 235 236 236 236 237 242 243 248
分享到:
收藏