没有合适的资源?快使用搜索试试~ 我知道了~
首页USB Device Class Definition For MassStorage
USB Device Class Definition For MassStorage
3星 · 超过75%的资源 需积分: 10 32 下载量 105 浏览量
更新于2023-03-03
评论
收藏 95KB PDF 举报
Universal Serial Bus Device Class Definition<br>for Mass Storage Devices
资源详情
资源评论
资源推荐
Universal Serial Bus
Device Class Definition
for Mass Storage Devices
0.90c Draft Revision
February 2, 1996
USB Device Class Definition for Mass Storage Devices
Release 0.90c 03/04/96 1:22 PM
Scope of this Revision
The 0.9c release candidate of this definition is intended for industry review.
Contributors
Curtis E. Stevens Phoenix Technologies, Curtis_Stevens@PTLTD.COM
Mark Gianopulos Intel Corporation, Memory Card Division, Mark_P_Gianopulos@ccm.fm.intel.com
Revision History
Rev Date Filename Author Comments
0.9b 1/15/96 massr1i.doc Carol Buchmiller
Document Normalized to match other Class
Specifications.
0.9c 2/2/96 massr1j Curtis E. Stevens
Added Company/Address information for Mark
Gianopulos. Insterted copyright Changed Revision
to C.
USB Communication Device Class Definition for Mass Storage Devices
Copyright © 1996, USB Implementers Forum.
All rights reserved.
INTELLECTUAL PROPERTY DISCLAIMER
THIS SPECIFICATION IS PROVIDED “AS IS” WITH NO WARRANTIES WHATSOEVER INCLUDING
ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY
WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION, OR SAMPLE.
A LICENSE IS HEREBY GRANTED TO REPRODUCE AND DISTRIBUTE THIS SPECIFICATION FOR
INTERNAL USE ONLY. NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR
OTHERWISE, TO ANY OTHER INTELLECTUAL PROPERTY RIGHTS IS GRANTED OR INTENDED
HEREBY.
AUTHORS OF THIS SPECIFICATION DISCLAIM ALL LIABILITY, INCLUDING LIABILITY FOR
INFRINGEMENT OF PROPRIETARY RIGHTS, RELATING TO IMPLEMENTATION OF
INFORMATION IN THIS SPECIFICATION. AUTHORS OF THIS SPECIFICATION ALSO DO NOT
WARRANT OR REPRESENT THAT SUCH IMPLEMENTATION(S) WILL NOT INFRINGE SUCH
RIGHTS.
Syquest is a registered trademark of Syquest Technology.
Zip Drive is a trademark of Iomega Corporation.
All other product names are trademarks, registered trademarks, or servicemarks of their respective owners.
Please send comments via electronic mail to usbdevice@fsp008.fm.intel.com
USB Device Class Definition for Mass Storage Devices
Release 0.90c 03/04/96 1:22 PM
Table of Contents
1. Introduction................................................................................................................................ 1
1.1 Scope ..................................................................................................................................... 1
1.2 Purpose.................................................................................................................................. 2
1.3 Related Documents................................................................................................................ 2
1.4 Terms and Abbreviations ....................................................................................................... 2
2. Management Overview.............................................................................................................. 2
3. Functional Characteristics........................................................................................................ 4
3.1 Operational Model.................................................................................................................. 4
3.2 Interfaces................................................................................................................................ 4
3.3 Functional Characteristics of Mass Storage Device Subclasses ........................................... 5
3.3.1 General Mass Storage Subclass..................................................................................... 5
3.3.2 CD-ROM Subclass .......................................................................................................... 5
3.3.3 Tape Subclass................................................................................................................. 6
3.3.4 Solid State Subclass........................................................................................................ 6
4. Standard Descriptors ................................................................................................................ 6
4.1 Device Descriptor................................................................................................................... 7
4.2 Configuration Descriptor......................................................................................................... 8
4.3 Interface Descriptors.............................................................................................................. 9
4.4 Endpoint Descriptors............................................................................................................ 10
4.4.1 Control Endpoint............................................................................................................ 10
4.4.2 Bulk Input Endpoint........................................................................................................ 10
4.4.3 Bulk Output Endpoint..................................................................................................... 11
4.4.4 Interrupt Endpoint .......................................................................................................... 11
5. Requests................................................................................................................................... 12
5.1 Standard Requests............................................................................................................... 12
5.2 Class-Specific Requests ...................................................................................................... 13
Appendix A Required Device-Specific Commands by Subclass ........................................... 14
Appendix B Solid State SCSI Command Set............................................................................ 16
B.1 Command Set Documentation............................................................................................. 16
B.1.1 Copy Command............................................................................................................... 16
B.1.2 Erase Command.............................................................................................................. 17
B.1.3 Inquiry Command............................................................................................................. 17
B.1.4 Read Command............................................................................................................... 18
B.1.5 Request Sense Command............................................................................................... 19
USB Device Class Definition for Mass Storage Devices
Release 0.90c 03/04/96 1:22 PM
B.1.6 Write Buffer Command.................................................................................................... 19
B.1.7 Write Command............................................................................................................... 20
B.2 Example of a Host/Device Message Exchange .................................................................. 20
B.3 Additional Solid State ASC/ASCQ Codes ........................................................................... 21
List of Tables
Table 1 - Device Descriptor........................................................................................................... 7
Table 2 - Configuration Descriptor............................................................................................... 8
Table 3 - Data Interface Descriptor .............................................................................................. 9
Table 4 - Bulk Input Endpoint Descriptor.................................................................................. 10
Table 5 - Bulk Output Endpoint Descriptor............................................................................... 11
Table 6 - Interrupt Endpoint Descriptor..................................................................................... 12
Table 7 - Required Commands By Subclass............................................................................. 14
Table 8 - Packet Commands Supported by Flash Devices...................................................... 16
Table 9 - Copy Command............................................................................................................ 16
Table 10 - Copy Parameter List .................................................................................................. 17
Table 11 - Erase Command......................................................................................................... 17
Table 12 - Inquiry Command....................................................................................................... 17
Table 13 - Inquiry Data Format ................................................................................................... 18
Table 14 - Read Command.......................................................................................................... 19
Table 15 - Request Sense Command......................................................................................... 19
Table 16 - Write Buffer Command.............................................................................................. 19
Table 17 - Write Command.......................................................................................................... 20
Table 18 - New ASC/ASCQ Codes.............................................................................................. 21
1. Introduction
The Universal Serial Bus (USB) is a communications architecture that gives a PC the ability to interconnect
a variety of devices via a simple four-wire cable. The USB is actually a two-wire serial communication link
that runs at 12 megabits (Mbs) per second. USB protocols can configure devices at startup or when they are
plugged in at run time. These devices have been broken into five major classes:
• Monitors
• Communication devices
• Audio
• Human input
• Mass storage
More classes will be identified as the USB matures.
Devices in a given class can be broken into subclasses. These divisions allow software to search the bus and
select all of the devices that it can control. Each device can have one or more configurations that define how
the device functions. A device that can function in several different ways will have a configuration for each
function. A configuration is a collection of interfaces. An interface specifies which hardware in the device
will interact with the USB. Each of these pieces of hardware is called an endpoint. Therefore, an interface is
a collection of endpoints. The USB Device Class Definitions define the default configurations, interfaces
and endpoints that a device in a given class or subclass should provide.
A descriptor describes general information about a device, configuration, interface, or endpoint. Figure 1
shows the hierarchical organization of USB descriptors.
Figure 1. Sample Descriptor Organization
Interface
Descriptor
Endpoint
Descriptor
Endpoint
Descriptor
Endpoint
Descriptor
Interface
Descriptor
Configuration
Descriptor
Configuration
Descriptor
Device
Descriptor
剩余24页未读,继续阅读
LanceJin
- 粉丝: 26
- 资源: 118
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论2