You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/technology/firmware_update.md
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ A boot sequence can have several stages of bootloaders, leading to an applicatio
28
28
29
29
To protect against faults in the newly updated components, we store multiple versions (up to a certain maximum number of versions). Each stag is responsible for detecting faults in the following component and rolling it back if it discovers faults. For example, if stage 3 is unstable, needs additional functionality or is otherwise behaving incorrectly, stage 2 (during the *next* startup sequence) can roll stage 3 back to an earlier version before handing over control. This results in a boot-sequence tree that is traversed in a depth-first order as the system recovers from successive faults.
30
30
31
-
Most boot sequences are composed of only three stages:<!--And for Mbed OS? Answer: See two sentences down?-->
31
+
Most boot sequences are composed of only three stages:
32
32
33
33
1. Boot selector (also known as **root bootloader** or **stage zero bootloader**): does not get upgraded.
34
34
1. Bootloader: upgradable, with several versions stored on the device.
@@ -64,8 +64,6 @@ Note two things about the Mbed OS bootloader's design:
64
64
65
65
This means that the default bootloader does not implement secure boot; for high-security applications, further implementation is required. Please see [the full bootloader documentation](https://cloud.mbed.com/docs/latest/updating-firmware/bootloaders.html) and the [porting section](https://cloud.mbed.com/docs/current/porting/porting-the-device-management-update-client.html) on the Pelion Device Management site.
66
66
67
-
<!--I don't think Product is going to like me calling this out.-->
68
-
69
67
### Managing updates with the bootloader
70
68
71
69
When a device downloads new firmware, it stores it locally (in the storage area) and reboots; the device's bootloader then:
@@ -84,14 +82,12 @@ When a device downloads new firmware, it stores it locally (in the storage area)
84
82
85
83
### Development tool integration with Pelion Device Management Update
86
84
87
-
Mbed CLI and the Online Compiler<!--Please confirm the Online Compiler can do this--> implement the Pelion Device Management Update service by directly using the service's APIs and the manifest tool. For a device running an updatable application, using Mbed CLI and the Online Compiler's built in update features can reduce the steps needed to run an update campaign.
85
+
Mbed CLI and the Online Compiler implement the Pelion Device Management Update service by directly using the service's APIs and the manifest tool. For a device running an updatable application, using Mbed CLI and the Online Compiler's built in update features can reduce the steps needed to run an update campaign.
88
86
89
87
<spanclass="notes">**Note**: The default workflow of the development tools is intended only for development and testing purposes. It is not considered secure for production.</span>
90
88
91
89
Your development tool needs to use your Device Management account's API key to call the Pelion Device Management APIs. Once it has access to the APIs, it can generate a manifest and upload the manifest and binary to the server, and deliver the manifest to a device or group of devices. For more information, see [the update API documentation](https://cloud.mbed.com/docs/current/service-api-references/update-service.html).
92
90
93
-
<!--Technically there are difference between CLI and IDE, and between a single device and device group flow. But I think that's something the tools should cover, not this section-->
94
-
95
91
<spanclass="notes">**Note**: The tools currently support the update flow for Device Management Client, not Device Management Client Lite.</span>
0 commit comments