Design and Implementation of USB Mass Storage Class device firmware
- Author
- BianTingBo
- Advisor
- WangZhongRen
- School
- University of Electronic Science and Technology
- Major
- Computer Applications
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 318
- Citations
- 4
Abstract
As a popular interface used by devices for computer, the technology of USB interface has been paid more and more attention to during these years. This article does some detailed researches on rudiment of USB interface. At the same time, some of the technology has been applied to the project item. And finally we come through firmware for the mass storage removable device with USB interface (Removable Disk).At first, the thesis makes detailed researches on theory of USB interface. It introduces the architecture, USB data flow model and USB device framework. And it also gives a specific description for USB Mass Storage class specification and USB Mass Storage Bulk-Only transport specification used by the project.Secondly, the article makes a necessary introduce for system development environment used by the project. It introduces MCU, USB chip and compiler used by the project.At last, the article gives a detailed description for design and implement of USB firmware with the basic theory of USB and system development environment. It focuses on the implement of USB bus enumeration protocol that is necessary for all USB devices and the implement of USB Mass Storage Bulk-Only transport and ATA/ATAPI protocols those are necessary for all USB Mass Storage devices. At the end of this article, detailed discussion on the shortage and improvement for the project is mentioned, and the foreground of USB2.0 is also prospected.
Table of contents
Summary 4-5
ABSTRACT 5-8
Chapter Introduction 8-13
1.1 subject background and significance 8 < br /> 1.2 USB Introduction 8-11 1.2.1 USB bus
goal 9
1.2.2 USB application of classification 9-10
1.2.3 feature list 10-11
1.3 content arrangements 11-13
USB communication protocol 13-45
2.1 USB system 13-20
the 2.1.1 USB system description 13-15
2.1.2 USB physical interface 15-16
2.1. 3 power 16
2.1.4 bus protocol the 16-17
2.1.5 robustness 17-18
2.1.6 System Configuration the 18-19
2.1.7, the type of data flow 19
2.1.8 USB device 19-20
2.1.9 USB Host: Hardware and software nbsp 20
2.2 USB data flow model; 20-26
2.2.1 implementer view 20-21
2.2.2 USB traffic 21-24
2.2.3 Delivery Type 24-26
2.3 USB Device Architecture 26-40
2.3.1 USB device status of 27-31
2.3.2 the Universal USB devices operating 31-33
2.3.3 USB device requests (USB device requests) 33-34
2.3.4 standard device requests the 34-36
2.3.5 descriptor 36-37
2.3.6 standard describes the character definition 37-40
2.4 USB MASS STORAGE specification 40-44
2.4.1 USB Mass Storage Class Introduction the 40-42
2.4.2 USB Mass Storage Bulk-Only Transport Specification 42-44
2.5 Chapter Summary 44-45
Chapter system development environment the 45-47 3.1 P89C61 microcontroller
About 45 <br / > 3.2 ISP1581 USB chip Introduction the 45-46
3.3 firmware development tools About 46-47
Chapter USB firmware design and implementation of those characterized by geographical facts and realistic descriptions, the
firmware 4.1 work 47
Design and Implementation of the 4.2 firmware 47-83
4.2.1 firmware structure 48
4.2.2 important data structures and variables 48-57
4.2.3 The main loop routine 57-60
4.2.4 USB bus enumeration the protocol firmware realize 60-73
4.2.5 USB Mass Storage Bulk-Only transmission and ATA / ATAPI protocol firmware implementation 73-83
Chapter Summary and Outlook 83 - 84
5.1 Full Summary 83
5.2 Looking 83-84
Reference 84-85
Acknowledgements 85 - 86
personal resume 86
Related dissertations
- The Design and Implementation of the Small Integrative PLC System
- The U-Boot system based on Loongson platform transplantation
- Design of the High Speed Data Acquisition System Based on USB2.0
- Multi protocol Indy R2000 UHF RFID reader design and Realization of Firmware system based on the
- The Design of Handheld Multi-function Rfid Reader Based on Coretex-A8
- Research on Techniques of Firmware Control Flow Graph Recovery
- Research on Analysis Technology of Security Flaw in Firmware
- The Design and Driver Development of USB Interface of Program-controlled Instruments
- Design of a Control System Based on USB Interface
- Design of DVB-C Digital TV Receiving System Based on USB
- Research and Implement on the Distributed Mobile Multimedia Network Intelligent Monitoring System
- Study of Data Transmission System Based on USB2.0and FPGA
- Research on Firmware Malicious Code Detection Technology Based on Model Checking
- Designing and Realization Semiconductor Temperature-control System of Zenith Telescope Area-array CCD
- The Reasearch and Application of NCUC-Bus and USB Conversion
- The Study of Well Logging Cable DataTransmission System Based on USB
- Hardware Design of Encrypted U Disk Based on Permutation Code
- USB Driver Programming Implementation Based on ARM and Linux Platform
- Research and Design of USBKEY Base on PKI/ECC
- The research and design of remote circuit experiment data acquisition system based on USB2.0