The Embedded System Based on μC/OS-Ⅱ
- Author
- GuoJiangHong
- Advisor
- ChengMingZuo
- School
- Taiyuan University of Technology
- Major
- Computer Applications
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 407
- Citations
- 11
Abstract
The situation of the rapid development of the information age , a combination of computer technology , communication technology and the wide application of the Internet , as the post-PC era , 3C-(Computer, Communication, Consumer) , one trend has been formed , and the results the inevitable is the rapid development of information appliances . Increasing functionality required in the field of application development of information appliances , embedded systems will become the new darling ; become the new trend of the development of the computer itself inside the area at the same time , miniaturization and specialization also need the support of embedded systems . Therefore, the study of embedded systems technology has a very important practical significance . The paper discusses in detail the research done by the author during the master's degree thesis work in the embedded systems based on μC/OS- Ⅱ , mainly around the core of the μc/OS- Ⅱ system and its development discussions . Text is divided into six chapters , the first chapter of the concept of embedded system and its development process to make representations ; chapters Introduction of the basic principles of the embedded system and analyze the system kernel μC/OS- Ⅱ specify its time how to achieve the basic functions of management, task management , inter-process communication , memory management ; Chapter will elaborate on some of the building blocks of development μC/OS- Ⅱ prepared principle implementations ; Chapter Description μC / OS-Ⅱ how to transplant to the 80x86 processors , and kernel programming test ; put forward their views on the development of the present study .
Table of contents
The first chapter the the 9-14
embedded system history, the present and the future 9-10
embedded systems products at home and abroad, the level of the status quo and development trend the 10-13
(1) related products, the level of the status quo and development trend of international 10-12
(2) the domestic related products, the level of status and technological development trend 12-13
3 paper tissue introduced 13-14
Chapter II embedded real-time systems Introduction 14-37
1 embedded processor requirements 14-15
2 RTOS requirements 15-17
(1) RTOS concept 16
(2) RTOS classification method 16-17
(3) RTOS measure standards 17
task 17-20
(1) multitasking 18-19
(2) task switching 19-20
4 task priority the classification 20-23
(1) priority 20
(2) priority inversion 20-22
(3) task priority assignment 22-23
5 interrupt 23-27 < br /> (1) interrupt latency 24-25
(2) interrupt response 25
(3) interrupt recovery time 25-26
(4) interrupt processing time 26-27
mutex 27-30
(1) disable interrupts and open interrupt 27-28
(2) test set 28
(3) prohibit, and then allow task switching the 28-29
(4) semaphore (Semaphores) 29 - 30
7 inter-task communication the message mailboxes (Message Mail boxes) nbsp 30-33
(1); 31-32
(2) message queue (Message Queue) 32-33
8 memory demand the 33-34 September
RTOS Summary 34-37
Chapter μC/OS- Ⅱ kernel analysis 37-66
task management 37-48
(1) the establishment of the task, OSTaskCreate () 39-42
(2) task Stack 42
(3) stack test, OSTaskStkChk () 42-44
(4) delete task OSTaskDel (), 44-45
(5) Change the task priority OSTaskChangePrio () the 45-46
(6) the task suspend and restore 46-47
(7) mission-ready table 47-48
2 memory management the 48-53
(1) memory control block 49-50
(2) to create a memory partition, OSMemCreate () 50-51
(3) allocates a block of memory OSMemGet () 51-52
(4) the release of a block of memory, OSMemPut () 52-53
3 time management the the 53-56
(1) task delay function, OSTimeDly () 53
(2) on time every minute delay function OSTimeDlyHMSM () 53-54
(3) the end the delay - OSTimeDlyResume () 54-55
(4) of the system time, OSTimeGet () and the OSTimeSet () 55-56
between 4 task communication and synchronization the 56-66
(1) event control block of the ECB (Event Control Blocks) 56-57
(2) semaphore 62
(4) the 57-62
(3) mailbox message queue 62-66
Chapter the embedded component 66-81
clock management module 66-69
(1) clock / calendar 66-67
(2) internal structure and interface functions 67-69
2 asynchronous serial communication 69-81
(1) RS-232C and RS-485 70
(2) receive data nbsp 70-74
(3) data transmission; 74-76
(4) on the PC machine serial port 76-77
(5) low-level PC serial I / O module the 77-80
(6) buffered serial I / O module (COMMRTOS) 80-81
fifth Zhang μC/OS- Ⅱ in a 80X86 the transplant 81-107
1 INCLUDE.H file the CPU header file 82
82-86 < br /> (1) data types the code critical area of ??the 84
(2) 84-85
(3) stack growth direction of its initialization 85 -86
(4) the frequency of the clock beat 86
the the CPU relevant procedures OS_CPU_A.ASM 86-94
(1) run the highest priority ready task OSStartHighRdy () The 86-88
(2) the task switching function OSCtxSw () The 88-90
(3) interrupt switching function OSIntCtxSw () 90 - 92
(4) beat the clock function OSTickISR () on 92-94 April
OS_CPU_C.C the the initialization task stack OSTaskStkInit of 94-97
(1) ( ) 95-97
transplant results test: 97-101
(1) system load: 98
(2) the initial of the 98-100
(3) to establish a project 100-101
part of the test code illustrates nbsp 101-107
(1) the main function ; 101-102
(2) TaskStart () function pseudo code the 102-104
(3) task the 104-105
(4) task 4 105-106
(5) task 5 106-107
Chapter Summary and Outlook to References 107-109
109-112
Acknowledgements the papers nbsp 112-113
pursue a degree; 113
Related dissertations
- Analysis and Design on Elevator Intelligent Control System
- The Research and Implement of Hardware/Software Co-design Platform Based on SOPC
- Embedded angle synchronous machine test system design and implementation
- Based on μC/OS- Ⅱ brushless DC motor control technology research
- Windows CE-based automotive multimedia systems design and driver development
- The Development of the Gateway in Networked Digital Home
- Research on Key Techniques of the NC System for Micro-injection Tag Machine
- Design and Implementation of Embedded Video Encoding System with Network
- The Design and Implementation of Wireless Transport Station Based on Campus Card Data Acquisition System
- The Kernel Analysis and the Porting Based on ARM of Embedded Operating Systems
- Research on Governance Mechanism of Membership-based Golf Club in China
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- Design and Implementation of Control System for Stabilized Platform Based on Embedded System
- Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
- Study on the Mechanical System and the Key Technology of the Stair Climbing Robot Which Can Omnibearing Walk