Skip to content

Commit 65f6705

Browse files
committed
samples: wifi: Replace nrfjprog with nrfutil
Replace all instances of `nrfjprog` commands with `nrfutil` commands as nrfjprog is going to be deprecated. Fixes SHEL-3520. Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
1 parent 8663873 commit 65f6705

File tree

3 files changed

+37
-24
lines changed

3 files changed

+37
-24
lines changed

samples/wifi/ble_coex/README.rst

+16-8
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,27 @@ Testing
201201

202202
.. code-block:: console
203203
204-
nrfjprog --com
205-
206-
.. note::
207-
|nrfjprog_deprecation_note|
204+
nrfutil device list
208205
209206
This command returned the following output in the setup used to run the coexistence tests.
210207

211208
.. code-block:: console
212209
213-
1050043161 /dev/ttyACM0 VCOM0
214-
1050043161 /dev/ttyACM1 VCOM1
215-
1050724225 /dev/ttyACM2 VCOM0
216-
1050724225 /dev/ttyACM3 VCOM1
210+
1050043161
211+
product J-Link
212+
board version PCA10095
213+
ports /dev/ttyACM0, vcom: 0
214+
/dev/ttyACM1, vcom: 1
215+
traits devkit, jlink, seggerUsb, serialPorts, usb
216+
217+
1050724225
218+
product J-Link
219+
board version PCA10143
220+
ports /dev/ttyACM2, vcom: 0
221+
/dev/ttyACM3, vcom: 1
222+
traits devkit, jlink, seggerUsb, serialPorts, usb
223+
224+
Found 2 supported device(s)
217225
218226
219227
In this example, ``1050043161`` is the serial number of the nRF5340 DK and ``1050724225`` is the serial number of the nRF7002 DK.

samples/wifi/shell/README.rst

+5-8
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,14 @@ The following is an example of the CLI commands:
9292
9393
west build -b thingy91x/nrf5340/cpuapp -- -DSB_CONFIG_THINGY91X_STATIC_PARTITIONS_NRF53_EXTERNAL_FLASH=y
9494
# Set SWD switch to nRF91 and check if you are connected to an nRF91:
95-
nrfjprog --deviceversion
96-
# If you see NRF9120_xxAA_REV3, proceed with erasing:
97-
nrfjprog --recover
95+
nrfutil device device-info
96+
# If you see deviceVersion as NRF9120_xxAA_REV3 in the above output, proceed with erasing:
97+
nrfutil device --recover
9898
# Flip the SWD switch back to nRF53.
99-
nrfjprog --deviceversion
100-
# If you see NRF5340_xxAA_REV1, proceed with flashing:
99+
nrfutil device device-info
100+
# If you see deviceVersion as NRF5340_xxAA_REV1 in the above output, proceed with flashing:
101101
west flash --erase
102102
103-
.. note::
104-
|nrfjprog_deprecation_note|
105-
106103
See also :ref:`cmake_options` for instructions on how to provide CMake options.
107104

108105

samples/wifi/thread_coex/README.rst

+16-8
Original file line numberDiff line numberDiff line change
@@ -184,19 +184,27 @@ Testing
184184

185185
.. code-block:: console
186186
187-
nrfjprog --com
188-
189-
.. note::
190-
|nrfjprog_deprecation_note|
187+
nrfutil device list
191188
192189
This command returned the following output in the setup used to run the coexistence tests.
193190

194191
.. code-block:: console
195192
196-
1050779496 /dev/ttyACM0 VCOM0
197-
1050779496 /dev/ttyACM1 VCOM1
198-
1050759502 /dev/ttyACM2 VCOM0
199-
1050759502 /dev/ttyACM3 VCOM1
193+
1050779496
194+
product J-Link
195+
board version PCA10143
196+
ports /dev/ttyACM0, vcom: 0
197+
/dev/ttyACM1, vcom: 1
198+
traits devkit, jlink, seggerUsb, serialPorts, usb
199+
200+
1050759502
201+
product J-Link
202+
board version PCA10143
203+
ports /dev/ttyACM2, vcom: 0
204+
/dev/ttyACM3, vcom: 1
205+
traits devkit, jlink, seggerUsb, serialPorts, usb
206+
207+
Found 2 supported device(s)
200208
201209
In this example, ``1050779496`` is the serial number of the first nRF7002 DK and ``1050759502`` is the serial number of the other one.
202210

0 commit comments

Comments
 (0)