| In recent years,research on connecting embedded system to Internet has become one of the focuses on applications of embedded system. The overall sharing of the global information resources is the development trend in the future and this research has met the trend. The implementation of TCP/IP stack in embedded system is the basis of the research..A tiny TCP/IP stack suitable for embedded systems with MCS-51series MCU as its CPU is designed in the thesis.The Keil SDK which integrating the editor, compiler, emulator and debugger is adopted as the development environment and the hardware platform mainly includes AT89C55 with 20K bytes Flash, RTL8019AS and RTL8029AS,CPLD EPM7128S etc.The design of the protocol stack is focused on the tiny TCP/IP protocol.RTL8019AS belong to the physical layer and the MAC layer. The drive of RTL8019AS is belonged to the LLC layer. The design of the main body of TCP/IP stack is divided into 2 parts.The design of transceiver buffer, global timer and the design of watcher program are included in one part.The design of IP module, ICMP module, UDP module, TCP module and HTTP module are included in other part.Finally, a very simple dynamic WebServer based on the tiny TCP/IP stack is implemented to test the performance of the stack. |