嵌入式系統(tǒng)外圍設(shè)備驅(qū)動技術(shù)的研究
發(fā)布時間:2018-05-03 15:24
本文選題:嵌入式系統(tǒng) + Windows; 參考:《北方工業(yè)大學(xué)》2012年碩士論文
【摘要】:嵌入式系統(tǒng)需要和不同的外圍設(shè)備進(jìn)行通訊才能實現(xiàn)便捷的交互性和實用性。設(shè)備驅(qū)動程序是位于操作系統(tǒng)和外圍硬件設(shè)備之間的一種特殊軟件,是連接操作系統(tǒng)與外圍硬件設(shè)備之間的橋梁。它屏蔽了外圍硬件環(huán)境的多樣性,并提供符合一定規(guī)范的接口給上層模塊調(diào)用。這種接口通常由操作系統(tǒng)定義,一般與驅(qū)動程序的類型相關(guān),而與具體的硬件無關(guān)。設(shè)備驅(qū)動程序的作用就是實現(xiàn)這組接口的功能函數(shù),并將這些接口的實現(xiàn)映射到具體硬件的操作上。 本系統(tǒng)是以Windows Embedded CE6.0作為嵌入式操作系統(tǒng),以ARM Cortex-A8系列的OMAP3530作為嵌入式處理器,以Xilinx Spartan-3E FPGA系列的XC3S250E作為數(shù)據(jù)存儲轉(zhuǎn)換和邏輯控制單元的便攜在線式初晶溫度檢測設(shè)備。由于本系統(tǒng)需要在原有的OMAP3530開發(fā)板上增加FPGA模塊用于讀取電池電量和前端測溫槍采集到的溫度數(shù)據(jù)、增加溫度傳感器芯片用于讀取當(dāng)前室溫,這就需要在原有的BSP (Board Support Packet)中提供對新添加硬件的驅(qū)動程序的支持。 本文研究了基于Windows Embedded CE6.0的嵌入式系統(tǒng)外圍設(shè)備驅(qū)動程序開發(fā)的相關(guān)技術(shù)。首先介紹了本課題研究的背景,其次對嵌入式系統(tǒng)和嵌入式操作系統(tǒng)做了簡要介紹,然后重點介紹了OMAP3530處理器和FPGA之間的硬件接口設(shè)計以及Windows Embedded CE6.0中FPGA驅(qū)動程序的設(shè)計與實現(xiàn)。其中FPGA和OMAP3530之間的接口使用了存儲總線方式進(jìn)行連接,溫度傳感器連接到OMAP3530的I2C控制器并依據(jù)I2C協(xié)議進(jìn)行通信。設(shè)備驅(qū)動程序設(shè)計中重點介紹了FPGA驅(qū)動程序的中斷處理機(jī)制,以及利用驅(qū)動分層的思想實現(xiàn)的溫度傳感器驅(qū)動。最后對驅(qū)動程序是否正確工作進(jìn)行了驗證。
[Abstract]:Embedded systems need to communicate with different peripherals to achieve convenient interactivity and practicability. Device driver is a special software between operating system and peripheral hardware. It is a bridge between operating system and peripheral hardware. It shields the diversity of the peripheral hardware environment and provides a standard interface for the upper module call. This interface is usually defined by the operating system, generally related to the type of driver, but not to the specific hardware. The function of device driver is to realize the function function of this set of interfaces and to map the implementation of these interfaces to the operation of specific hardware. The system uses Windows Embedded CE6.0 as embedded operating system, ARM Cortex-A8 series OMAP3530 as embedded processor, Xilinx Spartan-3E FPGA series XC3S250E as data storage conversion and logic control unit as portable on-line primary crystal temperature detection equipment. Because the system needs to add FPGA module to the original OMAP3530 development board to read the battery energy and the temperature data collected by the front end thermometer gun, and add the temperature sensor chip to read the current room temperature. This requires support for newly added hardware drivers in the original BSP Board Support packet. This paper studies the related technology of embedded system peripheral device driver development based on Windows Embedded CE6.0. Firstly, the background of this research is introduced, then the embedded system and embedded operating system are briefly introduced, then the design of hardware interface between OMAP3530 processor and FPGA and the design and implementation of FPGA driver in Windows Embedded CE6.0 are introduced. The interface between FPGA and OMAP3530 is connected by storage bus. The temperature sensor is connected to the I2C controller of OMAP3530 and communicates according to I2C protocol. In the design of the device driver, the interrupt handling mechanism of the FPGA driver and the temperature sensor driver based on the idea of driver stratification are introduced. Finally, the driver is verified to work correctly.
【學(xué)位授予單位】:北方工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP368.1
【參考文獻(xiàn)】
相關(guān)期刊論文 前2條
1 李曉東,李R,
本文編號:1839034
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1839034.html
最近更新
教材專著