Module nrf52::approtect

source ·
Expand description

Access port protection

The logic around APPROTECT was changed in newer revisions of the nRF52 series chips (Oct 2021) and later which requires more careful disabling of the access port (JTAG), both in the UICR register and in a software written register. This module enables the kernel to disable the protection on boot.

Example code to disable the APPROTECT protection in software:

let approtect = nrf52::approtect::Approtect::new();