Carnegie Mellon University
Browse

AUTOSAR Extensions for Predictable Task Synchronization in MultiCore ECUs

Download (666.83 kB)
journal contribution
posted on 2011-04-01, 00:00 authored by Karthik Lakshmanan, Gaurav Bhatia, Ragunathan (Raj) Rajkumar
<p>Multi-core processors are becoming increasingly prevalent, with multiple multi-core solutions being offered for the automotive sector. Recognizing this trend, the AUTomotive Open System ARchitecture (AUTOSAR) standard version 4.0 has introduced support for multi-core embedded real-time operating systems. A key element of the AUTOSAR multi-core specification is the spinlock mechanism for inter-core task synchronization. In this paper, we study this spinlock mechanism from the standpoint of timing predictability. We describe the timing uncertainties introduced by standard test-and-set spinlock mechanisms, and provide a predictable priority-driven solution for inter-core task synchronization.</p> <p>The proposed solution is to arbitrate critical sections using the well-established Multi-processor Priority Ceiling Protocol [3], which is the multiprocessor version of the ceiling protocol for uniprocessors [1, 2] used by AUTOSAR. We also present the associated analysis that can be used in conjunction with the AUTOSAR task model to bound the worst-case waiting times for accessing shared resources. The timing predictability provided by our protocol is an important requirement for automotive applications from both certification and validation standpoints.</p>

History

Related Materials

Publisher Statement

Copyright © 2011 SAE International

Date

2011-04-01