Skip to content

Commit

Permalink
doc: Replace nrfjprog to nrfutil in nRF91 docs
Browse files Browse the repository at this point in the history
Replace nrfjprog and nRF Command Line Tools
to nrfutil in nRF91 docs

Signed-off-by: divya pillai <[email protected]>
  • Loading branch information
divipillai authored and rlubos committed Feb 4, 2025
1 parent 34dac5f commit 484aeeb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The nRF5340 IMCU comes preprogrammed with J-Link SEGGER OB and board controller
If you want to change the default configuration of the DK, you can use the `Board Configurator app`_ in `nRF Connect for Desktop`_ .

To update board controller firmware on the nRF9161 DK, download the `nRF9161 DK board controller firmware`_ from the nRF9161 DK downloads page.
To program the HEX file, use `nRF Util`_.
To program the HEX file, use `nRF Util's device command <Device command overview_>`_.

.. _nrf9160_ug_intro:

Expand All @@ -39,10 +39,7 @@ Make sure to select the correct controller before you program the application to

The nRF52840 SoC on the DK comes preprogrammed with a firmware.
If you need to restore the original firmware at some point, download the `nRF9160 DK board controller firmware`_ from the nRF9160 DK downloads page.
To program the HEX file, use nrfjprog (which is part of the `nRF Command Line Tools`_).

.. note::
|nrfjprog_deprecation_note|
To program the HEX file, use `nRF Util's device command <Device command overview_>`_.

If you want to route some pins differently from what is done in the preprogrammed firmware, program the :zephyr:code-sample:`hello_world` sample instead of the preprogrammed firmware.
Build the sample (located under :file:`ncs/zephyr/samples/hello_world`) for the ``nrf9160dk_nrf52840`` board target.
Expand Down
11 changes: 4 additions & 7 deletions doc/nrf/app_dev/device_guides/nrf91/nrf91_features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,11 @@ There are two ways to update the modem firmware:
Full update
You can use either a wired or a wireless connection to do a full update of the modem firmware:

* When using a wired connection, you can use either the `Programmer app`_, which is part of `nRF Connect for Desktop`_, or the `nRF pynrfjprog`_ Python package.
Both methods use the Simple Management Protocol (SMP) to provide an interface over UART, which enables the device to perform the update.
* When using a wired connection, you can use either the `Programmer app`_, which is part of `nRF Connect for Desktop`_, or `nRF Util's device command <Upgrading modem firmware using J-Link_>`_.
Both methods use the :term:`Serial Wire Debug (SWD)` interface to update the firmware.

* You can use the Programmer app to perform the update, regardless of the images that are part of the existing firmware of the device.
For example, you can update the modem on an nRF9160 DK using the instructions described in the :ref:`nrf9160_updating_fw_modem` section.

* You can also use the nRF pynrfjprog Python package to perform the update, as long as a custom application image integrating the ``lib_fmfu_mgmt`` subsystem is included in the existing firmware of the device.
See the :ref:`fmfu_smp_svr_sample` sample for an example on how to integrate the :ref:`subsystem <lib_fmfu_mgmt>` in your custom application.
You can use the Programmer app to perform the update, regardless of the images that are part of the existing firmware of the device.
For example, you can update the modem on an nRF9160 DK using the instructions provided in the :ref:`nrf9160_updating_fw_modem` section.

* When using a wireless connection, the update is applied over-the-air (OTA).
See :ref:`nrf91_fota` for more information.
Expand Down
1 change: 1 addition & 0 deletions doc/nrf/links.txt
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@
.. _`Device command overview`: https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming.html
.. _`Programming application firmware using MCUboot serial recovery`: https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming_firmware_thingy91.html
.. _`Programming application firmware on the nRF54L15 SoC`: https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming_nrf54L15.html
.. _`Upgrading modem firmware using J-Link`: https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-device/guides/programming_modem_9160.html

.. _`anomaly 19`: https://docs.nordicsemi.com/bundle/errata_nRF5340_EngA/page/ERR/nRF5340/EngineeringA/latest/anomaly_340_19.html

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,10 @@ Documentation
* New page :ref:`add_new_led_example` under :ref:`configuring_devicetree`.
This page includes information previously located in the |nRFVSC| documentation.

* Updated the :ref:`create_application` page with the :ref:`creating_add_on_index` section.
* Updated:

* The :ref:`create_application` page with the :ref:`creating_add_on_index` section.
* The :ref:`ug_nrf91` documentation to use `nRF Util`_ instead of nrfjprog.

* Removed the standalone page for getting started with Nordic Thingy:53.
The contents of this page have been moved to the :ref:`thingy53_precompiled` page and to the `Programmer app <Programming Nordic Thingy:53_>`_ documentation.

0 comments on commit 484aeeb

Please sign in to comment.