USB Device Drivers Research and Design Based on Embedded Systems
- Author
- GaoZuo
- Advisor
- LiYeBai , SongLiHua
- School
- North China University of Technology
- Major
- Computer Software and Theory
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 276
- Citations
- 1
Abstract
USB(Universal Serial Bus) driver development is a cumbersome and complex task. Linux, the USB core subsystem encapsulates the most complex, and provides appropriate support mechanisms. USB protocol specification defines a set of standards that many types of peripheral devices can follow, but for the video equipments, it have not defined the uniformed standard from different manufacturing companies of different devices, and the specific driver need to be developed.In the design and development of USB camera driver based on embedded system, you should make full use of the USB bus bandwidth and ensure a high and stable data transfer speed between memory and peripherals. In order to meet the real-time video capturing requirements, reference had been made to open-source projects GSPCA/SPCA5xx, recommendation of Linux kernel had been adopted, and using double-URB(URB Request Block) strategy and MMAP (Memory-map) mechanism to maximize the video capturing speed, eventually realizes this USB camera driver in line with V4L(Video for Linux) on the S3C2440AL_ARM development platform and provides a functional verification and performance analysis. The experimental results show that the driver can fully meet the embedded video requirements for the general application.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-11
1.1 topics background 8
1.2 purpose and significance 8-9
1.3 the main research contents 9
1.4 This thesis structure 9-10
1.5 Summary 10-11
2 embedded systems 11-18
2.1 embedded defined 11
2.2 embedded Linux 11-17 <br / > 2.2.1 What is Linux 11-12
2.2.2 classification of embedded Linux system 12-14
2.2.3 embedded Linux unique advantages 14-17
2.3 chapter Summary 17-18
3 development environment for deploying 18-31
3.1 select Business Edition 18 <br / > 3.1.1 whether to choose the commercial version 18
3.1.2 how to choose the commercial version 18
3.2 design and implementation of the target system 18-24
3.2.1 Creating a target Linux system 19-23
3.2.2 installation and use of development tools 23-24
3.3 S3C2440AL development board configuration 24-30
3.3.1 hardware Configuration 24-26
3.3.2 address space allocation 26-27
3.3.3 cross compiler environment 27-30
3.4 Summary 30-31
4 USB device Driver Development 31-45
4.1 USB Universal Serial Bus 31-35
4.1.1 USB topology 31-32
4.1.2 USB work 32
4.1.3 USB devices supported 32
4.1.4 USB devices based 32-35
4.2 camera driver design and implementation 35-44
4.2.1 USB driver hierarchy 35-36
4.2.2 Video4Linux 36-37
4.2.3 important data structure 37-38
4.2.4 driven process 38-40 <br / > 4.2.5 dual URB allocation strategy 40-42
4.2.6 MMAP memory mapping mechanism 42-44
4.3 chapter Summary 44-45 <br / > 5 Test and Performance Analysis 45-46
5.1 functional Test 45
5.2 performance Analysis 45-46
Conclusion 46 - 47
References 47-49
Appendix 49-62
probe function call graph and detailed function description 49-55
open function call graph and detailed function description 55-61
mmap function call detail 61-62
learning research 62-63
Acknowledgements 63
Related dissertations
- The Research and Design of Embedded Linux Based on ST-E9500
- Research of Embedded Linux Device Drivers Concurrency Control
- Design of Network Monitoring System Based on Linux
- Research and Implementation of Motion Detection and Tracking in Intelligent Surveillance System
- Research and Implementation of Virtual Instruments Based on Embedded System
- The Software Design and Implementation of Embedded Data Acquisition System Based on Linux
- Remote Network Intelligent Domestic Video Monitor System Based on ARM
- Research on Embeded System for Data Acquisition
- Monitor System of C/S Structure for Neutron Room Based on Embedded System
- Design of Radio Frequence Module Driver Based on S3C2440+Linux Platform
- The Design of Capture & Transportation System of Audio & Video Based on S3C2410 and Streaming Media
- Research and Implementation on Network Video Monitoring System Based on Embedded Linux
- Transplantation and Application of Linux Based on Embedded Platform Ark1600
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision