Kernel Construction Analysis of μC/OS-Ⅱ and Model Research of Device Driver
- Author
- GuoHuiKe
- Advisor
- LiYan
- School
- Harbin University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 18
- Citations
- 0
Abstract
With the development of computer technology, the range of embedded systemapplications is too numerous to mention. In a modern society, embedded applicationsis used in almost all of the areas, and there is a great significance to promote theusing of the real-time operating system.In the first, this paper describes the background, significance of the research, thecurrent research status and main contents of embedded system device drivers.Secondly, put forward three tasks base on the main contents of the research, the firsttask is systematic analyzing and detailed understanding about the kernel structure ofμC/OS-Ⅱ and device drivers, focus on analyzing the task’s management andscheduling, synchronous communication between tasks, time management, andmemory management etc. The second task is to know how to port the μC/OS-Ⅱ todifferent processors by analyzing and detailed understanding about the kernelprinciple and structure of μC/OS-Ⅱ embedded real-time operating system, at thesame time, achieves the porting in the hardware platforms and testing the code. Thethird task is to design and write a independently framework of device driver whichapplies on the μC/OS-Ⅱ real-time operating system based on analysis the devicedriver, and discusses the interrupt handling and polling functions of device driver inthe meanning time.Try to establish driver modules for devices of μC/OS-Ⅱ kernel,focus on the design of LCD driver module, to make a development rule-based fordevelope a driver on this basis, which will save the development time. Inspectnumbers of popular operating systems, we can see each of them have a thoroughdevice management solutionsFinally, give a brief summary about the main contents of this paper. Meanwhile,this paper also realistic points out that the shortcomings and problems of itself, anddetermines the new direction which need more efforts to study and research in thefuture.
Table of contents
Summary 5-6
Abstract 6-10
Chapter 1 Introduction 10-16
1.1 topics of the background and purpose 10
1.2 device drivers for embedded systems research status 10-14
1.3 The main contents 14
1.4 papers structural arrangements 14-16 <br / > Chapter 2 RTOS 16-24
2.1 embedded operating system architecture 16-17
2.2 RTOS related concepts 17-18
2.3 RTOS features architecture 18-19
2.4 RTOS is 19-22
2.5 RTOS trends 22-23
2.6 Summary 23-24
Chapter 3 μC/OS- Ⅱ core structure and analysis 24-36
works 3.1 μC/OS- Ⅱ of 24
3.2 μC/OS- Ⅱ kernel structure 24-26
3.3 task management and scheduling 26-29
3.3.1 task Manager 26 -28
3.3.2 task scheduling 28-29
3.4 task communication 29-34
3.4.1 event Control Block ECB 29 -31
3.4.2 semaphore 31-32
3.4.3 messaging Mailbox 32-33
3.4.4 message queue 33-34
3.5 time management 34-35
3.6 memory management 35
3.7 Summary 35-36
Chapter 4 μC / OS - Ⅱ transplant 36-44
4.1 hardware and software requirements for transplant μC/OS- Ⅱ 36
4.2 ARM processor architecture Introduction 36-39 <br / > mode 4.2.1 ARM processor architecture 37-38
4.2.2 ARM register 38-39
4.3 μC/OS- Ⅱ on ARM platforms transplant 39-43
4.3.1 OS_CPU.H transplant 39-40
4.3.2 OS_CPU_C.C transplant 40-41
4.3. 3 OS_CPU_A.ASM transplant 41
4.3.4 μC/OS- Ⅱ porting code to test 41-43
4.4 Summary 43-44
Chapter 5 device driver framework model and LCD interface driver 44-61
5.1 driver Framework model 44-45
5.1.1 driver framework defined 44
5.1.2 μC/OS- Ⅱ device driver framework 44-45
5.2 device driver model design 45-53
5.2.1 driver polling and interrupt handling 45
5.2.2 μC/OS- Ⅱ device driver model under 45-53
5.3 frame LCD interface driver 53 -60
5.3.1 LCD equipment installation function 54-55
5.3.2 LCD device to create a function 55
5.3.3 LCD device open function 55-56
5.3.4 LCD device read / write function 56-58
5.3.5 LCD device control function 58-59
5.3.6 LCD device off function 59
5.3.7 operating results 59-60
5.4 Summary 60-61
conclusion 61-62
References published 62-67
master's degree during the academic 67-68
Thanks 68
Related dissertations
- Design of Wireless Sensor Network System Based on Multi-sensor
- A Large Parking Area Guidance System Based on STM32
- Automatic Testing System on the Calorific Value of Fuel Gas Based on ARM
- The Design of Energy Collector System Based on AT91RM9200
- RTU Design of Irrigation Information Collection System
- Design and Realization of the Cortex-M3Based Peirpherals Control System in On-board Video Server
- Design of Portable Flue Gas Analyzer Controller Based on ARM
- The Design of Chip Inductor Winding Machine Embedded Control System Based on ARM
- Research and Implementation of Smart Valve Controller with High Cost Performance and Remote Network Control
- The Study and Design of Vehicle Traveling Data Recorder Based on Embedded System
- Design and implementation of S3C44B0 platform based on uCos- Ⅱ
- Kernel Analysis and Porting of RTOS μc/os-Ⅱ
- 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