Research and Design of Multifunctional USB Device Driver Based on Embedded System

Author
WangQiangDong
Advisor
ChenTao
School
Huazhong University of Science and Technology
Major
Computer System Architecture
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2007
Downloads
219
Citations
2

Request the full text

Abstract

Universal Serial Bus (USB) is a kind of the serial buses with high speed on transmission. It has such advantages as Plug and Play, easy to be expanded and high speed on transmission. However, it is too much dependent on the Personal Computer (PC) to prevent development of the USB’s application. As a result, the research of USB’s application based on embedded system is very important. It not only expand the scope of the application, but also enhance the performance of the USB devices, and truly realize the directly exchange of the data between the USB devices.Moreover, one driver only to drive one USB device class in the traditional USB device driver. This means larger occupation of system resources. So multifunctional USB device driver is proposed to reduce the occupation of the resources. It can drive several USB device class.The anaysis of the embedded system development based on Linux Operation System (O/S) is made. According to the analysis, embedded system based on Advanced RISC Machine (ARM) processor is built. It include the buliding of cross-compiling environment and filesystem, the cut and porting of Linux kernel. As result, the Linux 2.4.18 O/S is successfully ported to the hardware platform based on ARM Embedded System. The analysis of the USB device driver development is made, based on the driver under linux O/S and the USB filesystem. And the USB subsystem is researched in the following three aspects: USB Core, Host Controller Driver and Device Driver. Based on those analysises, the multifunctional USB device driver is realized. It include USB Host Controller Driver and multifunctional device driver. The performance of the driver is analyzed, and the test results on ARM show that the presented driver can drive several USB device class, and it is stability.

Table of contents

Abstract 4-5 ABSTRACT 5-9 1 Introduction 9-13 topic 1.1 Background and Significance 10 1.2 research status 10-11 1.3 main contents 1.4 This article organizational structure 11-13 the embedded systems USB protocol 13-26 2.1 embedded systems the basic concepts 13-15 the the 2.1.1 embedded systems definition and characteristics 13-14 2.1.2 embedded Linux operating system 14-15 2.2 embedded system development process 15-16 USB 2.3 topology 16-18 2.3.1 USB host 16-17 2.3.2 USB devices 17-18 2.3.3 USB hub 18 2.4 USB bus transfer protocol 18-22 2.4.1 USB data transmission, the basic structure of 19-21 2.4.2 Data Transfer 21-22 2.5 USB system works 22-25 2.5.1 USB device enumeration process 23-24 2.5.2 USB device descriptor and standard request command 24-25 2.6 This chapter Summary 25-26 3 Linux operating system transplant 26-34 3.1 development environment to build 26-27 3.2 operating system transplant 27-33 3.2.1 Bootloader transplant 27-29 3.2.2 Linux kernel porting 29-31 3.2.3 file system transplanted 31-33 3.3 This chapter Summary 33-34 4 Linux USB subsystem 34-51 4.1 Linux driver development 34-36 4.1.1 Linux Device Drivers Overview 34-35 4.1.2 driver structure 35-36 4.2 USB file system 36-38 4.3 USB subsystem hierarchy 38-50 4.3.1 USB core driver (USBD) 38-44 4.3.2 host controller driver (HCD) 44-45 4.3.3 USB device drivers 45-50 4.4 This chapter Summary 50-51 5 USB drive design 51-70 5.1 This chapter tasks describe 51 5.2 host controller driver 51-58 5.2.1 platform USB system 51-55 5.2.2 S3C2410 USB host controller driver development 55-58 5.3 multifunction USB device driver development 58-66 5.3.1 mouse and keyboard-driven software implementation 60-61 5.3.2 Mass Storage Class protocol 61-64 5.3.3 Mass Storage Class protocol software implementation 64-66 5.4 debugging and results 66-69 5.4.1 program compiled 66-67 5.4.2 kernel debugging 67-68 5.4.3 driver program function test 68-69 5.5 This chapter Summary 69-70 6 Summary and Outlook 70-71 6.1 Full Summary 70 6.2 Looking 70-71 Acknowledgements 71-72 the References 72-74

Related dissertations

  1. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  2. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  3. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  4. Video Surveillance System Based on Embedded Technology Research
  5. Design of Video Monitoring System Based on the Embedded
  6. The Design of Embedded Network Video Surveillance System Based on ARM9
  7. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  8. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  9. Data Acquisition System of Cavern Based on Embedded Web Server
  10. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  11. Research on the Indoor Air Monitoring System Based on Embedded Linux
  12. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  13. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  14. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  15. The Research of the Design and Application for Embedded Remote Terminal Unit
    XiaRui ·Northeastern University ·2013 ·Master's thesis
  16. Design and Implementation of Magnetic Card Detection System Based on Embedded System
  17. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  18. Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
    LiShun ·Northeastern University ·2012 ·Master's thesis
  19. The Research of CANopen Protocol Based on Embedded Systems
  20. The Research and Design of Smart Home System Based on Zigbee Technology
    ZhangZhiDong ·Liaoning Normal University ·2013 ·Master's thesis