autosar tool implementing autosar methodology€¦ · © all rights reserved including industrial...

31
AUTOSAR tool implementing AUTOSAR methodology - And Some Customizations Introduced Jeongho Son, HYUNDAI AUTRON 7 th AUTOSAR Open Conference Detroit, October 22 nd 2014

Upload: others

Post on 30-Apr-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

AUTOSAR tool implementing

AUTOSAR methodology

- And Some Customizations Introduced

Jeongho Son, HYUNDAI AUTRON

7th AUTOSAR Open Conference

Detroit, October 22nd 2014

Page 2: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Contents

1. Review

2. Tool implementing AUTOSAR Methodology

Screenshots Continued

3. Customizing Methodology

4. Integrated Development Environment

5. Future Work

6. Summary

2

Page 3: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

1. Review

AUTOSAR Methodology

3

Page 4: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

AUTOSAR Software Architecture

• Software Component

• Network Import

• ECU Mapping/Extract

• RTE Configuration

• BSW Configuration

• Generating ECUC based

on Upper Templates

• Code Generation

Tool support required

Everywhere!

4

Page 5: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

2. Tool Implementing AUTOSAR Methodology

• Application Data Types: Primitive / Array / Record

• Implementation Data Type

• Sw Base Type

• Compu Method

Software Architecture Design: Data Type

5

Page 6: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Software Architecture Design: Port Interface

• Client Server Interface

• Sender Receiver Interface

• Parameter Interface

6

Page 7: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Software Architecture Design: Composition

7

Page 8: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Software Architecture Design: Composition

Features: • Direct Port Editing: Addition,

Removal, Rename of Ports

• Drag-And-Drop Creation:

- Port Prototypes from Port

Interfaces

- Component Prototypes

from Component Type

• Highlighting Compatible Ports

8

Page 9: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Component Type

• Runnable: Easiest Addition/Removal of

Data Access Points, RTE Events, Wait

Points

• Exclusive Area

• Variable / Parameter

• Port

9

Page 10: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Advanced Generic Editor: ‘All Contents’ Page

• Editing UI for any AUTOSAR Metamodel

• Consists of Tree/Table Viewer, Field Editors

10

Page 11: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Import Network Design: CAN DBC …

Type File

Format

Version

CAN DBC -

LIN LDF 2.0 or above

FlexRay FIBEX 2.X

Ethernet FIBEX 4.X

Diagnostics ODX 2.X

* Network Format Supported

11

Page 12: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

ECU Mapping / Extract

• Swc Mapping

• Data Mapping

• ECU Extract

12

Page 13: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

ECU Configuration: Generic ECUC Editor, OS Case

Consists of: Multiple pages, Tree/Table Viewer, Field Editors

13

Page 14: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

ECU Configuration: Generic ECUC Editor, OS Case

One Container Focused: Various Field Editors

14

Page 15: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

ECU Configuration: Task Mapping, Service Mapping

15

Page 16: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Code Generation

Incorporates any command-line executable

16

Page 17: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

3. Customizing Methodology

Software Architecture: Supports Network-Oriented Design

Approach

DBC Import:

In addition to Fibex

elements, creating

• Data Type

• Compu Method

• Data Constr

• Port Interface, Data

Element

Data(Signal) Mapping

Software Components:

• Adding Ports

• Adding Data Access Points

① ②

17

Page 18: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Framework of ECU Configuration Generation

ECUC Gen Frontend

(Wizard, File IO)

Automation Framework

ARTOP (AUTOSAR SDK)

General Automation

ECUC Diff/Merge Framework

Module Automation

Eclipse

AUTOSAR File Util

Automation Util

Invoke AutoConfig

EcuAction

General

Automation

Module

Automation

Automation

Util

Automation

FileUtil

EcucDiff

Util

Key Point: • BSW module developers

themselves write converting

codes for their modules.

18

Page 19: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

ECU Configuration Generation: Eclipse Extension Point

19

Page 20: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

ECU Configuration Generation Wizard

Select System

Descriptions

Select ECUC

Modules to Fill Check Options

20

Page 21: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Concept of Platform Delivery Process: CAN Example

ECUC Gen Wizard System Desc.

from CAN

DBC file

Can

CanIf

CanNm

CanSM

CanTp

CanTrcv

(CanCM)

Com

ComM

IpduM

Nm

PduR ECUC

Gen CanStack

Configuration

from Platform

SRS Other

System

Desc ?

Input

Platform SRS: Platform Delivery Order

from ECU Software Developers

describing Platform Requirements

21

Page 22: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Stack-wise ECUC Editing: Virtual ECU Module

Example: Memory Stack Editor

Ecuc Module Def: AUTRON_EcucDefs_

NvRamStack.arxml

Editing Handler:

‘NvRam

ExtendedEcuc

EditingHandler’

NvM

module

Fee

module

Ea

module

UI Rendering Callback invoked

upon

User Editing Input

Set Real

Module Values

22

Page 23: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Memory Stack Editor: Eclipse Extension Point

23

Page 24: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Memory Stack Editor: Overview Page

24

Page 25: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Memory Stack Editor: Nv Block Page

25

Page 26: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

4. Integrated Development Environment

Features • SCons based

• Build scripts written in

Python

Integrated Build System

26

Page 27: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Current Status of Tool Integration: Eclipse

Tool Plug-in Usage

AUTOSAR Tool AUTOSAR Authoring/Converting/Generating

Subversion Client Configuration Management

C/C++ Development Tooling (CDT)

C Coding, Build

WTP Source Editing XML Editing

Python IDE (PyDev) C Build Script Settings

Plug-in Development Environment

Extending AUTOSAR Functionalities: • ECU Configuration Generation • ECUC Stack-wise Editor

Software developers do NOT have to leave ECLIPSE

most of the time while doing their software jobs

27

Page 28: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

5. Future Work

1. Improve Interaction/Interoperability with MBD Tool

• Import/Export from/to SIMULINK

• Diff/Merge during Import

2. Extend Coverage of Automated ECU Configuration

(ECU Configuration Generation)

• Diagnostics based on ODX file

• Services such as NvM, Watchdog, …

• Initial configuration of RTE

28

Page 29: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Automated ECU Configuration: NvM Service Concept

Application

Component

NvM

Service

Component

NvM

Ecuc

Module

Automated

Configuration

Automated

Configuration

including Ports

Connection

NvM

Standardized

AUTOSAR

Interfaces

(Library)

Application developers

define service needs

Nv Block Needs Refers

to

29

Page 30: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

Automated ECU Configuration: ‘Nv Block Needs’ UI

30

Page 31: AUTOSAR tool implementing AUTOSAR methodology€¦ · © All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third

© All rights reserved including industrial property rights and all rights of disposal such as copying and passing on to third parties.

6. Summary

Tool Implementation supporting AUTOSAR Methodology

• As ONE Tool

Some Customizations? of AUTOSAR Methodology

• CAN DBC file to Software Components

• Framework of ECU Configuration Generation

• More Automation: Platform SRS

• Stack-wise ECUC Editor

Integrated Development Environment for Automotive

Software Developers

• Developers stays in ECLIPSE most of the time.

31