摘要
介绍了将实时内核μC/OS-II移植到DSP控制器TMS320LF2407A上所作的移植工作。讨论了临界区代码保护、任务切换以及2407的软堆栈等问题。分析了μC/OS-II的任务堆栈使用机理,指出了其中占用较多RAM的缺陷,并提出了针对该缺陷的优化方法。
This paper introduced the works for porting the real time kernel μC/OS- Ⅱ on the DSP controller TMS320LF2407A. The problem of the protection for critical code, task switch and the software stack of the 2407 are discussed. The mechanism on which the μC/OS-Ⅱ uses the task stack is analyzed, then the limitation of using much RAM is pointed out and finally the optimizing methods for this limitation are produced.
出处
《微计算机应用》
2006年第2期232-234,共3页
Microcomputer Applications