Porting μC/OS-II to the 56800-series DSP
- Author
- XieMin
- Advisor
- LiQiaoLiang
- School
- Nanjing University of Aeronautics and Astronautics
- Major
- Mechanical and Electronic Engineering
- Classification
- TP315 Management procedures,management systems
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 213
- Citations
- 2
Abstract
Embedded systems are widely used in the field of national defense, industry, transport, energy, information technology and everyday life. With the increase in the intelligence requirements of the embedded application system and its functions, embedded software has become more and more complex, with the help of EOS (Embedded Operating System, embedded operating system) can effectively shorten the product development cycle and reduce development costs. Embedded RTOS (Real-Time Operating System, real-time operating system) to support the development of high real-time embedded applications, will be inevitable trend of development of embedded software systems. μC / OS-II source code is a priority-based preemptive embedded real-time operating system completely open, compact, stable performance, and has been successfully applied to many small and medium commercialization system. The Freescale 56800 Series DSP is the characteristics of DSP and microcontroller features high-performance low-cost 16-bit digital signal processor, has been widely used in motor control, power control, remote instrumentation, automation and other fields. Transplant μC / OS-II to the 56800 series a DSP has a broad meaning. In this paper, based on Freescale DSP56F807 EVM hardware platform, and conducted in-depth analysis of the μC / OS-II real-time kernel, the μC / OS-II the transplantation in the DSP56F807 on the process and based DSP56F807 and uC / OS-II of the MSCAN communication and components design, and complete the transplant and testing of the μC / OS-II. The paper is organized as follows: The first chapter gives a definition of embedded real-time systems and real-time operating system (RTOS), RTOS functions, discussed the situation and development trend of the development of the RTOS, concludes this study and the significance of . Chapter II μC / OS-II kernel analysis, the state and the conversion of a detailed explanation of the task, the task management and scheduling, time management, inter-task communication and synchronization, and interrupt and beat the clock principle of μC / OS-II real-time kernel advantages and disadvantages, and put forward an improved method of μC / OS-II task scheduling strategy. Chapter the DSP56F807 kernel structure were analyzed, and describes the instruction set and interrupt mechanism. Chapter μC / OS-II feasibility of transplanting, μC / OS-II to the the DSP56F807 transplant process analysis, design and implementation. The fifth chapter analyzes the the DSP56F807 Serial communication interface module (MSCAN) and completed based on μC / OS-II MSCAN communication and component design, the MSCAN component testing and use. Chapter VI of research, summarized, and the idea of ??further research and development.
Table of contents
The first chapter 10-19
1.1 Overview of embedded systems; nbsp 10-14
of 1.1.1 embedded real-time systems concept 11-13
1.1.2 real-time operating system (Real-Time Operating System RTOS) 13
1.1.3 embedded operating system (Embedded Operating System, EOS) application 13-14 <br / > 1.2 RTOS development Overview 14-18
1.2.1 embedded operating system development stage; nbsp 14-15
1.2.2 foreign the embedded RTOS Profile 15 -16
1.2.3 domestic embedded RTOS The Introduction 16-18
1.3 of this paper and the significance of 18
1.4 Chapter Summary 18 Chapter II -19
uC / OS-II's architecture and kernel 19-35
In 2.1 kernel structure 19-20
the 2.2 critical region 20
2.3 C / OS-II task status and control 20-23
2.3.1 Task Status conversion 20-22
2.3.2 task management and task of the task control block (Task Control Blocks, OS_TCBs) 22
2.3.3 task ready (Ready List) 22-23
2.4 ΜC / OS-II scheduling 23-28
2.4.1 uC / OS-II task management in <br 24-25 /> 2.4.2 uC / OS-II task scheduling 25
2.4.3 Task Scheduling Algorithm and the uC 25-27
2.4.4 uC / OS-II real-time analysis; nbsp 27-28
2.5 OS- II task communication and synchronization 28-32
2.5.1 uC / OS-II event control block 29-31
2.5.2 semaphores (semaphores) 31-32
2.5.3 E-mail and message queues 32
the 2.6 interrupt clock ticks 32-33
2.7 time management 33
2.8 memory management 33-34
2.9 C / OS-II initialization and start 34
2.10 Chapter Summary 34-35 <br / > a DSP56F807 Chapter architecture 35-40
the 3.1 FREESCALE DSP56800 Series Introduction 35-36
3.2 on DSP56F807 Architecture Overview 36-38
3.3 on DSP56F807 of the instruction 38-39
3.4 Chapter Summary 39-40
Chapter C / OS-II transplantation 40-53 < br /> 4.1 uC / OS-II of transplantation Overview 40
4.2 C / OS-II to DSP56F807 transplant Design and realization 40-52
4.2.1 uC Feasibility Analysis / OS-II portable 40
OS_CPU.H 4.2.2 file 40-43
4.2.3 OS_CPU_C.C file 43-44
4.2.4 OS_CPU_ of A.ASM 44-52
4.2.5 application code; 52
4.3 transplant system test 52
4.4 This chapter Summary to Chapter 52-53
uC / OS-II and the DSP56F807 CAN communication to achieve 53-73
5.1 on DSP56F807 MSCAN module 53-65
5.1.1 MSCAN Overview; nbsp nbsp 53-54
5.1.2 MSCAN module structure; 54-55
of MSCAN 5.1.3 the set 55-64
5.1.4 MSCAN data transmission and reception 64-65
5.2 real-time kernel uC / OS-II under the MSCAN component design and communication; nbsp 65 -72
5.2.1 MSCAN Component Design Overview 65-66
5.2.2 real-time kernel ring buffer based the CAN data transceiver analysis and design 66-72 <br / > 5.3 MSCAN component test 72
5.4 Chapter Summary 72-73
Chapter VI Conclusion 73-75
reference literature 75-77
Acknowledgements 77-78
in the school during the research and published papers 78-79 the
dissertation Appendix part 79-81
Related dissertations
- 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 Research and Implementation of Real-time Operating System Based on DSP
- Embedded System Architecture Research and Development
- Research and Development of the Portable Data Acquisition and Analysis Instrument Based on SoC and RTOS
- Research of μC/OS-Ⅱ Application Based on ARM
- Research on Platform of Protective Relay Based Real-Time Operating System
- μC/OS- Ⅱ kernel and its application in the bill on recognition of
- μC / OS-II in the transplant system C8051F MCU and applied research
- ARM-based μC / OS-II real-time synchronous sampling transplantation and research
- 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
- The Research of Embedded Web Sensor Node