Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v2.8-branch] doc: samples: suit: Testing Steps for recovery sample #18866

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _ug_nrf54h20_suit_recovery:

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

.. contents::
:local:
Expand Down
22 changes: 17 additions & 5 deletions samples/suit/recovery/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,24 @@ 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 beginning 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 now advertising itself as *SUIT Recovery*.
#. Recover the application using the nRF Device Manager app to perform an update, following the process outlined in the :ref:`nrf54h_suit_sample` sample documentation.
Use the :file:`root.suit` file generated from the previous build.
#. After the update completes, the device will reset and launch the application.
#. Open the nRF Device Manager app on your mobile phone and observe that the device is now advertising as *SUIT SMP Sample*.

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