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

Request the full text

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

  1. Design of Wireless Sensor Network System Based on Multi-sensor
    XuJiaDong ·University of North ·2014 ·Master's thesis
  2. A Large Parking Area Guidance System Based on STM32
  3. Automatic Testing System on the Calorific Value of Fuel Gas Based on ARM
  4. The Design of Energy Collector System Based on AT91RM9200
  5. RTU Design of Irrigation Information Collection System
  6. Design and Realization of the Cortex-M3Based Peirpherals Control System in On-board Video Server
    QiLiNa ·WRI ·2012 ·Master's thesis
  7. Design of Portable Flue Gas Analyzer Controller Based on ARM
    LiChao ·Xi'an Technological University ·2012 ·Master's thesis
  8. The Design of Chip Inductor Winding Machine Embedded Control System Based on ARM
    LingJiaWu ·South China University of Technology ·2012 ·Master's thesis
  9. Research and Implementation of Smart Valve Controller with High Cost Performance and Remote Network Control
  10. The Study and Design of Vehicle Traveling Data Recorder Based on Embedded System
    CaoShiChao ·Jinan University ·2012 ·Master's thesis
  11. Design and implementation of S3C44B0 platform based on uCos- Ⅱ
  12. Kernel Analysis and Porting of RTOS μc/os-Ⅱ
    WangYingYing ·Chongqing University ·2007 ·Master's thesis
  13. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  14. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  15. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  16. Video Surveillance System Based on Embedded Technology Research
  17. Design of Video Monitoring System Based on the Embedded
  18. The Design of Embedded Network Video Surveillance System Based on ARM9
  19. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  20. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis