Kernel Construction and System Research of μC/OS-Ⅱ
- Author
- GuiChen
- Advisor
- LiYinGuo
- School
- Chongqing University
- Major
- Systems Engineering
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 571
- Citations
- 12
Abstract
With the development of computer technology and communication technology in information era and the broad application of Internet,it is clear that 3C (computer,communication and consumer) will converge in the near future. In automation control field , embedded software will be one of the most important element .In addition, the real-time embedded operation system (RTOS)will get more attention.In the application and development field of auto electron system,due to which need constantly augmet function and request of intelligence and security, embedded operating system will be the most favorite thing. At the same time,the micromation and specialization is the new direction of the computer world,which also want the support of embedded system.So,the research of the technique of embedded system is a very important work. This thesis detailedly discuss the author’s work during joining national 863 major software project embedded developing system platform and apply of facing car electron. It presents the author’s work in research of μC/OS-II based embedded operating system.Most content of the thesis focuses on μC/OS-II kernel and it’s application. The author firstly describes the concepts of embedded system,and presents the characteristic of real-time system.The author will analyses the kemel of μC/OS-II and illustrates concretely how μC/OS-II perform it’s basic function such as the management of time,task, memory and interprocess communication.Amending part of μC/OS-II system kernel,and porting it to the 80x86 processors. Testing the kernel after porting,and making statistic of the CPU usage rate,presenting total task number,executing time of each task,and the percent of each task of all task.Lastly aiming at the work.I have doneput forward some task need to be done and describe the potent product in the future.
Table of contents
Chinese Abstract 4-5
Abstract 5-9
1 Introduction 9-16
1.1 embedded real-time systems Introduction 9 -11
1.1.1 the basic meaning of embedded systems 9
1.1.2 real-time operating system 9-11
1.1.3 RTOS functionality 11
1.2 RTOS in several important evaluation index 11-12
1.3 RTOS development of domestic and international situation and development trend 12-16
1.3.1 RTOS development stage 12-13
1.3.2 Introduction embedded RTOS abroad 13-14
1.3.3 Introduction domestic development of embedded RTOS 14 -15
1.3.4 RTOS future direction of development 15-16
2 μC/OS- Ⅱ real-time embedded operating system kernel analysis 16-41
2.1 embedded real-time operating system μC / OS-II Introduction 16
2.2 kernel structure 16-18
2.3 task Manager 18-26
2.3. 1 create a task , OSTaskCreate () 19-21
2.3.2 task stack 21-22
2.3.3 stack inspection , OSTaskStkChk () 22-23
2.3.4 delete tasks , OSTaskDel () 23-24
2.3.5 change the priority of the task , OSTaskChangePrio () 24
2.3.6 tasks Suspend and resume 24-25
2.3.7 task ready list 25-26
2.4 memory management 26-30
2.4.1 memory control block 27-28
2.4.2 establish a memory partition , OSMemCreate () 28
2.4.3 allocate a block of memory , OSMemGet () 28 - 29
2.4.4 release a memory block , OSMemPut () 29-30
2.5 time management 30-32
2.5.1 task delay function , OSTimeDly () 30
2.5.2 Minutes on time delay function OSTimDlyHMSM () 30-31
2.5.3 end delay - OSTimeDlyResume () 31
2.5.4 system Time , OSTimeGet () and OSTimeSet () 31-32
2.6 communication and synchronization between tasks 32-40
2.6.1 event control block ECB (Event Control Blocks) 32
2.6.2 semaphore 32-36
2.6.3 mailbox 36-37
2.6 .4 message queue 37-40
2.7 Summary 40-41
3 kernel porting 41-59
3.1 development tools 43
3.2 INCLUDES.H file 43-44
3.3 associated with the processor defines constants, macros, and type 44-48
3.3.1 compiler associated with data type 45-46
3.3.2 code critical 46-47
3.3.3 set the stack growth direction 47
3.3.4 tasks switching function 47-48
3.4 associated with the processor assembly language file 48-56
3.4.1 run the highest priority ready task function 48 - 49
3.4.2 task switching function 49-52
3.4.3 disruption caused by task switching function 52-54
3.4.4 clock interrupt service routine 54-56
3.5 associated with the processor of the C language file 56-58
3.5.1 initialization task stack function 56-58
3.5. 2 task Delete function 58
3.5.3 extended Statistics performance function 58
3.5.4 clock ticks function 58
3.6 Summary 58-59
4 transplant outcomes test 59-66
4.1 test portion of the code 59-60
4.2 test tasks 60-64 <br / > 4.3 test results 64-65
4.4 Summary 65-66
5 Summary and Outlook 66-67
Thanks 67 -68
References 68-71
Appendix : the authors of papers published during the master's degree 71-72
originality statement 72 < br /> dissertations copyright attorney 72
Related dissertations
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Transplantation of Embedded Linux Operating System Based on S3C6410
- Microprocessor Protection Algorithm Based on HHT and Its Platform Development
- Study on Embedded Sleep Monitor and Alarm System
- Research and design of embedded control system based on ARM9
- The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
- Research and Development of Automatic Control System on Integrated Sub-packaging and Packaging Machine
- The Design and Implementation of Wireless Transport Station Based on Campus Card Data Acquisition System
- Research on the Transplant and Application of the OS for the Vehicular Information Platform
- The Embedded System Based on μC/OS-Ⅱ
- The Kernel Analysis and the Porting Based on ARM of Embedded Operating Systems
- The Research of Embedded Real-Time Operating System Based on DSP
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor