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

doc: ap-protect: edit nrfjprog to nrfutil #19913

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
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.
Loading