开始学习RTX51 Tiny

来源:互联网 发布:小米2s刷windows 编辑:程序博客网 时间:2024/06/05 01:31

      今天顺利离开学校回到家里,拖着疲倦的身体思考着如何度过这个暑假,我需要有一个确切可行的计划,我觉得现在还是把以前学的东西整理一下。打开行李箱发现很多很多可怜的AT89S52芯片,因为学了更强大的AVR,51受到了冷落,想想还是救救这些可怜的芯片吧。该怎么拯救呢?我得找个没弄过的东东,最近对操作系统比较感兴趣,那就不如在51上移植一个实时多任务操作系统。之前我知道有RXT51这个东西,只是对他没怎么留意,后来就忘了,今天就开始学习学习一下吧。

        我找到Keil的帮助文件,因为RXT51是keil公司出的,帮助文件应该有介绍。结果确实如此而且非常的详细,还有一些工程例子,学习很方便,还是E文的。先看一段介绍:

       

      RTX51 Tiny is a real-time operating system (RTOS) which allows you to create applications that simultaneously perform multiple functions or tasks. This is often required in an embedded application. While it is certainly possible to create real-time programs without an RTOS (by executing one or more functions or tasks in a loop), there are numerous scheduling, maintenance, and timing issues that an RTOS like RTX51 Tiny can solve for you.

A real-time operating system (RTOS) allows flexible scheduling of system resources, like the CPU and memory, and offers communication between tasks. RTX51 Tiny is a powerful RTOS that is easy to use and that works with all 8051 derivatives.

      RTX51 Tiny programs are written using standard C constructs and compiled with the Keil C51 C Compiler. Additions to the C language allow you to easily declare task functions without the need for complex stack and variable frame configuration. RTX51 Tiny programs require only that you include a special header file and link the RTX51 Tiny library into your program.

 

 

        以后我会把学习的一些心得写下来,还有就是以前改造的智能风扇用这个系统升级一下,据老妈反映原来的版本运行不了了,看了一下估计是红外部分出了问题。我可能再弄一个用AVR升级。

原创粉丝点击