Browse Publications Technical Papers 2021-01-5050
2021-05-10

Automated Generation of Automotive Open System Architecture Electronic Control Unit Configurations Using Xtend: Watchdog Driver Example 2021-01-5050

Automotive Open System Architecture (AUTOSAR) is a system-level standard that is formed by the worldwide partnership of automotive manufacturers and suppliers who are working together to develop a standardized Electrical and Electronic (E/E) framework and architecture for automobiles. The AUTOSAR methodology has two main activities: system configuration and the Electronic Control Unit (ECU) configuration. The system configuration is the mapping of the software components to the ECUs based on the system requirements. The ECU configuration (EC) process is an important part of the ECU software integration and generation. ECU-specific information is extracted from the system configuration description, and all the necessary information for the implementation such as tasks, scheduling, and assignments of the runnables to tasks and configuration of the Basic Software (BSW) modules are performed. The EC process involves configuring every single module of the AUTOSAR. Due to the high complexity and redundancy of this process, it has to be supported by different tool-related editors that can automatically generate source files like *.c and *.h for the configuration. In this paper, we propose a method to automate the EC process for AUTOSAR. We use Module Configuration Templates (MCT) written in Xtend programming language along with a BSW configuration source code generator (BSG) Computer-Aided Design (CAD) tool developed at APAG Elektronik. This tool can extract the configuration parameters and automatically generate the required ECU module configuration. The watchdog module will be used as an example to generate and integrate the EC. This enables the seamless generation of the software configurations from the system-level requirements to the software implementation and therefore ensures consistency, correctness, and cost efficiency and reduces the work done by the developer to generate the configuration.

SAE MOBILUS

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

Access SAE MOBILUS »

Members save up to 16% off list price.
Login to see discount.
Special Offer: Download multiple Technical Papers each year? TechSelect is a cost-effective subscription option to select and download 12-100 full-text Technical Papers per year. Find more information here.
X