IT lexicon › Security › Debug authentication

Debug authentication

Security På svenska → Updated: 2026-11-04

The mechanisms that decide who may attach a debugger to a shipped chip, and therefore who gets to read everything inside it.

An open debug port gives full read and write access to memory and registers. That's exactly what you want on the bench and exactly what you don't want in a product. Arm cores control it with the DBGEN, NIDEN, SPIDEN and SPNIDEN signals, which separately allow invasive and non-invasive debugging of the non-secure and secure worlds. Vendors then add their own locks on top: readout protection on STM32, APPROTECT on Nordic's nRF parts.

A permanent lock makes field returns impossible to debug. Authenticated debug, such as Arm's ADAC specification, lets whoever holds the right key reopen the port through a challenge-response exchange. The locks are only as strong as the silicon, though. In 2020 researchers showed that APPROTECT on the nRF52 could be bypassed with a voltage glitch.

← Back to the lexicon