Checking protection status

nRF5340 devices have access port protection enabled by default, but they can also have secure access port protection and erase protection.

For more information on access port protection, see Enabling device protection.

To check if your device is protected, read the following registers in the AHB-AP: