The Implementaion of Network Protocol Based on μC/OS-Ⅱ Operating System
- Author
- DiChao
- Advisor
- QiaoYi
- School
- Dalian Jiaotong University
- Major
- Control Theory and Control Engineering
- Classification
- TP393.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 47
- Citations
- 0
Abstract
In recent years, associated with the remarkable advances in technology ofcommunication, network and semiconductor, embedded system has been widely used in avariety of fields, like engineering control, office automation, and so forth. All of these haveprofoundly improved people’s life, and will generate constant impact in the future. However,applying embedded system into internet exclusively is not a sustainable way to keep abreastwith the time. With the emergence of new concepts, such as pervasive computing and digitalfamily, traditional XX will not well meet the needs in the future. Besides of traditionalfunctions like calculating, controlling, and so on, the trend is to connect embedded systemwith internet to fully utilize the resources on web. By doing so, it enables a higher level ofinformation sharing and information service. It’s no doubt that by studying how to mergeembedded system with internet, the society will benefit both academically and economically.In this paper, based on a typical embedded system, μC/OS-Ⅱ, we focus on how totransplant embedded system into the corresponding processor platform, which is a significantprerequisite before fully implementing an embedded system. Nowadays, Internet plays a moreand more important role in people’s life; internet communication will be another majorsubject which embedded system can be applied. Therefore, how to connect embedded systemwith internet will be research field of great value. Give the fact that the Modern is the moreprevailing tool used to connect on internet, if we can design a PPP protocol which enables theembedded system merge with internet; the research problem could be more solvable. A PPPprotocol can be embedded into μC/OS-Ⅱ through Protocol Stack LwIP. By taking the abovelogic, this paper discuss how to design and implement a PPP protocol on protocol stack inoperation system C/OS-Ⅱ with LM3S8962chip and Cortex-M3internal core.This paper highlights the characteristics of embedded system by taking LM3S8962ashardware platform. in addition, detailed introduction of some relevant interface circuit;Analyze principle of real time operation system μC/OS-Ⅱ, and then write correspondingtransplant file, plus transplant μC/OS-Ⅱ onto LM3S8962chip. Thus a system softwareplatform for the design and implementation of PPP protocol is ready;Eventually, detaileddescribe the process of how to design and implement the PPP protocol through this platform.Then based on LwlP protocol, formulate design and write code for the five modules, whichare Main, LCP, PAP, NCP, and PPP. After testing, the PPP protocol based on ARMdevelopment board is validated..
Table of contents
Summary 5-6
Abstract 6-10
first chapter research background and significance 10-15
1.1 topics Features 10
1.2 embedded systems Status 10-11
1.3 study abroad 11-12
1.4 embedded development 12 - prospect 13
1.5 embedded systems research 13-14
1.6 and the main work of this thesis 14-15
Chapter II embedded hardware platform 15-22
Selection 2.1 embedded hardware platforms 15-16
2.2 LM3S8962 embedded microprocessor 16-18
2.2.1 LM3S8962 functional Overview 16-17
2.2.2 LM3S8962 processor cores 17-18
2.3 system hardware overall program 18
2.4 LM3S8962 the interface circuit of major components 18-21
2.4.1 power circuit 18-19
2.4.2 Ethernet interface circuit 19-20 <br / > 2.4.3 CAN-bus interface circuit 20-21
2.4.4 JTAG interface circuit 21
Summary 21-22
third Chapter μC/OS- Ⅱ transplantation in the ARM 22-39
3.1 μC/OS- Ⅱ real-time operating system Introduction 22-23
3.1.1 choice of real-time systems 22
3.1.2 μC/OS- Ⅱ real-time operating system Introduction 22-23
3.2 kernel structure μC/OS- Ⅱ analysis 23-25 ??
3.2.1 critical area 23-24
3.2.2 task status transplant nbsp 24-25
3.3 μC/OS- Ⅱ of ; 25 - 34
transplant condition 3.3.1 μC/OS- Ⅱ of 25
3.3.2 μC/OS- Ⅱ architecture 25-26
3.3.3 OS_CPU . written H file writing 26-29
3.3.4 OS_CPU_C.C file writing 29-31
3.3.5 OS_CPU_A.ASM file 31 -34
3.4 μC/OS- Ⅱ transplant concrete realization 34-38
3.4.1 IAR EWARM integrated development environment 34-35
3.4.2 implementation transplant 35-38
Summary design and implementation of Chapter IV 38-39
PPP protocol 39-66
4.1 TCP / IP protocol Overview 39-40
4.2 PPP protocol definitions 40-42
4.2.1 PPP protocol 40-41
4.2. the basic format of 2 PPP protocol Features 41-42
4.2.3 PPP protocol 42
4.3 PPP protocol works 42-44
4.4 PPP protocol design 44-51
4.4.1 Main main Module 44-45
4.4.2 link Layer negotiation module (LCP) 45 - 47
4.4.3 PPP authentication negotiation module 47-48
4.4.4 network layer negotiation module (NCP) 48-49
4.4.5 PPP module 49-51
4.5 LwIP achieve 51-58
4.5.1 LwIP stack Profile 51
4.5.2 LwIP modular architecture process model 51-52
4.5.3 protocol stack 52
4.5.4 LwIP stack memory management 52-53
4.5.5 LwIP each protocol stack implementation 53-58
4.6 LwIP on μC/OS- Ⅱ transplant 58-65
4.6.1 operating system emulation layer 58 - 62
4.6.2 LwIP interface design and implementation 62-65
Summary 65-66
Chapter V system testing 66-72
5.1 real-time operating system μC/OS- Ⅱ test of performance testing 66-69
5.2 LwIP platform ported to μC/OS- Ⅱ after 69-71
summary 71-72
Chapter VI summary and Outlook 72-73
References 73-75
studying for a master's degree published during the academic papers 75-76
Thanks 76-77
Related dissertations
- Design of Portable Flue Gas Analyzer Controller Based on ARM
- Research and design of embedded control system based on ARM9
- The Design of Embedded Network Video Surveillance System Based on ARM9
- 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
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- Research on the Digital Controller and PID Parameter Tuning of the Proportional Valve
- Design of Cutting Robot System Platform Based on ARM
- AGV car design and development of image recognition and motion control technology based on
- Research and Implementation of Intelligent Regulator Based on ARM
- Design and Implementation of Ethernet Transfer Based on ARM
- Research of the Embedded Tumor Medical Image Analyzer
- Research and Design of Embedded Network Video Surveillance System Based on ARM
- The Research of Secure Routing Protocols in Ad Hoc Networks and Its Implementation on Embedded Systems
- Design of Wireless Sensor Network System Based on Multi-sensor
- Design and Implementation of Video Surveillance Systems Based on Android Smartphones
- Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
- Design and Implementation of Embedded Ethernet Communication Module with Data Storage Capabilities
- And implementation of vehicle positioning and communication terminal based on GPS/GPRS