From 680155e14d76563e2a2a39c80b255c7f908092e6 Mon Sep 17 00:00:00 2001 From: Grzegorz Ferenc Date: Wed, 15 Jan 2025 09:58:01 +0100 Subject: [PATCH] doc: ap-protect: edit nrfjprog to nrfutil Changed nrfjprog commands to nrfutil in the AP-Protect documentation. NCSDK-30148. Signed-off-by: Grzegorz Ferenc --- .../releases/release-notes-changelog.rst | 9 +++++-- doc/nrf/security/ap_protect.rst | 25 +++++++++++-------- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst b/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst index 31746a31f42..28e17048861 100644 --- a/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst +++ b/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst @@ -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 ========= diff --git a/doc/nrf/security/ap_protect.rst b/doc/nrf/security/ap_protect.rst index 9cf793b43f9..e1925a619b6 100644 --- a/doc/nrf/security/ap_protect.rst +++ b/doc/nrf/security/ap_protect.rst @@ -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: @@ -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.