基于LwIP协议栈和交换机芯片的多网口扩展系统设计  被引量:2

Design of Multiple Network Port Expansion System Based on LwIP Protocol Stack and Switch Chip

在线阅读下载全文

作  者:黄岩峰 王天林 刘国安 Huang Yanfeng;Wang Tianlin;Liu Guoan(Zhejiang Zcontrol Research Co.,LTD.,ZheJiang,HangZhou)

机构地区:[1]浙江中控研究院有限公司,浙江杭州310053

出  处:《中国仪器仪表》2021年第7期19-23,共5页China Instrumentation

基  金:工信部高质量发展专项“2020年可编程逻辑控制器(PLC)项目”(CEIEC-2020-ZM02-0137)。

摘  要:针对嵌入式控制系统对能够实现多个网口通信且各网口间相互独立的功能需求,采用一种基于Lw IP协议栈和交换机芯片的多网口扩展方案,该方案通过交换机芯片对主控芯片GMAC网口的物理扩展和Lw IP协议栈对创建的虚拟网络接口的管理,实现控制系统最多6路网口通信且各网口间相互独立的功能要求;控制系统硬件采用SAMA5D36主控芯片和KSZ9896C交换机芯片,软件采用uC/OS实时操作系统和Lw IP协议栈,系统设计完成了实时操作系统和以太网协议栈的移植、交换机芯片的策略配置、驱动层数据包的验收过滤、协议栈网络接口的管理等环节,成功实现了控制系统的多个网口扩展且各网口间相互独立的功能要求。In order to realize multiple network ports communication independently, a expansion scheme based on LwIP protocol stack and switch chip is adopted. The scheme realizes up to six network ports by physical expansion of GMAC network chip. The expansion of virtual network interface is managed by LwIP protocol stack. The hardware of the control system adopts SAMA5 D36 main control chip and KSZ9896 C switch chip, and the software adopts uC/OS real-time operating system and LwIP protocol stack. The system includes the transplantation of real-time operating system and ethernet protocol stack, the strategy configuration of switch chip, the acceptance and filtering of driver layer data packets, and the management of network interface of protocol stack. The function of multiple network ports expansion and independence among network ports are realized successfully.

关 键 词:嵌入式系统 LWIP协议栈 交换机芯片 IP绑定 SAMA5D36 KSZ9896C 

分 类 号:TP393.0[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象