An Embedded Serial Server
- Author
- LiYi
- Advisor
- ChenLianKun
- School
- Beijing Jiaotong University
- Major
- Computer Science and Technology
- Classification
- TP368.1 Microprocessor
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 151
- Citations
- 3
Abstract
With the widely used of TCP/IP and Internet technology, plenty of equipments have the need to accesss network, but most of them do not have network interface and can not be connected to the network directly. The development of embedded serial server is just to solve this problem. The device designed in this paper is based on STM32with LwIP TCP/IP stack, which aims to simplify the system structure and reduce the system costs by hardware-software co-design.In this paper, an overall design is put forword based on the need for this system first. Then the hardware of entire system is build up and the drivers are programmed. After that, LwIP TCP/IP stack which provides the basic platform for application development is ported to the system and the data covertion between the serial port and the TCP/IP network is implemented.Furthermore, a web server and a telent server are established in the systerm that makes the manangement of this device more convinient and easy. At last, an application thar proves the availability of this equipment is given.
Table of contents
Thanks 5-6
Chinese abstract 6-7
ABSTRACT 7-10
1 Introduction 10-13
1.1 research background and significance 10-11
1.2 research contents and objectives 11-12
1.3 thesis structure 12-13
2 Embed overall design style serial servers 13-16
2.1 embedded serial server functional requirements 13-14
basic functions 2.1.1 embedded Serial server 13 -14
2.1.2 embedded Serial server Specifications 14
2.2 embedded Serial server solution Overview 14-16
3 embedded serial server hardware and drivers programming 16-32
3.1 embedded serial server hardware design 16-22
3.1.1 core processor module design 17-18
3.1.2 Ethernet module design 18-20
3.1.3 serial module design 20-22
3.1.4 supply module design 22
3.2 embedded serial server hardware driver design 22-32
3.2.1 STM32 system clock configuration 22-23
3.2.2 USART driver design 23 -25
3.2.3 Ethernet driver design 25-31
3.2.4 Flash driver Design 31-32
4 embedded serial server TCP / IP stack transplant 32-44
4.1 open source TCP/1P protocol stack 32-33
4.2 TCP / IP protocol stack and select 33
4.3 LwIP stack About 33-34
4.4 LwIP protocol stack analysis 34-42
4.4.1 LwIP process model 34
4.4. 2 LwIP buffer management 34-36
4.4.3 LwIP memory management 36
4.4.4 IP module 36-37
4.4. 5 UDP module 37-39
4.4.6 TCP module 39-41
4.4.7 LwIP network interface 41-42
4.5 STM32 LwIP protocol stack in transplant 42-44
5 embedded serial server application software design 44-60
5.1 protocol conversion software design 44-47
5.1.1 transparent transmission mode software design 44-45
5.1.2 transfer Mode protocol software design 45-47
5.2 Web service application designed under 47-52
5.2.1 UDP protocol to transmit programming under 47-49
5.2.2 TCP protocol to transmit programming 49-52
5.2.3 data processing program designed to send and receive 52
5.3 system settings application design 52-60
5.3.1 system setup process 52-53 <br / > 5.3.2 serial setup program design 53-54
5.3.3 Web Server setup program design 54-56
5.3.4 Telnet setup program designed 56 -57
5.3.5 client setup program designed 57-60
6 embedded serial server applications 60-65
6.1 applications Introduction 60-61
6.2 temperature acquisition node programming 61
6.3 network host programming 61-63
configuration nbsp 6.4 embedded serial server ; 63
6.5 practical application 63-65
7 Conclusion and summary 65-66
7.1 This article achievements 65
7.2 further improve the direction and vision 65-66
References 66-68
Appendix A 68-72
Author Biography 72 - 74
dissertation dataset 74
Related dissertations
- Design of the Embedded Internet Controller Based on STM32
- Research and Design of Information Processing System in Interferometric Fiber-optic Sensor
- The Design of an Wireless Image Transmission System Based on WIFI
- A Large Parking Area Guidance System Based on STM32
- Research of Multifunctional Data Collection and Transmission Device Based on Embedded System
- Research on Multi-Communication Data Repeater
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- Design and Research on Fire Detection and Alarm System Based on Multi-sensor Information Fusion Technology
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- The Design of Data Monitoring and Control System Based on USB and Lab VIEW
- Research on the Indoor Air Monitoring System Based on Embedded Linux