Debug access port

An external debugger can access the device through the debug access port (DAP).

The DAP implements a standard serial wire debug (SWD) Arm CoreSight™ protocol with a two-pin serial interface (SWDCLK and SWDIO).

The SWDIO pin has an internal pull-up resistor. The SWDCLK pin has an internal pull-down resistor.

There are several access ports for connecting to different parts of the system, as shown in the following table.

Table 1. Access port overview
AP IDTypeDescription
0AHB-APCM33 access port
1AHB-APAUX access port
2CTRL-APControl access port

The AHB-AP is a standard Arm component. See the ArmCoreSight SoC-400 Technical Reference Manual for more information. The control access port (CTRL-AP) is proprietary and described in more detail in CTRL-AP — Control access port.

Debug access port registers

Register overview
RegisterOffsetTZDescription
TARGETID0x024

The TARGETID register provides information about the target when the host is connected to a single device.

The TARGETID register is accessed by a read of DP register 0x4 when the DPBANKSEL bit in the SELECT register is set to 0x2.

DLPIDR0x034

The DLPIDR register provides information about the serial wire debug protocol version.

Accessed by a read of DP register 0x4 when the DPBANKSEL bit in the SELECT register is set to 0x3.

TARGETID

Address offset: 0x024

The TARGETID register provides information about the target when the host is connected to a single device.

The TARGETID register is accessed by a read of DP register 0x4 when the DPBANKSEL bit in the SELECT register is set to 0x2.

Bit number313029282726252423222120191817161514131211109876543210
IDCCCCBBBBBBBBBBBBAAAAAAAAAAA
Reset 0x0000028900000000000000000000001010001001
IDR/WFieldValue IDValueDescription
ARTDESIGNERAn 11-bit code JEDEC JEP106 continuation code and identity code. The ID identifies the designer of the part.
NordicSemi0x144Nordic Semiconductor ASA.
BRTPARTNOPart number.
CRTREVISIONTarget revision.

DLPIDR

Address offset: 0x034

The DLPIDR register provides information about the serial wire debug protocol version.

Accessed by a read of DP register 0x4 when the DPBANKSEL bit in the SELECT register is set to 0x3.

Bit number313029282726252423222120191817161514131211109876543210
IDBBBBAAAA
Reset 0x0000000100000000000000000000000000000001
IDR/WFieldValue IDValueDescription
ARPROTVSNProtocol version.
SWDPv21SW protocol version 2.
BRTINSTANCETarget instance.