Based μC/OS- Ⅱ kernel device driver framework research
- Author
- XiaXianFu
- Advisor
- WangZhongRen
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 350
- Citations
- 3
Abstract
With the development of software and hardware technology in embedded system, more and more embedded systems have adopted embedded operation system for more complicated application and development. The embedded system has been applied in wide fields, of which most are medium-sized or mini-type systems. For these systems, operation systems like VxWorks, WinCE or Embedded Linux either cost too much or have too complex structure. In this situation, it’s a better selection to use the open source software—μC/OS-II as the kernel of the embedded system since it bears small scale, good real-time performance and low cost. However, it’s a pity that theμC/OS-II itself has no device management component which is very important in the development of embedded system. Although, later on, the developer of theμC/OS-II has provided series of device driver likeμCGUI、μCFS、μCIP、μCFLASH, these drivers focus on universality without close link with the kernel and all the device drivers are not free. Under this condition, this paper will try to construct a feasible device drive frame so that when developing drive programmes, developers could be guided and save time.Through researches on some popular operation systems, we know that they all have strict device management mechanism. The developers, with these platforms, only need to focus on the logic of the device itself and complete the functions required by the device drive frame, without considering the relation between the device and the kernel.On broad sense, the device driver consists of two parts, namely, dependent part(low-level driver) and independent part(high-level driver). This paper will study the building of the two parts in the kernel ofμC/OS-II respectively. As to the low-level driver, how to design and implement the device management frame and interrupt service management frame will be included. With regard to high-level driver, the study will mainly focus on two kinds of drivers: network protocol stack and graphic user interface(GUI). And we will conduct a deep discussion on the construction of high-level drive via self-dependent development or transplant.Considering the more and more popular application of file system in the embedded system, the last part of the paper will mainly analyze YAFFS, which is a file system designed for NAND Flash and an approach of transplanting it to the kernel ofμC/OS-II will be provided in detail.
Table of contents
Abstract 4-5
ABSTRACT 5-9
Chapter Introduction 9-13
1.1 Background and Significance topic 9-11
1.2 embedded System device Driver research 11
1.3 project tasks 11
1.4 papers arrangement 11-13
Chapter II device Driver development Overview 13-26
2.1 device Driver Overview 13-17
2.2 operating system device drivers research 17-23
2.3 device driver development mode 23-25 ??
2.4 device drivers and embedded systems development process 25
2.5 Summary 25-26
Chapter μC / OS-II in the transplant 51C33209 26-33
3.1 μC / OS-II operating system kernel Overview 26-27
3.2 S1C33209 microcontroller Introduction 27-28
3.3 μC / OS-II operating system S1C33209 the transplant 28-31
3.4 Summary 31-33
Chapter IV equipment driven framework design and implementation 33-71
4.1 device driver framework Introduction 33-34
4.2 device driver framework underlying the design 34-56
4.3 level device driver framework design 56-68
4.4 device drivers , real-time research 68-69
4.5 Summary 69-71
Chapter journaling file system analysis 71-85
5.1 flash-based file system analysis 71-73
5.2 embedded device's file system 73-77 <br / > 5.3 YAFFS file system design principles 77-84
5.4 Summary 84-85
Chapter YAFFS file system migration 85-94
6.1 YDI code structure 85-86
6.2 YDI in μC / OS-II on the transplant 86-91
6.3 illustrate some of the problems 91-93 < br /> 6.4 Summary 93-94
Chapter VII Conclusion 94-95
7.1 Full Summary 94
7.2 topics for further research 94-95
Thanks 95-96
References 96-98
during my study research 98-99
research situation 98
papers 98-99
Related dissertations
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Microprocessor Protection Algorithm Based on HHT and Its Platform Development
- Study on Embedded Sleep Monitor and Alarm System
- 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
- 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
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- Design and Application of Real-time Dam Deformation Monitoring Instrument