22
Gerard Fianen INDES-IDS BV Op afstand upgraden van Embedded Software

Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Gerard Fianen INDES-IDS BV

Op afstand upgraden van Embedded Software

Page 2: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Wie zijn wij ?

INDES - Integrated Development Solutions BV

Tools, software components and services for the development, testing and production of Real-Time Embedded Software

Page 3: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Wie zijn wij ?

INDES - Integrated Development Solutions BV

Tools, software components and services for the development, testing and production of Real-Time Embedded Software

Page 4: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Feature upgrades Patches (i.pv. Recalls) Feedback voor ADAS

Security leak TLS / SSL - Heartbleed - Poodle

Remote Update / upgrade

No access possible

Page 5: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Components

Page 6: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Download image

Firmware server

Update pushed to vehicle

Approved ?

Yes

No

Show notification

Install image & restart

Accepted ?

Components -> solution

Yes

No

Page 7: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Important considerations

Security - Communication

- Authentication

Constraints

-Bandwidth

-image code size

Transfer channel

Page 8: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Bootloader

Target

Boot Loader

RTOS

CPU

IMAGE

Compile Lib

Flas

h

IP-stack

Nice, but how to make this secure ?

Page 9: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Secure communication - Secure Socket Layer - Secure Shell

TCP/IP stack

SSL

Link Layer

Application

(modified for SSL) SSH Client

Host

SSH Server

Target

Secure SSH Connection

SSL, TLS 1.0, 1.1 and 1.2, PKI X.509 certificates, crypto,

hashing and network protocols. SSH and secure TCP/IP tunnel embedded server and client,

Page 10: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Authorisation 1) Create a key pair

Boot loader

Page 11: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

3) Generate Signature

Authorisation 2) Generate application code

Compile Lib

Firmware

Page 12: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Secure bootloader

On a firmware update and when starting the product, the bootloader will verify the firmware by its signature. If they match, the firmware is started, otherwise the application will stay in the bootloader or even erase the firmware.

Page 13: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Secure bootloader

Page 14: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Or, take it one step further :

Page 15: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Or, take it one step further :

Page 16: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Low bandwith, small memory - Embedded “unzip”

• Highly efficient compression • (very) Small decompressor ROM footprint • Fixed decompressor RAM use, chosen when compressing • Wide range of codecs to choose from • Automatic selection of best codec for each file

IMAGE

IMAGE

IMAGE

IMAGE

Configuration bitstreams to program FPGA and CPLD devices. Permanent files for embedded web server static content. Upgrading firmware using a compressed image. Storing user interface messages for multiple languages.

Page 17: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Transfer channel ..

Target

Secure Loader

RTOS

CPU

Flas

h

IP-stack

SSL

internet Application

Page 18: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Transfer channel ..

Target

Secure Loader

RTOS

CPU

Flas

h

IP-stack

SSL

Application

Page 19: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

Transfer channel ..

Target

Secure Loader

RTOS

CPU

Flas

h

IP-stack

SSL

internet Application

To get messages a from an MQTT broker a subscriber establishes a connection to the broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage of this approach is that publisher and subscriber do not need to know each other and that they do not need to run at the same time. All they need to know is the IP address of the broker.

ROM

Appr. 2.5 kBytes

RAM

Appr. 60 bytes

Page 20: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

INDES-IDS BV - QuickStart service

• On-site assistance in setting up Tools, RTOS and middleware

• We can do the integration with your platform and application for you

• Local expert support – You give us (prototype) hardware so we can locally reproduce problems and support you

• Fixed price integration services

Page 21: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

- Relational Database - Distributed, High Availability - Fault tolerant, high reliability - Replication, Synchronization, Data Recovery - Secure (AES / SSL) - Embedded, Android, iOS, Windows, Linux - High performance, small footprint, scalable - In-Memory, Flash, Disk, Hybrid

Seminar 20 juni : Distributed Databases in networked embedded systems

www.embedded-masterclass.nl

Page 22: Op afstand upgraden van Embedded Software · broker. The broker checks if a publisher has sent a message for the subscribed topic and if so, sends it to the subscriber. The advantage

For more information :

Stand 7D112

[email protected]

Tel : +31 (0)345 – 545.535

www.indes.com/embedded

Page 22