摘 要
随着计算机技术的迅速发展和芯片制造工艺的不断进步,嵌入式系统的应用日益广泛:从民用的电视、手机等电路设备到军用的飞机、坦克等武器系统,到处都有嵌入式系统的身影。在嵌入式系统的应用开发中,采用嵌入式实时操作系统(Real Time Operating System简称RTOS)能够支持多任务,使得程序开发更加容易,便于维护,同时能够提高系统的稳定性和可靠性。这已逐渐成为嵌入式系统开发的一个发展方向。嵌入式操作系统具有通用操作系统的基本特点,如能够有效管理越来越复杂的系统资源;能够把硬件虚拟化,使得开发人员从繁忙的驱动程序移植和维护中解脱出来;能够提供库函数、标准设备驱动程序以及工具集等。与通用操作系统相比较,嵌入式操作系统在系统实时高效性、硬件的相关依赖性、软件固态化以及应用的专用性等方面具有较为突出的特点。此次设计就是使用单片机,利用嵌入式实时操作系统,发出方波的同时,实现多任务的工作。
关键词:嵌入式、嵌入式实时操作系统、多任务、单片机
ABSTRACT
With the rapid development of computer technology and chip manufacturing process of continuous improvement, the application of embedded systems increasingly widespread: from civilian television, cell phones, and other military equipment to the circuit aircraft, tanks and other weapons systems, embedded systems. In embedded systems application development, using real-time operating system to support multi-task, making the development process easier, easy to maintain and enhance the stability and reliability. This has gradually become embedded systems development as a development direction. Embedded operating system is the fundamental characteristics of common operating systems, such as to effectively manage increasingly complex system of resources to the virtual hardware, enables developers from the busiest driver in transplantation and maintenance extricate themselves; able to provide the function, Standard device drivers and tool sets, and so on. Compared with the common operating systems, embedded systems in real-time operating system efficiency, the relevant hardware-dependent, software and application of solid-state dedicated and so has a more prominent feature. The design is the use of SCM, using embedded real-time operating system, a square wave at the same time, multi-task to achieve the work.
Key words:Embedded, embedded real-time operating system, multi-task, SCM
目 录
摘 要 2
ABSTRACT 3
第一章 前言 6
1.1 课题的背景 6
1.2 关于RTOS系统 6
1.2.1 RTOS介绍 6
1.2.2 RTOS的基本特征 7
1.2.3 RTOS的重要概念 8
1.3 研究课题的意义及目的 8
1.4 设计任务及要求 9
第二章 总体方案确定 9
第三章 硬件电路设计 10
3.1 单片机的选择 10
3.2 SM8952A原理图 14
第四章 系统软件设计 15
4.1 应用系统开发 15
4.1.1 KEIL C51 15
4.1.2 RTX51实时多任务操作系统 51
4.1.3 Salvo 实时多任务操作系统 58
第五章 系统调试 64
第六章 结论 67
参考文献 67
附 录 68
致 谢 76
第一章 前言
1.1 课题的背景
嵌入式系统是指操作系统和功能软件集成于计算机硬件系统之中。简单的说就是系统的应用软件与系统的硬件一体化,类似与BIOS的工作方式。具有软件代码小,高度自动化,响应速度快等特点。特别适合于要求实时的和多任务的体系。嵌入式实时操作系统应用十分广泛,包括数据通信、信息家电、航空航天、工业控制、生物医学电子、船舶工程、计算机外设、电信设备、交通运输、国防武器控制等领域,已经形成IT产业争夺的重点领域,在嵌入式系统开发中使用嵌入式实时操作系统已成为一种不可逆转的潮流与时尚。嵌入式操作系统是一种支持嵌入式系统应用的操作系统软件。它是嵌入式系统(包括硬、软件系统)极为重要的组成部分,通常包括与硬件相关的底层驱动软件、系统内核、设备驱动接口、通信协议、图形界面、标准化浏览器Browser等。

您当前的位置:
