摘要
深入分析了μC/IP协议栈,阐述了其移植原理和实现方案,并给出了在具体软硬件平台上的移植实例。首先,通过分析μC/IP协议栈,结合实时内核μC/OS-II与32位ARM7Core的软硬件平台,论述了μC/IP协议栈的移植原理。然后,根据TCP/IP各层协议的具体实现提出了μC/IP协议栈移植与裁减的一种可行方案。最后,在基于μC/OS-II与ARM7Core的软硬件平台上实现了μC/IP协议栈的移植。实验结果表明:移植后的协议栈实现了网络的基本功能,且运行稳定。开源μC/IP协议栈的移植实现,为基于μC/OS-II的Internet嵌入式系统应用提供一个小型可裁减的TCP/IP协议中间件。
In this paper,μC/IP stacks is deeply researched,and the porting principle and realization project of the stacks is expounded in virtue of an example aiming at the Software-Hardware platform.Firstly,the porting principle of μC/IP is discussed with analysing the stacks and coordinateing with the Software-Hardware platform based on Real Time Kernel μC/OS-II and 32 bit ARM7 Core.Then,the feasible project to port and customize μC/IP stacks is proposed according to the realization of every layer of TCP/IP.Finially,μC/IP stacks is ported successfully to the Software-Hardware platform based on μC/OS-II and ARM7 Core.The experiment shows that the stacks ported run stably and realize the fundamental network functions.The porting realization of the open source μC/IP stacks supplies a mini-type TCP/IP middleware that can be customized for the Internet application of embedded systems based on μC/OS-II.
出处
《计算机工程与应用》
CSCD
北大核心
2005年第18期99-102,共4页
Computer Engineering and Applications
基金
江南大学科学研究基金项目(编号:2002)