中北大学学报(自然科学版)2016,Vol.37Issue(6):614-619,6.DOI:10.3969/j.issn.1673-3193.2016.06.011
基于嵌入式接口的可扩展TCP/IP协议栈的设计和实现
Design and Implementation of TCP/IP Protocol Stack Based on Embedded Interface
摘要
Abstract
In order to improve the TCP/IP protocol's ability of real-time,reliability and extensible prop-erty in embedded devices,and also meet the requirement of low power consumption,using LPC2124 ARM micro controller and the ENC28J60 network-chip,implemented a simple embedded TCP/IP stre-amlined protocol stack.The protocol stack uses embedded real-time operating system-μC/OS-II as the kernel,in addition to the basic TCP/IP protocol cluster,it also contains the DHCP,ICMP,Socket in-terface and DNS protocol to enhance the flexibility and reliability.Based on the C language and assembly language,protocol stack was compiled using Keil and was simulated in Proteus.The transplantation of the system,hardware driving and the whole protocol stack are completed.Using wireshark catch tool made a series of tests and experiments on the functionality and performance of the protocol stack sys-tem.Results conclude that,the tidy protocol stack on the basis of the realization of basic functions brings shorter coding (7.6 K RAM,48 K ROM),and the UDP transmission speed reaches 16.5 K/s. Besides,The protocol stack support extension,users can design by their own requirement.关键词
TCP/IP协议栈/嵌入式操作系统/μC/OS-Ⅱ/ARMKey words
TCP/IP protocol stack/embedded system/μC/OS-Ⅱ/ARM分类
信息技术与安全科学引用本文复制引用
郑爱宇..基于嵌入式接口的可扩展TCP/IP协议栈的设计和实现[J].中北大学学报(自然科学版),2016,37(6):614-619,6.基金项目
国家自然科学基金资助项目(61201344) (61201344)