Research and Implementation of USB device driver in embedded systems

Author
YangJingJing
Advisor
JiangChunHua
School
University of Electronic Science and Technology
Major
Computer Applications
Classification
TP368.11 Microprocessor
Degree
Master's thesis
Year
2006
Downloads
846
Citations
8

Request the full text

Abstract

With the development of data exchange and storage technology, the interface and connection between any two of them has become an important problem. Universal Serial Bus supports the feature of PNP and hot-swap, with a high transfer speed and low price. Therefore, it has been widely used in digital products, and is expected to be the interfacing standard of PC peripherals, with a bright future in communication and industrial application.People show more and more expectation as USB expands its applications. They hope that USB can be used without PC host, can communicate with USB peripheral directly. The research of embedded USB host system agrees the development of IT industry. It takes a further step in mobile and convenient data exchange in the meaning of practicality.This dissertation explains the way to implement USB Mass Storage device driver, and USB HID device driver specialized for an embedded operating system, and gives the general program implementation. This dissertation starts from the history of USB. The chapter2 gives a general idea of the USB protocols and USB framework, specially introduces USB architecture, USB communication model, USB transmission types, and many conceptions like USB device, USB host, which dues to develop this system. I analyze the implementation of the typical USB system under the PC architecture, and mention the embedded system, and OHCI protocols which is the theory base in chapter 3. The key chapter 4 is the practice part which implements USB Mass Storage device driver, and USB HID device driver based on OHCI as a part of the embedded operating system. At the end, this dissertation concludes the shortage in our research work. The last chapter also brings forward some specs that need improve in future work. Simultaneity, it supposes the fine prospect about USB development.

Table of contents

The first chapter 7-10 1.1 USB generate 7 1.2 USB and embedded devices 7-9 <br / 1.3 This paper studies the content 9-10 Chapter II Overview of the USB protocol 10-31 2.1 USB features 10-11 2.2 USB System Introduction 11-12 2.3 USB system logical hierarchical the 12-13 2.4 USB data communication protocols Profile 13-20 2.4 .1 USB data communication structure the 13-14 2.4.2 USB packet data field type 14-16 2.4.3 USB data transfer types 16 -20 2.4.3.1 Control data transmission 17-19 2.4.3.2 bulk data transfer 19 2.4.3.3 interrupt data transmission 19 < br /> 2.4.3.4 synchronous data transfer 19-20 2.4 USB data flow model 20-22 2.4.1 device endpoint 20 2.4.2 pipeline 20-21 2.4.3 USB data transfer process 21-22 2.5 USB device class 22-25 2.5. 1 USB device class definition 22-23 2.5.2 USB device class protocol significance 23-24 2.5.3 USB device structure 24 <br / > 2.5.4 USB device configuration communication the 24-25 2.6 USB host briefly 25-31 2.6.1 industry standard USB host interface 25 -26 2.6.2 USB host system functionality 26 2.6.3 USB host system structure 26-31 Chapter embedded USB system to achieve foundation 31-41 3.1 PC USB system components the USB master controller 31-33 3.1.1 / Root Hub 31-32 <br / > 3.1.2 USB system software 32 3.1.3 user software and USB device class driver 32-33 3.2 embedded operating system Introduction 33 - 34 3.3 OHCI agreement About 34-39 3.3.1 OHCI data transmission 35-36 3.3.2 OHCI of data, transmission structure 36 -39 3.4 embedded operating system, USB interface model 39-41 Chapter USB device driver implementation 41-66 4.1 USB MASS STORAGE class drive to achieve 41-53 4.1.1 USB Mass Storage Class Overview the 41-42 4.1.2 Bulk-Only Transport Protocol 42-45 4.1.3 USB Mass Storage driver implements 45-53 4.1.3.1 USBD interface to 4.1.3.2 using key data structure 46-47 47-48 4.1.3.3 USB Mass Storage Device driver main function 48-50 4.1.3.4 USB Mass Storage device driver using the instructions 50-53 < br /> 4.2 USB HID class drivers achieve 53-66 4.2.1 USB HID device class Introduction 53-54 nbsp 4.2.2 USB HID device data transmission ; 54-56 4.2.3 USB HID device class attribute descriptor 56 4.2.4 USB HID device driver implementation 56-66 4.2 .4.1 USBD interface 56-57 4.2.4.2 The use of key data structure nbsp 57-59 4.2.4.3 USB HID device driver functions; 59-62 4.2.4.4 USB HID device driver Description 62-66 Chapter V Conclusion and outlook 66-68 Acknowledgements 68-69 Reference nbsp 69-70 research during the study period; 70

Related dissertations

  1. Research and Implementation of Infrared Touch Screen Based on HID Class
    WangYun ·Anhui University ·2014 ·Master's thesis
  2. The Designand Realization of Embedded USB Mass Storage System
    WangMeng ·Hebei University of Technology ·2013 ·Master's thesis
  3. Application design with USB interface based on PIC MCU
  4. Based on ARM+Linux Video Surveillance Storage System with Embedded
  5. Development and application of modern appliances wireless intelligent control system
    ZhangGuoLiang ·Fudan University ·2012 ·Master's thesis
  6. Research and Realization of Embedded USB-HOST
    XiaoChaoQiong ·East China Normal University ·2004 ·Master's thesis
  7. Effects of the Multi-National Corporation to China embedded industrial agglomeration
    ZhengLiFang ·Capital University of Economics ·2014 ·Master's thesis
  8. The Remote Wireless Control System Based on ARM Processor
    WangHui ·Nanchang University ·2014 ·Master's thesis
  9. The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
    ChenYunLong ·Wuhan University of Technology ·2013 ·Master's thesis
  10. Engine Room Monitoring System Based on the Embedded Web Server
  11. Rearch on Intelligent Monitoring Technology That Access to Internet
  12. Design of Indoor Environmental Quality Monitoring System Based on ARM
  13. Design of Industrial Equipment State Wireless Monitoring System Based on STM32
    ZhangDongSheng ·Dalian University of Technology ·2013 ·Master's thesis
  14. Design and Implementation of Intelligent Network Dome Based on DaVinci Technology
  15. 3G Agricultural Experiment Station of intelligent design and development of remote monitoring system based on
  16. Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
  17. Embedded Software Design of AC Field Detection Instrument Based on ARM
  18. Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
    WangZuo ·Harbin Engineering University ·2013 ·Master's thesis
  19. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  20. Usb Without Invasive Data Collection Technology Research