JEDEC JESD223C-2016 Universal Flash Storage Host Controller Interface (UFSHCI) Version 2 1.pdf
《JEDEC JESD223C-2016 Universal Flash Storage Host Controller Interface (UFSHCI) Version 2 1.pdf》由会员分享,可在线阅读,更多相关《JEDEC JESD223C-2016 Universal Flash Storage Host Controller Interface (UFSHCI) Version 2 1.pdf(84页珍藏版)》请在麦多课文档分享上搜索。
1、 JEDEC STANDARD Universal Flash Storage Host Controller Interface (UFSHCI) Version 2.1 JESD223C (Revision of JESD223B, September 2013) MARCH 2016 JEDEC SOLID STATE TECHNOLOGY ASSOCIATION NOTICE JEDEC standards and publications contain material that has been prepared, reviewed, and approved through t
2、he 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
3、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 no
4、t 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 publi
5、cations 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
6、 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 St
7、andards and Documents for alternative contact information. Published by JEDEC Solid State Technology Association 2016 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 t
8、his 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! DONT VIOLATE THE LAW! This document is copyrighted by JEDEC and may not be reproduced without permission. For information, contact: JEDEC Solid St
9、ate Technology Association 3103 North 10th Street Suite 240 South Arlington, VA 22201-2107 or refer to www.jedec.org under Standards-Documents/Copyright Information. JEDEC Standard No. 223C -i- UNIVERSAL FLASH STORAGE HOST CONTROLLER INTERFACE (UFSHCI), Version 2.1 Contents Page 1 Scope . 1 2 Normat
10、ive Reference . 1 3 Acronyms, Terms and Definitions, Keywords, and Conventions 2 4 Architectural Overview . 5 4.1 Outside of Scope 5 4.2 Interface Architecture 6 4.2 Interface Architecture (contd) 7 4.3 Transfer Request Interface . 8 4.3 Transfer Request Interface (contd) . 9 4.4 Limitations . 9 5 U
11、FS Host Controller Register Interface 9 5.1 Register Map 10 5.2 Host Controller Capabilities Registers . 11 5.2.1 Offset 00h: CAP Controller Capabilities 11 5.2 Host Controller Capabilities Registers (contd) . 12 5.2.2 Offset 08h: VER UFS Version . 12 5.2.3 Offset 10h: HCPID Host Controller Identifi
12、cation Descriptor Product ID 12 5.2.4 Offset 14h: HCMID Host Controller Identification Descriptor Manufacturer ID . 12 5.2.5 Offset 18h: AHIT Auto-Hibernate Idle Timer 13 5.3 Operation and Runtime Registers 14 5.3.1 Offset 20h: IS Interrupt Status 14 5.3.2 Offset 24h: IE Interrupt Enable . 16 5.3.3
13、Offset 30h: HCS Host Controller Status . 17 5.3.4 Offset 34h: HCE Host Controller Enable . 18 5.3.5 Offset 38h: UECPA Host UIC Error Code PHY Adapter Layer 18 5.3.6 Offset 3Ch: UECDL Host UIC Error Code Data Link Layer . 19 5.3.7 Offset 40h: UECN Host UIC Error Code Network Layer 19 5.3.8 Offset 44h
14、: UECT Host UIC Error Code Transport Layer . 20 5.3.9 Offset 48h: UECDME Host UIC Error Code . 20 5.3.10 Offset 4Ch: UTRIACR UTP Transfer Request Interrupt Aggregation Control Register . 21 5.4 UTP Transfer Request Registers 22 5.4.1 Offset 50h: UTRLBA UTP Transfer Request List Base Address . 22 5.4
15、.2 Offset 54h: UTRLBAU UTP Transfer Request List Base Address Upper 32-bits . 22 5.4.3 Offset 58h: UTRLDBR UTP Transfer Request List Door Bell Register 23 5.4.4 Offset 5Ch: UTRLCLR UTP Transfer Request List CLear Register . 23 5.4.5 Offset 60h: UTRLRSR UTP Transfer Request List Run Stop Register . 2
16、3 5.4.6 Offset 64h: UTRLCNR UTP Transfer Request List Completion Notification Register 24 5.5 UTP Task Management Registers . 25 5.5.1 Offset 70h: UTMRLBA UTP Task Management Request List Base Address . 25 5.5.2 Offset 74h: UTMRLBAU UTP Task Management Request List Base Address Upper 32-bits . 25 5.
17、5.3 Offset 78h: UTMRLDBR UTP Task Management Request List Door Bell Register 25 5.5.4 Offset 7Ch: UTMRLCLR UTP Task Management Request List CLear Register 26 5.5.5 Offset 80h: UTMRLRSR UTP Task Management Request List Run Stop Register 26 JEDEC Standard No. 223B -ii- Contents (contd) Page 5.6 UIC Co
18、mmand Registers . 27 5.6.1 Offset 90h: UICCMD UIC Command 27 5.6.2 Offset 94h: UICCMDARG1 UIC Command Argument 1 . 28 5.6.3 Offset 98h: UICCMDARG2 UIC Command Argument 2 . 29 5.6.4 Offset 9Ch: UICCMDARG3 UIC Command Argument 3 . 30 5.6.5 Attributes for Local L2 Timers 30 5.7 Vendor Specific Register
19、s 31 5.7.1 Offset C0h to FFh: VS Vendor Specific . 31 5.8 Crypto Registers 32 5.8.1 Offset 100h: CCAP Crypto Capability . 32 5.8.2 x-CRYPTOCAP Crypto Capability X 33 5.8.3 x-CRYPTOCFG Crypto Configuration X 34 6 Data structures . 36 6.1 UTP Transfer Request List 36 6.1.1 UTP Transfer Request Descrip
20、tor 36 6.1.2 UTP Command Descriptor 40 6.2 UTP Task Management Request List 42 6.2.1 UTP Task Management Request Descriptor 42 6.3 Key Organization for Cryptographic Algorithms 44 6.3.1 AES-XTS . 44 6.3.2 Bitlocker-AES-CBC 46 6.3.3 AES-ECB . 47 6.3.4 ESSIV-AES-CBC 48 7 Theory of Operation 48 7.1 Hos
21、t Controller Configuration and Control . 49 7.1.1 Host Controller Initialization . 49 7.1.2 Configuration and control 51 7.1.3 CRYPTOCFG Configuration Procedure . 51 7.2 Data Transfer Operation 52 7.2.1 Basic Steps when Building a UTP Transfer Request . 53 7.2.2 UPIU Processing 54 7.2.3 Processing U
22、TP Transfer Request Completion . 56 7.3 Task Management Function . 58 7.3.1 Basic Steps when Building a UTP Task Management Request . 58 7.3.2 Processing UTP Task Management Completion . 58 7.4 UIC Power Mode Change 59 7.5 UFSHCI Internal Rules 61 7.5.1 Command Processing Order 61 7.5.2 RTT Processi
23、ng Rules 62 7.5.3 Data Unit Processing Order for Cryptographic operations 62 8 Error reporting and handling . 63 8.1 Error Types 63 8.1.1 System Bus Error . 63 8.1.2 UIC Error . 63 JEDEC Standard No. 223A -iii- Contents (contd) Page 8.1.3 UIC Command Error 63 8.1.4 UTP Error 64 8.1.5 Host controller
24、 Fatal Error . 64 8.1.6 Device Error . 64 8.1.7 Hibernate Enter/Exit Error . 65 8.2 Error Handling . 65 8.2.1 System Bus Error Handling . 65 8.2.2 UIC Error Handling . 66 8.2.3 UIC Command Error Handling 66 8.2.4 UTP Error Handling . 67 8.2.5 Host Controller Error Handling . 67 8.2.6 Device Error Ha
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- JEDECJESD223C2016UNIVERSALFLASHSTORAGEHOSTCONTROLLERINTERFACEUFSHCIVERSION21PDF

链接地址:http://www.mydoc123.com/p-807113.html