没有合适的资源?快使用搜索试试~ 我知道了~
首页USB Device Class Definition For MassStorage
USB Device Class Definition For MassStorage

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页未读,继续阅读
















安全验证
文档复制为VIP权益,开通VIP直接复制

评论2