摘要
由于MCS-51系列微控制器存在着硬件堆栈小的结构缺陷,无法满足多任务环境下进行任务切换的需求,因此很难将uC/OS—II移植到MCS-51系列微控制器上。本文给出的"堆栈映射"方式很好的解决了这个问题。同时还对uC/OS—II移植过程中一些关键性问题给予了详细的论述。包括:uC/OS—II可移植的条件、内核配置和裁剪以及内核调试。
Because of the intrinsic hardware stack limitation which results in the incapacity of task switching under multi-task environment, it's difficult that transplant uC/OS-Ⅱ to MCS-51 architecture MCU. The paper designs and implements a method called "stack mapping" that can solve this problem effectively. The paper also illustrates particularly other key problems including transplant conditions, real-time kernel configuration and debugging.
出处
《微计算机信息》
北大核心
2007年第35期56-58,共3页
Control & Automation