摘要
本文介绍了为满足基于VxWorks的某嵌入式显控系统的通信需求,对多串口扩展卡EMM8的通信实现过程,包括环境配置和软件开发。分析了VxWorks操作系统下设备驱动程序在系统中的层次结构和串口设备驱动程序的运行机制。在对VxWorks下串口通信的实现方法进行分析的基础上,给出了采用非标准的VxWorks驱动方式,而在驱动程序中直接对硬件进行初始化,以中断方式进行串口通信。目前已成功应用于PC/104工控机上。
The author describes the developing process of multi-serial card EMM8 communication for a embedded display control system based on VxWorks, including the hardware equipment and software design. The author analyzes the hierarchy of the device driver in the VxWorks system and the running mechanism of the device driver for the serial. On the basis of serial communication implementation under VxWorks, a non-standard VxWorks drive scheme is given. The driver initializes the hardware directly and implements multbserial communication with a single interrupt. The method has been applied on industrial personal computer PC/104 successfully.
出处
《电子测量技术》
2007年第12期98-99,103,共3页
Electronic Measurement Technology