Skip to content

Commit

Permalink
doc: samples: suit: Testing Steps for recovery sample
Browse files Browse the repository at this point in the history
Test steps for SUIT recovery sample.

Signed-off-by: Janusz Gąsior <janusz.gasior@nordicsemi.no>
  • Loading branch information
jnsgsr committed Nov 13, 2024
1 parent a9732b6 commit faa1c8d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _ug_nrf54h20_suit_recovery:

Configuring and programming the SUIT manufacturer application recovery firmware
SUIT Recovery
###############################################################################

.. contents::
Expand Down
18 changes: 13 additions & 5 deletions samples/suit/recovery/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,20 @@ Testing
|test_sample|

#. |connect_kit|
#. Corrupt the currently running main application (for example by flashing a modified version of the application)
#. Open the Device Manager or the nRF Connect application, and observe the device advertising as "SUIT Recovery"
#. Recover the application using `nRF Connect Device Manager`_ in the same way as described in the :ref:`nrf54h_suit_sample` sample documentation.
#. Corrupt the currently running main application. This can be done by overwriting the beggining of the application partition.

.. note::
In recovery state, `nRF Connect Device Manager`_ uses legacy mode.
.. code-block:: console
nrfutil device x-write --address 0xE0A5000 --value 0xFFFF --serial-port COM7
#. Reset the device to enter the recovery path.

.. code-block:: console
nrfutil device reset --serial-port COM7
#. Open the nRF Device Manager app on your mobile phone, and observe the device advertising itself now as "SUIT Recovery".
#. Recover the application by performing update in nRF Device Manager app in the same way as described in the ``smp_transfer`` sample documentation, and by using :file:`root.suit` file from the previous build.
#. After the update is complete, the device will reset and start the application
#. Open the nRF Device Manager app on your mobile phone, and observe the device advertising now as "SUIT SMP Transfer".

Device firmware update for recovery firmware
============================================
Expand Down

0 comments on commit faa1c8d

Please sign in to comment.