μCOS-Ⅱ operating system kernel and its engineering applications
- Author
- HuangPeiZhen
- Advisor
- WangZhongRen
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 271
- Citations
- 2
Abstract
As an fundmental element of intelligent and small-size equipment, embedded system has been widely used and plays a very important role in many fields such as national defence, industry control, traffic, energy sources, information technology and civil utilities. But as a software kernel of the embedded system,the embedded real-time operating system is presently developed with inconvenience in our country. Firstly, most of the external EOS(embedded operation system) are too expensive to popularly be used in minitype corporation especially in academy and university. Secondly because the kernel of most of EOS are not open and free ,it makes the products which are developed on the EOS exist potential security problem. Especially it must be considered if it is used in military production. At last, making good use of the EOS demand the developer has solid background in operation system and computer architect.Because of above problems, more attention has been put on the embeddedoperation system whose implement code can be gotten freely.μCOS-Ⅱis justone of the best embedded operation system among them. As a embedded real-time kernel based task priority,μCOS-Ⅱhas been mainly used in the minitype embedded application. it has many virtue such as small size, stabile performance and free. This paper guided by the purpose which is applying theμCOS-Ⅱto all kinds of project. So, we build a environment for developing software based on Tornado, and construct a compile system with makefile. After finishing those work, we forward a structure for theμCOS-Ⅱ’s kernel application, which is BSP+kernel.After finishing the design of developing environment and application structure forμCOS-Ⅱ, we forward a new method of dynamical memory allocating, which could efficiently restrain the occure of memory scrap. At last ,we realized a mechanism of soft timer, which is for the need of project.
Table of contents
The Chinese summary 4-5
Abstract 5-9
Chapter Introduction 9-18
1.1 Embedded Systems Introduction
1.2 embedded operating system 9-15 1.2.1 operating system based μiTRON / iTRON specification
10-11-II,
1.2.2 μCOS,, embedded operating system kernel 11
1.2.3 VxWorks embedded real-time operating system 11-12
1.2.4 WinCE operating system 12-13
1.2 .5 ThreadX operating system 13
1.2.6 Linux operating system 13-15
1.3 the μCOS-II domestic and foreign research status 15-16 <br / > 1.4 research work 16-17
significance of 1.5 research 17-18
Chapter II compilation system build 18-34
2.1 GCC compiler 18-23
the 2.1.1 GCC compiler supported target platforms 19
the 2.1.2 GCC compiler support for the host system 19
the the 2.1.3 GCC compiler's composition 19-20
2.1.4 GNU tool chain GCC 20-23
2.2 GNU-make 23-25 ??
2.3 makefile introduced 25-28
2.3.1 makefile 25-26
2.3.2 the makefile file names 26
2.3.3 references the makefile the 26-27 2.3.4 environment variables
makefiles 27-28
2.3.5 the make work 28
2.4 to build compiler system, the need for 28-29
of 2.5 Common compiled system deficiencies 29
2.6 compiler system design thinking architecture 29-33
2.6.1 config.cfg file definition 30-31
2.6.1 Globlesymboldef.mak file 31
2.6 .2 GlobelCompileRule.mak file 31-32
2.6.3 gRuleMakePrj.mak file the 32-
2.6.4 ProductType.mak file 32-33 <br / > 2.7 Summary are found; 33-34
Chapter μCOS-II kernel and Tornado combination of the 34-45 3.1 Tornado Introduction
34-39
3.1.1 Tornado cross-development environment 35-36
3.1.2 VxWorks target environment 36-37
3.1.3 Tornado host integrated development environment 37 - 39
3.2 μCOS-II kernel with Tornado necessity of combining 39-40
3.3 kernel with Tornado μCOS-II combined with the realization of ideas 40-42 <br / > 3.4 the BSP build μCOS-II the kernel engineering applications architecture 42-44
3.5 Summary 44-45
Chapter μCOS-II kernel memory dynamically allocated Algorithm 45-57
4.1 Introduction 45-46
4.2 operating system the common memory dynamically allocated algorithms 46-51
4.1.1 sequential search algorithm 46-47
4.1.2 Buddy algorithm 47-49
4.1.3 μCOS,-II kernel dynamic memory allocation algorithm 49-51
4.3 kernel memory μCOS-II dynamic allocation algorithm improvements 51-56
4.3.1 XBUDDY algorithm thinking 52
4.3.2 XBUDDY algorithm flow block diagram 52 -53
4.3.3 XBUDDY algorithm memory data structure diagram the 53-54
the 4.3.4 XBUDDY algorithm defined data-structures 54-55
4.3.5 XBUDDY algorithm interface 55-56
4.4 Summary 56-57
Chapter soft timer design 57-72
5.1 Introduction 57-58
5.2 the soft timer function model the 58-63 5.2.1 implementation considerations
59-60
5.2.2 the the timer data model - time wheel 60-61
hierarchical 5.2.3 wheels nbsp the; 61-63
the soft timer algorithm nbsp 5.3 Linux operating system kernel; 63-66
5.3.1 Linux operating system kernel soft timers to achieve 63-65
5.3.2 Linux kernel soft timer insufficient 65-66 <br / > 5.4 xTimer algorithm thoughts and the 66-71
the 5.4.1 xTimer algorithm thinking 66-68
5.4.2 algorithmic process nbsp a; 68-69 < br /> 5.4.3 data structure defined the 5.4.4 interface defines 69
69-71
5.5 Summary 71-72
Chapter Summary and Outlook 72-77
6.1 research the actual verification 72-75
6.1.1 makefile build compiler system 72-73
the 6.1.2 μCOS-II kernel with Tornado combine 73-75
6.2 Full summary and future research tasks 75-77
Reference 77-79 the
Acknowledgements 79-80
Appendix 1 compiler system the main file the 80-84
Appendix 2 papers studying for a master's degree during the Publishing 84
Related dissertations
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- Research on the Control System of the Vectored Thruster AUV
- VxWorks simulation of the flight control system research and design based on
- Design and Implementation of Modbus Master Protocol Stack Based on Linux System
- Investigation for the Real Time Multitask Management Sofeware of Electro-optical System for UAVs
- Research and Application of the Apparatus for Automated Extraction Based on the ARM and the UCOS-Ⅱ
- Studies on Realistic Modeling and Rendering of Atmospheric Phenomena
- WiMAX-Based VOIP Business Implementation and Research
- Studies on the Distribution Characteristics and Hazard Evaluation of Tornados in Jiangsu
- Based μCOS-Ⅱ embedded computer protection device study
- Chess Playing Robot Design Based on ARM Microcontroller and μCOS-Ⅱ
- ARM-based embedded control system design embroidery machine
- Research on Control Methods and Software of Autonomous Cleaning Robot Based on μC/OS-Ⅱ
- GPRS Communicating System by Arm
- The Design of Digital Storage Oscilloscope and the Realization of Control System Based on ARM
- The Research of Linux Embedded System Based on ARM Processor
- Based on the VxWorks Airborne Electro-optical observation of the search system software design
- Study and Application about Formation Technology of CAN/LIN Hybrid Network in Vehicle
- Design and Implementation of 1553B bus communication system based on VxWorks
- Release management system research