Research and Design of embedded Linux USB 2.0 OTG IP driver
- Author
- XiongMing
- Advisor
- LinShuiSheng
- School
- University of Electronic Science and Technology
- Major
- Communication and Information System
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 310
- Citations
- 2
Abstract
USB interface for its hot-pluggable , high transmission rate and other characteristics of a portable peripheral device generic interface , but usually USB interface does not support direct communication between the two USB peripherals . OTG appears to solve this problem, to support the the OTG specification of USB OTG dual-role device either host , but also standard equipment , to support OTG specification peripherals can act as host to communicate directly with standard equipment , without the need for PC 's participation , in addition to the two supports the OTG specification of peripheral devices can communicate directly . The same time, embedded Linux operating system has become a widely used open-source and free features embedded operating system . OTG function key is to realize the USB OTG interface control chip and the corresponding USB driver . In this issue , the authors designed based on embedded Linux USB OTG driver , and with the self-designed USB 2.0 OTG IP to achieve OTG function . The paper first introduces the subject self-developed USB 2.0 OTG interface IP core based on the ARM chip , which includes high-speed host , full-speed host , device and OTG four modules ; detailed analysis of the embedded Linux USB drive system , including USB host and device drivers , data structures and functions , as well as OTG - driven working principle ; then, according to the design requirements of the IP , the overall structure of the driver . The framework is divided into three parts : OTG driver , host-side driver and device - side driver ; followed elaborated USB host and device - side driver scheduling idea ; Finally , on the basis of embedded Linux development and design of the USB2 .0 OTG interface IP core driver . The paper concludes with a discussion of the entire hardware and software test platform , driver debugging , driver testing process , and gives the test results and test results . By analyzing the test results of the USB2.0 OTG IP driver , the driver and USB 2.0 OTG IP hardware to achieve the desired USB host function , USB device functionality and OTG master-slave switching function, OTG function further application development laid the foundation.
Table of contents
Abstract 4-5
ABSTRACT 5-13
Chapter Introduction 13-17
1.1 USB OTG technology research development 13-14
1.2 Introduction to embedded Linux operating system 14-15
1.3 research objectives 15-16
1.4 I work tasks 16
1.5 of this thesis arrangements 16-17
Chapter II Transfer Protocol 17-23
2.1 USB2.0 bus protocol 17 <br / > 2.2 USB topology 17-21
2.2.1 USB bus transfer protocol 18-19
2.2.2 USB system works 19-21 < br /> 2.3 OTG Supplement 21
2.4 Mass Storage Class specification and SCSI commands 21-22
2.5 OHCI and EHCI Transfer Protocol 22-23
Chapter USB2.0 OTG IP Core Architecture Design 23-31
3.1 USB2.0 OTG IP core hardware framework 23-24
3.2 OTG controller design 24-25
3.3 host controller design 25-28
3.3.1 high-speed host controller 25-26
3.3.2 Full Speed ??host controller 26-28
3.4 device controller design 28-29
3.5 USB2.0 OTG IP core workflow 29-31
first chapters Embedded Linux USB Drive System Research and Analysis 31-52
4.1 Embedded Linux USB driver system design ideas 31
4.2 embedded Linux USB Drive system architecture 31-49
4.2.1 USB host-side drive system 32-41
4.2.2 USB device-side drive system 41-49
4.3 the embedded Linux OTG function analysis 49-52
Chapter USB2.0 OTG driver design 52-72
5.1 USB2.0 OTG system software architecture 52-53
5.2 USB2.0 OTG driver scheduling ideas 53-59
5.2.1 host side driver scheduling ideas 53-56 <br / > 5.2.2 device-side driver scheduling ideas 56-59
5.2.3 OTG driver scheduling ideas 59
5.3 USB2.0 OTG driven design 59-72
5.3.1 host controller driver design 59-63
5.3.2 Device Controller driven design 63-70
5.3.3 OTG driver design 70-72
Chapter USB2.0 OTG driver debugging and testing 72-83
6.1 test platform 72-74
6.2 Development debugging environment 74-75
6.3 driver debugging 75-76
6.4 driver testing process and results 76-82
6.4.1 OTG functional test 76-77
6.4.2 Host function test 77-80
6.4.3 device functional testing 80-82
6.5 Test Results analysis 82-83
Chapter Summary and Outlook 83-84
7.1 Summary 83
7.2 Prospects 83-84 < br /> Thanks 84-85
References 85-87
resume, during the study period and the results of research papers published 87-88
Related dissertations
- The Research of Embeded Intelligent Household Based on ARM
- Research on Intelligent Home Furnishing system based on Android
- Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
- Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
- Design and implementation of the embedded terminal based on Qt multimedia player
- The Design and Implementation of Data Terminal and Sensor Network Gateway of Mesh Emergency Network in Mine
- Theoretical Research on Image Transmission System Basedon ARM and Bluetooth Technology
- The Design of Reconfiguration of FPGA Based on ARM in a Long Distance
- Study and Implementation on Detection System of Generator Insulation Overheating Device
- Design and Realization of Remote Video Monitoring System Based on the Embedded System
- The Research on Embedded Flight Control System Based on Quadrotor X450
- The Design of Portable Video Surveillance Terminal Based on ARM
- Research of Embedded Home Video Surveillance System Based on S3C2440
- The Unattended Telecommunication Room of Data Acquisition System
- Research and Design of Embedded Intelligent Concentrator Based on M-Bus
- As the design device of dynamic control system based on ARM
- Research of Projection Stereo Lithography Network Control System Base on ARM
- Design and Implementation of Smart Home System Based on ARM
- Embedded Control Module Designed for Vacuum Coating Device Based on ARM
- Research and Design of Smart Home Gateway Based on Embedded Technology