14
AUTOSAR: From System Model to ECU Software Dheeraj Sharma Senior Software Engineer

AUTOSAR - From System Model to ECU Software … From System Model to ECU Software ... STBM Mode Mgmt. ComM EcuM ... From System Model to ECU Software_TechDay_December2015

Embed Size (px)

Citation preview

AUTOSAR: From System Model to

ECU Software

Dheeraj Sharma

Senior Software Engineer

© Elektrobit (EB), 2015 2

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

About AUTomotive Open System ARchitecture

AUTOSAR is an open and standardized automotive software architecture, jointly developed by

automobile manufacturers, suppliers, and tool developers.

• Main Goal: introduce a standardized layer between application software and the hardware of an

electronic control unit (ECU)

• Benefit: The software is largely independent from any chosen microcontroller and carmaker,

making it reusable for several individual ECU systems.

• EB: is one of the founding members and an active premium partner of the AUTOSAR consortium

The EB tresos software completely conforms with AUTOSAR 4.x and previous releases

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

EB tresos AutoCore Solutions

© Elektrobit (EB), 2015 3

OS

Os

Ap

pli

cati

on

IP

SoAd

TcpIp

EthIf

UdpNm

EthSm

Com ServicesCom, PduR, IPduM

CAN

CanAs

CanIf

CanTp

CanNm

CanSm

LIN

LinIf

LinTp

LinNm

LinSm

FlexRay

FrAs

FrIf

FrTp

FrNm

FrSm

Runtime EnvironmentRte, RteAs

Memory

MemAs

Crc

Ea

Fee

MemIf

NvM

Base

Configurators

HidWiz

SvcAs

Workflows

Det

EcuC

Make

MemMap

Platform

PbcfgM

DoIP

Libs

CDD

Ba

sic

So

ftw

are

Fr*

FrTrcv*CanTrcv*

RamTst* Can Eth*

EthTrcv*

Lin

LinTrcv

Eep

Fls

FlsTst

Wdg AdcMcu

Port

Dio

Icu

Gpt

Pwm

Spi

IoHwAbs

SD

Application SWCApplication SWC

ACG

3rd Party

OEM

ACM *EB / 3rd Party

Assistant

XCP

Watchdog

WdgM

Wdglf

Dbg

STBM

Mode

Mgmt.

ComM

EcuM

BswM

Nm

Diagnostic

Dem

Dcm

FiM

EB SWC

Project-specifc

EB SWC

EB SWC

Crypto

CSM

CRY

OEM SWC

OEM SWC

OEM SWC

OEM SWC

OEM SWC

OEM SWC

Application SWC Application SWC

CAL

Cpl

AUTOSAR Workflow

© Elektrobit (EB), 2015 4

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

© Elektrobit (EB), 2015 5

Targetcode

System

ECU

Appl. Code

.c, .h

BSW Code

.c, .h

AUTOSARSYS-D

.arxml

AUTOSARSWC-D

.arxml

AUTOSARBSW-Config.arxml,.xdm

CommunicationMatrix

EB tresos StudioEB tresos AutoCore

SystemDesk(ECU Topology,

SW Architecture)

TargetLink

COM

.dbc, .FIBEX,

.ldf

AUTOSAR Workflow in more detail

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

Importing project data into EB tresos Studio

6

System

ECU-Extractof

System Description import

tresos Studio

Com-Stack

Can,

FlexRay,

Lin,

Ethernet

e.g. Preconfiguration of

communication stackRte

System data, application data and Configuration

available to EB tresos AutoCore

Application

SWC-D SWC-D SWC-D

import

ECU-Config

ECU-C ECU-C ECU-C

import

© Elektrobit (EB), 2015

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

Importing the ECU-Extract into EB tresos Studio

7

System

ECU-Extractof

System Description

import

tresos Studio

Com-Stack

Com, PduR, …

Can/FlexRay/Lin/

IP

Preconfiguration of

communication stackRte

System data available to Rte

© Elektrobit (EB), 2015

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

Importing SWC-Description files into EB tresos Studio

8

Application

SWC-D SWC-D SWC-D import

© Elektrobit (EB), 2015

Rte

Application data

available to Rte

tresos Studio

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

ECU Recommended configuration in EB tresos Studio

9© Elektrobit (EB), 2015

ECU-Config

ECU-CECU-C

ECU-CRecommended

Selected parameters

of AUTOSAR BSW

tresos Studio

BSW Modules

Recommended Configuration

Module Configurations

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

EB tresos Studio Usability Features

© Elektrobit (EB), 2015 10

• Extended Documentation (.pdf or F1)

• Example projects can be imported

(EB tresos AutoCore)

• Detailed description to ECU

configuration parameters are

displayed in a special view

within EB tresos Studio

• Guided configuration:

• Simplifies configuration through

Assistant dialogs and

configuration wizards.

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

EB tresos Studio Usability Features

© Elektrobit (EB), 2015 11

• Workflows in EB tresos Studio:

step-by-step guidance for your BSW

configuration

• Extended parameter checks to ensure

consistency of BSW configuration

• Extended search function to easily

find configuration parameters

• Annotate ECU configuration

parameters

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

EB tresos Studio: Configure and Generate AUTOSAR Basic

Software and Customer Specific Software Modules

© Elektrobit (EB), 2015 12

tresos Studio tresos AutoCore

Configure

Generate

Editors

Guided ConfigurationWorkflows

Assistance dialogs

&

configuration wizards

Extended tool

support

• Simplify configuration

• Hide complexity

• Avoid errors

• Ensure consistency

� Save time

� Lower the risk

World-class AUTOSAR toolchain: SystemDesk and EB tresos Studio

Why EB?

© Elektrobit (EB), 2015 13

Do you have to master an ECU project? We have the right solution for each use case!

Our customers benefit from:

• Reliability due to proven quality

• More than 25 years of expertise in automotive basic

software development

• > 14 000 automated tests on 20 targets every night

• 100% testing coverage of our source code

• Shared mindset with leading carmakers

• Local presence and broad range of partnerships

around the globe

• We address each carmaker´s specific requirements,

e.g. BMW, Daimler, GM, JLR, PSA, Volkswagen/Audi,

Volvo, and more

• Close relationships with Technical Partners

• Established partnerships with leading software tool

vendors, e.g. dSPACE, Timing Architects, etc.

• Testing on industry-leading target systems, e.g.

Freescale, Infineon, STM, TI, Renesas, etc.

Contact us!www.elektrobit.com

[email protected]