Design and implementation of driver based on ARM- USB OTG IP Core host side
- Author
- SunYao
- Advisor
- LiGuangJun
- School
- University of Electronic Science and Technology
- Major
- Communication and Information System
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 111
- Citations
- 0
Abstract
USB has become a common bus interface , the exchange of data between the PC and peripherals more and more portable peripheral device using the USB bus interface to communicate with the PC . USB communication can only occur between the host and peripherals , USB communication between the portable USB device , defined USB2.0 OTG specification allows portable devices become limited USB host . USB OTG specification IP core design of this project verify compliance , and drive the development of USB OTG IP Core related , including OTG driver , host-side driver , device-side driver . Which , OTG driver for the conversion of the host side and device -side role , host-side driver host function , the device end of the drive to achieve the functionality of the device . OTG device access , USB OTG IP nuclear OTG interrupt request type , transferred to the host device mode ; Host mode , the host-side driver for USB host function USB OTG IP core , complete with peripheral equipment The data exchange process . The main contents include : First, the paper presents a framework of of under Linux USB OTG overall drive , OTG the principle expounded . Secondly, on the host side driver USB2.0 protocol design reference EHCI the agreement , OHCI agreement to do the research and analysis . USB host USB bus , which is responsible for the management of the entire USB bus information , initiate the transmission of things . Again , the Linux operating system for its openness , portability , do not pay and so become the first choice of embedded operating system development . Linux provides the perfect USB drive system , greatly shorten the development cycle . USB host - side driver system on the Linux operating system , the authors propose the framework of the high-speed , full-speed host controller driver , and the preparation of the host drive . Finally, the paper describes the USB OTG IP system test and development platform , driver debugging , analysis and solutions to the problems encountered in the debugging process and debug process , the test results and conclusions are given . USB OTG IP core has been fully validated tests carried out in the the Realview EB development board . The FPGA test results show that the hardware and driver design to achieve a limited host system capabilities of the device , there is a good application value .
Table of contents
Abstract 4-5
ABSTRACT 5-12
Chapter Introduction 12-17
1.1 USB OTG Development Overview 12-14
1.2 Linux Introduction 14-15
the purpose and significance of the 1.3 thesis 15
1.4 of this thesis work 15-17
USB OTG research and analysis of the relevant agreements 17-28
2.1 USB protocol analysis 17-22
2.1.1 USB system 17-21
2.1.2 OTG Supplemental Agreement 21-22
2.2 OHCI and EHCI protocol analysis 22-27
2.2.1 OHCI protocol specification 22-26
2.2.2 EHCI protocol specification 26-27
2.3 This chapter Summary 27-28
Design and Implementation of USB OTG host driver 28-53
3.1 USB OTG IP core hardware design analysis 28-32
3.1.1 IP-core system block diagram 28-29
3.1.2 IP core modules brief 29-32
3.2 Linux USB OTG overall driving framework 32-33
3.3 Linux USB host-side driver architecture 33-38
3.3.1 USB device class driver 34
3.3.2 USB core driver layer principle 34-37
3.3.3 host controller driver layer principle 37-38
3.4 USB host process 38-39
3.5 USB host-side driver scheduling mechanism 39-40
3.6 USB OTG IP host controller driver design 40-52
3.6.1 host controller driver software workflow 40-41
3.6.2 host controller driver structure 41-42
3.6.3 platform driven device registration interface implementation 42-43
3.6.4 with the operating system kernel interface 43-46
3.6.5 Root hub interface functions to achieve 46-48
3.6.6 EHCI driver layer analysis 48-52
3.7 This chapter Summary 52-53
Chapter system development and testing platform introduced and driver debugging and testing 53-72
4.1 system development platform introduced and structures are found; 53-61
4.1.1 Development Board 53-55
4.1.2 Realview EB hardware systems constitute 55-57
4.1.3 USB OTG IP core with ARM system interrupt signal analysis 57-60
4.1.4 platform structures 60-61
4.2 driver debug and test 61-71
4.2.1 host driver debugging problems encountered and solutions 61-67
4.2.2 host drive test and analysis 67-70
4.2.3 system function test 70-71
4.3 This chapter Summary 71-72
Chapter Summary and Outlook 72-74
5.1 summarizes 72-73
5.2 Looking 73-74
Acknowledgements 74-75
the
References 75-77
biographical research in the study period, as well as published papers 77-78
Related dissertations
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Study on Embedded Data Acquisition System Application
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- The System Design and Implementation of Smart Home Control Terminal Based on Linux
- AGV car design and development of image recognition and motion control technology based on
- Research and Design on Embedded Face Recognition Entrance Guard System
- Design of Electroacoustic Air Defense Alarm Controller Based on ARM9
- The Designand Realization of Embedded USB Mass Storage System
- Design and Realization of intelligent mobile video surveillance system based on embedded and OpenCV
- Research on Wireless Video Transmission and Control Technology
- Video Based on S3C6410Processing Terminal Design
- Ad Hoc Network Protocol Design by nRF24l01under the ARM-linux Environment
- Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
- The Research on the Terminal Equipment in Power Quality Online Monitoring System
- The design of intelligent Home Furnishing monitoring system based on ARM
- Design of On-line Monitoring System for Circuit Breaker in Metro Based on Embedded System Traction Substation
- Research and Design of New Portable Family ECG Monitorring System
- The Crane Remote Monitoring System Based on Embedded Linux Research