27
© 2014 Red Bend Software Vector Informatik GmbH Update ECUs using Delta- and Over-the-Air-Technology

Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

Embed Size (px)

Citation preview

Page 1: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Update ECUs using Delta- and Over-the-Air-Technology

Page 2: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Market Trends

Challenges with current update methods

Vector and Red Bend approach

Demo Result

Main Benefits

Summary

Agenda

Page 3: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Market Trends – Code and ECUs3

Page 4: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

The cost to the OEM

The duration of the process▪ To perform the update▪ To complete the update on the whole cars▪ For the customers

Requires trained technician

Scaling of the process▪ Serial process

Updating ECU Today – The Challenges

Page 5: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Updating ECU Today – The Process

The dealer updates

the reprogram-ming tools

Car recall

Dealer uses serial connection to update

ECU

The customer picks up

the updated vehicle

The dealer charges the OEM

for the recall labor

ECU problem identified

ECU developer

fixes problem

OEM tests new SW

OEM notifies dealers

and owners of required

recall

New version sent to

dealers on a CD

Page 6: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

©

© 2014 Red Bend SoftwareVector Informatik GmbH

Flash Bootloader – Introduction

vFlash

Bus CAN LIN FlexRay MOST ETHERNET

ECUs with Vector Bootloader

Usage of Flashing Development EOL programming After-Sales Programming

Overview

Page 7: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Different Networks - New Challenges

ECU App

Bootloader

Network

Dat

a

Network

Flash-Tool

Network

Har

dw

are

Increased Network BandwidthNetwork type and configuration

FasterProcessingOptimal performance,highly automated

Faster ProgrammingOptimal performance, parallel processing

Reduced DataVolumeCompression, Red Bend vRM/vFuse

IntelligentData SelectionMinimal Programming

Faster Flash Erasing/WritingFast hardware derivate

How to Minimize Reprogramming Times?

Page 8: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Flashing on Different Networks

Network Bus Speed[Kilobits/s]

Data Rate [Kilobytes/s]

K-Line 19.2 – 125 ~ 1.8

LIN 19.2 ~ 0.4-0.8

CAN 500 ~ 15-25

CAN FD 4,000 ~ 80+

FlexRay 10,000 ~30-60

Ethernet 100,000 ~90-150+

Data transfer rate on current networks

Page 9: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Introduction

Start Programming Session

Perform Security Access

Write Identification, Fingerprint, …

Request Download

Transfer Data

Finish Transfer Data

Verification

Request Download

Erase Memory

Transfer Data

Finish Transfer Data

Check Consistency/Dependencies

Reset Ecu

Optional: Recommended

Optional: OEM specific

Optional: Download Flash Driver

according to ISO15765-3

Standardized Flash Programming – The Logical Sequence

Verification

Page 10: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Speed-up Flash Download

Erase: Erase flash memory areas

Transfer and program: Transfer data blocks and program into flash memory

Verification: Verify programmed data

ERASE TRANSFER and PROGRAM VERIFY

Erase flash memory

Segmented data transfer

Programming of data segment Verification

Phases of Programming

Page 11: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Speed-up Flash Download

Transmission channel is the bottleneck:

Reduce the amount of data to transfer

Flash Tool

Data or program

Data or program

vFlash

Bootloader

CommunicationStack

OEM Download Manager

Application

Security (crypto)

Data Decompression

Multiple Memory Manager

Bootloader Application Layer

Data compression

Data Compression

Page 12: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Speed-up Flash Download

Flash-Tool ECU Flash Memory

Request

Response

Write

Flash-Tool ECU Flash Memory

Request

Response

Write

Conventional Programming Pipelined Programming

Pipelined Programming: Principle

Page 13: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Pipelined Transfer–Program

Speed-up Flash DownloadSummary of optimizations

Transfer

Program

Decompression

Pipelined Transfer–Decompression–Program

Sequential transfer-programming

Page 14: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

OTA Delivery

What is FOTA – Introduction to Delta Technology

Update PackageSource

Image

Target Image

vRapid Mobile Update Generator extracts only the essential differences between versions

vRapid Mobile Update Installer applies the new file to the existing software image on the device to create an updated version

Performs Device UpdateGenerates Firmware Update Package

Generated Target Image

Software Management Center is used to plan, run, optimize and monitor the update campaign

Page 15: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

SoftwareVersions

SoftwareVersions

Introduction to Delta TechnologyBasics

ECU

SoftwareVersion X

SoftwareVersion

X+n

SoftwareVersions read version info

SoftwareVersion X

Software

Use version from version storage

Create new version

Calculate software delta

Transfer to ECU

Calculate and flash update to version x+n

Software Version Repository

2 variants of transfer and calculation

+n

Page 16: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Introduction to Delta Technology – Red Bend vRapid Mobile ®

First, the complete delta is transferred to the ECU

Then, at the end of the download, the new software version is calculated inplace by the update agent

ECU

Software

Version X+n

SoftwareVersion

X+n

SoftwareVersion X

Software

Software

Calculate software delta

Calculation memory

Transfer to ECU

Calculate and flash update to version x+n

Standard approach

vRM®

Page 17: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Introduction to Delta Technology –Red Bend vRapid Mobile Fuse ®

Fuse enables the smallest, most resource-constrained ECU to receive efficient software updates OTA or over cable

Delta is streamed to the bootloader with transfer data

New software version is calculated gradually

ECU

Software

Version X+n

SoftwareVersion

X+n

SoftwareVersion X

portion y Calculate software delta

Calculation memory

portion w

portion x

portion y

portion y

Portion transfer to ECU

Calculate and flash update to version x+ngradually

Streaming approach

Fuse ®

Page 18: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Vector FBL with Update AgentArchitecture

Red BendUpdate Agent

∆ LibMem

PipelinedProgramming

PipelinedVerification

Page 19: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

The Motivation – Demonstrating the advantages of the integration between Vector’s Bootloader (FBL) and Red Bend FOTA (Firmware Over the Air) technology

The components –▪ Vector bootloader▪ Red Bend update agent▪ NXP - ARM7TDMI LPC2478 microcontroller

The demo script –▪ Measuring the time of a regular update process▪ Measuring the time of the new approach update

process

The Joint Solution – Demo

Page 20: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Red Bend vRM Integration

Integrate Red Bend vRM in Vector bootloader

Only send the delta over the bus

Save ~97% of size and ~70% total programming time

Recreate and program the whole image in place

Erase and program only necessary pages and sectors

0500.000

1.000.0001.500.0002.000.0002.500.0003.000.0003.500.0004.000.0004.500.000

Full Image Compressed V1-V2 Delta

Download Size in Bytes

0

50

100

150

200

250

Full Download Compression +Pipelining

V1-V2 Delta

Total Programming Time in Seconds

-43%

-71%

-37%

-97%

Page 21: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

The New Approach

Page 22: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2012 Red Bend Software

Car Connectivity is Here

Audi

Tesla Renault

GM Nissan

BMW

Page 23: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

ECU OTA Update

ECUECU ECU

ECUTelematics

OnBoardTester

Server

Architecture Overview

vRM

vRM

Fuse

Management

OEM Backend

Page 24: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Updating ECU OTA– The Process

The ECU is updated to the new version

ECU problem identified

ECU developer

fixes problemOEM tests new SW

OEM start an update

campaign

Page 25: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Software Update Anywhere@ Home

@ Dealer

@ Post Production

@ Production @ Enterprise/Fleet

Page 26: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Seamless integration between the FBL and the update agent

Achieving update time reduction of more then 70%

No impact on existing process in production or at the dealership

Fail safe process

De-couple the download process from the re-programming process

Enable OTA update, and thus enhancing the customer experience by avoiding painful dealer cycle recalls

The Joint Solution Benefit

Page 27: Update ECUs using Delta- and Over-the-Air-Technology · PDF fileUpdate ECUs using Delta- and Over-the-Air-Technology ... Code and ECUs 3 ... How to update ECUs fast and efficient using

© 2014 Red Bend SoftwareVector Informatik GmbH

Thank you for your attention.

For detailed information aboutRed Bend or Vector Software please visit

http://www.redbend.comwww.vector.com