Skip to content

Commit 283d316

Browse files
committed
sample/dfu/single_slot: doc on USB buttonless DFU
Added doc on USB buttonelss DFU for nRF54lm20dk and nRF54lm20dongle. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent ad6619e commit 283d316

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

samples/dfu/single_slot/README.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,18 @@ This sample employs one of alternatives:
2929
* The :ref:`fw_loader_ble_mcumgr` firmware loader image, which uses the Simple Management Protocol (SMP) over Bluetooth LE.
3030
* The :ref:`fw_loader_usb_mcumgr` firmware loader image, which uses the USB CDC ACM serial.
3131

32+
This sample can emply the buttonless DFU feature when application can enter the firmware loader mode without the need to hold a button during reset.
33+
This is achived by enabling SMP MCUmgr grp reset command with boot-mode parameter which need to be set '1' to enter the firmware loader mode.
34+
3235
Building and running
3336
********************
3437

3538
.. |sample path| replace:: :file:`samples/dfu/single_slot`
3639

3740
By default, the sample builds with the :ref:`fw_loader_ble_mcumgr` firmware loader image.
3841
To build with the :ref:`fw_loader_usb_mcumgr` firmware loader image, append ``FILE_SUFFIX=usb`` to the build command.
42+
To build the sample desired for the :zephyr:board:`nrf54lm20dk` with the :ref:`fw_loader_usb_mcumgr` firmware loader image and USB buttonless DFU support, append ``FILE_SUFFIX=usb_enter`` to the build command.
43+
To build the sample desired for the ``nrf54lm20dk/nrf54lm20a/cpuapp`` with the :ref:`fw_loader_usb_mcumgr` firmware loader image and USB buttonless DFU support, append ``FILE_SUFFIX=usb_enter_dongle`` to the build command.
3944

4045
.. include:: /includes/build_and_run.txt
4146

@@ -51,7 +56,7 @@ After programming the sample to your development kit, perform the following step
5156
build time: <BUILD TIME>
5257

5358
#. Build a second version of the sample.
54-
#. Enter the firmware loader mode by holding the **Button 0** on your development kit while you reset the device.
59+
#. Enter the firmware loader mode by holding the **Button 0** on your development kit while you reset the device or by sending the reset command with boot-mode parameter set to '1' through MCUmgr.
5560

5661
a. Bluetooth firmware loader:
5762

0 commit comments

Comments
 (0)