You are on page 1of 34

“ECU development with AUTOSAR” An introduction for AUTOSAR beginners

Webinar 2012-10-09

© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V 0.01 2012-09-27

General Information

Your speaker today:

Marco Gerschek
Working for the Vector Product Line Embedded Software as Team Leader Sales MICROSAR, CANbedded, Flashing, Real-Time Operating Systems and related services Contact: Phone: +49 711 80670-3836 Email: marco.gerschek@vector.com

General Information

Duration: approx. 30 minutes Questions:
> > >

Please use the Q&A features of Webex Question will be answered after the presentation Or send us later on your questions

A link to the presented slides will be sent by e-mail to all registered participants after this event

Any distribution or copying is subject to prior written approval by Vector.Agenda General Information > Why AUTOSAR Introduction to AUTOSAR Vector AUTOSAR Solution OEM Solutions Services related to MICROSAR © 2012 . All rights reserved. Slide: 4 . Vector Informatik GmbH.

Vector Informatik GmbH. Slide: 5 .Why AUTOSAR The challenge:     E/E complexity is growing fast Quantity of software is exploding Many different hardware platforms are used Development processes and data formats are not harmonized The main objective of AUTOSAR:  Improve software quality and reduce costs by re-use   Re-use of functions across carlines and across OEM boundaries Re-use of basic software  Re-use of development methods and tools © 2012 . All rights reserved. Any distribution or copying is subject to prior written approval by Vector.

Any distribution or copying is subject to prior written approval by Vector.Why AUTOSAR History Embedded Software at Vector Security  Vector was the first independent vendor of Basic Software OBD AUTOSAR 4 Ethernet/IP Monitor & Debug Smart Charging Safety AUTOSAR 3 MEM FlexRay Projects LIN FBL Diagnostics OS CAN + NM 1994 Slide: 6 2004: AUTOSAR Member 2007: 1st AUTOSAR Release 1996 1998 2000 2002 2004 2006 2008 2010 2012 2014 © 2012 . All rights reserved. . Vector Informatik GmbH.

Why AUTOSAR Example CANbedded Communication Stack HIS (German: Hersteller Initiative Software) ('OEM software initiative') an interest group consisting of the car manufacturers Audi. All rights reserved. Vector Informatik GmbH. Any distribution or copying is subject to prior written approval by Vector. BMW. DaimlerChrysler © 2012 . Slide: 7 .

Any distribution or copying is subject to prior written approval by Vector. Vector Informatik GmbH.Agenda General Information Why AUTOSAR > Introduction to AUTOSAR Vector AUTOSAR Solution OEM Solutions Services related to MICROSAR © 2012 . All rights reserved. Slide: 8 .

Any distribution or copying is subject to prior written approval by Vector.Introduction to AUTOSAR AUTOSAR Partnership © 2012 . Vector Informatik GmbH. All rights reserved. Slide: 9 .

Any distribution or copying is subject to prior written approval by Vector. Slide: 10 .Introduction to AUTOSAR Targets and Goals  Standardize Development Process and exchange formats >>> Methodology + Templates Standardize Functionality >>> Functional Interfaces Specify a clear interface between basic software modules and application >>> RTE Define open reference architecture for ECU software System Services   Application Layer AUTOSAR Runtime Environment (RTE)  MEM Communic ation Services CAN/LIN /FR COM Drivers I/O Hardware Com plex Drive rs SYS MEM >>> Basic Software SYS Drivers Memory Drivers I/O Drivers Microcontroller © 2012 . All rights reserved. Vector Informatik GmbH.

All rights reserved. Vector Informatik GmbH...Introduction to AUTOSAR AUTOSAR Workflow Complete SW functionality of the vehicle is defined as a system of SWCs.. SWC1 SWC2 ECU1 SWC1 RTE SWC2 Basic Software (BSW) ECU Configuration Description (ECUC)* * Extract of System Description* Slide: 11 © 2012 . . The ECU is configured based on the ECU Extract.and distributed to ECUs ECU1 SWC1 ECU2 SWC3 Software Component Description* An extract is created for each ECU... SWC1 Virtual Function Bus SWC2 VFB SWC2 SWC3 System Description* . Any distribution or copying is subject to prior written approval by Vector.

All rights reserved.Introduction to AUTOSAR AUTOSAR Status AUTOSAR … … is a key enabler for high performance electronic systems … is a broadly used standard in Europe AUTOSAR 3.x:  First specification: 2007  Mature solution used for series production 2010ff  Adaptations necessary  OEM-specific extensions AUTOSAR 4. Vector Informatik GmbH. Any distribution or copying is subject to prior written approval by Vector.x:  First specification: 2009  First mature specification: 2012 (4.3 is the right version for development start in 2012  New functions: safety. multicore. variant handling.0. Slide: 12 . … © 2012 .3)  4. Ethernet/IP.0.

Vector Informatik GmbH. Slide: 13 . All rights reserved.Agenda General Information Why AUTOSAR Introduction to AUTOSAR > Vector AUTOSAR Solution OEM Solutions Services related to MICROSAR © 2012 . Any distribution or copying is subject to prior written approval by Vector.

Slide: 14 . All rights reserved. Any distribution or copying is subject to prior written approval by Vector.Vector AUTOSAR Solution AUTOSAR Toolset Logical & Software Architecture Design PREEvision SWC2 SWC1 SWC3 SWC1 SWC3 SWC2 Calibration CANape Development of Application Software Virtual Integration Platform (VIP) S1 S2 ECU-/System-Test CANoe SWC Detailed Design (RTE Configuration) DaVinci Developer SWC1 SWC2 RTE SWC Unit Test DaVinci Component Tester RTE Configuration BSW Configuration DaVinci Configurator Pro Basic Software (BSW) AUTOSAR ECU S1 S2 ECU Monitoring and Debugging CANoe. Vector Informatik GmbH.AMD © 2012 .

Vector AUTOSAR Solution AUTOSAR Workflow Complete SW functionality of the vehicle is defined as a system of SWCs. Any distribution or copying is subject to prior written approval by Vector. PREEvision DaVinci Developer The ECU is configured based on the ECU Extract.. All rights reserved..and distributed to ECUs ECU1 SWC1 SWC2 ECU2 PREEvision SWC3 Software Component Description* System Description* DaVinci Developer DaVinci Configurator Pro An extract is created for each ECU. .... Vector Informatik GmbH. SWC1 SWC2 ECU1 SWC1 SWC2 RTE Basic Software (BSW) ECU Configuration Description (ECUC)* Extract of System Description* Slide: 15 * © 2012 . SWC1 PREEvision Virtual Function Bus SWC2 VFB SWC3 .

c .odx CANdela Diagnostic Data Base ECUC Generation .xml Software Component Description files Embedded Coder TargetLink Fibex Contains communication information.xml ECU Configuration Description Other AUTOSAR tools © 2012 .XML ECU Extract of System Description provided by OEM Contains system information. needed for the ECU DaVinci Configurator Pro Configuration of RTE + BSW SystemDesc Conversion . needed for the ECU DBC LDF Input files provided by OEM .xml ECU Extract of System Description .Vector AUTOSAR Solution Workflow AUTOSAR 4.c .x PREEvision DaVinci Developer .cdd/ .h . Vector Informatik GmbH.h RTE header and code files SWC header files BSW module configuration header and code files Editing and Generation . All rights reserved. Slide: 16 . Any distribution or copying is subject to prior written approval by Vector.

Vector AUTOSAR Solution MICROSAR Basic Software – Architecture © 2012 . Vector Informatik GmbH. Slide: 17 . Any distribution or copying is subject to prior written approval by Vector. All rights reserved.

Slide: 19 . Vector Informatik GmbH. All rights reserved. lower ASIL than the Safety Software: „QM Software“  The general considerations can be carried over from this simplified example to more complex systems with different ASILs (e. Any distribution or copying is subject to prior written approval by Vector.Introduction  The following slides shall give an overview about Vector‘s AUTOSAR Basic Software to be used in safety related ECUs Assumptions    ECU contains SW that fulfills safety requirements: „ASIL Software“ ECU contains SW that is developed acc.g. QM + ASIL-B + ASIL-D)  Goal  Find an optimal architecture to minimize the amount of software that has to be developed acc. to the highest ASIL  Avoid “ASIL lift-up” © 2012 .Vector AUTOSAR Solution MICROSAR Safe .

Vector AUTOSAR Solution MICROSAR Safe . All rights reserved. Slide: 20 .Introduction ECU Safety Concept Functional Safety Requirements for ECU SW Safety Software ASIL Software needs to have a sufficiently low rate of systematic failures . Vector Informatik GmbH. Any distribution or copying is subject to prior written approval by Vector.ensured by measures like   process & development methods and additional safety mechanisms (redundancy / plausibility-checks) in case of complex algorithms as defined in ISO 26262 Part 6 © 2012 .

CPU Time 3. Any distribution or copying is subject to prior written approval by Vector. All rights reserved. faults HW QM Software  Freedom from Interference has to be ensured © 2012 . Memory 2. faults  Safety Software  syst. Slide: 21 .Safety Software is Object to interference Threats of other elements Functional Safety Requirements for ECU SW ECU Safety Concept 1. Communication random faults syst.Vector AUTOSAR Solution MICROSAR Safe . Vector Informatik GmbH.

faults HW QM Software 4. faults syst. Any distribution or copying is subject to prior written approval by Vector.Vector AUTOSAR Solution MICROSAR Safe . Qualification SafeContext SafeWatchdog SafeCOM 3. Vector Informatik GmbH. Silence QM Sub-elements do not interfere with ASIL sub-elements  © 2012 . All rights reserved.Options to ensure Freedom from Interference ASIL Software protects itself against interference 2. Slide: 22 SilentBSW . Barriers Safety Software random faults syst. Defense Additional mechanisms block/detect interference    Project specific qualification 1.

Cooperation TTTech & Vector © 2012 . Slide: 23 . All rights reserved.Vector AUTOSAR Solution MICROSAR Safe Modules . Vector Informatik GmbH. Any distribution or copying is subject to prior written approval by Vector.

Agenda General Information Why AUTOSAR Introduction to AUTOSAR Vector AUTOSAR Solution > OEM Solutions Services related to MICROSAR © 2012 . All rights reserved. Vector Informatik GmbH. Any distribution or copying is subject to prior written approval by Vector. Slide: 25 .

Slide: 26 . All rights reserved.x is used in serial production projects by:  Audi & Volkswagen  BMW  Daimler  Fiat / Chrysler  Volvo Trucks… AUTOSAR 4.x is announced by  Ford  GM  PSA  Toyota   © 2012 .OEM Solutions Current Status SOP of a complete AUTOSAR solution (BSW + RTE) 2010 AUTOSAR 3. Any distribution or copying is subject to prior written approval by Vector.x 2011 2012 2013 2014 2015 2016 …  AUTOSAR 4.x  AUTOSAR 3.x is used in serial production projects by:  BMW  Volvo Car Use of AUTOSAR 4. Vector Informatik GmbH.

Slide: 27 . Any distribution or copying is subject to prior written approval by Vector. All rights reserved.OEM Solutions Daimler SLP10 Overview Application MICROSAR RTE MICROSAR DIAG COMM CRC MICROSAR SYS MICROSAR COM DCM NVM COM MICROSAR MEM DEM IPDUM NM PDUR MICROSAR IO DEMSC ROELITE Flash Boot Loader MICROSAR OS DET ECUM SCHM WDGM WDGIF MEMIF J1939TP1 LINTP2 MICROSAR LIN MICROSAR FR MICROSAR CAN CANXCP1 CANTP CANNM CANSM CANIF MICROSAR IP1 FIM FRTP FRNM SOAD IPBASE ETHSM ETHIF IOHWAB FRXCP1 ETHXCP1 OS EA Complex Drivers LINSM XCP1 XCP FEE FRSM FRIF LINIF Flash WDGDRV CANDRV GPTDRV EEPDRV FLSDRV MICROSAR CAL3 PORTDRV ETHDRV1 PWMDRV DRVEXT3 MCUDRV ADCDRV DIODRV ICUDRV LINDRV SPIDRV FRDRV MICROSAR EXT3 ETHTRCV1 CANTRCV LINTRCV FRTRCV Boot Loader Microcontroller Daimler SLP Daimler HLP Vector MICROSAR product Service by Vector Not used for OEM 1 2 Available extensions for AUTOSAR 3. Vector Informatik GmbH.x Option included in LINIF Hardware dependent 3 available for preferred platforms © 2012 .

Slide: 28 . Any distribution or copying is subject to prior written approval by Vector.OEM Solutions BMW BAC4. Vector Informatik GmbH. All rights reserved.0 Overview © 2012 .

Vector Informatik GmbH. Any distribution or copying is subject to prior written approval by Vector. All rights reserved.OEM Solutions VW MQB Overview E2E Protection Wrapper Application MICROSAR RTE Crypto Lib E2E Lib COMM MICROSAR SYS CRC DET ECUM BSWM SCHM XCP1 WDGM WDGIF MICROSAR DIAG Wrapper UDS SDS MICROSAR MEM Wrapper NVM MICROSAR COM KS COM IPDUM NM PDUR BAP MEMIF MICROSAR CAN MICROSAR LIN Flash MICROSAR OS Boot Loader LINTP2 MICROSAR FR MICROSAR IP1 DEH MOST IF IOHWAB CANXCP1 CANTP CANNM CANSM CANIF MICROSAR CAL MOST DRV1 FRXCP1 FRTP FRNM FRSM FRIF ETHXCP SOAD IPBASE ETHSM ETHIF MICROSAR MOST1 MICROSAR IO Complex Drivers OS EA FIM LINSM DISP XCP FEE LINIF SMSC Net Services MICROSAR EXT ETHTRCV1 PORTDRV LINTRCV1 CANTRCV PWMDRV DRVEXT1 ADCDRV DIODRV ICUDRV FRTRCV SPIDRV WDGDRV Microcontroller Vector Product 3rd Party 3rd Party distributed by VW 1 2 ETHDRV1 MCUDRV CANDRV GPTDRV EEPDRV FLSDRV LINDRV FRDRV Available extensions for AUTOSAR 3.1 Option included in LINIF © 2012 . Slide: 29 .

OEM Solutions Audi MLBevo Overview E2E Protection Wrapper Application MICROSAR RTE Crypto Lib E2E Lib COMM MICROSAR SYS CRC DET ECUM BSWM SCHM XCP1 WDGM WDGIF MICROSAR DIAG Wrapper UDS SDS MICROSAR MEM Wrapper DEH NVM MICROSAR COM KS COM IPDUM NM PDUR BAP MEMIF MICROSAR CAN MICROSAR LIN Flash MICROSAR OS Boot Loader LINTP3 MICROSAR FR MOST IF IOHWAB CANXCP1 CANTP CANNM CANSM CANIF MICROSAR CAL MOST DRV1 FRXCP1 FRTP FRNM FRSM FRIF MICROSAR IP1 ETHXCP SOAD IPBASE ETHSM ETHIF MICROSAR MOST1 MICROSAR IO Complex Drivers OS EA FIM LINSM DISP XCP FEE LINIF SMSC Net Services MICROSAR EXT ETHTRCV1 PORTDRV LINTRCV1 CANTRCV PWMDRV DRVEXT1 ADCDRV DIODRV ICUDRV FRTRCV SPIDRV WDGDRV Microcontroller AUTOSAR Stack MLBevo AUTOSAR Modules Vector 3rd Party 3rd Party distributed by Audi ETHDRV1 MCUDRV CANDRV GPTDRV EEPDRV FLSDRV LINDRV FRDRV Not used for OEM 1 2 3 Available extensions for AUTOSAR 3. Any distribution or copying is subject to prior written approval by Vector. All rights reserved. Vector Informatik GmbH.x BAM and CMDT Option available Option included in LINIF © 2012 . Slide: 30 .

TCP. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.x BAM and CMDT Option available Option included in LINIF Includes CAL.2 LINTP3 MICROSAR FR CANXCP MICROSAR CAN EA CANTP CANNM ClassB NM 1 Flash MICROSAR OS Boot Loader FIM MICROSAR LIN MICROSAR IP1 FRTP FRISOTP1 FRNM FRSM FRIF MOST IF SOAD IPBASE5 ETHSM ETHIF IOHWAB FRXCP1 ETHXCP MICROSAR MOST1 MICROSAR IO Complex Drivers OS LINSM DISP CANSM CANIF LINIF Network Services Library MICROSAR CAL MOST DRV1 MICROSAR EXT ETHTRCV1 PORTDRV LINTRCV1 CANTRCV PWMDRV DRVEXT1 ADCDRV DIODRV ICUDRV SPIDRV FRTRCV WDGDRV Microcontroller 1 ETHDRV1 MCUDRV CANDRV GPTDRV EEPDRV FLSDRV LINDRV FRDRV Available extensions for AUTOSAR 3. DHCP (Client). Slide: 31 .OEM Solutions FIAT FGA – Overview (II) Application MICROSAR RTE MICROSAR DIAG COMM DET MICROSAR SYS ECUM BSWM SCHM CRC XCP1 WDGM WDGIF XCP FEE MICROSAR COM DCM NVM COM IPDUM NM PDUR FGACDD DEM MICROSAR MEM MEMIF J1939TP1. ICMP. CPL and CRC Includes Socket. UDP. Vector Informatik GmbH. ARP and IPV4 FGA AUTOSAR Stack Vector MICROSAR product FGA module Service by Vector Not used by FGA 2 3 4 5 © 2012 .

Vector Informatik GmbH.Agenda General Information Why AUTOSAR Introduction to AUTOSAR Vector AUTOSAR Solution OEM Solutions > Services related to MICROSAR © 2012 . All rights reserved. Slide: 32 . Any distribution or copying is subject to prior written approval by Vector.

MICROSAR CANbedded. Vector Informatik GmbH. MICROSAR CANbedded.Services related to MICROSAR Overview Training. MICROSAR Coaching Workshops. All rights reserved. Reviews CANbedded. MICROSAR Customer specific projects Embedded Standard Software Product Services Technical Consulting Engineering Services © 2012 . MICROSAR CANbedded. MICROSAR CANbedded. Any distribution or copying is subject to prior written approval by Vector. Slide: 33 . Support. Concepts Extended Integration Package System Functions and Software Integration Complete ECU Software Extend of service CANbedded. Installation.

Vector Informatik GmbH.“Great view from the top worth climbing up!” Legacy “Zugspitze ” Slide: 34 “Mount Everest” © 2012 . All rights reserved. Any distribution or copying is subject to prior written approval by Vector. .

com/vi_operatingsystems_webinars_en. Vector Informatik GmbH.html  Registration to the upcoming Webinars and the list of recorded Webinars: http://www.An introduction for AUTOSAR beginners 2012-10-16 Introduction to the AUTOSAR Method for ECU development 2012-10-23 AUTOSAR Configuration Process .vector.html):       2012-10-09 ECU development with AUTOSAR .com/vi_autosar_webinars_en.com/vi_webinars_en.vector.How to handle 1000s of parameters 2012-10-30 Reliable Testing of AUTOSAR ECUs (in preparation) 2012-12-10 MICROSAR Safe: AUTOSAR basic software for safety-relevant ECUs (ISO 26262) Various Webinars on MICROSAR OS – the AUTOSAR operating system from Vector http://www.Webinar Series  The webinar series about AUTOSAR (http://www.vector. Any distribution or copying is subject to prior written approval by Vector.vector. All rights reserved.html The overview of Vector’s training services: http://www. Slide: 35 35 .com/vi_training_en.html  © 2012 .

Any distribution or copying is subject to prior written approval by Vector.vector. All rights reserved. For detailed information about Vector and our products please visit www. Slide: 36 .com Author: Marco Gerschek Vector Informatik GmbH © 2012 .Thank you for your attention. Vector Informatik GmbH.