论文部分内容阅读
VxWorks是由美国Wind River设计开发的一种实时多任务操作系统,目前广泛应用于嵌入式领域。作为VxWorks系统工程师经常需要解决串口驱动问题。对于BSP和上层应用程序的开发,串口驱动程序是必不可少的基本步骤。本文以基于ARM7TDMI内核的S3C44B0X芯片的串口驱动为例,分析了Vx Works串口驱动的层次和机理,研究了tty驱动和底层SCC驱动的工作原理。通过对S3C44B0X芯片的串口驱动程序的实际编写与参数定制,给出了ARM体系结构微处理器的串口驱动程序设计基本方法、步骤以及注意事项。
VxWorks is a real-time multitasking operating system designed and developed by Wind River in the United States, and is widely used in the embedded field. As VxWorks system engineers often need to solve the serial port driver problem. For BSP and the development of the upper application, serial driver is an essential basic step. In this paper, based on ARM7TDMI core S3C44B0X chip serial port driver as an example, VxWorks serial port driver analysis of the level and mechanism of the tty driver and the underlying SCC driver working principle. Through S3C44B0X chip serial port driver actual preparation and parameter customization, gives the ARM architecture microprocessor serial port driver design basic methods, steps and precautions.