摘要
串口具有价格便宜、编程方便等优点,在嵌入式系统中有着广泛的应用。Linux是嵌入式系统应用最广的操作系统。针对嵌入式Linux的特点,分析在Linux系统下串口应用开发的方法,介绍了如何制作串口开发所需的Linux内核和根文件系统。通过查询和接收SIGIO(信号驱动I/O)信号两种方式分别实现嵌入式Linux系统与微机系统的串口通信,并总结了串口通信程序主要设计步骤。
Serial port is widely used in embedded system with the advantages of cheap and convenient programming. Linux is the most widely applied embedded systems in kinds of the operating systems. This paper analyzes the application and development of Linux serial port against the characteristics of embedded Linux, and introduces how to make Linux kernel and root file system for the development of serial port in embedded system. The communication between embedded system and computer system was completed through both querying and receiving the SIGIO signal. And summarizes the major design steps of serial communication programming.
出处
《电子工程师》
2008年第4期54-56,共3页
Electronic Engineer