Research and Design of Drivers for Embedded Device Based on PCI Bus
- Author
- LiuRenFeng
- Advisor
- ShengZuoZhi
- School
- Huazhong University of Science and Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP311.1 Programming
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 778
- Citations
- 10
Abstract
At present , more and more electronic equipment by computer control , and almost all of the CPU and external devices will provide the PCI bus interface , the PCI bus has been most widely used in the computer system , the most universal bus standard . Therefore , the development of the PCI device driver is particularly important . Windows is the most widely used operating system in the world today use Linux because of its free open source , as well as the stable performance of the majority of users , more and more favor . At the same time , embedded operating system based on Linux kernel application was strong. Development under both operating systems , device drivers , and has a strong practicality and versatility . DSP video acquisition and processing card design background, PCI bus transfer , control mechanisms and its configuration technology , elaborated under Windows and Linux driver characteristics developed Windows98/2000 of PCI devices under WDM driver , and drivers under Linux , while providing a the upper user can be easily called dynamic link library . The design of the driver take full account of the operation of synchronization and mutual exclusion effectively solve the problem of sharing of resources . At the same time , so multi - card sharing a device driver to reduce memory usage . The entire design project using the kernel layer , an API layer , the architecture of the application layer three programming , relatively independent layers of coding , programming ideas are clear , the program has a strong versatility , security and portability . For hardware upgrade , simply modify the device driver software , without having to recompile the entire system . Source code compatible with the design of this article is a generic device driver provides a reference for embedded device driver without modification and minor modifications driver source code can be implemented in different operating systems , and improve the efficiency of the development of a similar project .
Table of contents
Summary 3-4
Abstract 4-7
1 Introduction 7-11
1.1 Basic concepts embedded devices 7-8
1.2 PCI bus and its driver development contents and significance 8-10
1.3 research topic 10-11
2 PCI bus technology research 11 -20
2.1 PCI bus characteristics 11-13
2.2 PCI bus signals and command descriptions 13-14
2.3 PCI bus configuration technology 14 -18
2.4 PCI bus transfer and control mechanisms 18-20
3 DSP card 's PCI interface design 20-26
3.1 system architecture introduced 20-21
3.2 PCI2040 Overview 21-24
3.3 PCI bus and DSP interface 24
initialization nbsp 3.4 serial E2PROM ; 24 - 26
4 device driver development basics 26-35
4.1 operating system overview 26-31
4.2 interrupt request level 31 <br / > 4.3 memory usage 31-33
4.4 synchronization and mutex operation 33-35
5 Windows under the DSP card driver 35-49 <br / > 5.1 Windows driver types 35-36
5.2 WDM driver model 36-38
5.3 DSP card WDM driver realized 38-46 <br / > commissioning and Installation 5.4 driver 46-48
5.5 driver calls and packaging 48-49
6 Linux under the DSP card driver 49-55
6.1 device driver Category 49
6.2 devices 49-50
6.3 module 50-51
6.4 devices driver implementations and module installation 51-55
7 Conclusion 55-57
Thanks 57-58
References 58 -62
Appendix 1 ( catalog published during the study for a degree ) 62-63
Appendix 2 ( installation file list ) 63-65
Related dissertations
- Detection System for Drippjng Irrigation Pipe Holes Based on Comjduter Vision
- 5D film motion experience platform motion control card design
- The Research on the Terminal Equipment in Power Quality Online Monitoring System
- Design and Implement of the Embedded Monitoring Terminal Based on
- The Design of FPGA-based Low Voltage Differential Signaling Card for High-speed Data Communication
- Development of Device Driver Sotfware for Video Capture Card on Windows
- The Optimization of the Locating Algorithm and the Development of the PCI Driver in the Fibre Optic Sensor System
- CAN bus based temperature control system of heat treatment shop
- Design of Data-Transmission System Based on PCI Bus
- Design and Implement of Data Transmission System Based on FPGA on PCI Bus on High-speeded Gragh Plotter
- The Design and Implementation of One Testing System for PCI-based Devices
- Design of Video Info Detection Card’s Driver Based on PCI Bus Interface
- Development of Turntable Automatic Test System
- Based PCI interface , 4-channel high-speed tape dubbing machine tool design
- PCI - based Arbitrary Waveform System Research and Implementation
- Based on the PCI bus PCM decoding
- Calibration of Optical Probe for CMM
- Research and Design of Drivers for PCI Graphic Card Based on Linux
- Based on data communications card for PCI bus interface
- PCI-based technology to produce broadband signals