Skip to content

Commit

Permalink
doc: ap-protect: edit nrfjprog to nrfutil
Browse files Browse the repository at this point in the history
Changed nrfjprog commands to nrfutil in the AP-Protect documentation.
NCSDK-30148.

Signed-off-by: Grzegorz Ferenc <[email protected]>
  • Loading branch information
greg-fer committed Jan 17, 2025
1 parent 601a475 commit 680155e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,13 @@ Developing with PMICs
Security
========

* Added support for HKDF-Expand and HKDF-Extract in CRACEN.
* Added support for Ed25519ph(HashEdDSA) to CRACEN
* Added

* Support for HKDF-Expand and HKDF-Extract in CRACEN.
* Support for Ed25519ph(HashEdDSA) to CRACEN.

* Updated the :ref:`app_approtect` page with nRF Util commands that replaced the nrfjprog commands.
This is part of the ongoing work of archiving `nRF Command Line Tools`_ and replacing them with nRF Util.

Protocols
=========
Expand Down
25 changes: 15 additions & 10 deletions doc/nrf/security/ap_protect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,16 +227,24 @@ If the access port protection is configured this way, it cannot be disabled with
.. note::
This is the only mechanism supported by the nRF52 Series and the nRF9160 devices that do not support both hardware and software AP-Protect.

To lock the ``UICR.APPROTECT`` register, complete the following steps:
To lock the ``UICR.APPROTECT`` register, use the following set of commands:

.. code-block:: console
.. tabs::

nrfjprog --rbp ALL
.. tab:: SoCs or SiPs other than nRF5340

.. note::
|nrfjprog_deprecation_note|
.. code-block:: console
nrfutil device protection-set All
.. tab:: nRF5340

This command enables the hardware AP-Protect (and Secure AP-Protect) and resets the device.
.. code-block:: console
nrfutil device protection-set All --core Network
nrfutil device protection-set All
This set of commands enables the hardware AP-Protect (and Secure AP-Protect) and resets the device.

.. _app_secure_approtect:

Expand Down Expand Up @@ -311,9 +319,6 @@ To enable only the hardware Secure AP-Protect mechanism, run the following comma

.. code-block:: console
nrfjprog --rbp SECURE
.. note::
|nrfjprog_deprecation_note|
nrfutil device protection-set SecureRegions
This command enables hardware Secure AP-Protect and resets the device.

0 comments on commit 680155e

Please sign in to comment.