FreeRTOS和LwIP嵌入式设备的以太网通信研究

沈鑫, 侯若鹏, 毛臻, 葛成华

集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (7) : 29-32.

PDF(1122 KB)
PDF(1122 KB)
集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (7) : 29-32.
技术纵横

FreeRTOS和LwIP嵌入式设备的以太网通信研究

  • 沈鑫, 侯若鹏, 毛臻, 葛成华
作者信息 +

Research on Embedded Devices Ethernet Communication Based on FreeRTOS and LwIP

  • Shen Xin, Hou Ruopeng, Mao Zhen, Ge Chenghua
Author information +
文章历史 +

摘要

介绍了一种基于STM32硬件平台的以太网通信技术系统设计。系统充分利用FreeRTOS实时操作系统和LwIP协议栈的特点,通过以太网控制器LAN8720A和RJ45接口连接以太网,在LwIP协议栈NETCONN接口基础上扩展实现UDP协议通信过程,上位机和客户端可以进行双向网络数据包传输。

Abstract

In the paper,a system based on STM32 hardware platform for Ethernet communication technology is designed.The system makes full use of the features of the FreeRTOS real-time operating system and the LwIP protocol stack.The Ethernet controller LAN8720A and the RJ45 interface are used to connect to the Ethernet,and the UDP protocol communication process is extended on the basis of the NETCONN interface of the LwIP protocol stack,which allows bi-directional packet transmission between the host computer and the client.

关键词

LwIP / FreeRTOS / STM32 / 以太网通信 / UDP / LAN8720A

Key words

LwIP / FreeRTOS / STM32 / Ethernet communication / UDP / LAN8720A

引用本文

导出引用
沈鑫, 侯若鹏, 毛臻, 葛成华. FreeRTOS和LwIP嵌入式设备的以太网通信研究[J]. 集成电路与嵌入式系统. 2023, 23(7): 29-32
Shen Xin, Hou Ruopeng, Mao Zhen, Ge Chenghua. Research on Embedded Devices Ethernet Communication Based on FreeRTOS and LwIP[J]. Integrated Circuits and Embedded Systems. 2023, 23(7): 29-32
中图分类号: TN919.6   

参考文献

[1] 张文亮,田沛,刘晖,等.基于FreeRTOS的lwip协议栈的移植与测试[J].自动化技术与应用,2015,34(11):25-29.
[2] Rajesh R,Ramia K B,Kulkarni M.Integration of LwIP Stack over Intel(R) DPDK for High Throughput Packet Delivery to Applications[C]//2014 Fifth International Symposium on Electronic System Design (ISED).IEEE,2014.
[3] 张龙彪,张果,王剑平,等.嵌入式操作系统FreeRTOS的原理与移植实现[J].信息技术,2012,36(11):71-73.
[4] 杨玥,邵浩然,张索非.FreeRTOS与μC/OS-III内核分析及选型研究[J].科技视界,2018,246(24):11-13.
[5] Shang Junyan,Ding Huafeng.Application of lightweight protocol stack LwIP on embedded Ethernet[C]//2011 International Conference on Electrical and Control Engineering,2011:3373-3376.
[6] 费强,石磊,黄凤鸣.基于PHP的PDU配置管理系统设计[J].电子与封装,2019,19(3):26-29.
[7] 赵清华,葛彦凯,赵扬,等.基于LwIP协议栈的校园环境监测平台设计[J].电子设计工程,2022,30(5):71-75.
[8] 石磊,陈开东,李伟,等.基于4G的自动化施肥控制系统设计[J].电子与封装,2021,21(8):103-108.
[9] Zoican,Sorin,Marius Vochin.LwIP stack protocol for embedded sensors network[C]//2012 9th International Conference on Communications (COMM),2012:221-224.
[10] Fu Y,Lin S,Ding Z,et al.Configuration and management of the image gateway based on the embedded system[C]//2017 10th International Congress on Image and Signal Processing,BioMedical Engineering and Informatics(CISP-BMEI),2017.
[11] Wang Z,Yang S,Wang J,et al.Transplant and Test of Embedded LwIP Stack[J].Computer & Digital Engineering,2014.
[12] 董向阳.基于ARM的LwIP协议栈研究与移植[D].哈尔滨:哈尔滨理工大学,2009.
[13] 徐鑫,曹奇英.基于LwIP协议栈的UDP协议分析与优化[J].计算机应用与软件,2011,28(3):246-249.
[14] 向延红.基于无线传感网络的楼宇末级配电设备群控制器的研究[D].武汉:武汉工程大学,2018.

PDF(1122 KB)

Accesses

Citation

Detail

段落导航
相关文章

/