Programming of Camera Driver in ARM Linux
- Author
- LiJie
- Advisor
- JiangJianPing
- School
- Dalian Maritime University
- Major
- Computer technology
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 81
- Citations
- 0
Abstract
With the development of all kinds of science and technology, the widely using of USB camera and ARM-based microcontroller become more and more popular for people that USB camera is used with ARM-based microcontroller. Meanwhile the embedded Linux is boosting which is well prepared for it. This paper is planning to introduce the process of USB device programming of camera based on chip ZC3O3 in ARM Linux including main controller driver, core sub-system driver and USB device driver, the description of the API V4L and the programming of the software for getting image data. At last, the USB camera driver is planted into the development board of FriendlyARM’s QQ2440 and successfully applied in embedded Linux.
Table of contents
Abstract 5-6
ABSTRACT 6-10
Chapter 1 Introduction 10-11
1.1 is designed to <br / > 1.2 based on Arm camera driver development background 10
1.3 Chapter Summary 10-11
Chapter 2 hardware characteristics and development environment 11-17
2.1 Ann Development Board 11-13
2.1.1 QQ2440V3, development board of the performance list the 2.1.2 Linux Characteristics Table 11-12
-13
2.2 LINUX development environment to build the 13-16
2.2.1 Arm Linux environment to build 13-15
2.2.2 host compiler environment structures 15-16
2.3 camera features introduced 16
2.4 Chapter Summary the 16-17
Chapter 3 System Architecture 17 -24
3.1 overall structural design 18-20
3.2 operating principle design 20-21
3.3 data acquisition and transmission 21-23 < br /> 3.4 program debugging 23
3.5 Chapter Summary 23-24
Chapter 4 functional modules 24-32
4.1 USB Module 24-25
4.1.1 USB module initialization a 24-25 USB module
4.1.2 cancellation 25
4.2 device module 25-27
4.2.1 Common data structures 25-26
4.2.2 file open 26
4.2.3 file Close 26
4.2.4 IO interface 26
4.2.5 interface access 26-27
4.3 Video module 27-29 the
4.3.1 Video_device structures 27
the 4.3.2 main structure 27-29
4.3.3 IO command 29
4.4 the decoding module 29-30
4.5 user module 30-31
4.5.1 the Read operation 30
the 4.5.2 Mmap operating 30-31
4.5.3 Data screening 31
4.6 Chapter Summary 31-32
Chapter 5 data transmission 32-42 <br / > 5.1 USB data transmission principle 32-35
5.2 USB endpoint setting 35-37
5.3 the URB setting 37-39
5.3.1 URB to create and submit 37-38
5.3.2 URB, control 38-39
5.3.3 URB, release 39
5.4 storage structure 39-42
5.4.1 URB storage structure the 39-40 5.4.2 frame structure
40-42
Chapter 6, the upper interface 42-46
6.1 IOCTL 42-43
6.2 Read 43-44
6.3 Mmap 44-45
6.4 Chapter Summary 45-46
Chapter 7 user acquisition 46-49
7.1 user acquisition program nbsp 46-47
7.2 user data transmission; 47-49
7.2.1 the Read method 47
the 7.2.2 Mmap method 47-49
Chapter 8 test methods and results 49-52
8.1 Make and module load 49
8.2 Cat Test Method 49-50 the
8.3 Vcopy The test method 50-52 <br / the> 8.3.1 Mmap method the 50-51
8.3.2 Mmap, methods 51-52
Chapter 9 summarizes 52-53
References 53-54
Acknowledgements 54
Related dissertations
- Embedded Linux-based USB Encryption Driver Design
- Study and Implementation on Detection System of Generator Insulation Overheating Device
- Development of Human-Computer Interaction for Control System of Grating Homochromatic Instrument
- Research and Application of USB Driver Based on S3C2440A Embedded Linux System
- Software Design of Digital TV Receiver Based on USB2.0Technology
- Research and Design of CMMB Mobile TV Receiving System under Embedded Linux
- The Design of Embedded Network Video Monitoring System
- Research and design of embedded vehicle terminal
- Study and Design of Data Communication and the Host of Telemetry and Command System Basing on GSM Network
- The Design of USB Host/Slave Interface in Embedded Systems Based on ARM
- Microassembly Robot Vision System Research Base on Image Transmission and Recognition
- Analysis and Improvement of Driving Program of Embedded Linux
- High-performance data acquisition system based on USB and FPGA design and implementation of technology
- Research on USB Protocol and USB Interface Drivers
- USB Interface Technology and Application Study
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- Elevator Remote Monitoring System Based on DSP and GPRS Research
- Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System