摘要
为有效地节省研发资源、缩短ECU研发周期,基于车用电控单元(ECU)的开发平台硬件,采用分层的思想将平台划分为驱动层、C/OS-II内核和应用层,用模块化的方法设计了底层驱动程序。通过分析移植C/OS-II对微处理器的要求,解决了将C/OS-II移植到MC9S12XEP100微处理器上的难题,并分析了移植中易出现的问题。创建了多任务程序并通过检查平台对多任务程序的调度,验证了移植工作的正确性,介绍了基于平台的应用层程序的设计方法。
To effectively save the development sources and shorten the development cycle,based on the hardware frame of the development platform about the car electric control unit(ECU),the development platform is divided into three layers(the driver layer,the C/OS-II kernel and the application layer) using the layered thinking.The driver layer is designed by the modular methods.The C/OS-II is successfully ported onMC9S12XEP100 by analyzing the requirements of porting C/OS-II on micro control unit(MCU) and the problems during the porting are also analyzed.The porting is validated by creating multi tasks and running these tasks on the platform.In addition, the methods of designing the application layers on the platform are presented.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第23期4988-4990,5146,共4页
Computer Engineering and Design
基金
江苏省软件和集成电路业专项经费基金项目(苏信软2006227)