Access of an Embedded Wireless IP Based on μC/OS-II

Author
HuXiaoYu
Advisor
LiXiaoPing
School
Xi'an University of Electronic Science and Technology
Major
Circuits and Systems
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2007
Downloads
238
Citations
0

Request the full text

Abstract

Advances in microelectronic technology to promote the development of miniaturized , low-power devices . These devices computing power , the combination of perception and communication capabilities , to promote the evolution of the stand-alone embedded systems to network embedded systems (Network Embedded System, NES) . The NES has broad application prospects in the military and civilian spheres , so that it become a hot research topic in the current academia . Currently , Internet has been widely used to embedded device access Internet , anytime, anywhere to monitor , is a typical network embedded systems . Various communication protocols of the Internet above requirements for computer memory and computing speed , embedded systems , there are a lot of 8/16 bit microcontrollers and low-end 32-bit microcontroller , supports TCP / IP and other Internet the agreement will take up a lot of system resources , or simply impossible . In addition, if the device is working relatively harsh environmental conditions or equipment is on the move , you should not wired Internet access . To solve the above problem , this paper proposes a program based on the embedded real-time operating system, wireless access to the Internet . The microcontroller used in this program is only 32KB of on-chip static RAM and 512KB of on-chip FLASH memory . This article describes the development status of the network embedded systems ; analysis of embedded real-time operating system μC / OS-II system kernel and basic system services , elaborate μC / OS-II in LPC2138 on the transplant process . Reference open source protocol stack LwIP, through in-depth analysis and understanding of the PPP and TCP / IP protocol , PPP and TCP / IP protocol stack based on actual demand . ARM7 development platform and the CDMA wireless communication module used in the formation of the hardware platform , the embedded network communication protocol stack and real-time operating system μC / OS-II software modeled on embedded systems , wireless IP access . The test showed that the proposed solution allows embedded systems with limited system resources connected to the Internet through a wireless network data transmission .

Table of contents

Abstract 4-5 Abstract 5-8 first chapter 8-16 1.1 Network Embedded Technology Overview 8 -13 1.1.1 Embedded Processor 8-10 1.1.2 Embedded operating system 10-11 1.1.3 Access Network communication agreement 11-13 1.2 issues raised 13 1.3 The main contents of this paper 13-16 Chapter II real-time operating system μC / OS-II analyzes 16-24 2.1 μC / OS-II Overview 16-17 2.2 μC / OS-II analysis 17-21 2.2.1 Tasks and task management 17-19 2.2.2 Event Management 19-20 2.2.3 Memory Management 20-21 2.3 μC / OS-II porting 21-24 Chapter PPP and TCP / IP protocol stack design and implementation 24-44 3.1 TCP / IP Reference Model 24-25 3.2 LwIP introduction 25-26 3.3 PPP protocol 26-34 3.3.1 PPP Protocol Overview 26-27 3.3.2 PPP frame format 27-28 3.3.3 PPP link state transitions 28-29 3.3.4 Chain Lu Control Protocol 29-30 3.3.5 Network Control Protocol 30-31 3.3.6 Authentication Protocol PAP and CHAP 31-33 3.3.7 magic word and Maximum Receive Unit MRU 33-34 3.4 PPP protocol stack implementation 34-36 3.5 TCP / IP protocol 36-40 3.5.1 IP protocol 36-38 3.5.2 Internet Control Message Protocol 38-39 3.5.3 Transmission Control Protocol 39 - 40 3.5.4 User Datagram Protocol 40 3.6 TCP / IP protocol stack implementation 40-44 Chapter IV system hardware platform to build 44-52 4.1 hardware platform conceived 44 4.2 ARM development board 44-50 4.2.1 ARM7TDMI-S Description 45 - 47 4.2.2 LPC2138 structure 47 4.2.3 LPC2138 chip Flash program memory 47-48 4.2.4 LPC2138 chip static RAM 48 4.2.5 LPC2138 Vectored Interrupt Controller 48-49 4.2.6 Timer 0 and Timer 1 49 4.2.7 UART0 and UART1 49-50 4.3 CDMA modulator / demodulator 50 4.4 hardware platform to connect 50-52 Chapter nbsp system software implementation ; 52-64 5.1 transplant μC / OS-II 52-58 5.1.1 Development Tools 52-53 5.1.2 system header files INCLUDES.H 53 5.1.3 header files associated with the processor OS_CPU.H 53-54 5.1.4 C files associated with the processor OS_CPU_C.C 54-56 5.1.5 compilation of documents associated with the processor OS_CPU_A.S 56-58 5.2 Host and Modem interface program 58-59 5.3 TCP / IP protocol stack transplant 59-62 5.3.1 Timer function 60 5.3.2 Semaphore 60 5.3.3 Message Queue 60-61 5.3.4 Creating a new thread 61-62 5.3.5 Critical protection function 62 5.3. 6 configuration documentation 62 5.4 system test 62-64 5.4.1 μC / OS-II test 62-63 5.4.2 System Test 63-64 Chapter Summary and Outlook 64-66 Thanks 66-68 References 68-72 research 72

Related dissertations

  1. The Design and Implementation of Communication Function in Vehicle Information System Supporting Vehicle Networking
    WangJiaQiang ·Jilin University ·2013 ·Master's thesis
  2. IPv6 protocol stack embedded systems research
    YangChengQun ·Hunan Normal University ·2008 ·Master's thesis
  3. Design of Network Physical Separator Based on FPGA
  4. The Development of the Gateway in Networked Digital Home
    ZhuKongBin ·Jilin University ·2008 ·Master's thesis
  5. Research on Key Techniques of the NC System for Micro-injection Tag Machine
    LiuHaiLi ·Guangdong University of Technology ·2008 ·Master's thesis
  6. Design and Implementation of Embedded Video Encoding System with Network
    LiWei ·Beijing University of Technology ·2008 ·Master's thesis
  7. The Research and Implementation of Real-time Operating System Based on DSP
  8. Research and Implementation of Ethernet Technique Based on SOPC
    ZhangXiaoLiang ·Dalian University of Technology ·2007 ·Master's thesis
  9. An Embedded Remote Data Acquisition System
    GuoLianZhi ·Taiyuan University of Technology ·2007 ·Master's thesis
  10. Design & Implementation of Sonar Information Transmission System Based on DM642 & TCP/IP Protocol
    XuXiaoKa ·Harbin Engineering University ·2007 ·Master's thesis
  11. Design and Research on Embedded System SSL/TLS Protocol
    ZhangJianHong ·Jiangxi Normal University ·2007 ·Master's thesis
  12. ΜC/OS- Ⅱ based on ARM7 and multi- access network transmission system design
  13. Design and Research of Remote Monitor and Control System Based on General Packet Radio Service
    ZhuZuoPeng ·Southeast University ·2005 ·Master's thesis
  14. The Implementation Study of Embedded Ethernet Gateway Based on μC/OS-II and ARM7
    HeZuo ·Shanghai Jiaotong University ·2007 ·Master's thesis
  15. The Digitized Speech Classroom Based on H.323 Protocol and μC/OS-Ⅱ Platform
    SunBingBing ·Taiyuan University of Technology ·2005 ·Master's thesis
  16. Design and Realization of Automatic Audio Switcher Based on ARM
    ZhouXinZhong ·Jilin University ·2005 ·Master's thesis
  17. Research of USB & Ethernet Technology Based on Embedded Platform
    HuDa ·Harbin Engineering University ·2009 ·Master's thesis
  18. Control Applications of Embedded Operating System Based on WEB
  19. The Porting and Implementation of Light-Weight TCP/IP Based on ARM
    ChenWei ·Shandong Institute of Light Industry ·2009 ·Master's thesis
  20. Analysis and Implementation of IEEE1588 Protocol
    YouZhiJian ·East China Normal University ·2009 ·Master's thesis