Porting and Implementation of LwIP Protocol Stack Based on RT-Thread Nano

Tian Qingwang, Yu Guanzhong, Jin Ziyang, Tian Gang

Integrated Circuits and Embedded Systems ›› 2023, Vol. 23 ›› Issue (7) : 12-16.

PDF(1169 KB)
PDF(1169 KB)
Integrated Circuits and Embedded Systems ›› 2023, Vol. 23 ›› Issue (7) : 12-16.
TOPICAL DISCUSS

Porting and Implementation of LwIP Protocol Stack Based on RT-Thread Nano

  • Tian Qingwang, Yu Guanzhong, Jin Ziyang, Tian Gang
Author information +
History +

Abstract

In order to address shortcoming of poor independence and controllability in the current solution,a new solution is proposed to realize ethernet communication,which is the porting of LwIP stack code based on the RT-Thread Nano.Firstly,the method of porting of RT-Thread Nano is provided.Principle of automatic initialization in RT-Thread Nano is analyzed,and improves the data transmission method of the serial console.After the porting of RT-Thread Nano,the porting of LwIP code is completed.Both TCP and UDP communications are tested,and the test results have verified the effectiveness and efficiency of this solution.

Key words

RT-Thread Nano / RTOS / LwIP / MCU

Cite this article

Download Citations
Tian Qingwang, Yu Guanzhong, Jin Ziyang, Tian Gang. Porting and Implementation of LwIP Protocol Stack Based on RT-Thread Nano[J]. Integrated Circuits and Embedded Systems. 2023, 23(7): 12-16

References

[1] 俞冠中,田青旺,田钢,等.基于FF-H1协议的核电站现场总线控制器设计与实现[J].自动化仪表,2023,44(1):55-60.
[2] 金仲乾,苗克坚,王毅航.基于μC/OS-II的LwIP协议栈的移植与改进[J].科学技术与工程,2013,13(2):516-521.
[3] 张文亮,田沛,刘晖,等.基于FreeRTOS的lwip协议栈的移植与测试[J].自动化技术与应用,2015,34(11):25-29.
[4] 杨继森,李路建,邵争光,等.基于μC/OS-III和LwIP时栅位移传感器多模式网络接口设计[J].测控技术,2019,38(7):119-124.
[5] 刘培刚,杜靖中.基于μC/OS-II和LwIP嵌入式设备以太网通信研究与实现[J].电子设计工程,2017,25(16):129-133.
[6] 李昕泽,邓中华.一种工业远程实时监控系统的实现[J].单片机与嵌入式系统应用,2014,14(1):51-53.
[7] 韩德强,杨淇善,王宗侠,等.基于μC/OS-III的LwIP协议栈的移植与实现[J].电子技术应用,2013,39(5):18-21.
[8] 宫健,裴焕斗,唐道光.RT-Thread操作系统的可信验证平台设计[J].单片机与嵌入式系统应用,2022,22(4):34-37.
[9] 高培,何栋炜,李文翔,等.RT-Thread的SPI总线驱动结构分析、移植及应用[J].单片机与嵌入式系统应用,2017,17(12):48-53.
[10] 王兆滨,韩鹏程.MSP432的RT-Thread操作系统移植[J].单片机与嵌入式系统应用,2021,21(5):39-42.
[11] 钱玥.基于物联网技术的实名制检票系统[D].苏州:苏州大学,2013.
[12] 张志伟,黄祥才,何顶新.利用IPv6组播技术搭建的嵌入式固件升级系统[J].单片机与嵌入式系统应用,2019,19(4):6-9.
PDF(1169 KB)

Accesses

Citation

Detail

Sections
Recommended

/