Skip to content

Commit

Permalink
doc: nrfconnect: add w -1 upload parameter (#13205)
Browse files Browse the repository at this point in the history
Added new parameter to DFU image upload commands.

Signed-off-by: Grzegorz Ferenc <Grzegorz.Ferenc@nordicsemi.no>
  • Loading branch information
greg-fer authored and pull[bot] committed Apr 14, 2022
1 parent 8f1c4d7 commit 66663bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/nrfconnect_examples_software_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Complete the following steps to perform DFU using mcumgr:
4. Upload the application firmware image to the device by running the following
command in your example directory:

$ sudo mcumgr --conntype ble --hci ble-hci-number --connstring peer_name='ble-device-name' image upload build/zephyr/app_update.bin -n 0
$ sudo mcumgr --conntype ble --hci ble-hci-number --connstring peer_name='ble-device-name' image upload build/zephyr/app_update.bin -n 0 -w 1

The operation can take a few minutes. Wait until the progress bar reaches
100%.
Expand Down Expand Up @@ -125,7 +125,7 @@ Complete the following steps to perform DFU using mcumgr:
7. Upload the network core firmware image to the device by running the
following command in your example directory:

$ sudo mcumgr --conntype ble --hci ble-hci-number --connstring peer_name='ble-device-name' image upload build/zephyr/net_core_app_update.bin -n 1
$ sudo mcumgr --conntype ble --hci ble-hci-number --connstring peer_name='ble-device-name' image upload build/zephyr/net_core_app_update.bin -n 1 -w 1

The operation can take a few minutes. Wait until the progress bar reaches
100%.
Expand Down

0 comments on commit 66663bf

Please sign in to comment.