基于PCI總線的驅動程序設計及實現(xiàn)
本文選題:PCI總線 + DMA; 參考:《電子科技大學》2013年碩士論文
【摘要】:作為高性能計算機發(fā)展過程中的一項關鍵技術,I/O總線技術在傳遞指令和數(shù)據(jù)上起著舉足輕重的作用。擁有PCI體系結構的數(shù)據(jù)傳輸系統(tǒng)在現(xiàn)代科技中仍然具有十分廣泛的發(fā)展前景。無論是軍事領域,還是民用領域,很多采用計算機控制的系統(tǒng)都需要數(shù)據(jù)傳輸接口,而PCI總線作為實用、廉價的接口恰好是一種合適的選擇。因此,基于PCI總線的驅動程序開發(fā)變得尤為重要。 本文依托教研室在研的幾種數(shù)據(jù)采集和傳輸系統(tǒng),目的是設計高效、可移植性強的驅動程序,并以圖像采集系統(tǒng)為例,設計了相應的應用程序并進行驗證。本文首先討論了PCI總線的DMA中斷傳輸?shù)奶攸c、原理。然后,闡述了PCI設備驅動程序編寫時的準備工作,重點從驅動程序的編譯環(huán)境、編寫設計、編譯、生成和安裝等方面進行展示。安裝驅動程序后設備管理器中加載該設備信息,說明驅動程序開發(fā)成功。最后,,以圖像采集數(shù)據(jù)傳輸系統(tǒng)為例,設計了與驅動程序進行交互的應用程序,給出了應用程序開發(fā)的工具、應用程序界面的編寫以及應用程序和硬件設備的調(diào)試。通過對監(jiān)視器中的畫面重演,驗證了設計的驅動程序滿足需求。
[Abstract]:As a key technology in the development of high-performance computers, I / O bus technology plays an important role in the transmission of instructions and data. Data transmission system with PCI architecture still has a very wide development prospect in modern science and technology. In both military and civilian fields, many computer-controlled systems require data transmission interfaces, and PCI bus is a practical and inexpensive interface. Therefore, the development of driver based on PCI bus becomes more and more important. The purpose of this paper is to design an efficient and portable driver based on several kinds of data acquisition and transmission systems in the teaching and research department. Taking the image acquisition system as an example, the corresponding application program is designed and verified. This paper first discusses the characteristics and principle of DMA interrupt transmission in PCI bus. Then, the preparation of PCI device driver is described, which focuses on the compilation environment, design, compilation, generation and installation of the driver. After installing the driver, the device manager loads the device information, indicating that the driver has been successfully developed. Finally, taking the image acquisition and data transmission system as an example, the application program which interacts with the driver is designed, and the tools for the development of the application program, the programming of the application interface and the debugging of the application program and the hardware device are given. By repeating the images in the monitor, it is verified that the driver designed meets the requirements.
【學位授予單位】:電子科技大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP336;TP311.1
【參考文獻】
相關期刊論文 前10條
1 韓炳冬,張秀峰,林久令,于濤,宋克菲;PCI數(shù)據(jù)采集卡WDM驅動程序設計中關鍵問題研究[J];長春理工大學學報;2004年02期
2 李亞蘭;謝月新;彭紅光;李翔;;PCI總線視頻圖像采集卡驅動程序的設計[J];湘南學院學報;2010年05期
3 顏建峰;吳寧;;基于PCI總線的DMA高速數(shù)據(jù)傳輸系統(tǒng)[J];電子科技大學學報;2007年05期
4 郭四穩(wěn);;WDM驅動程序的開發(fā)與實現(xiàn)[J];電腦與信息技術;2006年04期
5 譚博釗,徐元軍,單濤,陶然;PCI總線接口技術及其在高速數(shù)據(jù)采集系統(tǒng)中的應用[J];電子技術應用;2002年01期
6 王琳;陳健;闊永紅;;PCI數(shù)據(jù)采集卡的DMA和中斷實現(xiàn)[J];電子科技;2007年02期
7 董秀蘭,劉文江;PCI設備的WDM驅動程序設計[J];儀器儀表用戶;2003年06期
8 張平;周日峰;;基于PCI總線的高速多通道數(shù)據(jù)采集與存儲[J];重慶大學學報(自然科學版);2006年03期
9 賈濤;王鐵嶺;;PCI數(shù)據(jù)采集卡的WDM驅動程序開發(fā)[J];國外電子測量技術;2006年08期
10 梁新全;李智;;PCI總線數(shù)據(jù)采集系統(tǒng)的設計[J];國外電子測量技術;2008年03期
相關碩士學位論文 前10條
1 鄒海強;Windows系列操作系統(tǒng)平臺下的驅動程序自動生成技術研究[D];西北工業(yè)大學;2001年
2 何均;信號采集/處理PCI卡分析調(diào)試及驅動程序研究[D];電子科技大學;2003年
3 郭曉輝;PCI數(shù)據(jù)采集卡驅動程序的研究與設計[D];西北工業(yè)大學;2004年
4 楊皓;PCI數(shù)據(jù)采集系統(tǒng)驅動與總控軟件的研制[D];電子科技大學;2004年
5 蔣春玲;基于DVB-T接收的PCI卡分析調(diào)試及驅動程序研究[D];電子科技大學;2005年
6 梁波;基于PCI總線的紅外熱像儀圖像采集卡驅動程序設計[D];電子科技大學;2005年
7 楊s
本文編號:1965776
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1965776.html