Design of Video Info Detection Card’s Driver Based on PCI Bus Interface

Author
ChenHong
Advisor
YangZhaoXuan
School
Tianjin University
Major
Signal and Information Processing
Classification
TP216 Automatic testing equipment,instruments
Degree
Master's thesis
Year
2006
Downloads
352
Citations
5

Request the full text

Abstract

At present,more and more electronic devices are controlled by computer.Almost all of the CPU and peripheral equipments offer PCI bus interface,as a result, PCI bus has been the most extensive and universal bus standard in computer system.Therefore, it’s valuable on developing PCI device driver.Windows is widely used on the world,especially Windows2000 is popular because of its perfect stabilization,so It’s practical and universal to develop the device drivers for Windows2000 OS.The design of video capture card using for traffic information detectation is the background of the thesis,Having studied the PCI bus transmission technique,control mechanism and configuration technique ,I expatiate the characteristic of the device driver in Windows OS,afterwards,I’ve developed the PCI device driver for Windows98/2000 and the dynamic link libraries(DLL)which make the upper application user call expediently.The synchronization and mutex are considered fully to settle the same driver in order to reduce the size of the memory used. The three-layer program mode including kernel layer,API layer,and user application layer is adopted in my project.and the codes are unattached among the three layers, The programs have good character such as compatibility,security and transplantability.We can only modify the device driver when the hardware device is to be updated without compiling the whole system.This paper can be used as a reference to develop the universal device drivers, Many embedded device drivers can be achieved by modifying a few codes to realize the code compatibility according to my codes, then , it will improves the efficiency for analogous project.

Table of contents

Chinese abstract 3-4 ABSTRACT 4-8 first chapter 8-13 1.1 PCI bus development 8 -9 1.2 PCI bus and drive 9-12 1.2.1 device Driver Overview 9-11 1.2.2 driver development environment tasks and structure 11-12 1.3 of this paper 12-13 second chapter PCI interface technology 13-22 2.1 PCI local Bus Features and implementation 13-15 2.1.1 PCI bus characteristics 13-14 2.1.2 PCI bus interface approach 14-15 2.2 PCI specification Introduction signal definition nbsp 15-16 2.2.1 PCI bus ; 15-16 2.2.2 PCI bus commands 16 <br / > 2.3 PCI bus configuration technology 16-19 2.3.1 PCI bus configuration space 17-18 2.3.2 configuration process 18-19 <br / > 2.3.3 configuration address port 19 2.4 PCI bus transfer and control mechanisms 19-22 2.4.1 PCI transfer mechanism 19-20 2.4.2 PCI transmission control mechanism 20-22 Chapter III PCI video capture card interface design 22-28 3.1 overall structure of the system hardware 22-23 3.2 PCI interface control chip PCI2040 23-24 3.3 PCI2040 pin description 24-26 3.4 PCI2040 configuration registers 26 3.5 serial EEPROM initialization 26-27 3.6 PCI2040 and DSP data transfer process 27-28 fourth chapter analyzes the WDM driver model development 28-57 4.1 driver 28-29 4.2 NT components constitute 29 4.3 driver type 29-30 4.4 WDM driver important data structure 30-32 4.4.1 device object 31 4.4.2 device expansion 31-32 < br /> 4.4.3 driver object 32 4.5 WDM driver initialization hierarchy 32-37 4.5.1 device objects and drivers identification 32-33 4.5.2 devices standard routines 33-34 4.5.3 driver 34-35 4.5.4 DriverEntry routine 35-36 4.5.5 AddDevice routine 36-37 4.5.6 video capture card driver initialization 37 4.6 WDM program the IRP nbsp operation ; 37-51 4.6.1 IRP data structure 37-38 4.6.2 IRP stack location 38-39 4.6 .3 dispatch routine 39-40 4.6.4 IRP processing 40-51 4.7 to interact with the device driver 51-54 <br / > 4.7.1 drivers for IO operation of the equipment 51 4.7.2 device interrupt 51-54 4.8 drivers to interact with the application 54 -55 4.8.1 drivers access to the application buffer 54-55 4.8.2 driver and application communication 55 4.9 driver debugging techniques 55-57 Chapter V PCI video card driver to detect design 57-72 5.1 Windows driver types 57-58 5.2 WDM driver model PCI video capture card based 58-59 5.3 video Capture Card WDM driver realized 59-65 5.3.1 driver initialization and cleanup routines 59-61 5.3.2 AddDevice routines and equipment extended objects Dispatch routines nbsp 61-63 5.3.3 I / O system services ; 63-64 5.3.4 data transfer routines 64-65 5.4 driver debugging and installation 65-69 5.4.1 driver debugging nbsp 66-67 5.4.2 installed drivers ; 67-69 5.5 driver calls and packaging 69-72 5.5.1 API function package 69-70 5.5.2 build DLL and the application link DLL 70-72 Chapter VI Summary 72 - 74 References 74-76 published papers and research note 76-77 published papers : 76 participation research : 76-77 Thanks 77

Related dissertations

  1. The Design and Implementation of One Testing System for PCI-based Devices
    LiuHui ·Northwestern Polytechnical University ·2003 ·Master's thesis
  2. The Design of FPGA-based Low Voltage Differential Signaling Card for High-speed Data Communication
  3. Development of Device Driver Sotfware for Video Capture Card on Windows
  4. Detection System for Drippjng Irrigation Pipe Holes Based on Comjduter Vision
  5. The Optimization of the Locating Algorithm and the Development of the PCI Driver in the Fibre Optic Sensor System
  6. CAN bus based temperature control system of heat treatment shop
    LuShiChao ·Jiangsu University ·2002 ·Master's thesis
  7. Research and Design of Data Acquisition System Based on USB Interface
    ChenMingMing ·Wuhan University of Technology ·2008 ·Master's thesis
  8. Design and Implementation of Image Acquisition System Based on PCI Bus
    GuoDongFang ·Wuhan University ·2004 ·Master's thesis
  9. Design and Implementation of 1553B bus communication system based on VxWorks
    LuYin ·Northwestern Polytechnical University ·2004 ·Master's thesis
  10. Design and Implement of Data Transmission System Based on FPGA on PCI Bus on High-speeded Gragh Plotter
  11. The Design of Gas Station Automation System and the Research of WDM Device Driver Development
  12. Full open the PCNC hardware function module underlying communication development
    ZhangMin ·Dalian University of Technology ·2003 ·Master's thesis
  13. The Data Storage Techniques Research and Realization Based on Fiber Optic Transmission
    DuNing ·Harbin Engineering University ·2007 ·Master's thesis
  14. The Research of PCI Driver of the Object Recognition and Tracking System
    JuMinHua ·Harbin Engineering University ·2007 ·Master's thesis
  15. Design and Research of the embedded Linux device drivers
  16. Research on a Method for System Disaster Recovery
    KouDaHai ·Southeast University ·2005 ·Master's thesis
  17. The Development and Research of Ac Servo Motor Motion Controller Based on WDM
    LiQiuXian ·Xi'an University of Technology ·2006 ·Master's thesis
  18. Research of the Universal Master Controller Based on Multi-Operating System
  19. Development of Turntable Automatic Test System
    MaoMingRui ·Harbin Institute of Technology ·2006 ·Master's thesis
  20. Based PCI interface , 4-channel high-speed tape dubbing machine tool design