一种精简TCP_IP协议栈的设计与实现
- 格式:pdf
- 大小:313.72 KB
- 文档页数:4


基于LwIP的嵌入式设备Web服务器设计与实现陈志星;杨金孝【摘要】随着嵌入式设备的发展,很多嵌入式设备都具有网口通信功能,通过网口对嵌入式设备进行内部参数设置是一种既方便又简单的方式.设计了一种基于LwIP协议的嵌入式设备Web服务器.利用网页就可以配置嵌入式设备内部参数及程序升级.充分利用STM32平台内部集成以太网模块和LwIP轻型网络协议栈的特点,通过以太网物理层芯片LAN8720和RJ45接口相连,完成了网页和Web服务器之间的数据收发.测试表明,设计的基于LwIP协议栈的嵌入式设备Web服务器是正确和可行的.%With the development of embedded devices,many embedded devices have the function of network communication,and it is a convenient and easy way to set the internal parameters of embedded devices through the network port. This paper designs an embedded device Web server based on LwIP protocol. The internal parameters of embedded devices can be configured and updated by using the web page. The Web server make full use of the platform of STM32 internal integration Ethernet modules and the characteristics of LwIP light network protocol stack. Through the Ethernet physical layer chip LAN8720 and RJ45 interface to link together,Web pages and Web server can achieve bidirectional data transmission. The test shows that the embedded device Web server based on the LwIP protocol stack is correct and feasible.【期刊名称】《电子设计工程》【年(卷),期】2018(026)011【总页数】4页(P110-113)【关键词】LwIP;STM32;LAN8720;Web服务器;嵌入式设备【作者】陈志星;杨金孝【作者单位】西北工业大学电子信息学院,陕西西安710129;西北工业大学电子信息学院,陕西西安710129【正文语种】中文【中图分类】TN919.6随着物联网技术的兴起和智能家居的发展,嵌入式设备需要接入局域网或者因特网已成为一种趋势,由于网口通信比其他模式通信速率高且抗干扰性强,在局域网中往往很多嵌入式设备只留有网口供于外部通信,此时对于嵌入式设备内部一些参数设置和内部程序升级只能由网口通信完成。
精简的ARM-TCP/IP接口的开发和研究摘要随着计算机的发展,网络技术应用逐步广泛,人们希望能够通过计算机和嵌入式设备通信并进行控制。
本课题的设计目的就是通过一个转接装置,能实现串口和以太网接口之间的通信。
本次试验主要是设计ZNE-100模块的开发板,完成RS-232串口电路及RS-485串口电路设计以及以太网接口RJ-45的电路设计,熟悉ZNE-100模块的功能及各个管脚的信号。
然后用VC++为软件开发平台,开发适用于工程控制的协议栈,进而嵌入以ARM为内核的协议栈控制器,尝试用现有的ARM芯片(LPC2114)代替ZNE-100模块,实现单一芯片的TCP/IP功能化。
关键词:嵌入式以太网 RS-232 RS-485 协议栈 ARM TCP/IPThe ARM- TCP/ IP of simplify connects the osculardevelopment and researchesAbstractAs a result of development of puter and application of networks,people hope industry control which can be realized by puter and embedded system.this porject will design an interface to realize munication between Ethernet and Serial Port.Based on ZNE-100 board.Designed RS-232,RS-485 serial port circuit and ethernet port RJ-45.Embed protocol stack which be designed for industry control in protocol stack controller with ARM core to realize the TCP/IPfunction of single chip.Keywords:embedded; Ethernet; RS-232; RS-485; protocol stack; ARM; TCP/IP引言随着INTERNET的飞速发展,网络应用越来越广泛,对各种工业控制设备的网络功能要求也越来越高。