The Research and Realization of μC/OS-Ⅱ Based on S3C44B0X
- Author
- SongMingSheng
- Advisor
- JiangTianFa
- School
- Central South University for Nationalities
- Major
- Applied Computer Technology
- Classification
- TP316.84 OS / 2 operating system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 79
- Citations
- 2
- Embedded operating system
- μC/OS- Ⅱ
- S3C44B0X
- transplant
- Priority number of expansion
- round-robin scheduling
Abstract
μC/OS- Ⅱ famous open source real-time kernel , designed specifically for embedded applications . It has a commercial-grade performance and security . However, it is after all just an operating system kernel , must be ported to the practical application of the system's hardware platform , it is necessary to study their transplant method . In addition, it is in some ways there are some limitations that need to be improved , in order to meet the application requirements . μC/OS- Ⅱ required applications up to 64 priority . For more complex applications , it is not enough to meet the actual needs . Hence the need to expand its priority number . In addition , μC/OS- Ⅱ provisions priority of all tasks must be different . In fact , it is completely carried out according to the priority of the task scheduling. But some tasks on a priority and there is no difference , which means that they are at the same level between them adopt a more reasonable time-sharing scheduling policy . Firstly, based the the Shenzhen the Embest company 's S3CEV40 development board successfully transplanted μC/OS- Ⅱ kernel transplant process . The ready table data structures and algorithms analysis μC/OS- Ⅱ based on the original 8 × 8 priority series expansion to the priority number of 16 × 16 , and in the expansion of time and space while ensuring efficiency . To introduce a round-robin scheduling strategies on the basis of the priority scheduling μC/OS- Ⅱ performance while maintaining μC/OS- Ⅱ . Verified the transplantation and improvements made ??. Experimental results show that the transplantation and improved to achieve the desired goal . This paper also analyzes the impact of the improvements on the system performance . Studies have shown that improvements are maintained after μC/OS- Ⅱ efficiency . This shows that the improved application value .
Table of contents
Abstract 7-8
ABSTRACT 8-9
Chapter 1 Introduction 9-14
1.1 μC/OS- II operating system 10-13
1.1.1 μC/OS- Ⅱ introduced 10-11
1.1.2 μC/OS- II architecture 11
the
1.1.3 μC/OS- Ⅱ features 11-13
1.2 research background and complete work 13-14
1.2.1 Background of the research 13
1.2.2 subject completed work 13-14
Chapter 2 transplantation μC/OS- Ⅱ 14-28
the
the 2.1 transplant hardware platform 14-15
2.2 startup code written 15-19
2.2.1 exception vector 15-16
2.2.2 interrupt vector table 16-17
2.2.3 system initialization 17-19
2.3 transplantation μC/OS- Ⅱ 19-26
2.3.1 CPU data types defined 19-21
2.3.2 OS_STK_GROWTH defined 21
2.3.3 OS_ENTER_CRITICAL () and OS_EXIT_CRITICAL () function to write 21-22
2.3.4 OS_TASK_SW () function of the preparation 22-24
2.3.5 OSStartHighRdy () function of the preparation 24-25
2.3.6 OSTaskStkInit () function of the preparation 25-26
2.4 test 26-28
2.4.1 test steps (1): nbsp Code OSTaskStkInit () and OSStartHighRdy () function; 26
2.4.2 test step (2): validation OSCtxSw () function 26-27
2.4.3 test step (3): test clock tick function 27-28
Chapter 3 priority number expansion 28-35
3.1 μC/OS- Ⅱ Ready Table 28-31
3.1.1 ready list data structure 28-30
3.1.2 the ready table correlation algorithm 30-31
3.2 the priority number expansion principle 31
3.3 priority number to expand to achieve 31-33
3.3.1 data structure modifications 31-32
3.3.2 related algorithms modify 32-33
3.4 Efficiency Analysis 33
3.5 test 33-35
Chapter 4 of round robin scheduling strategy introduced 35-43
4.1 μC/OS- Ⅱ task scheduling principle 35-36
4.2 round-robin scheduling strategy introduced 36-38
4.2.1 existing design 36-37
4.2.2 improvement program 37-38
4.3 round-robin scheduling to achieve 38-41
4.4 Efficiency Analysis 41
4.5 test 41-43
concluded 43-44
the
References 44-46
Acknowledgements 46-47
the
Appendix A graduate student papers published 47-48
the
Appendix B priority series expansion need to modify the function 48-52
Related dissertations
- The Kernel Analysis and the Porting Based on ARM of Embedded Operating Systems
- Multi-path Data-collection System Based on ARM7 and μC/OS-Ⅱ
- Research of Intrusion Detection System Based on Embedded Linux and TCP/IP Protocol Analysis
- Research on the Transplant and Application of the OS for the Vehicular Information Platform
- Design of Embedded Digital Thermometer Based on ARM MCU and μC/OS-Ⅱ RTOS
- Based on the embedded system and GPRS remote meter reading terminal
- The Study and Design of Spatial Payload Controller
- Development of Embedded DNS Network Server Based on ARM and μClinux
- The Development of Embedded Multi-Axis Controller Based on ARM and μC/OS-Ⅱ
- The Research and Application of Data Acquisition Technology Based on Embedded TCP/IP
- Research on Visual Programming Environment Based Multi-Embedded OS
- Used in home security gateway platform designed for embedded systems
- Research of Mobile Target Monitoring System VHF Multi-access Technology and Application Platform
- Small Flying Objective in Low-altitude Airspace Dynamic Monitoring Methods and Experimental Platform
- The Design and Implementation of Multi-Path Data Acquisition and Filtering Algorithm Based on μC/OS-Ⅱ
- Design of Embedded Motion Controller Based on ARM and PCL6045B
- Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
- Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The Design and Implementation of Multi-functional Smart Home System