摘要
针对LM3S8962等微处理器内嵌以太网控制器的特点,提出并设计了一种基于嵌入式系统的精简TCP/IP协议栈实现方法。根据嵌入式系统通信需求,对TCP/IP协议栈进行精简,省略反地址解析协议,优化控制报文协议处理流程,以及针对嵌入式节点稳定性高、通信链路延时低的优势,简化TCP协议包处理,最后详细给出了各栈的功能函数以及实现流程。通过Ping通信检查以及分布式数据采集系统的运行,验证该协议栈的可行性与稳定性,为同类型芯片的以太网连接设置提供可参考的解决方案。
Based on the characteristics of the microprocessor built-in Ethernet controllers such as LM3S8962,a simplified TCP/IP protocol stack implementation method based on embedded system is proposed and designed. According to the communication requirements of the embedded system,the TCP/IP protocol stack is simplified,the anti-address resolution protocol is omitted,the flow of the control message protocol is optimized,and for the advantages of high stability and low communication link delay of the embedded node,the TCP protocol packet processing is simplified,and the function functions and implementation flow of each stack are given in detail. Through the Ping communication check and the operation of the distributed data acquisition system,the feasibility and stability of the protocol stack are verified,and a reference solution for the Ethernet connection setup of the same type chip is also provided.
作者
刘凯
吕海燕
张立民
LIU Kai;LV Haiyan;ZHANG Limin(Department of Aviation Foundation,Naval Aviation University,Yantai 264001)
出处
《计算机与数字工程》
2020年第2期398-402,422,共6页
Computer & Digital Engineering