TF-M: Provisioning image for network core

Running this provisioning image in the network core will disable the debugging access, as required by the Trusted Firmware-M (TF-M) provisioning process. The debugging is disabled by enabling the APPROTECT in the UICR register. This sample is included by default as a child image of the provisioning image sample which runs on the application core.

The provisioning images initialize the provisioning process of a device in a manner compatible with TF-M. The APPROTECT feature is explained in detail in Enabling access port protection mechanism.


The following development kits are supported:

Hardware platforms


Board name

Build target

nRF5340 DK




Building and running

This sample can be found under samples/tfm/provisioning_image_net_core in the nRF Connect SDK folder structure.

To build the sample with Visual Studio Code, follow the steps listed on the How to build an application page in the nRF Connect for VS Code extension documentation. See Configuring and building an application for other building scenarios, Programming an application for programming steps, and Testing and optimization for general information about testing and debugging in the nRF Connect SDK.


The sample does not build firmware for the application core and thus cannot be tested separately.