LwIP transplantation and application platform μCOS-Ⅱ

Author
YangYuJia
Advisor
LiGuangJun
School
University of Electronic Science and Technology
Major
Communication and Information System
Classification
TP311.54 Software migration
Degree
Master's thesis
Year
2009
Downloads
370
Citations
12

Request the full text

Abstract

With the development of computer, embedded system has been used in national defense, industry, traffic control, energy sources, information technology and civil living, and become a researching focus with one of the hot trends is making it networking. In the practical applications, making embedded system networking should choose different projects based on their characteristics and needs. LwIP is an open source TCP/IP stack whose design emphasis is to use as little RAM as possible while maintaining most functions of TCP/IP stack. So LwIP stack is very appropriate in the embedded system application.μC/OS-II is a famous open source RTOS, but it only consists of real time task schedule and communication kernel, lacking support to peripheral equipment and interface, such as file system, network protocol, and graphic interface. So it is the best chose to transplant the open source TCP/IP stack- LwIP toμC/OS-II system and realize the network connection in embedded system.In this paper, firstly the development of embedded TCP/IP stack is introduced. Comparison of several major embedded TCP / IP stack, LwIP is chosen as the entry point for research and development, there is a particular analysis for the process model, the management of buffer and memory, the API of LwIP, the efficient memory management mechanism of the LwIP is the distillation of design. Secondly, the kernel of embedded RTOSμC/OS-II is analyzed and the process of how to transplantμC/OS-II to the MCF52235 platform is primary expatiated on. Thirdly, the implement of LwIP stack and how to transplant LwIP stack toμC/OS-II system are expatiated on. By the work above, we introduce a new design that can be used in the conversion of the Serial signal and Network Data, embedded system realizes network connection. At last, we proved the correctness of transplant ofμC/OS-II and LwIP, but also the function of the converter is validated, the results show that the converter can implement the data transfer between the serial device and network equipment

Table of contents

Abstract 4-5 ABSTRACT 5-10 first chapter 10-14 1.1 TCP / IP protocol stack a nbsp development in the field of embedded; 10-11 1.2 several open source TCP / IP protocol stack 11-12 the significance of the topic and the framework 1.3 papers 12-13 significance of the topic of this article 1.3.1 12 1.3.2 In this paper, the framework 12-13 1.4 Summary 13-14 the second chapters LwIP introduction of the protocol stack 14-22 2.1 LwIP protocol stack framework 14-15 the the 2.2 Implementation of LwIP protocol stack implementations 15-16 2.3 LwIP protocol stack process model 16 2.4 LwIP protocol stack memory management 16-21 the the 2.4.1 embedded TCP / IP protocol stack requirements for memory management 16-17 the 2.4.2 Implementation of LwIP protocol stack pbuf introduced 17 2.4.3 Implementation of LwIP memory management implementations 17-21 2.5 LwIP protocol stack interface design 21 2.5.1 application interface 21 2.5.2 of the underlying network interface 21 2.6 Summary 21-22 Chapter μC / OS-II is characterized by, as well as on the MCF52235 transplantation 22-33 3.1 μC / OS-II operating system introduced 22 3.2 hardware platform Huaheng MCF52235EVB 22-24 3.3 hardware abstraction layer to achieve 24-25 3.4 μC / OS-II MCF52235 platform transplantation 25-32 3.4.1 OS_CPU.H 26-28 3.4.2 OS_CPU_C.C 28-30 3.4.3 OS_CPU_A.ASM 30-32 3.5 Summary 32-33 the fourth chapter LwIP of transplanted on μC / OS-II platform 33-53 4.1 operating system emulation layer transplantation 33-38 4.1.1 preparations 33 4.1.2 semaphores and mailboxes operation function implementation 33-36 4.1.3 thread with timeout function to achieve 36-37 4.1.4 critical protection function realization 37-38 4.2 LwIP underlying interface initialization 38-52 4.2.1 Implementation of LwIP the initialization process 38-40 4.2.2 abstraction layer network device initialization 40-44 4.2.3 Fast Ethernet controller initialization 44-51 the 4.2.4 data reception thread send thread 51-52 4.3 Summary 52-53 . CHAPTER based on the realization of LwIP serial - Ethernet converter 53-66 5.1 embedded Web server design 53-60 5.1.1 HTTP protocol introduced 54 5.1.2 Common Gateway Interface CGI 54-55 5.1.3 embedded Web server implementations 55-60 5.2 serial - Ethernet protocol converter design 60-65 5.2.1 UART driven to write 60-62 5.2.2 converter software design 62-64 5.2.3 converter online configuration function to achieve 64-65 5.3 Summary 65-66 the sixth chapter LwIP of performance testing after transplantation 66-75 6.1 μC / OS-II migration testing 66-68 the 6.2 Implementation of LwIP transplant μC / OS-II platform performance test 68-70 6.3 based on the serial Ethernet protocol LwIP converter performance test 70-74 6.4 Summary 74-75 Chapter VII Summary and Outlook 75-77 7.1 summarizes 75 7.2 Looking 75-77 Acknowledgements 77-78 the References 78-80 the biographical achieved during the study period research 80-81

Related dissertations

  1. Study and Realization of the Ethernet Control System and Embeeded Intelligent Node
  2. Study on the Embedded Equipment Monitoring Platform Based on μC/OS-Ⅱ and LwIP
    LuXu ·Chongqing University ·2013 ·Master's thesis
  3. The Research of Time Synchronization System Based on IEEE1588
    ZouLei ·Nanjing Forestry University ·2012 ·Master's thesis
  4. Design of Embedded Web Server Based on Cortex-M3
    CaiXiongFei ·Zhejiang University of Technology ·2013 ·Master's thesis
  5. The Reserch and Design of Network Protocol Module of the Intelligent Business Terminal
  6. Design and Realization of Remote Control System for Motor Based on Ecos and Web Server
    HuangMingLiang ·Suzhou University ·2012 ·Master's thesis
  7. The Research and Development of Web Server Based on Embeded System
    LiWei ·Nanjing Forestry University ·2008 ·Master's thesis
  8. Research and Implementation of Ethernet Technique Based on SOPC
    ZhangXiaoLiang ·Dalian University of Technology ·2007 ·Master's thesis
  9. Development of EDSL Modem Based on SOPC
    YuanMingJin ·Ocean University of China ·2007 ·Master's thesis
  10. Based embedded network protocol stack μC/OS- Ⅱ of research
  11. Research on the Transplant and Application of the OS for the Vehicular Information Platform
    XuHaiBo ·Wuhan University of Technology ·2007 ·Master's thesis
  12. Development of an Embedded Software Platform Based on μC/OS-Ⅱ and Application for Intelligent Flowmeter
    HuaLiang ·Zhejiang University ·2004 ·Master's thesis
  13. Embedded WEB server - based the granary of temperature and humidity wireless monitoring system
    ZhangZuo ·Zhengzhou University ·2007 ·Master's thesis
  14. Application of Embedded Technology and CPLD Technology in the Design of LED Display
    ZhengJinKe ·Wuhan University of Technology ·2006 ·Master's thesis
  15. Wireless Data Terminal Based on Embedded System
  16. Research of Embedded TCP/IP Protocol Stack Based on μC/OS-Ⅱ
    WangLi ·Wuhan University of Technology ·2006 ·Master's thesis
  17. Development of Power Parameters Measuring Instrument
  18. The Embedded System Hardware Platform Based on PROFIBUS-PA Protocol
    GaoZhenJiang ·Beijing Jiaotong University ·2009 ·Master's thesis
  19. The Research of Embedded Ethernet Technology
    KongQingRong ·Harbin Engineering University ·2008 ·Master's thesis
  20. The Design and Implementation of the Embedded Remote Computer Monitoring System for Home Security
    WangXiaoBin ·East China Normal University ·2009 ·Master's thesis