没有合适的资源?快使用搜索试试~ 我知道了~
首页USB mass storage class
资源详情
资源评论
资源推荐

Universal Serial Bus
Mass Storage Class
UFI Command
Specification
Revision 1.0
December 14, 1998

USB Mass Storage Class – UFI Command Specification Revision 1.0
1999.01.05 2
Revision History
Rev Date Filename Author Comments
A 1998.01.22 UFI_SPEC_R1.doc Kenichi Hamada
Y-E Data, Inc.
First draft.
B 1998 03.31 UFI_RB1.DOC Kenichi Hamada First Release
C 1998.04.16 UFI-RB2.DOC Makoto Kubo
Y-E Data, Inc.
Translation of a Japanese part.
Addition of document correction and item.
D 1998.04.22 UFI-RB3.DOC Makoto Kubo Accepted USB Mass Storage specification RC2.
ADSC code changed to 0x21
v0.8 1998.10.20 ufi-cmd-v08b.doc Jim Blackson
Y-E Data, Inc.
Draft for USB Mass Storage CWG – Plano, Texas
v0.9 1998.10.22 ufi-cmd-v09.doc Jim Blackson USB Mass Storage CWG review – Plano, Texas
v1.0 1998.12.14 usbmass-ufi10.doc Updated revision number to 1.0
USB Mass Storage Class UFI Command Specification
Copyright © 1998, 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.
Please send comments via electronic mail to techsup@usb.org
Additional contributions made by:
Shing F. Lin Adaptec
Mark McCoy Anchor Chips Inc.
Mike Leibow eTEK Labs
David G.Lawrence Smart Technology Enablers, Inc.
Hiromichi Oribe Hagiwara Sys-Com Co., Ltd.
Yuji Oishi Hagiwara Sys-Com Co., Ltd.
Steve Bayless Hewlett-Packard
Dave Gilbert In-System Design, Inc.
David Luke In-System Design, Inc.
Darrell Redford Iomega Corporation
David Jolley Iomega Corporation
Mike Poulsen Iomega Corporation
Jim Quigley Iomega Corporation
Glen Slick Microsoft Corporation
Mark Williams Microsoft Corporation
Takashi Matsui Nanao
Ryota Okazaki NEC Corporation
Curtis E. Stevens Phoenix Technologies Ltd
Al Richey Phoenix Technologies Ltd.
Trenton Henry Standard Microsystems Corporation
Mike Nguyen TEAC America, Inc.
Tsuyoshi Osawa TEAC Corporation
Toyoko Shimizu Y-E Data, Inc.

USB Mass Storage Class – UFI Command Specification Revision 1.0
1999.01.05 3
Table of Contents
List of Tables.......................................................................................................................................... 5
List of Figures ........................................................................................................................................ 7
1. Introduction..................................................................................................................................... 8
1.1 Scope ........................................................................................................................................ 8
1.2 Terms and Abbreviations .......................................................................................................... 9
2. USB Usage .................................................................................................................................... 10
2.1 CBI: Interrupt Endpoint Required ............................................................................................ 10
2.2 CBI: Accept Device-Specific Command Request ................................................................... 10
2.3 Zero-Length Data UFI Command Blocks................................................................................ 10
3. UFI Commands ............................................................................................................................. 11
3.1 Command Block Implementation Requirements..................................................................... 12
3.1.1 Reserved.......................................................................................................................... 12
3.2 UFI Command Block Description ............................................................................................ 12
3.2.1 Operation Code................................................................................................................ 12
3.2.2 Logical Unit Number......................................................................................................... 13
3.2.3 Logical Block Address......................................................................................................13
3.2.4 Transfer Length................................................................................................................ 13
3.2.5 Parameter List Length......................................................................................................14
3.2.6 Allocation Length.............................................................................................................. 14
3.3 Status ...................................................................................................................................... 14
3.4 Immediate Command Processing Considerations.................................................................. 14
3.5 UFI Command Process Flow .................................................................................................. 14
3.6 Aborting an UFI Command......................................................................................................14
4. UFI Command Descriptions ........................................................................................................ 15
4.1 FORMAT UNIT Command: 04h .............................................................................................. 16
4.1.1 Format Parameter List ..................................................................................................... 16
4.1.2 Result Values ................................................................................................................... 18
4.2 INQUIRY Command: 12h........................................................................................................ 19
4.2.1 Standard INQUIRY Data.................................................................................................. 19
4.3 MODE SELECT Command: 55h ............................................................................................. 21
4.4 MODE SENSE Command: 5Ah .............................................................................................. 22
4.4.1 Current Values ................................................................................................................. 22
4.4.2 Changeable Values..........................................................................................................23
4.4.3 Default Values.................................................................................................................. 23

USB Mass Storage Class – UFI Command Specification Revision 1.0
1999.01.05 4
4.4.4 Saved Values ................................................................................................................... 23
4.4.5 Initial Responses.............................................................................................................. 23
4.5 Mode Select / Sense Parameters............................................................................................ 24
4.5.1 MODE Parameter List ...................................................................................................... 24
4.5.2 MODE Parameter Header................................................................................................ 24
4.5.3 Medium Type Codes ........................................................................................................ 25
4.5.4 Read-Write Error Recovery Page (01h)........................................................................... 25
4.5.5 Flexible Disk Page (05h).................................................................................................. 26
4.5.6 Removable Block Access Capabilities Page (1Bh).......................................................... 27
4.5.7 Timer and Protect Page (1Ch) ......................................................................................... 28
4.6 PREVENT-ALLOW MEDIUM REMOVAL Command: 1Eh ..................................................... 29
4.7 READ(10) Command: 28h ...................................................................................................... 30
4.8 READ(12) Command: A8h ...................................................................................................... 31
4.9 READ CAPACITY Command: 25h.......................................................................................... 32
4.10 READ FORMAT CAPACITIES Command: 23h...................................................................... 33
4.10.1 Capacity List..................................................................................................................... 33
4.10.2 Formattable Capacity Descriptors.................................................................................... 35
4.11 REQUEST SENSE Command: 03h ........................................................................................ 37
4.12 REZERO UNIT Command: 01h .............................................................................................. 39
4.13 SEEK Command: 2Bh............................................................................................................. 40
4.14 SEND DIAGNOSTIC Command: 1Dh..................................................................................... 41
4.15 START-STOP UNIT Command: 1Bh ...................................................................................... 42
4.15.1 Motor On/Off .................................................................................................................... 43
4.16 TEST UNIT READY Command: 00h....................................................................................... 44
4.17 VERIFY Command: 2Fh.......................................................................................................... 45
4.18 WRITE(10) Command: 2Ah .................................................................................................... 46
4.19 WRITE(12) Command: AAh .................................................................................................... 47
4.20 WRITE AND VERIFY Command: 2Eh .................................................................................... 48
5. Sense Data .................................................................................................................................... 49

USB Mass Storage Class – UFI Command Specification Revision 1.0
1999.01.05 5
List of Tables
Table 1 - Required UFI Commands....................................................................................................... 11
Table 2 - Typical Command Block for Most Commands ....................................................................... 12
Table 3 - Typical Command Block for Some Extended Commands ..................................................... 12
Table 4 - UFI Commands Supported By UFI Devices........................................................................... 15
Table 5 - FORMAT UNIT Command ..................................................................................................... 16
Table 6 - FORMAT UNIT (04h) Parameter List ..................................................................................... 17
Table 7 - Defect List Header.................................................................................................................. 17
Table 8 - Format Descriptor................................................................................................................... 18
Table 9 - INQUIRY Command............................................................................................................... 19
Table 10 - INQUIRY Data Format.......................................................................................................... 20
Table 11 - MODE SELECT Command ..................................................................................................21
Table 12 - MODE SENSE Command.................................................................................................... 22
Table 13 - Page Control Field................................................................................................................ 22
Table 14 - UFI Device Mode Pages....................................................................................................... 24
Table 15 - Mode Parameter List ............................................................................................................ 24
Table 16 - Mode Parameter Header...................................................................................................... 24
Table 17 - Medium Type Codes ............................................................................................................ 25
Table 18 - Read-Write Error Recovery Page (01h) ............................................................................... 25
Table 19 - Flexible Disk Page (05h) ...................................................................................................... 26
Table 20 - Examples of transfer rates.................................................................................................... 27
Table 21 - Removable Block Access Capabilities Page (1Bh).............................................................. 27
Table 22 - Timer and Protect Page (1Bh).............................................................................................. 28
Table 23 - Inactivity Time Multiplier Values ........................................................................................... 28
Table 24 - PREVENT-ALLOW MEDIUM REMOVAL Command........................................................... 29
Table 25 - READ(10) Command............................................................................................................ 30
Table 26 - READ(12) Command............................................................................................................ 31
剩余52页未读,继续阅读






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

评论1