摘要
单片机与PC机的通信有十分重要的实际意义.通过分析简化TCP/IP协议,使用KEILC51编制程序实现TCP/IP协议,并采用RTL8019AS芯片设计制作连接单片机与PC机连接的硬件电路,对单片机与PC机间的通信进行了研究.在对TCP/IP深入分析基础上,简化TCP/IP协议栈并嵌入到51单片机中,结合硬件电路进行了单片机端的IP设置、ping命令的使用,实现了单片机与PC主机的通信连接.
The communication between MCU and PC is very meaningful in the actual application.This paper researches the communication between MCU and PC through the analysis and simplification of TCP/IP protocals,the building of program realizing TCP/IP protocals and the make of circuit connecting the MCU and PC.On the basis of deep analysis of TCP/IP network protocols,we simplify the protocols and embed it into MCS51-MCU to realize IP setting of MCU,the use of ping command and then realize the communication between MCU and PC.
出处
《河南科技学院学报(自然科学版)》
2011年第5期75-78,共4页
Journal of Henan Institute of Science and Technology(Natural Science Edition)