Based uc/os- Ⅱ real-time operating system kernel generic research
- Author
- WangWenGong
- Advisor
- YangYinGen
- School
- Jiangxi Normal University
- Major
- Computer System Architecture
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 75
- Citations
- 2
Abstract
With the rapid development of consumer electronics , embedded technology will undoubtedly become one of the 21st century the hottest profession , its application almost everywhere. At the same time due to the application of products in these areas escalating functional strength to strength , so that the original microcontroller-based consumer products increasingly difficult to meet consumer needs, and based on embedded operating system for embedded microcontroller products just to make up the deficiency . Therefore, the real-time operating system of a good practical significance. This article describes the uc / os-II on the basis of how to build a kernel with a certain ability to interact with a common real-time operating system , combined with the actual work on building a common real-time operating system has done a detailed elaboration. Firstly, through a comparison of several real-time operating system , revealing choose uc / os-II as the research object causes and its internal mechanism were analyzed ; secondly describes how a real-time operating system kernel ported to the specified chip and how to conduct real-time operating system based on this expansion of the function and application development ; once again described in detail in a successful transplant kernel has some versatility to build a real-time operating systems , mainly related to the construction of the file system , peripherals and drivers to achieve , the graphical user interface, and other aspects ; instance again through the set-top box that describes how to build real-time operating system to complete the application development ; Finally, this paper summarizes the research findings and deficiencies, propose further research topics outlook and prospects .
Table of contents
Abstract 3-4
Abstract 4-8
first chapter 8-12
1.1 embedded operating system concepts 8
1.2 embedded operating system, applications, advantages and disadvantages 8-9
1.3 embedded operating system developed sense 9-10
1.4 of this topic to do the work and structure of the paper 10-12
Chapter II embedded operating system migration 12-23
2.1 Several open source embedded operating system performance comparison 12-17
2.1.1 three kinds of open-source embedded operating system introduced 12-13
2.1.2 Performance Comparison 13-16
2.1. 3 summarizes 16-17
2.2 uc / os-II specific migration process 17-23
2.2.1 Set os_cpu.h with the processor and compiler-related code 18-19
2.2.2 c language 6 operating system-related functions (OS_CPU_C.C) 19-20
2.2.3 assembler language 4 a processor-related functions (OS_CPU_A.ASM) 20-23
Chapter III of the file system expansion 23-36
3.1 File System Introduction 23 -30
3.1.1 FAT file system structure 23-27
3.1.2 disk structure 27-29
3.1.3 Flash disk FAT structure 29-30
3.2 file system implementation process 30-34
3.3 file system API functions related functions 34-36
3.3.1 initOSFile 34
3.3.2 OpenOSFile 34
3.3.3 ReadOSFile 34
3.3.4 LineReadOSFile 34
3.3.5 WriteOSFile 34-35
3.3.6 CloseOSFile 35
3.3.7 GetNextFileName 35
3.3.8 ListNextFileName 35-36 < br /> Chapter peripheral expansion 36-44
4.1 serial port 36-37
4.1.1 Uart_Init 36
4.1 .2 Uart_Printf 36
4.1.3 Uart_Getch 36-37
4.1.4 Uart_SendByte 37
4.2 LCD driver 37 - 39
4.2.1 LCD module 37
4.2.2 LCD module control 37
4.2.3 LCD Driver Interface 37-38
4.2.4 Touchscreen driver interface 38-39
4.3 USB communication module interface 39-40
4.3.1 USB related API functions 39
4.3.2 USB Connection example 39-40
4.4 keyboard driver 40
4.4.1 GetKey 40
4.4.2 SetFunctionKey 40
4.4.3 GetNoTaskKey 40
4.5 network-related components 40-44
4.5.1 Network related structures 40 - 41
4.5.2 network-related functions 41-44
Chapter graphical user interface implementation 44-59
5.1 Unicode-based Chinese character 44-48
5.1.1 Unicode Introduction 44
5.1.2 Advantages of using Unicode 44-45
5.1.3 characters are stored 45
5.1.4 write a Unicode program 45-46
5.1.5 Unicode Fonts extraction 46-48
5.2 Unicode font correlation function 48-49
5.2.1 Int2Unicode 48
5.2.2 Unicode2Int 48
5.2.3 strChar2Unicode 48-49
5.2.4 UstrCpy 49
5.3 basic drawing functions 49-59
Chapter other utility applications interface implementation 59-65
6.1 doubly linked list of related API functions 59-60
6.2 system time-related API functions 60-61
6.3 system graphics-related API functions 61-64
6.4 system boot time correlation function 64
6.5 System Accessories tasks related functions 64-65
Chapter VII of the cable set-top boxes based on embedded system design 65-74
7.1 System Design Requirements Analysis 65
7.2 system module design 65-66
7.3 system software design and implementation 66 -67
7.4 other driver module 67-74
7.4.1 wireless remote control module 67-71
7.4.2 hard disk interface module 71 - 74
Chapter VIII Conclusion 74-76
8.1 This work summarizes 74
8.2 Prospects 74-76
References 76-79
published during the master's degree thesis 79-80
Thanks 80
Related dissertations
- The Application and Research of the Embedded Database SQLite3Based on the Digital Set Top Box
- Household Integrated Services Terminal Technology
- Based on ARM Embedded System Application Platform Research and Design
- Based on DVB-T set-top box system front-end design and implementation
- Meet the real-time operating system OSEK automotive research
- Based on the DVB-T STB STb7100 Software System Research and Implementation
- Effects of the Multi-National Corporation to China embedded industrial agglomeration
- The Remote Wireless Control System Based on ARM Processor
- The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
- Engine Room Monitoring System Based on the Embedded Web Server
- Rearch on Intelligent Monitoring Technology That Access to Internet
- Design of Indoor Environmental Quality Monitoring System Based on ARM
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Design and Implementation of Intelligent Network Dome Based on DaVinci Technology
- 3G Agricultural Experiment Station of intelligent design and development of remote monitoring system based on
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
- Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
- Design and Implementation of Video Capture System Based on Embedded Technology