Skip to content

Commit

Permalink
doc: small FOTA fixes
Browse files Browse the repository at this point in the history
items as per UX session

Signed-off-by: Anna Wojdylo <[email protected]>
  • Loading branch information
annwoj committed Nov 12, 2024
1 parent 71f6d48 commit d6ede28
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/nrf/app_dev/device_guides/nrf54l/fota_update.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ To enable support for FOTA updates, do the following:
.. fota_upgrades_over_ble_mandatory_mcuboot_start
* Enable ``SB_CONFIG_BOOTLOADER_MCUBOOT`` option to use MCUboot as the immutable bootloader.
* Enable ``SB_CONFIG_BOOTLOADER_MCUBOOT`` option in the :file:`sysbuild.conf` file to use MCUboot as a bootloader.
For more information, go to the :ref:`ug_bootloader_adding_sysbuild_immutable_mcuboot` page.

.. fota_upgrades_over_ble_mandatory_mcuboot_end
Expand Down Expand Up @@ -89,12 +89,14 @@ To perform a FOTA update, complete the following steps:

.. fota_upgrades_over_ble_nrfcdm_common_dfu_steps_start
1. Generate the DFU package by building your application with the FOTA support over Bluetooth Low Energy (:kconfig:option:`CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU`).
You can find the generated :file:`dfu_application.zip` archive in the build directory.
1. Locate the :file:`dfu_application.zip` archive in the build directory.
The archive is automatically generated after adding the DFU configuration.

.. note::
For each image included in the DFU-generated package, use a higher version number than your currently active firmware.
You can do this by modifying the VERSION file in the application directory or by making changes to the application code.
For the semantic versioning, modify the :kconfig:option:`CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION`.
For the monotonic counter (HW), modify the ``SB_CONFIG_MCUBOOT_HW_DOWNGRADE_PREVENTION_COUNTER_VALUE``.
Otherwise, the DFU target may reject the FOTA process due to a downgrade prevention mechanism.

#. Download the :file:`dfu_application.zip` archive to your mobile phone.
Expand Down

0 comments on commit d6ede28

Please sign in to comment.