Font Size: a A A

Porting μC/OS-II To The 56800-series DSP

Posted on:2007-02-02Degree:MasterType:Thesis
Country:ChinaCandidate:M XieFull Text:PDF
GTID:2178360185459819Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
Embedded systems have been widely applied in the national defense, industry, transportation as well as our daily life. Embedded software is getting much more complex than ever thanks to the implementation of more intelligent and powerful functions. With the EOS (Embedded Operating System), the development of embedded systems can greatly quicken the time-to-market, lower the development cost. Embedded RTOS (Real-Time Operating System) supports the development of real-time embedded software, and is expected to be a top choice for embedded software development.As a small footprint, fully open source, reliable and robust, task-priority-based preemptive embedded real-time operating system kernel,μC/OS-II has been successfully applied in many small- or medium-scale commercial embedded systems.Freescale 56800-series DSP (Digital Signal Processor) combines the strengths of both DSP and MCU (Microcontroller), and is a high-performance, low-cost 16-bit DSP. 56800-series DSP has found a way in many industrial applications such as motor control, power supply control, long-distance metering, and automation, to name a few. PortingμC/OS-II to 56800-series DSP is for sure of significance to a wide array of industrial applications.By working around the hardware platform of Freescale DSP56F807 EVM (Evaluation Module), this paper analyzes the real-time kernel ofμC/OS-II, studies the porting ofμC/OS-II to DSP56F807, then implements the MSCAN building block, and finally conducts the test-and-trial of the porting. The paper is organized as follows:Chapter 1 starts with the definitions of embedded real-time system and RTOS, and follows the illumination of RTOS functions. The state-of-art and further development trend is also covered. The chapter is concluded with the introduction of the major contents and the research objectives of this paper.In chapter 2, some key concepts related withμC/OS-II kernel is described in details, such as task states and state-transition, task management and scheduling, time management, inter-task communication and synchronization, interrupt and clock tick. The cons and pros ofμC/OS-II are also listed. And a new strategy is proposed to improve the task-scheduling.Chapter 3 is devoted to the analysis of the kernel structure of DSP56F807, and the introduction of the instruction system and the interrupt mechanism.Chapter 4 begins with the feasibility analysis of portingμC/OS-II to 56800-series DSP, and then introduces how to analysize, design, and implement the porting.Chapter 5 analysizes the serial communication interface module (MSCAN) in DSP56F807, introduces the design of the building block of MSCAN, and ended with the test and usage of MSCAN.Chapter 6 summarizes the paper and suggests some proposals on further effort.
Keywords/Search Tags:Embedded system, RTOS, μCOS-II, DSP56F807, MSCAN
PDF Full Text Request
Related items