Development of USB Host Conroller Driver Based on Embedded Linux

Author
WuYong
Advisor
BaoKeJin
School
Jiangsu University
Major
Applied Computer Technology
Classification
TP332.3 Controller,the console
Degree
Master's thesis
Year
2009
Downloads
182
Citations
0

Request the full text

Abstract

The technology of USB is widely applied in embeded system due to its high speed of transfer,extensibility,low resoure consumption,support for plug-and-play as well as hot plugging,which truly embody the removability and convenience of data exchange.However,embeded systems usually don’t support the function of a USB host,thus the date exchange between embeded USB devices need to be PC centred and the point-to -point data exchange between devices can’t be achieved.At this point,the research on embeded USB host system is of practical value and great significance.This paper works over the development of driver of embeded USB host cotroller.This paper takes USB host controller ISP1161A1 as its object of research,which is based on the EXA-400 embeded development platform of Beijing eflag corporation and embedded linux system.Firstly,the embedded linux platform based on the hardware has been constructed,namely,the porting of boot loader,linux kernel and root file system.After analyzing USB communication principle,OHCI specification and Linux USB subsystem,aimed at isochronous transfer and control transfer in the USB protocol,the driver for embeded USB host controller is designed and implemented,Secondly,which is based on the penetration of ISP1161A1,including mainly initialization module interupt module,root hub module and so on.Finally,the test of USB host driver is completed by the implementation of video capture system based on USB camera.With this result of the test,a conclusion can be safely made that the expectant objective is well achieved,namely,the successful realization of transfer of video captured by USB camera with the host controller driver for ISP1161A1 and isochronous transfer as well as control transfer in the USB protocol.

Table of contents

Abstract 5-6 Abstract 6-9 first chapter 9-12 1.1 research background and significance of 9-10 120 research status 10 1.3 thesis research content and arrangement of the chapters 10-12 Chapter II USB key technology 12-28 2.1 USB topology 12-13 2.1.1 The physical topology 12 2.1.2 logical topology 12-13 2.2 USB system hierarchy 13-14 2.3 USB communication theory 14-22 2.3.1 transfer the basic unit of 14-17 2.3.2 transaction 17-19 2.3.3 Data Transfer 19-22 2.4 USB host 22-24 2.4.1 USB Host function 22-23 2.4.2 USB host-side software architecture 23-24 2.5 OHCI specification 24-25 2.5.1 OHCI ED linked implementation mechanism 24 2.5.2 OHCI controller processing of the list, 24-25 2.6 in Linux USB subsystem 25-27 2.7 Summary 27-28 embedded Linux development platform build 28-34 3.1 hardware development platform 28-29 3.2 embedded Linux software platform to build 29-33 3.2.1 cross-compile environment to establish 29-30 3.2.2 Bootloader transplantation 30-31 3.2.3 kernel transplantation 31-32 3.2.4 root file system 32-33 3.3 Summary 33-34 ISP1161A1 host controller driver development 34-52 4.1 ISP1161A1 of is the features and functionality 34-37 4.1.1 FIFO buffer RAM structures 34-35 4.1.2 Programmable I / O (PIO) addressing mode 35-36 4.1.3 register and buffer read and write mechanism 36-37 4.2 ISP1161A1 host controller driver design and 37-51 4.2.1 reader module 37-38 4.2.2 initialization module 38-40 4.2.3 data structure and linked lists 40-43 4.2.4 USBD interface module 43-45 4.2.5 interrupt handling module 45-49 4.2.6 root hub module 49-51 4.3 Summary 51-52 Chapter video capture to achieve 52-60 5.1 camera driver load 52-53 5.2 video capture program design 53-55 5.2.1 V4L About 53 5.2.2 data structures in the V4L 53 5.2.3 the V4L programming 53-55 5.3 JPEG still image compression to achieve 55-57 5.4 test 57-59 5.5 Summary 59-60 Chapter VI Summary and Outlook 60-61 References 61-63 thank 63-64 papers published during the master's degree 64

Related dissertations

  1. Design and development of laser gyro and USB interface frequency test system
  2. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  3. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  4. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  5. Video Surveillance System Based on Embedded Technology Research
  6. Design of Video Monitoring System Based on the Embedded
  7. The Design of Embedded Network Video Surveillance System Based on ARM9
  8. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  9. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. Data Acquisition System of Cavern Based on Embedded Web Server
  11. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  12. Research on the Indoor Air Monitoring System Based on Embedded Linux
  13. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  14. Usb Without Invasive Data Collection Technology Research
  15. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  16. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  17. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  18. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  19. The Research of the Design and Application for Embedded Remote Terminal Unit
    XiaRui ·Northeastern University ·2013 ·Master's thesis
  20. Design and Implementation of Magnetic Card Detection System Based on Embedded System