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

Request the full text

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

  1. The Design and Implementation of the Small Integrative PLC System
    BaoLiGao ·Jilin University ·2013 ·Master's thesis
  2. The U-Boot system based on Loongson platform transplantation
  3. Design of the High Speed Data Acquisition System Based on USB2.0
  4. Multi protocol Indy R2000 UHF RFID reader design and Realization of Firmware system based on the
  5. The Design of Handheld Multi-function Rfid Reader Based on Coretex-A8
  6. Research on Techniques of Firmware Control Flow Graph Recovery
    CuiChen ·PLA Information Engineering University ·2012 ·Master's thesis
  7. Research on Analysis Technology of Security Flaw in Firmware
  8. The Design and Driver Development of USB Interface of Program-controlled Instruments
  9. Design of a Control System Based on USB Interface
    ZhuJing ·Suzhou University ·2012 ·Master's thesis
  10. Design of DVB-C Digital TV Receiving System Based on USB
    WangZhiDe ·Zhejiang University of Technology ·2012 ·Master's thesis
  11. Research and Implement on the Distributed Mobile Multimedia Network Intelligent Monitoring System
  12. Study of Data Transmission System Based on USB2.0and FPGA
    ShiPeng ·Wuhan University of Technology ·2012 ·Master's thesis
  13. Research on Firmware Malicious Code Detection Technology Based on Model Checking
  14. Designing and Realization Semiconductor Temperature-control System of Zenith Telescope Area-array CCD
  15. The Reasearch and Application of NCUC-Bus and USB Conversion
  16. The Study of Well Logging Cable DataTransmission System Based on USB
    LiHuiYin ·China University of Petroleum ·2007 ·Doctoral dissertation
  17. Hardware Design of Encrypted U Disk Based on Permutation Code
    YuLing ·Hebei University of Technology ·2007 ·Master's thesis
  18. USB Driver Programming Implementation Based on ARM and Linux Platform
    GeZhiHua ·Nanchang University ·2008 ·Master's thesis
  19. Research and Design of USBKEY Base on PKI/ECC
    TangRongSheng ·Suzhou University ·2007 ·Master's thesis
  20. The research and design of remote circuit experiment data acquisition system based on USB2.0