“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:
[email protected]
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:
[email protected]
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
Agenda
General Information > Why AUTOSAR Introduction to AUTOSAR Vector AUTOSAR Solution OEM Solutions Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 4
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 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 5
Why AUTOSAR History Embedded Software at Vector Security
OBD
Vector was the first independent vendor of Basic Software
AUTOSAR 4 Ethernet/IP Monitor & Debug Smart Charging Safety AUTOSAR 3
MEM FlexRay Projects LIN FBL Diagnostics OS 2004: AUTOSAR Member 2007: 1st AUTOSAR Release
CAN + NM 1994
1996
1998
2000
2002
2004
2006
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 6
2008
2010
2012
2014
Why AUTOSAR Example CANbedded Communication Stack
HIS (German: Hersteller Initiative Software) ('OEM software initiative') an interest group consisting of the car manufacturers Audi, BMW, DaimlerChrysler © 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 7
Agenda
General Information Why AUTOSAR > Introduction to AUTOSAR Vector AUTOSAR Solution OEM Solutions Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 8
Introduction to AUTOSAR AUTOSAR Partnership
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 9
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
Application Layer
AUTOSAR Runtime Environment (RTE)
Define open reference architecture for ECU software >>> Basic Software
System Services
MEM
Communic ation Services
SYS
MEM
CAN/LIN /FR
SYS Drivers
Memory Drivers
COM Drivers
Microcontroller
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 10
I/O Hardware
I/O Drivers
Com plex Drive rs
Introduction to AUTOSAR AUTOSAR Workflow Complete SW functionality of the vehicle is defined as a system of SWCs...
..and distributed to ECUs
ECU1
SWC1
ECU2
SWC1
SWC3
Virtual Function Bus SWC2
VFB
SWC2 SWC3
Software Component Description*
An extract is created for each ECU...
ECU1
System Description*
The ECU is configured based on the ECU Extract. SWC1
SWC2
SWC1
RTE SWC2
Extract of System Description*
Basic Software (BSW) ECU Configuration Description (ECUC)*
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 11
*
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.x:
First specification: 2009
First mature specification: 2012 (4.0.3)
4.0.3 is the right version for development start in 2012
New functions: safety, variant handling, Ethernet/IP, multicore, …
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 12
Agenda
General Information Why AUTOSAR Introduction to AUTOSAR > Vector AUTOSAR Solution OEM Solutions Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 13
Vector AUTOSAR Solution AUTOSAR Toolset Logical & Software Architecture Design
SWC2 SWC1 SWC3
Calibration CANape
PREEvision SWC2 SWC1
SWC3
Development of Application Software
ECU-/System-Test S1
Virtual Integration Platform (VIP)
SWC Detailed Design (RTE Configuration)
SWC1
S2
SWC2 RTE
DaVinci Developer
RTE Configuration BSW Configuration DaVinci Configurator Pro
CANoe
DaVinci Component Tester
Basic Software (BSW) AUTOSAR ECU S1
S2
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 14
SWC Unit Test
ECU Monitoring and Debugging CANoe.AMD
Vector AUTOSAR Solution AUTOSAR Workflow Complete SW functionality of the vehicle is defined as a system of SWCs...
ECU1
SWC1
Virtual Function Bus SWC2
VFB
SWC3
n o i s i v E E R P
Software Component Description*
An extract is created for each ECU...
ECU1 SWC1 SWC2
..and distributed to ECUs
r e p o l e v n e o D i s i i c v n i E E V R a P D
Extract of System Description*
SWC1
SWC3
n o i s i v E E R P
SWC2
System Description* o r The ECU is configured based P r on the ECU Extract. o t r a e r p u SWC1 SWC2 o g l e i f v n e o RTE D C i i c c n i n i Basic Software V V (BSW) a a D D
ECU Configuration Description (ECUC)*
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 15
ECU2
*
Vector AUTOSAR Solution Workflow AUTOSAR 4.x
PREEvision
DaVinci Developer
.XML
DBC
LDF Fibex
ECU Extract of System Description provided by OEM Contains system information, needed for the ECU
.cdd/ .odx CANdela Diagnostic Data
Input files provided by OEM Contains communication information, needed for the ECU
.xml Software Component Description files
TargetLink
DaVinci Configurator Pro Configuration of RTE + BSW
SystemDesc Conversion
.xml
Editing and
ECU Extract of System Description
Generation
.c
.h
RTE header and code files SWC header files
.c
.h
BSW module configuration header and code files
Base ECUC Generation
.xml ECU Configuration Description
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 16
Embedded Coder
Other AUTOSAR tools
Vector AUTOSAR Solution MICROSAR Basic Software – Architecture
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 17
Vector AUTOSAR Solution MICROSAR Safe - 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. 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.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 Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 19
Vector AUTOSAR Solution MICROSAR Safe - Introduction ECU Safety Concept
Functional Safety Requirements for ECU SW
Safety Software
ASIL Software needs to have a sufficiently low rate of systematic failures - 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 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 20
Vector AUTOSAR Solution MICROSAR Safe - Safety Software is Object to interference Threats of other elements
ECU Safety Concept
Functional Safety Requirements for ECU SW
1. Memory 2. CPU Time 3. Communication
random faults
Safety Software
syst. faults
syst. faults
HW
Freedom from Interference has to be ensured
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 21
QM Software
Vector AUTOSAR Solution MICROSAR Safe - Options to ensure Freedom from Interference
Project specific qualification
ASIL Software protects itself against interference
1. Qualification
2. Defense
Additional mechanisms block/detect interference
SafeContext SafeWatchdog SafeCOM
3. Barriers
random faults
Safety Software
syst. faults
syst. faults
QM Software
HW
4. Silence QM Sub-elements do not interfere with ASIL sub-elements © 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 22
SilentBSW
Vector AUTOSAR Solution MICROSAR Safe Modules - Cooperation TTTech & Vector
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 23
Agenda
General Information Why AUTOSAR Introduction to AUTOSAR Vector AUTOSAR Solution > OEM Solutions Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 25
OEM Solutions Current Status
SOP of a complete AUTOSAR solution (BSW + RTE) 2010
2011
2012
2013
2014
2015
AUTOSAR 3.x AUTOSAR 4.x
AUTOSAR 3.x is used in serial production projects by: Audi & Volkswagen BMW Daimler Fiat / Chrysler Volvo Trucks…
AUTOSAR 4.x is used in serial production projects by: BMW Volvo Car
Use of AUTOSAR 4.x is announced by Ford GM PSA Toyota
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 26
2016
…
OEM Solutions Daimler SLP10 Overview Application
DEMSC
ROELITE
MICROSAR RTE COMM CRC
Flash Boot Loader S O R A S OS O R C I M
S DET Y S R A S ECUM O R C I SCHM M
WDGM
MICROSAR COM G A I D R A S O R C I M
DCM
NVM COM
FIM
M E MEMIF M R A S O R C EA I M
1
P C X
XCP FEE
J1939TP 1
PDUR
ETHXCP1
FRXCP 1
2
LINTP CANXCP1
N A C CANTP R A S CANNM O R C CANSM I M
N I L R A S LINSM O R C I M
1
R FRTP F R A S FRNM O R C I FRSM M
P SOAD I R A S IPBASE O R C I ETHSM M
LINIF
V R D G D W
V R D U C M
V R D S L F
V R D P E E
V R D N A C
V R D N I L
V R D R F
1
V R D H T E
B A W H O I
Complex Drivers
3
MICROSAR CAL3 V R D T P G
O I R A S O R C I M
ETHIF
FRIF
CANIF
Flash
Loader
NM
DEM
WDGIF
Boot
IPDUM
MICROSAR EXT V R D I P S
V R D U C I
V R D M W P
V R D C D A
V R D O I D
V R D T R O P
3
T X E V R D
V C R T N A C
V C R T N I L
V C R T R F
1
V C R T H T E
Microcontroller Daimler SLP
Vector MICROSAR product
Not used for OEM
1
Available extensions for AUTOSAR 3.x
2
Option included in LINIF
3
Daimler HLP
Service by Vector
available for preferred platforms © 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 27
Hardware dependent
OEM Solutions BMW BAC4.0 Overview
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 28
OEM Solutions VW MQB Overview E2E Protection Wrapper
Application MICROSAR RTE
Crypto Lib
Wrapper
E2E Lib
UDS
COMM
Flash Boot Loader
S O R A S OS O R C I M
S Y CRC S R DET A S O ECUM R C I BSWM M
G A SDS I D R A S Wrapper O R DEH C I M
FIM
MICROSAR COM KS
NVM
COM
WDGIF
1
P C X
NM
PDUR BAP
M E MEMIF M R A S O R C EA I M
CANXCP
N A CANTP C R A S CANNM O R C I CANSM M
FEE
XCP
1
1
1
T S OMOST IF M R A S O R DISP C I M
ETHXCP
FRXCP
2
LINTP
SCHM WDGM
IPDUM
N I L R A S LINSM O R C I M
1
R F FRTP R A S FRNM O R C I M FRSM
P SOAD I R A S IPBASE O R C I ETHSM M
LINIF CANIF
FRIF
V R D T P G
V R D U C M
V R D S L F
V R D P E E
V R D N A C
V R D N I L
V R D R F
1
V R D H T E
B A W H O I
Complex Drivers
SMSC Net Services
ETHIF
MICROSAR CAL V R D G D W
O I R A S O R C I M
MICROSAR EXT 1
V R D T S O M
V R D I P S
V R D U C I
V R D M W P
V R D C D A
V R D O I D
V R D T R O P
1
T X E V R D
V C R T N A C
1
V C R T N I L
V C R T R F
1
V C R T H T E
Microcontroller Vector Product
3rd Party
1 2
3rd Party distributed by VW
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 29
Available extensions for AUTOSAR 3.1 Option included in LINIF
OEM Solutions Audi MLBevo Overview E2E Protection Wrapper
Application MICROSAR RTE
Crypto Lib
Wrapper
E2E Lib
UDS
COMM
Flash Boot Loader
S O R A S OS O R C I M
S Y CRC S R DET A S O ECUM R C I BSWM M
G A I SDS D R A S Wrapper O R C DEH I M
FIM
MICROSAR COM KS
NVM
COM
WDGIF
1
P C X
NM
PDUR BAP
M E MEMIF M R A S O R C EA I M
1
N A CANTP C R A S CANNM O R C I CANSM M
FEE
XCP
FRXCP1
CANXCP1
SCHM WDGM
IPDUM
N I L R A S LINSM O R C I M
T S OMOST IF M R A S O R DISP C I M
ETHXCP
LINTP3 1
R FRTP F R A S FRNM O R C I FRSM M
P SOAD I R A S IPBASE O R C I ETHSM M
LINIF FRIF
CANIF
V R D T P G
V R D U C M
V R D S L F
V R D P E E
V R D N A C
V R D N I L
V R D R F
1
V R D H T E
B A W H O I
Complex Drivers
SMSC Net Services
ETHIF
MICROSAR CAL V R D G D W
O I R A S O R C I M
MICROSAR EXT 1
V R D T S O M
V R D I P S
V R D U C I
V R D M W P
V R D C D A
V R D O I D
V R D T R O P
1
T X E V R D
V C R T N A C
1
V C R T N I L
V C R T R F
1
V C R T H T E
Microcontroller AUTOSAR Stack MLBevo
3rd Party
1
Not used for OEM
2 3
AUTOSAR Modules Vector
3rd Party distributed by Audi
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 30
Available extensions for AUTOSAR 3.x BAM and CMDT Option available Option included in LINIF
OEM Solutions FIAT FGA – Overview (II) Application MICROSAR RTE COMM DET ECUM
Flash Boot Loader
S O R A S OS O R C I M
S Y S R BSWM A S O SCHM R C I M CRC
MICROSAR COM G DCM A I D R A DEM S O R C I M FIM
NVM COM
M E MEMIF M R A S O R C EA I M
J1939TP1,2 CANXCP1 N A CANTP C R CANNM A S OClassB NM R C CANSM I M
P C X
XCP FEE
WDGIF
NM
PDUR
ETHXCP
3
N I L R A S LINSM O R C I M
R FRTP F R 1 AFRISOTP S O R FRNM C I M FRSM
1
P SOAD I R A S IPBASE5 O R C I ETHSM M
LINIF
ETHIF
FRIF
CANIF
T S OMOST IF M R A S O R DISP C I M
V R D G D W
V R D U C M
V R D S L F
V R D P E E
V R D N A C
V R D N I L
V R D R F
1
V R D H T E
O I R A S O R C I M
B A W H O I
Complex Drivers
Network Services Library
MICROSAR CAL V R D T P G
FGACDD
1
FRXCP1 LINTP
1
WDGM
IPDUM
MICROSAR EXT 1
V R D T S O M
V R D I P S
V R D U C I
V R D M W P
V R D C D A
V R D O I D
V R D T R O P
1
T X E V R D
V C R T N A C
1
V C R T N I L
V C R T R F
1
V C R T H T E
Microcontroller FGA AUTOSAR Stack Vector MICROSAR product
FGA module
Not used by FGA
Service by Vector
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 31
1
Available extensions for AUTOSAR 3.x
2
BAM and CMDT Option available
3
Option included in LINIF
4
Includes CAL, CPL and CRC
5
Includes Socket, DHCP (Client), UDP, TCP, ICMP, ARP and IPV4
Agenda
General Information Why AUTOSAR Introduction to AUTOSAR Vector AUTOSAR Solution OEM Solutions > Services related to MICROSAR
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 32
Services related to MICROSAR Overview
Complete ECU Software
Training, Installation, Support, Reviews CANbedded, MICROSAR
Workshops, Concepts
Extended Integration Package
System Functions and Software Integration
Extend of service
Coaching
CANbedded, MICROSAR
CANbedded, MICROSAR
CANbedded, MICROSAR
CANbedded, MICROSAR
Customer specific projects
Embedded Standard Software
Technical Consulting
Product Services
Engineering Services
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 33
CANbedded, MICROSAR
“Great view from the top worth climbing up!”
Legacy “Zugspitze ”
“Mount Everest”
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 34
Webinar Series
The webinar series about AUTOSAR (http://www.vector.com/vi_autosar_webinars_en.html):
2012-10-09 ECU development with AUTOSAR - An introduction for AUTOSAR beginners
2012-10-16 Introduction to the AUTOSAR Method for ECU development
2012-10-23 AUTOSAR Configuration Process - 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.vector.com/vi_operatingsystems_webinars_en.html
Registration to the upcoming Webinars and the list of recorded Webinars: http://www.vector.com/vi_webinars_en.html
The overview of Vector’s training services: http://www.vector.com/vi_training_en.html
© 2012 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. Slide: 35