開始學習RTX51 Tiny

      今天順利離開學校回到家裏,拖着疲倦的身體思考着如何度過這個暑假,我需要有一個確切可行的計劃,我覺得現在還是把以前學的東西整理一下。打開行李箱發現很多很多可憐的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升級。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章