Abstract:
In order to simplify the application program, the real-time operating system is utilized in the embedded system development. The method of transplanting μC/OS real-time kernel onto the Infineon XC164CS MCU is presented. Using the planted μC/OS kernel, the automotive door controller software is designed as an example. Four tasks that is window control, keyboard input monitoring, mirror control and watchdog are added to implement different tasks respectively. Test results verify that the kernel transplant is correct and effective.
Key words:
μC/OS-II kernel,
XC164CS MCU,
transplant
摘要: 为简化应用程序的编写,在嵌入式系统开发时采用实时操作系统平台,提出将μC/OS-II实时操作系统内核移植到Infineon XC164CS微控制器上的方法。以轿车车门控制器设计为例,应用已在XC164CS上移植的μC/OS-II内核,添加车窗控制、按键输入、后视镜控制和看门狗4个任务,测试结果证明了内核移植的正确性和有效性。
关键词:
μC/OS-II内核,
XC164CS微控制器,
移植
CLC Number:
LI Chang-Gang, HUANG Min-Jiang, ZHANG Cuan, HU Dun-Jie, LIU Yu-Tian, HONG Yong-Bin. Transplant Method of μC/OS-II on XC164CS[J]. Computer Engineering, 2010, 36(12): 242-244.
李昌刚, 黄敏江, 张昕, 胡俊杰, 柳玉甜, 汪永斌. μC/OS-II在XC164CS上的移植方法[J]. 计算机工程, 2010, 36(12): 242-244.