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

samples: wifi: Replace nrfjprog with nrfutil #21108

Merged
merged 2 commits into from
Mar 25, 2025
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
4 changes: 2 additions & 2 deletions doc/nrf/gsg_guides/nrf7002_gs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,9 @@ Programming the firmware to the DK
Follow the instructions in the :ref:`building` page to build and the :ref:`programming` page to program applications.

.. note::
To flash and debug applications on the nRF7002 DK, you must use the `nRF Command Line Tools`_ version 10.12.0 or above.
To flash and debug applications on the nRF7002 DK, you can use `nRF Util`_ or west.

|nrf_CLT_deprecation_note|
See `Installing nRF Util`_ and `Installing and upgrading nRF Util commands`_ for instructions on how to install the nRF Util device utility.

Debugging
=========
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ Documentation
* The :ref:`ug_nrf91` documentation to use `nRF Util`_ instead of nrfjprog.
* The :ref:`dm-revisions` section of the :ref:`dm_code_base` page with information about the preview release tag, which replaces the development tag.
* The :ref:`ug_bt_mesh_configuring` page with the security toolbox section and the key importer functionality.
* The :ref:`ug_nrf7002_gs` documentation to use `nRF Util`_ instead of nrfjprog.

* Removed:

Expand Down
24 changes: 16 additions & 8 deletions samples/wifi/ble_coex/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,19 +201,27 @@ Testing

.. code-block:: console

nrfjprog --com

.. note::
|nrfjprog_deprecation_note|
nrfutil device list

This command returned the following output in the setup used to run the coexistence tests.

.. code-block:: console

1050043161 /dev/ttyACM0 VCOM0
1050043161 /dev/ttyACM1 VCOM1
1050724225 /dev/ttyACM2 VCOM0
1050724225 /dev/ttyACM3 VCOM1
1050043161
product J-Link
board version PCA10095
ports /dev/ttyACM0, vcom: 0
/dev/ttyACM1, vcom: 1
traits devkit, jlink, seggerUsb, serialPorts, usb

1050724225
product J-Link
board version PCA10143
ports /dev/ttyACM2, vcom: 0
/dev/ttyACM3, vcom: 1
traits devkit, jlink, seggerUsb, serialPorts, usb

Found 2 supported device(s)


In this example, ``1050043161`` is the serial number of the nRF5340 DK and ``1050724225`` is the serial number of the nRF7002 DK.
Expand Down
13 changes: 5 additions & 8 deletions samples/wifi/shell/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,14 @@ The following is an example of the CLI commands:

west build -b thingy91x/nrf5340/cpuapp -- -DSB_CONFIG_THINGY91X_STATIC_PARTITIONS_NRF53_EXTERNAL_FLASH=y
# Set SWD switch to nRF91 and check if you are connected to an nRF91:
nrfjprog --deviceversion
# If you see NRF9120_xxAA_REV3, proceed with erasing:
nrfjprog --recover
nrfutil device device-info
# If you see deviceVersion as NRF9120_xxAA_REV3 in the above output, proceed with erasing:
nrfutil device --recover
# Flip the SWD switch back to nRF53.
nrfjprog --deviceversion
# If you see NRF5340_xxAA_REV1, proceed with flashing:
nrfutil device device-info
# If you see deviceVersion as NRF5340_xxAA_REV1 in the above output, proceed with flashing:
west flash --erase

.. note::
|nrfjprog_deprecation_note|

See also :ref:`cmake_options` for instructions on how to provide CMake options.


Expand Down
24 changes: 16 additions & 8 deletions samples/wifi/thread_coex/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,19 +184,27 @@ Testing

.. code-block:: console

nrfjprog --com

.. note::
|nrfjprog_deprecation_note|
nrfutil device list

This command returned the following output in the setup used to run the coexistence tests.

.. code-block:: console

1050779496 /dev/ttyACM0 VCOM0
1050779496 /dev/ttyACM1 VCOM1
1050759502 /dev/ttyACM2 VCOM0
1050759502 /dev/ttyACM3 VCOM1
1050779496
product J-Link
board version PCA10143
ports /dev/ttyACM0, vcom: 0
/dev/ttyACM1, vcom: 1
traits devkit, jlink, seggerUsb, serialPorts, usb

1050759502
product J-Link
board version PCA10143
ports /dev/ttyACM2, vcom: 0
/dev/ttyACM3, vcom: 1
traits devkit, jlink, seggerUsb, serialPorts, usb

Found 2 supported device(s)

In this example, ``1050779496`` is the serial number of the first nRF7002 DK and ``1050759502`` is the serial number of the other one.

Expand Down