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
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
- Design and development of laser gyro and USB interface frequency test system
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- The Research of the Design and Application for Embedded Remote Terminal Unit
- Design and Implementation of Magnetic Card Detection System Based on Embedded System