© 2014 Red Bend Software
Vector Informatik GmbH
Update ECUs using
Delta- and Over-the-Air-Technology
© 2014 Red Bend Software
Vector Informatik GmbH
 Market Trends
 Challenges with current update methods
 Vector and Red Bend approach
 Demo Result
 Main Benefits
 Summary
Agenda
© 2014 Red Bend Software
Vector Informatik GmbH
Market Trends – Code and ECUs3
© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector 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
©
© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector Informatik GmbH
Different Networks - New Challenges
ECU App
Bootloader
Network
Data
Network
Flash-Tool
Network
Hardware
Increased Network
Bandwidth
Network type and
configuration
Faster
Processing
Optimal performance,
highly automated
Faster
Programming
Optimal performance,
parallel processing
Reduced Data
Volume
Compression, Red
Bend vRM/vFuse
Intelligent
Data Selection
Minimal
Programming
Faster Flash
Erasing/
Writing
Fast hardware
derivate
How to Minimize Reprogramming Times?
© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector 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
Communication
Stack
OEM
Download
Manager
Application
Security (crypto)
Data
Decompression
Multiple Memory
Manager
Bootloader Application Layer
Data compression
Data
Compression
© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector Informatik GmbH
 Pipelined Transfer–Program
Speed-up Flash Download
Summary of optimizations



Transfer
Program
Decompression
 Pipelined Transfer–Decompression–Program
  
 

  

  
 Sequential transfer-programming
  

  

© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector Informatik GmbH
Software
Versions
Software
Versions
Introduction to Delta Technology
Basics
ECU
Software
Version X
Software
Version
X+n
Software
Versions  read version info
Software
Version 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
© 2014 Red Bend Software
Vector 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
Software
Version
X+n
Software
Version X
Software

Software
 Calculate
software delta
Calculation
memory
 Transfer to
ECU
 Calculate and flash
update to version x+n
Standard approach
vRM®
© 2014 Red Bend Software
Vector 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
Software
Version
X+n
Software
Version 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+n
gradually
Streaming approach
Fuse ®
© 2014 Red Bend Software
Vector Informatik GmbH
Vector FBL with Update Agent
Architecture
Red Bend
Update Agent
∆ LibMem
Pipelined
Programming
Pipelined
Verification
© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector 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
0
500.000
1.000.000
1.500.000
2.000.000
2.500.000
3.000.000
3.500.000
4.000.000
4.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%
© 2014 Red Bend Software
Vector Informatik GmbH
The New Approach
© 2012 Red Bend Software
Car Connectivity is Here
Audi
Tesla Renault
GM Nissan
BMW
© 2014 Red Bend Software
Vector Informatik GmbH
ECU OTA Update
ECU
ECU ECU
ECU
Telematics
OnBoardTester
Server
 Architecture Overview
vRM
vRM
Fuse
Management
OEM
Backend
© 2014 Red Bend Software
Vector Informatik GmbH
Updating ECU OTA– The Process
The ECU is
updated to the
new version
ECU problem
identified
ECU
developer
fixes problem
OEM tests
new SW
OEM start an
update
campaign
© 2014 Red Bend Software
Vector Informatik GmbH
Software Update Anywhere
@ Home
@ Dealer
@ Post Production
@ Production @ Enterprise/Fleet
© 2014 Red Bend Software
Vector 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
© 2014 Red Bend Software
Vector Informatik GmbH
Thank you for your attention.
For detailed information about
Red Bend or Vector Software please visit
http://www.redbend.com
www.vector.com

Vector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_en

  • 1.
    © 2014 RedBend Software Vector Informatik GmbH Update ECUs using Delta- and Over-the-Air-Technology
  • 2.
    © 2014 RedBend Software Vector Informatik GmbH  Market Trends  Challenges with current update methods  Vector and Red Bend approach  Demo Result  Main Benefits  Summary Agenda
  • 3.
    © 2014 RedBend Software Vector Informatik GmbH Market Trends – Code and ECUs3
  • 4.
    © 2014 RedBend Software Vector 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
  • 5.
    © 2014 RedBend Software Vector 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
  • 6.
    © © 2014 RedBend Software Vector 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
  • 7.
    © 2014 RedBend Software Vector Informatik GmbH Different Networks - New Challenges ECU App Bootloader Network Data Network Flash-Tool Network Hardware Increased Network Bandwidth Network type and configuration Faster Processing Optimal performance, highly automated Faster Programming Optimal performance, parallel processing Reduced Data Volume Compression, Red Bend vRM/vFuse Intelligent Data Selection Minimal Programming Faster Flash Erasing/ Writing Fast hardware derivate How to Minimize Reprogramming Times?
  • 8.
    © 2014 RedBend Software Vector 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
  • 9.
    © 2014 RedBend Software Vector 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
  • 10.
    © 2014 RedBend Software Vector 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
  • 11.
    © 2014 RedBend Software Vector 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 Communication Stack OEM Download Manager Application Security (crypto) Data Decompression Multiple Memory Manager Bootloader Application Layer Data compression Data Compression
  • 12.
    © 2014 RedBend Software Vector 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
  • 13.
    © 2014 RedBend Software Vector Informatik GmbH  Pipelined Transfer–Program Speed-up Flash Download Summary of optimizations    Transfer Program Decompression  Pipelined Transfer–Decompression–Program               Sequential transfer-programming        
  • 14.
    © 2014 RedBend Software Vector 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
  • 15.
    © 2014 RedBend Software Vector Informatik GmbH Software Versions Software Versions Introduction to Delta Technology Basics ECU Software Version X Software Version X+n Software Versions  read version info Software Version 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
  • 16.
    © 2014 RedBend Software Vector 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 Software Version X+n Software Version X Software  Software  Calculate software delta Calculation memory  Transfer to ECU  Calculate and flash update to version x+n Standard approach vRM®
  • 17.
    © 2014 RedBend Software Vector 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 Software Version X+n Software Version 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+n gradually Streaming approach Fuse ®
  • 18.
    © 2014 RedBend Software Vector Informatik GmbH Vector FBL with Update Agent Architecture Red Bend Update Agent ∆ LibMem Pipelined Programming Pipelined Verification
  • 19.
    © 2014 RedBend Software Vector 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
  • 20.
    © 2014 RedBend Software Vector 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 0 500.000 1.000.000 1.500.000 2.000.000 2.500.000 3.000.000 3.500.000 4.000.000 4.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%
  • 21.
    © 2014 RedBend Software Vector Informatik GmbH The New Approach
  • 22.
    © 2012 RedBend Software Car Connectivity is Here Audi Tesla Renault GM Nissan BMW
  • 23.
    © 2014 RedBend Software Vector Informatik GmbH ECU OTA Update ECU ECU ECU ECU Telematics OnBoardTester Server  Architecture Overview vRM vRM Fuse Management OEM Backend
  • 24.
    © 2014 RedBend Software Vector Informatik GmbH Updating ECU OTA– The Process The ECU is updated to the new version ECU problem identified ECU developer fixes problem OEM tests new SW OEM start an update campaign
  • 25.
    © 2014 RedBend Software Vector Informatik GmbH Software Update Anywhere @ Home @ Dealer @ Post Production @ Production @ Enterprise/Fleet
  • 26.
    © 2014 RedBend Software Vector 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
  • 27.
    © 2014 RedBend Software Vector Informatik GmbH Thank you for your attention. For detailed information about Red Bend or Vector Software please visit http://www.redbend.com www.vector.com