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
The SUIT recovery application is a minimal application that allows recovering the device firmware if the original firmware is damaged.
13
+
It is to be used as a additional companion firmware to the main application using SUIT rather than a standalone application.
14
+
15
+
The application uses the SMP protocol via BLE and SUIT to perform the recovery.
16
+
17
+
Building
18
+
********
19
+
20
+
The recovery application needs to be compatible with the main application in terms of hardware configuration.
21
+
To achieve this, appropriate devicetree overlay files from the main application must be passed when building the recovery application as ``EXTRA_DTC_OVERLAY_FILE``
22
+
.
23
+
These devicetree also need to specify a partition for the recovery application.
24
+
See the overlay files for the smp_transfer sample as an example.
25
+
26
+
For example, to build the recovery application as a recovery image for the smp transfer sample, run:
Currently it is not possible to flash the application using ``west flash`` .
34
+
Instead, ``nrfutil`` should be used to flash the hex files for the application core image, radio core image and SUIT storage:
35
+
36
+
``nrfutil device program --options chip_erase_mode=ERASE_NONE --firmware build/recovery/zephyr/suit_installed_envelopes_application_merged.hex``
37
+
38
+
``nrfutil device program --options chip_erase_mode=ERASE_NONE --firmware build/recovery/zephyr/suit_installed_envelopes_radio_merged.hex``
39
+
40
+
``nrfutil device program --options chip_erase_mode=ERASE_NONE --firmware build/recovery/zephyr/zephyr.hex``
41
+
42
+
``nrfutil device program --options chip_erase_mode=ERASE_NONE --firmware build/hci_ipc/zephyr/zephyr.hex``
43
+
44
+
It is also possible to install recovery application by performing an update using the recovery application envelope found in ``DFU/application.suit``
45
+
46
+
Updating
47
+
********
48
+
49
+
Note that in order to update the recovery application the ``DFU/application.suit`` file found in the recovery application build directory should be used.
50
+
This is different than in case of the main application, where usually ``DFU/root.suit`` should be used.
0 commit comments