Debug side registers

nRF5340 Product Specification

Register overview

Register Offset TZ Description
RESET 0x000

System reset request.

ERASEALL 0x004

Perform a secure erase of the device, where flash, SRAM, and UICR will be erased in sequence. The device will be returned to factory default settings upon next reset.

ERASEALLSTATUS 0x008

This is the status register for the ERASEALL operation.

APPROTECT.DISABLE 0x010

This register disables APPROTECT and enables debug access to non-secure mode.

SECUREAPPROTECT.DISABLE 0x014

This register disables SECUREAPPROTECT and enables debug access to secure mode.

ERASEPROTECT.STATUS 0x018

This is the status register for the UICR ERASEPROTECT configuration.

ERASEPROTECT.DISABLE 0x01C

This register disables ERASEPROTECT and performs ERASEALL.

MAILBOX.TXDATA 0x020

Data sent from the debugger to the CPU.

MAILBOX.TXSTATUS 0x024

This register shows a status that indicates if data sent from the debugger to the CPU has been read.

MAILBOX.RXDATA 0x028

Data sent from the CPU to the debugger.

MAILBOX.RXSTATUS 0x02C

This register shows a status that indicates if data sent from the CPU to the debugger has been read.

IDR 0x0FC

CTRL-AP Identification Register, IDR.