摘要
针对汽车电子软件的复杂性、实时性和可移植性问题以及现有OSEK操作系统的开源性问题,基于OSEK操作系统规范(ISO 17356-3),采用面向对象的程序设计思想,从任务、中断、资源、事件、计数器和警报6个方面进行研究,利用32位PowerPC处理器的数出前导零数目指令cntlzw和软中断等,设计了一个具有可裁减性和可扩展性的汽车电子实时操作系统,并在MPC5554开发板上进行了操作系统的内核移植和性能测试。
This paper was concentrated on the complexity, real-time, portability of automotive electronics software and open source of popular OSEK operating systems. Based on OSEK OS specification (ISO 17356 3) and object-oriented programming concepts, this paper had a research from six aspects, including the tasks, the interrupts, the resources, the events, the counters and the alarms etc. It made use of the counting leading zeros word instruction cntlzw of 32- bit PowerPC and the software interrupts etc. It designed and implemented a real- time operating system of good scalability and extensibility for automotive electronics. Moreover, it finished the porting of the operating system kernel and the testing of the performance on MPC5554 board.
出处
《单片机与嵌入式系统应用》
2014年第7期20-23,共4页
Microcontrollers & Embedded Systems
基金
部委基础科研项目(项目编号:DEDP1004)