摘要
介绍了μC/OS-Ⅱ实时操作系统在S3C2410A微处理器上的移植过程及要点,分析了Modbus RTU通信协议的原理,并设计了基于Modbus RTU通信协议的主机和从机通信的程序包。通过ADS1.2集成开发环境,成功地将μC/OS-Ⅱ实时操作系统和Modbus通信协议移植到了S3C2410A微处理器上。通过实验及对其结果的分析,表明Modbus通信协议在32位微处理器上应用是可行的。
The procedures and major points of transplanting μC/OS-Ⅱ real-time operating system into S3C2410A microprocessor are intro- duced. The principle of Modbus RTU communication protocol is analyzed ; and the communication software package for host computer and slave computer based on Modbus RTL protocol is designed. Under ADS1.2 integration development environment, the μC/OS-Ⅱ real-time operating system and Modbus communication protocol have been transplanted into S3C2410A microprocessor successfully. Through both experiments and analysis on the results,it is indicated that running Modbus communication protocol on 32-bit microprocessors is feasible.
出处
《自动化仪表》
CAS
北大核心
2009年第2期24-26,共3页
Process Automation Instrumentation