| With the continuous development of microprocessor technology, embedded technology has also consistently been enhanced in the computer industry. Embedded system which has advanced features such as small size, low power consumption and high performance, has been widely used in today’s military defense, network communication, consumer electronics and industrial control, and has become the foundation of the Internet of things that has the hot development nowadays. Due to the wide application of embedded system and the development of the technology of the Internet of things, the technology which can connect low-end embedded devices with the Internet has been becoming an hot topic at present.This paper introduces the design process of the Web server based on low-end processor. According to the equipment characteristics of low-end processor, In order to simplify, modifying the standard TCP/IP protocol stack. In the process of modifying, the hierarchical model has still been used, implementing each agreement as a module, and the architecture is clear,easy to extend, eventually modifying the embedded TCP/IP protocol stack in accord with low-end processor. The embedded stack is implemented in Keil compiler with C language, The implemented agreements of the protocol include:IP (Internet protocol), TCP (transmission control protocol, ICMP (Internet control message protocol), ARP (address resolution protocol).Each protocol adopts method of modularization. Basing on this protocol stack, this paper introduces the design of the embedded Web server and the specific implementation process of the Web server. The core hardware part of the Web server is based on STM32F107VC microcontroller of ARM Cortex-M3ARM, using DM9161A as the 10M/100M Ethernet PHY chip. For testing the function of the Web server, a dynamic page and a static page had been designed. Through connecting any client that is in the server system and has the browser function, and entering the address of the server, you can access resources in embedded Web server. In addition, accessing the dynamic page in the server, also can realize the simple control function of the hardware resources.Through the test, the stack can run steadily, it has the traits of small size code and impropriating little memory when running, which adapts to low-end embedded devices, it can be transplanted and extended easily. Based on the protocol stack, the web server runs stably and effetely. The research of embedded web server for low-end embedded devices is the foundation of embedded devices accessing to the Internet, so it has the important significance. |