The Open Source Embedded Real-time Operating System μTenux Transplantation on the Cortex-M3

Author
LiHongXia
Advisor
ChenChang
School
Dalian University of Technology
Major
Control Engineering
Classification
TP316.2 Real-time operating system
Degree
Master's thesis
Year
2012
Downloads
69
Citations
1

Request the full text

Abstract

At present, with the rapid development of social economy, the Embedded real time operating system application of the increasingly wide range.and gradμAlly become the future development of the operating system,even the main development direction. Its application range from industry control to individual consumer products such as digital cameras, mobile phone, PDA and so on.Communications systems also use kinds of embedded real-time operating system as the operating system platform.Now,there are many main stream TROS, such as:uC/OS-Ⅱ、μClinux、eCOS and so on,which are widely used in the field of embedded system.Especially, the embedded real-time operating system μC/OS-II Market share is relatively high.In my article, the RTOS μTenux is used.However.Making Comparison between uC/OS-II and μTenux, in addition to having the general characteristics of embedded real-time operating system.such as:Portability, can be cured, can be cut and so on, it has the following disadvantages, such as:(1) Micro kernel.No MMU,and less ROM/RAM occupation.The maximum ROM occupation is60KB,the minimum is10KB;(2) Free open source;(3) Support for all ARM7/9and Cortex M series microcontroller;(4) Can be configured with up to256tasks and140task priority;(5) Have good business support, T-Engine forum for general maintenance.The work of this paper is mainly make the Hard real-time embedded real-time operating system μTenux transplantated to the advanced Cortex-M3kernel and Extremely low power chip EFM32G890. And will Transplantate simplify network protocol stack porting μIP to embedded real-time operating system μTenux. And making the study of the embedded operating system kernel tailoring and the program optimization.Realized on the microcontroller with the memory resources relatively limited operating system transplant, improved the micro controller to complex operation scheduling management efficiency,and facilitated the process of design and programming.Implementation of low power and limited memory resource of micro controller and LAN interconnection function.Therefore,the contents of this paper has great application value.

Table of contents

Summary 4-5 Abstract 5-8 1 Introduction development status 8-10 1.1 real-time embedded systems (RTOS) is 8-9 1.1.1 VxWorks embedded real-time operating system 8 1.1.2 μClinux embedded real-time operating system 8 1.1.3 eCOS Embed real-time operating system 8 1.1.4 μC/OS- Ⅱ embedded real-time operating system 8-9 1.2 The main contents 9-10 <br / > 2 Summary of real-time operating systems and microcontrollers EMF32G890 μTenux introduction 10-22 2.1 introduces real-time operating system μTenux of 10-18 2.1.1 operating system Tenux introduction 10-11 2.1.2 real-time operating system μTenux characteristics 11-12 2.1.3 real-time operating system kernel μTenux introduce 12 <br / > 2.1.4 real-time operating system μTenux features 12-16 compare nbsp 2.1.5 μTenux embedded real-time operating system , and other real-time operating system ; 16-18 2.2 Details microcontroller EMF32G890 of 18-22 2.2.1 Cortex-M3 features brief 18-19 2.2.2 EFM32G About 19 - 20 2.2.3 EFM32G advantage 20-22 3 embedded real-time operating system μTenux transplant EFM32G890 the 22-35 experimental platform to build 3.1 22 3.1.1 software environment to build 22 3.1.2 build hardware environment 22 3.2 real-time operating system on EFM32G890 of μTenux transplant 22-29 3.2.1 memory transplant 23-24 3.2.2 flash transplant 24-25 3.2.3 clock transplant 25-27 3.2.4 General Purpose Input output ports (GPIO) transplantation 27-28 3.2.5 Universal Asynchronous Receiver transmitter (μART) transplantation 28-29 3.2.6 Watchdog transplant 29 3.3 test μTenux operating system 29-35 3.3.1 μTenux preliminary testing of the operating system 29-30 3.3.2 μTenux operating system, in-depth testing 30-35 4 μIP transplant in the embedded real-time operating system μTenux of 35-52 <br IP network 35-36 4.1.2 TCP /; /> 4.1 μIP transplant in the embedded real-time operating system μTenux of 35-39 4.1.1 TCP / IP model nbsp communication flow 36-37 4.1.3 mainstream embedded TCP / IP protocol stack introduced 37 4.1.4 μIP features 37 4.1. 5 μIP architecture 37-38 4.1.6 ENC28J60 Ethernet Controller Overview 38-39 4.2 μIP transplant in the embedded real-time operating system μTenux of 39-52 4.2.1 EFM32G890 peripheral libraries transplant 39-40 4.2.2 streamline the network protocol stack μIP driver library transplant 40-41 4.2 .3 streamline the network protocol stack μIP program verification 41-43 4.2.4 streamline μ IP network protocol stack ported results validate 43-47 4.2.5 SPI programming correctness verify 47-50 4.2.6 ENC28J60 network module driver validation 50-51 4.2.7 μIP in real-time operating system with microcontroller transplant μTenux test 51-52 5 real-time operating system kernel cutting and optimization μTenux 52-57 5.1 percentage transplanted memory resources are estimated 52 5.2 real-time operating system μTenux kernel resources cropping 52-53 5.3 chip RAM user zone adjustment dynamic management nbsp 53-54 5.4 μTenux resources available to the user ; 54-57 <br / > Conclusion 57-58 References 58-60 Appendix A UART configuration flow chart 60-61 <br B event flag test cases /> Appendix Cheng serial output Figure published academic situation nbsp 61-62 during the master's degree ; 62-63 Thanks 63-64

Related dissertations

  1. Design of City Streetlight Monitoring and Control System Based on Cortex-M3
  2. Design and Application of Real-time Dam Deformation Monitoring Instrument
    ZuoShiBo ·Hunan University ·2013 ·Master's thesis
  3. Design of Embedded Access Control System Based on RFID
    ZhuXiaoLin ·Hebei University of Technology ·2012 ·Master's thesis
  4. Design and Implementation of the Smartcar Navigated by GPS Based on Cortex-M3
    LiJiaQing ·Hebei University of Technology ·2012 ·Master's thesis
  5. Design and Implementation of Character Human-machine Interface Based on Cortex-M3
  6. Research of the Embedded Tumor Medical Image Analyzer
    GongLiWu ·East China Jiaotong University ·2013 ·Master's thesis
  7. Design and Implementation of a Android-Based Audio Comparison System
  8. Based on the Loongson Platform ELPLAN Client Transplantation
  9. Research on Some Key Technologies of EAS Acoustic Magnetic Anti-theft System
  10. Design and Implementation of Control System Based on Automatic Solid Phase Extraction
  11. Design of Multi-functional Portable ECG Monitor Based on Cortex-M3
    ZhangAiQin ·Zhejiang University ·2014 ·Master's thesis
  12. The Therapeutic Effect and Mechanisms of Bone Marrow Mesenchymal Stem Cells Transplantation on Rats with Alcoho-associated Dementia
    ZengYuE ·Nanchang University Medical College ·2013 ·Master's thesis
  13. Experimental Study on Adult Neural Stem Cells Transplantation in Rat with Intracerebral Hemorrhage
    PengJun ·Central South University ·2013 ·Master's thesis
  14. Studies of Human Umbilical Cord Mesenchymal Stem Cells Intravenous Injective Transplantation via Vena Caudalis in Rats with Ischemic
    ZengZuo ·Central South University ·2013 ·Master's thesis
  15. The Clinical Features and Laboratory Findings of Mixed Phenotyping Acute Leukemia in14Children
    LuJing ·Suzhou University ·2013 ·Master's thesis
  16. A Study of Neural Stem Cell Therapy for Infantile Cerebral Palsy
    LiPeng ·Bengbu Medical College ·2014 ·Master's thesis
  17. Activated Platelet Rich Plasma Preconditioning Induced PI3K/AKT/NF<Kappa> B Signaling Enhances Survival and Regenerative Function of Rat Bone Marrow Mesenchymal Stem Cells in Hostile Environment
    PengYan ·Southern Medical University, ·2013 ·Master's thesis
  18. To Observe the Effect of Facial Depressions Filling with Cell-assidted Lipotransfer
    LiJing ·Chongqing Medical University ·2013 ·Master's thesis
  19. Experimental Study of Self-prepared PV Solution on the Preservation Effect of Rat Liver
    ZhuHaiFeng ·Nanchang University Medical College ·2013 ·Master's thesis
  20. Lymphangiogenesis in Breast Cancer Tissue Detection and Its Reletionship with Clinicopathological Characteristics
    WangZuo ·Hebei North University ·2012 ·Master's thesis