μC/OS-II移植中应注意的问题及移植技巧  

Several Issues and Skills In Porting μC/OS-II

在线阅读下载全文

作  者:廖传书[1] 李慧[1] 

机构地区:[1]武汉理工大学信息工程学院,湖北武汉430070

出  处:《电脑知识与技术》2005年第10期61-62,共2页Computer Knowledge and Technology

摘  要:μC/OS-II作为一种实时性、源代码公开的嵌入式内核,已经被移植到8位、16位乃至32位单片机上。由于μC/OS-II其自身的高稳定性和实时性,并且具有可固化、可剪裁的特点,已经在许多领域都得到了应用。本文不讨论移植代码编写的具体过程,而是以凌阳单片机SPCE061A为例着重讨论了在移植μC/OS-II前需要了解的几个基本问题以及在移植μC/OS-II的过程中,OSCtxSw()和OSIntCtxSw()两个函数的比较、任务堆栈的设计以及用户中断服务子程序的编写等三个应注意的问题和以及处理它们的技巧。As a real-time ,code-open embedded kernel, μC/OS-Ⅱ has already been ported in 8-bit、16-bit and 32-bit MCU. And it has been applied to many different fields for it is real-time and has high stability and can be solidified and clipped, This paper does not discuss how the code is written, but mainly discusses several basic problems you should know before porting the μC/OS-Ⅱ and three major issues which you should pay attention to when you begin porting it. The three issues are : differences between OSCtxSw0和OSIntCtxSw0、how to design the task stack and how to write ISR. The examples given are based on MCU SPCE061A.

关 键 词:μC/OS-Ⅱ 任务堆栈 中断服务子程序 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象