实时多任务操作系统RTX-51 TINY的应用 实时多任务操作系统RTX-51 TINY的应用- 下载
|
51上运行的实时操作系统,该文档对其进行详细的介绍,还提供了许多例子!对于想在51上实现简单的多任务系统,不需要自己嵌入,因为keil工具中已经有了内核-51 running real-time operating systems, the documentation for its detailed descriptions, it also provided many examples! For the 51 to achieve a simple multi-tasking system, not embedded themselves, because Keil tools have kernel 下载
|
从结构上来说,实时多任务操作系统包括两部分,一部分为操作系统内核(kernel),即实时执行程序(Real Time Executive:RTX),另一部分是输入输出部分(I/O)(注意开发系统不属于操作系统的范畴);嵌入式系统对I/O的需求通常比较小(无文件系统需求),因此很多实时多任务操作系统本质上就是一个实时执行程序,如AMX(Kadak),VRTX(Microtec),iRMX(Intel)等(这里的X即:eXecutive),如果纯粹从kernel的角度来考察目前流行的各种实时多任务操作系统的性能,它们的效率差别都不大。 在市面上可以得到一些RTX的源代码(有用C实现的,有用汇编实现的,还有用PL/M语言实现的),从internet上也可以荡一些下来(我介绍一个站点www.eg3.com,堪称世界电子工程师资源宝库),下面我要介绍的一个RTX版本(我命名为SRTX:short RTX),可以说是RTX中的元老级产品了,来自某研究所,九十年代初他们到美国考察,从美国某公司购得。五年以前,SRTX在国内有售,许多搞工控的研究所利用SRTX开发了一些大型或小型的产品,这里介绍的SRTX我作了一些简化和改动. - 下载
|
Point RTOS 主要是一个针对小系统开发而设计的实时操作系统。 目前,Point RTOS 仅提供对51系列及其扩展系统单片机的支持, 针对51内核函数不能重入以及51单片机的内存空间管理方式等因素, RTOS放弃了抢先式内核的调度,而使用了时间片的调度方式,除非任务主动放弃, 否则任务将独占CPU一直运行,因而任务中必须完成对本次操作的时间片设置,即等时间的设置。- 下载
|
/*看大家都在学操作系统,我也想学学。所以想用51写一个来玩玩,发现比较郁闷。 弄了几下,不想再弄了,51弄这个没啥意思。我用的89S52,除了速度慢,RAM资源 太少之外,其它都还过得去。弄了一点代码出来,放在那也没啥用,不如拿上来 给新手看看,一个任务调度的雏形是什么样子的~~~~~~~~~这些代码没有经过优化, 我只求实现任务切换的功能。 利用定时器2产生10mS的定时中断作为时钟节拍,任务切换时保存工作寄存器等操作 嵌入了汇编指令,因此Task_Switch.C文件要做相应的设置才能编译通过。受硬件资源和编译器的限制,有很多无奈。程序只好这样写了,不管怎么说,到底是能调度起来了。 注:这里是老版本,后面又改动的新版本。-/ * see everyone in school operating systems, I also want to learn. So I would like to use 51 to write a play and found to be relatively depressed. Get a few, do not want to wander and get the 51 lacks meaning. I use the 89S52, in addition to the slow speed, RAM too few resources, the other is still decent. Get a bit code and placed it also lacks used, it is better to put up with the newcomers to see, a task scheduling is a prototype of what the code of ~~~~~~~~~ without optimization, I want to achieve task switching function. Use timers 10mS two have regularly interrupted as the clock rhythms, task switching preservation register as a compilation of embedded operating instructions, therefore Task_Switch.C document to be done to set up the corresponding compile. By hardware resources and c 下载
|
本书以Keil 公司最新版本的C51 编译器为核心,阐述了在Windows 环境下采用单片 机高级语言C51 进行应用系统程序设计的基本原理和方法,详细介绍了Keil C51 的 Windows 集成开发环境Vision 51 和软件仿真器dScope51 的强大功能和具体使用方法。在 Windows 集成开发环境pVision 51 中,可以完成从源程序编写、编译、连接定位到目标文件 的仿真调试等的全部工作。dScope 51 是一种基于Windows 的多窗口软件仿真器,它可以在 完全没有8051 单片机硬件的情况下模拟调试各种应用程序,即使对单片机内部特殊集成功 能的编程,也可以找到对应的模拟窗口。 本书对最新版本C51 编译器新增加的控制命令作了全面介绍;给出了最新C51 运行库 函数及其应用范例;对Keil C51 的各种应用工具,如BL51 连接定位器、A51 宏汇编器、 LIB51 库管理程序以及OH51 符号转换程序等都作了详细介绍;还介绍了单片机实时多任务 操作系统RTX51 及其子集RTX51 TINY 的具体功能与应用方法。 本书强调先进性和实用性。全书各章列举了大量程序实例,并附赠一张配套光盘。因此 本书既适合广大从事单片机应用系统开发研制的工程技术人员的阅读,也可以作为高等工科 院校相应专业大学生或研究生的教学用书。-Keil book to the latest version of the C51 compiler at the core, described in the Windows environment using high-level language C51 microcontroller applications procedures for the basic design principles and methods introduced in detail Keil C51 integrated development environment for Windows 51 and Vision software simulator dScope51 the power and the specific use. Windows integrated development environment pVision 51, from source to be completed to prepare, compile, link positioning of the target file Simulation of the entire work. DScope 51 is a Windows-based multi-windows software emulation, it can no 8051 under the hardware simulation debugging various applications, even for special internal microcontroller integrated functional programming, can find the corresponding emulation window. 下载
|