在嵌入式实时操作系统中引入TCP/IP协议栈,以支持嵌入式设备接入网络,成为嵌入式领域重要的研究方向。介绍了开源的μC/OS—II实时操作系统结构和在STM32上的移植方法,研究了嵌入式TCP/IP协议栈结构及工作流程,并详细描述协议栈中ARP、IP和TCP这3种最重要协议在μC/OS-1I系统上的具体实现。
The introduction of real-time operating system in embedded TCP/IP protocol stack, to support embedded devices access the :network, becomes an important research direction in the field of embedded. This article introduced the structure of the open source real-time operating system μC/OS- II and the method of transplant in STM32, studied the structure and work processes of the embedded TCP/IP protocol stack, described the concrete realization in μC/OS- II system of the three most important protocols ARP and IP and TCP.