摘要
提出一种嵌入式实时操作系统设备实现接入以太网功能的方案。利用TI公司推出的TMS320DM8168 DaVinciTM数字多媒体处理器的Cortex-A8平台进行μC/OS-Ⅱ和LwIP协议栈的移植并实现嵌入式TCP/IP网络协议。通过对Cortex-A8内核体系结构研究,详细阐述了μC/OS-Ⅱ和LwIP针对Cortex-A8的移植要点与LwIP的高效邮箱机制的实现并给出部分关键代码。通过系统多任务调度及Web server功能应用的测试验证:移植操作系统运行正常,网络通信成功。在嵌入式设备上实现了嵌入式TCP/IP协议,使嵌入式实时操作系统设备具备了接入以太网的功能。
We propose a scheme which realises the function of accessing to the Ethernet using embedded device with real-time operating system. Cortex-A8 platform of TMS320DM8168 DaVineiTM digital media processor launched by TI is used for the transplantation of μC/OS- II and LwlP protocol stack and to implement the embedded TCP/IP network protocol. Through studying the core architecture structure of Cortex- A8, we elaborate on the key points of transplantation of μC/OS- II and LwlP for Cortex-A8 and the implementation of LwlP efficient mailbox mechanism, and give some of the key codes. It is verified through the test of system multi-task scheduling and Web server function application that the transplanted operating system runs in order, and the network traffic is success. On embedded devices the embedded TCP/IP protocol has been realised, this makes the embedded real-time operating system device has the function Of Ethernet access.
出处
《计算机应用与软件》
CSCD
北大核心
2014年第1期242-245,共4页
Computer Applications and Software
基金
江苏高校优势学科建设工程项目(PAPD)
江苏省科技成果转化项目(BA2011032)