Browse Publications Technical Papers 2001-01-0024

Connecting Simulink to OSEK: Automatic Code Generation for Real-Time Operating Systems with TargetLink 2001-01-0024

This paper describes how one further step towards integrating the complete software development process of embedded real-time systems in Simulink and Stateflow is achieved. Automatic code generation in production quality is already possible with dSPACE's TargetLink. The next step is true integration of real-time operating systems into the code generation process. The OSEK standard is applied for this purpose and briefly described at the beginning. The article then focuses on concepts and techniques used by TargetLink to achieve OSEK-compliant code generation. It is shown, how operating system functions and properties are specified on a block diagram level, how code of different sample rates is bundled into different tasks, how tasks can communicate among each other and how all this can be simulated on a target system. The paper also gives striking evidence of how powerful standards can boost tool development and how they can help integrate different tool systems, which had been completely separated before.


Subscribers can view annotate, and download all of SAE's content. Learn More »


Members save up to 40% off list price.
Login to see discount.
Special Offer: With TechSelect, you decide what SAE Technical Papers you need, when you need them, and how much you want to pay.