摘要
在嵌入式开发中,嵌入式操作系统的应用是重要的一环。文中对一种适用51单片机的实时多任务操作系统———RTX51 Tiny进行应用。首先从任务管理和内存管理的角度来分析该操作系统,在此基础上,用C语言编写应用程序traf-fic。应用实践得到以下结论:该操作系统的应用程序启动简单,没有操作系统的启动过程;短小精悍,代码不足50行;运行可靠,仿真、硬件运行结果充分证实了这一点。从而得到RTX51 Tiny操作系统对任务和堆栈管理的有效性及其代码精简和运行可靠的基本特点。
The utilization of the embedded operating system is an important step in the development of the embedded system. A RTOSRTX51 Tiny which is adapted for 51 single- chip computer is applied, The OS is designed for two purposes. task management and RAM management. On the basis of it, an application program traffic is edited with C. A program is given to examine its validity. The successful running of program adequately testify the two functions of the OS, it gives a powerful management of CPU and RAM. The paper shows that RTX51 Tiny has following characters:it is effective to task management,the codes are simple and it has reliability in operation.
出处
《计算机技术与发展》
2006年第6期89-91,94,共4页
Computer Technology and Development