摘要
介绍了系统的基本组成,指出了PC机与下位机传送指令过程中可能出现指令接收错误而导致的死机现象,分析了其中的原因,提出了基于状态转换图/表的指令接收算法,给出了完整的通信协议与相应的软硬件实现。
The article describes primary parts of the system, points out the phenomenon of machine-death caused by errors which may occur during the communication between PC and microprocessor system, analyzes the reasons, and puts forward a new way to solve it by using an instruction-acceptance algorithm based on a state-machine. A full communication protocols and relevant software and hardware realization are presented.
出处
《计算机工程》
EI
CAS
CSCD
北大核心
2005年第7期230-232,F003,共4页
Computer Engineering
关键词
指令分析
状态转换表
串口通信
MSCOMM
Instruction analysis
Table of state-machine
UART communication
MSCom