摘要
介绍将μC/OS-Ⅱ实时操作系统移植到Coldfire处理器MCF52235上的方法,为MCF5223x系列微控制器的软件开发提供了一个实时操作系统平台。首先分析μC/OS-Ⅱ的特点和内核结构,结合MCF52235的结构特点以及使用的软硬件开发工具,深入研究移植条件和实现方法,详细阐述系统移植中需要修改的文件、编写的代码及需要注意的问题。然后使用Codewarrior 6.4集成开发环境和评估板,通过建立两个应用任务,验证了移植代码的正确性,说明在MCF52235上移植μC/OS-Ⅱ是成功和可行的。在此介绍的移植过程和方法可以作为μC/OS-Ⅱ在其他微控制器中移植的典型范例。
Transplanting μC/OS-Ⅱ to Coldfire MCF52235, a real -time operating system platform is provided for software development upon microeontroller MCF5223x. The characteristics and kernel structure of μC/OS-Ⅱ are analyzed. Conditions and implemenation of transplantation according to the structure of MCF52235 and software/hardware development tools are deeply researched,the files and the code need to be modified and the problems should be noticed are illuminated. The correctness of ported codes is validated by establishing two application tasks on evaluation board by Codewarrior 6.4 IDE. The results show that the tansplantation of μC/OS-Ⅱ on Coldfire MCF52235 is successful and feasible. The process and implementation of transplantation shall be a typical example for tansplantation of μC/OS-Ⅱ to other microcontrollers.
出处
《现代电子技术》
2010年第6期29-33,共5页
Modern Electronics Technique