嵌入式系统外围设备驱动技术的研究
发布时间:2018-05-03 15:24
本文选题:嵌入式系统 + Windows ; 参考:《北方工业大学》2012年硕士论文
【摘要】:嵌入式系统需要和不同的外围设备进行通讯才能实现便捷的交互性和实用性。设备驱动程序是位于操作系统和外围硬件设备之间的一种特殊软件,是连接操作系统与外围硬件设备之间的桥梁。它屏蔽了外围硬件环境的多样性,并提供符合一定规范的接口给上层模块调用。这种接口通常由操作系统定义,一般与驱动程序的类型相关,而与具体的硬件无关。设备驱动程序的作用就是实现这组接口的功能函数,并将这些接口的实现映射到具体硬件的操作上。 本系统是以Windows Embedded CE6.0作为嵌入式操作系统,以ARM Cortex-A8系列的OMAP3530作为嵌入式处理器,以Xilinx Spartan-3E FPGA系列的XC3S250E作为数据存储转换和逻辑控制单元的便携在线式初晶温度检测设备。由于本系统需要在原有的OMAP3530开发板上增加FPGA模块用于读取电池电量和前端测温枪采集到的温度数据、增加温度传感器芯片用于读取当前室温,这就需要在原有的BSP (Board Support Packet)中提供对新添加硬件的驱动程序的支持。 本文研究了基于Windows Embedded CE6.0的嵌入式系统外围设备驱动程序开发的相关技术。首先介绍了本课题研究的背景,其次对嵌入式系统和嵌入式操作系统做了简要介绍,然后重点介绍了OMAP3530处理器和FPGA之间的硬件接口设计以及Windows Embedded CE6.0中FPGA驱动程序的设计与实现。其中FPGA和OMAP3530之间的接口使用了存储总线方式进行连接,温度传感器连接到OMAP3530的I2C控制器并依据I2C协议进行通信。设备驱动程序设计中重点介绍了FPGA驱动程序的中断处理机制,以及利用驱动分层的思想实现的温度传感器驱动。最后对驱动程序是否正确工作进行了验证。
[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.
【学位授予单位】:北方工业大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.1
【参考文献】
相关期刊论文 前2条
1 李晓东,李R,
本文编号:1839034
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1839034.html