基于Cortex-M3内核微控制器的嵌入式Web服务器的设计与实现
发布时间:2018-07-31 18:01
【摘要】:嵌入式技术和以太网技术作为IT领域的两大关键技术它们的结合必将成为今后的发展趋势。网络技术发挥其网络化以及信息交互资源共享等方面的优势,嵌入式技术发挥其高效的处理控制能力,二者结合从而开创更多的应用。嵌入式Web sever在以嵌入式处理器以及网卡芯片为硬件平台的基础上完成TCP/IP协议的搭建实现网络通信,通过HTTP服务实现页面交互,起到一个远程监控系统的作用。嵌入式以太网的出现,使以太网不再仅仅局限在电脑之问的网络互连,而推广到更大的领域。比如说智能家居、工业设备的网络化监控管理等。因此对嵌入式以太网的研究有很重大的现实意义。 本设计利用ST公司的以Cortex-M3为内核的STM32F107处理器以及DP83848网卡芯片为硬件基础进行了硬件平台的搭建,在此基础上针对其硬件特性,完成了操作系统的移植、TCP/IP协议栈的设计以及各中间件程序和驱动程序的编写,从而实现以太网通信,最终完成一个低成本可靠连接的Web server,达到远程登录和操控的目的。系统硬件平台以基于Cortex-M3内STM32F107VC微控制器芯片和DP83848C网络接口芯片为基础实现网络接口功能。STM32F107FC处理器内置以太网MAC控制器,是一款功能更加强大的处理器芯片,因此对网络接口的实现将更加方便,电路结构设计将更加简单。系统选用RL-RTX操作系统,此操作系统功能齐全,内核占用空间小、实时性高,尤其是它可以和MDK开发环境无缝集成,简化了操作系统的移植过程,降低开发周期。 本文首先对嵌入式系统和以太网技术从它们的发展历史、应用现状发展动态作了详细的介绍。然后从系统软硬件设计出发作了总体的概括。详细分析了系统的硬件结构,驱动程序的编写,操作系统的移植和使用,TCP/IP协议栈的实现和调用,以及系统整体功能的测试和实现。
[Abstract]:As two key technologies in IT field, the combination of embedded technology and Ethernet technology will be the trend in the future. Network technology gives full play to its advantages in network and information exchange resources sharing, and embedded technology exerts its efficient processing and control ability, which combines the two to create more applications. On the basis of embedded processor and network card chip, embedded Web sever completes the construction of TCP/IP protocol to realize network communication, and realizes page interaction through HTTP service, which plays the role of a remote monitoring system. With the emergence of embedded Ethernet, Ethernet is not only limited to the interconnection of computers, but also extended to a wider field. For example, intelligent home, industrial equipment network monitoring and management, and so on. Therefore, the study of embedded Ethernet has great practical significance. This design uses St company's STM32F107 processor with Cortex-M3 as the core and DP83848 network card chip as the hardware foundation to build the hardware platform, and on this basis, aiming at its hardware characteristic, The design of TCP / IP protocol stack and the writing of middleware programs and drivers are completed, so that Ethernet communication is realized, and a low-cost reliable connection Web server is finally completed, and the purpose of remote login and control is achieved. The hardware platform of the system is based on the STM32F107VC microcontroller chip in Cortex-M3 and the DP83848C network interface chip to realize the network interface function. STM32F107FC processor has built-in Ethernet MAC controller. It is a more powerful processor chip. Therefore, the realization of network interface will be more convenient and the design of circuit structure will be more simple. The system uses RL-RTX operating system, which has the advantages of complete function, small kernel footprint and high real-time performance. Especially, it can integrate seamlessly with MDK development environment, simplify the process of operating system transplantation and reduce the development cycle. In this paper, the development of embedded system and Ethernet technology is introduced in detail from their development history and application status. Then from the system hardware and software design to make a general summary. The hardware structure of the system, the programming of the driver, the transplantation and use of the operating system and the implementation and call of the TCP / IP protocol stack, as well as the test and implementation of the whole system function are analyzed in detail.
【学位授予单位】:云南大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.1;TP393.05
本文编号:2156392
[Abstract]:As two key technologies in IT field, the combination of embedded technology and Ethernet technology will be the trend in the future. Network technology gives full play to its advantages in network and information exchange resources sharing, and embedded technology exerts its efficient processing and control ability, which combines the two to create more applications. On the basis of embedded processor and network card chip, embedded Web sever completes the construction of TCP/IP protocol to realize network communication, and realizes page interaction through HTTP service, which plays the role of a remote monitoring system. With the emergence of embedded Ethernet, Ethernet is not only limited to the interconnection of computers, but also extended to a wider field. For example, intelligent home, industrial equipment network monitoring and management, and so on. Therefore, the study of embedded Ethernet has great practical significance. This design uses St company's STM32F107 processor with Cortex-M3 as the core and DP83848 network card chip as the hardware foundation to build the hardware platform, and on this basis, aiming at its hardware characteristic, The design of TCP / IP protocol stack and the writing of middleware programs and drivers are completed, so that Ethernet communication is realized, and a low-cost reliable connection Web server is finally completed, and the purpose of remote login and control is achieved. The hardware platform of the system is based on the STM32F107VC microcontroller chip in Cortex-M3 and the DP83848C network interface chip to realize the network interface function. STM32F107FC processor has built-in Ethernet MAC controller. It is a more powerful processor chip. Therefore, the realization of network interface will be more convenient and the design of circuit structure will be more simple. The system uses RL-RTX operating system, which has the advantages of complete function, small kernel footprint and high real-time performance. Especially, it can integrate seamlessly with MDK development environment, simplify the process of operating system transplantation and reduce the development cycle. In this paper, the development of embedded system and Ethernet technology is introduced in detail from their development history and application status. Then from the system hardware and software design to make a general summary. The hardware structure of the system, the programming of the driver, the transplantation and use of the operating system and the implementation and call of the TCP / IP protocol stack, as well as the test and implementation of the whole system function are analyzed in detail.
【学位授予单位】:云南大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP368.1;TP393.05
【参考文献】
相关期刊论文 前6条
1 宋延昭;嵌入式操作系统介绍及选型原则[J];工业控制计算机;2005年07期
2 高斌,宗光华;基于Linux的预先创建子进程池的服务器程序设计[J];计算机应用研究;2002年02期
3 李佑军;嵌入式系统综述[J];现代电子技术;2003年06期
4 王原丽,王丽;基于ARM的嵌入式TCP/IP协议栈的实现[J];现代电子技术;2005年22期
5 付保川;王中杰;陆卫忠;许维胜;吴启迪;;嵌入式设备的网络化方法研究[J];自动化仪表;2005年12期
6 董炜,杨士元;嵌入式Internet与家庭网关技术[J];计算机应用研究;2005年06期
相关硕士学位论文 前3条
1 钱鹏江;嵌入式Web系统的研究及实现[D];南京理工大学;2005年
2 杜云海;基于现场总线的嵌入式安全Web网关的设计与开发[D];江苏大学;2005年
3 郝庆涛;嵌入式系统的以太网接入技术[D];山东大学;2006年
,本文编号:2156392
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2156392.html