Skip to Main Content
Today, more and more Electronic Control Units have been installed in vehicle, and Controller Area Network is one of the most widely used networks to connect these ECUs, also the architecture of OSEK is increasingly employed into the design of individual ECU and the network. In this paper, we propose a new framework to design the ECU with limited-storage-space. In the framework, an infinite cycle acts as a mainframe, and the code conforming to OSEK NM is inserted into the cycle. A siren of vehicle is developed with this method, and a Hardware-In-Loop test is accomplished. The results show that the framework is available, and the real-time performance of the siren is satisfied.