Development of WDF Driver Program for High-Speed Data Transmission Adapter on PCIe Interface
- Author
- YangAFeng
- Advisor
- XuXin
- School
- National University of Defense Science and Technology
- Major
- Electronic Science and Technology
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 493
- Citations
- 4
Abstract
Computer I / O technology is always in the process of the development of high-performance computing is a key technology . High-speed data transfer rate of the PCI Express architecture , it has a very broad prospects for development . Currently, more and more electronic devices are required by the computer to be controlled in a high - speed data transmission , PCI Express interface is a better choice . Therefore, based on the PCI Express bus driver development is particularly important . In this paper, a self- developed PCI Express interface, high - speed data transfer card , to discuss the main problems facing the general PCI Express device drivers written and solutions analysis illustrates the focus from drivers , hardware interfaces , and application aspects , and a more detailed description of the driver WDF driver model developed with command control , interrupt handling and DMA transfer function of the effective methods . First, the paper on the basis of comparing PCI and PCI Express , PCI Express bus protocol made ??more profound understanding and analysis , made ??a more detailed introduction to the hardware structure of the high-level design method based on FPGA technology for high-speed data transmission card . Article to hardware design and implementation of functional modules for clues on the power management module , clock management module , DDR memory module , PCI Express interface module , optical transmission module and QTE expansion interface module design method . WDF device driver development of the Windows operating system kernel structure and technology analysis and exposition , in-depth analysis of the basic framework and operational mechanism of the WDF driver model , IRP processing from the driver 's initialization , interrupt response DMA operation , as well as the application interface discussed in detail the development process of a high-speed data transfer card driver . Finally, work characteristics for high-speed data transfer card , given the device driver debugging , installation, testing methods and results . Currently , the paper is the introduction of PCI Express-based high-speed data transmission card and its driver has been successfully applied to the high-speed mass storage devices , the indicators performance has been tested and fully meet the requirements .
Table of contents
Abstract 9-10
ABSTRACT 10-11
first chapter 11-18
the
research 1.1 Background 11-12
1.2 PCI Express bus 12-16
1.2.1 PCI Express bus and PCI bus 12-14
1.2.2 the PCI Express protocol hierarchy 14-15
1.2.3 PCI Express rules development 15-16
the 1.3 main subject of the work and research 16
1.4 article structure 16-18
high-speed data transmission card hardware design 18-27
2.1 high-speed data transmission card overall design 18-19
2.2 power management module 19-20
2.3 clock management module 20-22
2.4 DDR memory module 22-23
2.5 PCI Express Interface Module 23-24
2.6 optical transmission module 24-25
2.7 QTE expansion interface module 25-26
2.8 This chapter Summary 26-27
Chapter WDF driver 27-40
3.1 Driver Overview 27-29
3.1.1 driver types 27-28
3.1.2 kernel mode driver attributes 28-29
3.2 WDF driver basic structure 29-32
3.2.1 device object stack 29-31
3.2.2 driver hierarchy 31-32
3.3 DriverEntry, and EvtDriverDeviceAdd functions 32-33
3.4 I / O request packet 33-37
3.4.1 I / O request type 33-35
3.4.2 I / O transfer 35-36
3.4.3 I / O request processing 36-37
3.5 interrupt handling 37-39
3.5.1 interrupt request level 37-38
3.5.2 interrupt service routine 38-39
3.5.3 DPC routine 39
3.6 This chapter Summary 39-40
Chapter of high-speed data transfer card driver development 40-59
4.1 PCI Express interface configuration space 40-41
4.2 PCI Express Interface Driver Development 41-58
4.2.1 PCI Express interface driver entry address 42-44
4.2.2 PCI Express interface driver initialization 44-51
4.2.3 handling I / O request 51-54
4.2.4 DMA operation 54-56
4.2.5 processing hardware interrupt 56-57
4.2.6 release device memory space 57-58
4.3 driver program and application communication 58
4.4 This chapter Summary 58-59
Chapter driver debugging, installation and testing 59-66
5.1 WDF driver debugging 59-60
5.1.1 WDF driver debugging information 59
the 5.1.2 Traceview use 59-60
5.2 WDF driver installation 60-61
5.3 drivers test 61-65
5.3.1 Basic function test 61-63
5.3.2 PCI Express the transport card memory space to read and write tests 63-64
5.3.3 DMA transfer speed test 64-65
5.4 Chapter Summary 65-66
Conclusion 66-68
Acknowledgements 68-69
the
References 69-71
the
author achieved academic achievements during the study period 71-72
the
Appendix A high-speed data transfer card physical map 72
Related dissertations
- Development of Device Driver Sotfware for Video Capture Card on Windows
- Hardware-in-the-loop Simulation with Navigation Satellite Signal Simulator Research
- Design and Implementation of Driver Programming Based on PCI Bus
- FPGA-based embedded image acquisition card research
- Distributed real-time simulation of real-time communication board development technology research
- Design and Implementation of Hardware and Software of Inkjet Plotter Central Controller Based on ETX Module
- The Application of Real-time Operating System in Astronomic Fast Readout CCD
- The Design of Torque Measurement Based on PCI Bus
- The research and design of rotating machinery for real - time online status monitoring system - data acquisition card
- Design and Implementation of the PCI / ISA bridge
- The Development of a Fieldbus-based Interface Card Based on WorldFIP
- Design of Digital Acquisition and Processing System for Nuclear Signal Shape Based on DSP
- Based on PCI bus high-speed real-time continuous test system research
- Designing and Realizing Realtime Foreign Fibre Detection System
- Based PCI interface , 4-channel high-speed tape dubbing machine tool design
- 5D film motion experience platform motion control card design
- Design and Implementation of GriDoc Management System
- Research of vehicle driver training management system
- The Study of PCIe Interface Encryption Card Driver under the Linux
- Embedded Linux-based USB Encryption Driver Design