Software integration challenge multi-core experience from real world projects

Similar documents
Software Architecture for Secure ECUs. Rudolf Grave EB TechDay-June 2015

The Safe State: Design Patterns and Degradation Mechanisms for Fail- Operational Systems

ISO meets AUTOSAR - First Lessons Learned Dr. Günther Heling

10 th AUTOSAR Open Conference

Isolation of Cores. Reduce costs of mixed-critical systems by using a divide-and-conquer startegy on core level

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

Autonomous Driving From Fail-Safe to Fail-Operational Systems

Adaptive AUTOSAR: Infrastructure Software for Advanced Driver Assistance. Chris Thibeault June 7, 2016

Scalable and Flexible Software Platforms for High-Performance ECUs. Christoph Dietachmayr Sr. Engineering Manager, Elektrobit November 8, 2018

AUTOBEST: A microkernel-based system (not only) for automotive applications. Marc Bommert, Alexander Züpke, Robert Kaiser.

10 th AUTOSAR Open Conference

Arccore AB 2017, all rights reserved. Accelerating innovation

10 th AUTOSAR Open Conference

Introduction to Adaptive AUTOSAR. Dheeraj Sharma July 27, 2017

Virtualization of Heterogeneous Electronic Control Units Testing and Validating Car2X Communication

Communication Patterns in Safety Critical Systems for ADAS & Autonomous Vehicles Thorsten Wilmer Tech AD Berlin, 5. March 2018

Introducing a new temporal partitioning scheme to AUTOSAR OS

Taking the Right Turn with Safe and Modular Solutions for the Automotive Industry

Smart Antennas and Hypervisor: Enabling Secure Convergence. July 5, 2017

Dr. Andreas Both / Zhang Enqin Automotive Runtime Software

AMDC 2017 Liviona Multi-Core in Automotive Powertrain and Next Steps Towards Parallelization

SW-Update. Thomas Fleischmann June 5 th 2015

SPC5 MCAL overview. ZHANG Livia

KSAR Support. for. ST s SPC5 32-bit Automotive MCUs

S32K Microcontroller Press Pack

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

AUTOSAR design flow. Yoon-Jin Kim Application Engineer. July mentor.com/automotive

Current status and Future of AUTOSAR. Markus Bechter 7 th AUTOSAR Open Conference Oct. 22 nd -23 rd 2014, Detroit

A Multi-Core Basic Software as Key Enabler of Application Software Distribution

Agenda. > AUTOSAR Overview. AUTOSAR Solution. AUTOSAR on the way

How Microcontrollers help GPUs in Autonomous Drive

How Security Mechanisms Can Protect Cars Against Hackers. Christoph Dietachmayr, CIS Solution Manager EB USA Techday, Dec.

Safety and Security for Automotive using Microkernel Technology

Model Based Development and Code Generation for Automotive Embedded Systems. April 26, 2017 Dr. Gergely Pintér, Dr. Máté Kovács thyssenkrupp Steering

Multicore platform towards automotive safety challenges

AUTOSAR Overview and Classic Platform

Automated Driving Necessary Infrastructure Shift

STMicroelectronics Automotive MCU Technical Day 意法半导体汽车微控制器技术日 2017 年 ST 汽车 MCU 技术日 2017 年 6 月 6 日, 上海 2017 年 6 月 8 日, 深圳 2017 年 6 月 13 日, 北京

Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

TCL. ASIL Level. Software. Automotive ISO Tool-Qualification. Safety Manual. Software for Safety-Related Automotive Systems

AUTOSAR Software Design with PREEvision

AUTOSAR Method. Webinar

Is This What the Future Will Look Like?

SIMPLIFYING THE CAR. Helix chassis. Helix chassis. Helix chassis WIND RIVER HELIX CHASSIS WIND RIVER HELIX DRIVE WIND RIVER HELIX CARSYNC

Countermeasures against Cyber-attacks

New ARMv8-R technology for real-time control in safetyrelated

Interaction between AUTOSAR and non-autosar Systems on top of a Hypervisor

Functional Safety on Multicore Microcontrollers for Industrial Applications. Thomas Barth (h-da) Prof. Dr.-Ing. Peter Fromm (h-da)

Welcome Note. Dr. Thomas Scharnhorst, AUTOSAR Spokesperson 10 th AUTOSAR Open Conference 8 th Nov 2017, Mountain View, California

Standardization for efficient testing of Automotive Ethernet ECUs

Cyber security mechanisms for connected vehicles

Adaptive AUTOSAR. Ready for Next Generation ECUs V

RazorMotion - The next level of development and evaluation is here. Highly automated driving platform for development and evaluation

Implementing AUTOSAR. Zhang Enqin Shanghai Automotive Lab. Aug 27-28, 2009

10 th AUTOSAR Open Conference

SPC584C80C3, SPC58EC80C3

Infotainment Solutions. with Open Source and i.mx6. mentor.com/embedded. Andrew Patterson Business Development Director Embedded Automotive

Functional Safety on Multicore Microcontrollers for Industrial Applications

Product Information Embedded Operating Systems

Advanced IP solutions enabling the autonomous driving revolution

STMicroelectronics Automotive MCU Technical Day

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

Adaptive AUTOSAR for high-performance in-car computers

November 16, TTTech Computertechnik AG / TTTech Auto AG Copyright TTTech Auto AG. All rights reserved

Workpackage WP2.5 Platform System Architecture. Frank Badstübner Ralf Ködel Wilhelm Maurer Martin Kunert F. Giesemann, G. Paya Vaya, H.

Introducing Hardware Security Modules to Embedded Systems

The Adaptive Platform for Future Use Cases

Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

Software architecture in ASPICE and Even-André Karlsson

Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

AUTOSAR stands for AUTomotive Open Systems ARchitecture. Partnership of automotive Car Manufacturers and their Suppliers

rcube2: Advanced Rapid Prototyping Electronic Control Unit

Simulink for AUTOSAR: Best Practices

ID 025C: An Introduction to the OSEK Operating System

1000BASE-T1 from Standard to Series Production

Market Trends and Challenges in Vehicle Security

RTA-BSW v2.1.1 User Guide

Architecture concepts in Body Control Modules

Linux and AUTOSAR Vector Informatik Congress, Stuttgart,

Mentor Automotive Save Energy with Embedded Software! Andrew Patterson Presented to CENEX 14 th September 2016

RTA-BSW v3.0.0 RTA-BSW Getting Started Guide Status: Release

정형기법을활용한 AUTOSAR SWC 의구현확인및정적분석

Functionality assignment to partitioned multi-core architectures

Sicherheitsaspekte für Flashing Over The Air in Fahrzeugen. Axel Freiwald 1/2017

Security and Performance Benefits of Virtualization

Software Architecture. Definition of Software Architecture. The importance of software architecture. Contents of a good architectural model

ARM processors driving automotive innovation

10 th AUTOSAR Open Conference

Automotive Security: Challenges and Solutions

ARM Moves Further Into Automotive with NXP's Launch of S32K Series to the General Market

A Secure Update Architecture for High Assurance Mixed-Criticality System Don Kuzhiyelil Dr. Sergey Tverdyshev SYSGO AG

Using Fault Injection to Verify an AUTOSAR Application According to the ISO 26262

Create, Embed, Empower. Crevavi Technologies Company profile

Real and Virtual Development with SystemDesk

A specification proposed by JASPAR has been adopted for AUTOSAR.

Powertrain Strategies for the 21st Century: Designing Global Powertrains

Experiences with AUTOSAR compliant Autocode generation using TargetLink

A NEW CONCEPT IN OTA UPDATING FOR AUTOMOTIVE

Automotive Security An Overview of Standardization in AUTOSAR

Transcription:

Software integration challenge multi-core experience from real world projects Rudolf Grave 17.06.2015

Agenda About EB Automotive Motivation Constraints for mapping functions to cores AUTOSAR & MultiCore & Safety Summary & Outlook 2

Software integration challenge multi-core EB: Software and Services CC 2015-06-17 Elektrobit Automotive GmbH 2015. CCSSE SSEGrave Grave, Much 2015-07-08 Elektrobit Automotive GmbH 2015. All Allrights rightsreserved, reserved,also alsoregarding regardingany anydisposal, disposal, exploitation, exploitation,reproduction, reproduction,editing, editing,distribution, distribution,as aswell wellas asininthe theevent eventofofapplications applicationsfor forindustrial industrialproperty propertyrights. rights.

Agenda About EB Automotive Motivation Constraints for mapping functions to cores AUTOSAR & MultiCore & Safety Summary & Outlook 5

Ethernet Software integration challenge multi-core Next generation of ECUs Powertrain Domain Controller Body Domain Controller Powertrain ECUs Body ECUs Domain Controller will be huge multi-core systems ECU independent function Connected to Actuator / Sensor ECUs Reloadable functions Connected with Automotive Ethernet Chassis Domain Controller Safety Domain Controller Infotain. Domain Controller Chassis ECUs Safety ECUs Infotainment ECUs Domain ECUs will be small multi-core or single core systems Hard real time I/O handling Safety functions Motivation for change current E/E architecture Updatable ECUs Dynamic Systems Security 6

Motivation Function 1 Func 1 CDD Function 2 Function 3 (OEM) ECU Function 4 (Supplier) F2 Monitor Autosar BSW Operating System 7

Agenda About EB Automotive Motivation Constraints for mapping functions to cores AUTOSAR & MultiCore & Safety Summary & Outlook 8

Welcome to the jungle! (Herb Sutter) Automotive microcontroller follow IT systems with 5-8 years delay Appearing microcontroller Different CPUs on one architecture Combination of performance and peripheral cores Combinations with DSP or GPUs Special microcontroller for special purpose http://herbsutter.files.wordpress.com/2011/12/image_thumb22.png?w=640&h=304 9

Example: Infineon AURIX TC27x Two lockstep cores 1.6E 1.6P One non-lockstep core 1.6P Source: http://www.infineon.com/export/sites/default/media/products/microcontrollers/32bit/blockdiagram-tc27xt.png 10

Example: Infineon AURIX TC29x One lockstep cores 1.6P Two non-lockstep core 1.6P 1.6P Source: http://www.infineon.com/export/sites/default/media/products/microcontrollers/32bit/tc29xt_block_diagram.jpg 11

Example: Freescale MPC5777M Two computational core e200z7 (lockstep) e200z7 One peripheral core e200z4 Source: http://cache.freescale.com/files/graphic/block_diagram/products/microcontrollers/aut- P27692_MPC5777M_BDTN.jpg 12

Constraint: Safety Goals Safety Goals Functional Safety Requirements Functional Requirements Hardware Technical Safety Requirements Technical Requirements Req1: Freedom from Interference Software Req3: Performance Req2: OEM BB software shall run on lockstep core 13

Freedom from interference (ISO 26262) In software partitioning system the freedom from interference argument between software component shall claim that: Shared resources are only used by one partition or a appropriate mechanisms are implemented Software partitioning is supported by hardware mechanism e.g. MPU Software mechanism ensuring FFI are implemented on highest level Spatial FFI The data used by a one element shall not be changed by a another element. In particular, it shall not be changed by a non-safety related element. Temporal FFI One element shall not cause another element to function incorrectly by taking too high a share of the available processor execution time, or by blocking execution of the other element by locking a shared resource Exchange of information Exchange of information shall be defined as transport of data between software elements or hardware. (e.g. messages between ECUs or cores, data from non-volatile memory) 14

Functional Constraints AUTOSAR basic software < v. 4.0.3 can t be distributed on cores Reuse of legacy software Functional requirements Response times CPU load requirements Startup times Delay in Inter-Core, Inter-processor communication Access to peripherals 15

Software integration challenge multi-core First idea: Group according to supplier Core0 - lockstep Function 1 No lockstep core required Func 1 CDD Core1 - nonlockstep Function 3 (OEM) Core2 - nonlockstep Function 4 (Supplier) Function 2 F2 Monitor Lockstep core required No lockstep core required High amount of communication with AUTOSAR BSW High amount of communication with Function 2 Autosar BSW MCU

Software integration challenge multi-core Next idea Core0 - lockstep Core1 - nonlockstep Core2 - nonlockstep Function 3 (OEM) Function 1 Function 2 F2 Monitor Function 4 (Supplier) Func 1 CDD Autosar BSW CPU Load > 100 % CPU Load = 25 % CPU Load = 0 %

Agenda About EB Automotive Motivation Constraints for mapping functions to cores AUTOSAR & MultiCore & Safety Summary & Outlook 18

AUTOSAR 4.0 MultiCore Core0 Core1 Core2 SWC SWC SWC SWC SWC SWC SWC SWC RTE Partitioning AUTOSAR BSW CDD MCAL AUTOSAR Safety OS Multicore MCU Silicon Chip Manufacturer EB Application AUTOSAR BSW runs on one core Safety OS MultiCore and Rte provides the ability to distribute AUTOSAR Software Components (SWC) to different cores 19

EB tresos TimE EB tresos Safety OS Software integration challenge multi-core Singlecore Safety architecture QM SW-C QM SW-C ASIL SW-C Safety E2E Protection RTE RTE RTE BSW ASIL CDD MCAL MCAL (ASIL) Partitions EB tresos Safety products enable mix of QM and Safety Software (also different ASIL level) integration of Black-Box Software (independent from ASIL-Level) 20

Os Applications OS application Group of OS elements (ISRs, tasks, events, alarms, ) OS_App1 Data Task1 Data Task2 Data OS_App2 Data Task3 Data ISR1 Data Stack Stack Stack Stack Safety OS OS Applications are used to realize memory partition OS Data Stack MultiCore OS Applications are used for Task to core mapping ISR to core mapping 21

Function 3 (OEM) Function 2 F2 Monitor EB tresos TimE Software integration challenge multi-core Multicore Safety architecture Core0 - lockstep Core1 - nonlockstep Core2 - nonlockstep Function 4 (Supplier) Function 1 RTE RTE RTE RTE RTE RTE Autosar BSW Func 1 CDD EB tresos Safety OS Multicore

Agenda About EB Automotive Motivation Constraints for mapping functions to cores AUTOSAR & MultiCore & Safety Summary & Outlook 24

Summary: Software Architecture and early verification is the key to success Timing Requirements Response Time Required Timing CPU Grabbing Timing Design Timing design Timing model Simulation Monitoring concept Timing verification Measurement Feedback Optimization Connect experts from functional development and infrastructure (Operating system and RTE) Functional expert can concentrate on algorithm Integration expert can concentrate on OS, RTE, Safety and performance 25

Outlook Reading the Crystal Ball Multi-core systems are becoming a reality now and allow further consolidation of more functions on fewer ECUs Software system integration capabilities are key to success: Taming the rising complexity Building dependable, high-integrity systems Dynamic (service-oriented), dependable and high-integrity system architectures are required for future vehicles, e.g. autonomous driving. @EB you can evaluate / order such systems today (or soon) Mixed operating system will come OS: Core: Linux Auto sar 0 1 2 3 OS: Core: Linux Autosar Hypervisor 0 1 2 3 OS: Core: ASIL-certified OS 0 1 2 3 26

Contact us! automotive.elektrobit.com Rudolf.Grave@elektrobit.com