摘要
传统的嵌入式系统软件设计中广泛采用单任务顺序机制,它带来的重要问题是编程复杂,同时系统的稳定性较差。为此,引入了UCOS-II实时操作系统来对多任务进行管理与调度,实践证明该系统对多任务的管理和调度有着卓越的性能和稳定性。本文成功将该系统运用于数码相框系统,详细描述了UCOS-II操作系统在ZEVIO 1020双核处理器的移植过程,并且对于多任务的调度处理,设计了基于两级状态机的通信机制,解决了多任务之间消息处理复杂性的问题,最后给出了系统的实现过程。
Single task sequential computations are widely used in traditional embedded system software design.However it also bring the problem of complication and lower system stability.Therefore,UCOS-II RTOS is applied in multitask management and scheduling.It is proved that RTOS has better performance and stability in multitask management and scheduling.UCOS-II RTOS is applied successfully in digital photo frame system in this paper.The porting of UCOS-II RTOS to ZEVIO 1020 is described in detail.A dual state machine communication mechanism is designed to deal with scheduling of multitask.It solves the complication of multitask messaging.The realization of the system is also provided.
出处
《自动化技术与应用》
2010年第8期36-39,共4页
Techniques of Automation and Applications