ARM mbed Technical Overview Jerry Wang, FAE, ISG ARM Tech Forum Taipei July 4 th 2017
ARM mbed: Connecting chip to cloud Device software Device services Third-party cloud services IoT device application mbed Cloud Update IoT cloud applications Analytics and rules App management mbed clients mbed OS, mbed Cloud Client Provision Web servers Scale-out Device silicon and hardware Connect Load balancing Data storage 2
mbed Cloud 3
mbed Cloud mbed Cloud simplifies management of IoT devices Connectivity, Provisioning and Firmware Update Standards-based approach Optimized for energy efficiency mbed Cloud Unique offering for a chain of trust for IoT Simplifies firmware update across complex networks 4
mbed Cloud Connect Simple, secure and energy efficient IoT connectivity solution for a diversity of devices, enabling unified connectivity from cloud applications Key features Standard based OMA LWM2M, CoAP and TLS/DTLS End-to-end channel security Secure device bootstrap Optimizes for small devices and energy efficiency IoT device communication via REST APIs to enterprise software and web apps 5
OMA Lightweight M2M LWM2M is a Device Management protocols optimized for IoT devices Manage IoT devices remotely and update over-the-air LWM2M enables interworking between compatible clients and servers Usage of Standard protocols is the key in preventing vendor lock-in Vendor lock-in - a customer dependent on a vendor for products and services, unable to use another vendor without substantial switching costs ARM is an active member in the OMA standard body activities ARM client and server implementation are standard compliant ARM participate in the on-going TestFests computability activities 6
mbed Cloud Connect is standards based OMA Lightweight M2M V1.0 Optimized for IoT CoAP RFC 7252 CoAP block wise - rev 16 CoAP over TCP - rev 01 CoAP observe - rev 11 CoRE resource directory - rev 04 Secure connectivity using TLS/DTLS V1.2 7
Network optimization: Cache mechanism 2. Send resource value with max-age mbed Cloud Connect 1. Get resource value 3. Resource value 4. Get resource value IoT Cloud Application Queue/ Cache 5. get value from cache 6. Resource value mbed Cloud connect cache mechanism increases device battery life time Reduces network utilization and hence reduces device usage of battery to yield longer battery life Optimized network utilization is ideal for mesh networks and battery powered sleepy devices 8
Integration with application cloud platforms mbed Cloud Client CoAP HTTP(S) IoT devices 9 Your Own Server
Making it easier for developers: mbed Cloud SDKs Speeds up application development on mbed Cloud Available in JavaScript and Python Open Source Apache 2.0 Functionality offered: 10 User and key management Connected and disconnected device and resource management Certificate creation and management Firmware image, manifest and update campaign management
Features of mbed Cloud Update Secure Authenticity, integrity and confidentiality protection Failsafe operation Reduce costs for rolling out updates Flexible Workflow Simple but powerful APIs to manage and monitor devices Conditional Updates Target groups of devices and apply rules to avoid interrupting critical device operations Monitoring Track the progress of updates and status on all devices Standards Support Transferable technology, reduced time to market 11
mbed Cloud Update components Cloud Set of REST based APIs Example web application (Portal) Accelerating proof of concept projects Service available when needed Service reliable and scalable Client Included as part of mbed Cloud Client Small and portable (PAL) Reference Bootloader Power Failsafe Built in recovery Tools Manifest creation/signing tool 12
Update Workflow using mbed Cloud Software Developer Developer Publish Firmware Update Service Device Apply Updates Code Development Prepare Update Package Publish Package Setup Campaign Distribute Package Verify Package Apply Recover Device Admin Manage Campaigns Device Admin/ Service Manager 13
mbed OS 14
mbed OS 5 mbed OS is built to address the disruptive jump in complexity for embedded software Cortex-M RTOS kernel Partner ecosystem Development tools mbed OS Portable drivers Developer community Open collaboration across the ecosystem accelerates IoT system development Management services IoT connectivity Integrated security 15
mbed OS Connectivity LAN WAN Ethernet BLE Cellular LoRaWAN WiFi Thread Sub-GHz 6LoWPAN NB-IoT 16
mbed OS Security Covers three main types of threat 1. Security of system, including ability to provision, manage and update devices (e.g. security fix) 2. Security of communications between device and cloud services 3. Security and integrity of device itself from untrusted or malicious code mbed OS Security mbed Client Lifecycle Security mbed TLS Communication Security mbed uvisor Device Security 17
mbed Product Development Products target a diversity of IoT markets Oil & gas 25% Transportation Security 20% Lighting 15% Healthcare 10% Smart buildings 5% Consumer 0% Smart home 0% 2% 4% 6% 8% 10% 12% 14% 16% 30% Products use a diversity of connectivity WiFi Bluetooth Ethernet Cellular LoRa Narrow-band IoT 6LoWPAN Thread 45% of projects expect to achieve deployment 45% 55% Don't expect mbed project to be deployed into the market Do expect mbed project to be deployed into the market 18 Source: mbed.com, mbed developer survey 2017
mbed OS 5.5 headline features CMSIS5 and CMSIS-RTOS2 Entropy/Acceleration Partner HW support Bootloader and firmware update framework 19
mbed OS tools Free web-based tools for building, debugging, testing and collaborating across mbed workflows Rich third-party tool support from industry leaders mbed OS IDEs and toolchains ARM Compiler 5 mbed OS core tools mbed OS DVCS support mbed CLI Command Line Interface mbed Compiler Free Online IDE mbed Greentea Porting Testsuite and CI mbed pyocd CMSIS-DAP Debug Library mbed DAPLink CMSIS-DAP Debug Firmware mbed.org/code 20
Thank you! The trademarks featured in this presentation are registered and/or unregistered trademarks of ARM Limited (or its subsidiaries) in the EU and/or elsewhere. All rights reserved. All other marks featured may be trademarks of their respective owners. 2017 ARM Limited