期刊文献+

提高μC/OS-Ⅱ在ARM上执行效率的几种方法

Some Methods for Promoting Execution Efficiency of μC/OS-Ⅱ on ARM Platform
下载PDF
导出
摘要 μC/OS-Ⅱ的执行效率主要取决于任务切换时间,而任务切换时,需进行堆栈操作.ARM处理器有多种运行模式,每种运行模式有不同的堆栈,这使得在ARM处理器上实现任务切换有其特殊性,本文利用ARM处理器在任务切换时堆栈的变化特点,优化设计堆栈操作方式和运行模式转化方式,以减小任务切换时间.实验结果表明该方法比其它实现方法具有更高的实时性.同时,本文采用在ARM上实现可重入中断来减少高优先级任务切换时间. The executing efficiency of μC/OS-Ⅱ mainly depends on task swap time, and it needs operate stack during task swap. ARM MCU has multi-executing-mode, and there is distinct stack for each mode, so there is particularity in implementing task swap on ARM platform. The paper optimized the stack operation pattern and executing-mode transform pattern according to the characteristic of stack operation during task swap on ARM platform, in order to reduce the task swap time. The experiment result showed that this method had advantage over the others. Furthermore, the paper realized the reentrant interruption on ARM platform, in order to reduce the task swap time for high priority tasks.
出处 《电子器件》 CAS 2007年第4期1451-1454,共4页 Chinese Journal of Electron Devices
基金 天津市应用基础研究计划项目支持(06YFJMJC00200) 天津市高等学校科技发展基金项目支持(20051518) 南开大学创新基金支持
关键词 μC/OS-Ⅱ ARM 实时性 μC/OS-Ⅱ ARM real-time
  • 相关文献

参考文献6

二级参考文献9

  • 1JeanJ.Labrosse 邵贝贝译.嵌入式实时操作系统UC/OS-Ⅱ[M].北京航空航天大学出版社,..
  • 2周立功.ARM微控制器基础与实战[M].北京航空航天大学出版社,..
  • 3Application Note 48: Scatter Loading.http:∥www.arm.com/pdfs/DAI0048A_scatterload.pdf.
  • 4郑宗汉.实时系统软件基础[M].北京:清华大学出版社,2002..
  • 5杜春雷.ARM体系结构与编程[M].北京:清华大学出版社,2002..
  • 6周立功,等.ARM微控制器基础与实验[Z].广州周立功单片机发展有限公司,2003,8.
  • 7JEAN J.LABROSSE.uC/OS-Ⅱ:the Real Time Kernel[M]. 绍贝贝译.北京:中国电力出版社,2001.
  • 8ARM Limited Corporation. ARM Developer Suite Version 1.2 Developer Guide[Z].Camb:ARM Limited Corporation,1999-2001.
  • 9毛德超,胡希明.嵌入式系统采用公开源代码和StrongARM/XScale处理器[M].杭州:浙江大学出版社,2003.

共引文献66

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部