Product Specs

Table Of Contents
16 Debug and trace
Page
74
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
A
0
Id RW Field
Value Id
Value
Description
A R ERASEALLSTATUS
Status register for the ERASEALL operation
Ready
0
ERASEALL is ready
Busy
1
ERASEALL is busy (on-going)
APPROTECTSTATUS
Address offset: 0x00C
Status register for access port protection
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
A
0
Id RW Field
Value Id
Value
Description
A R APPROTECTSTATUS
Status register for access port protection
Enabled
0
Access port protection enabled
Disabled
1
Access port protection not enabled
IDR
Address offset: 0x0FC
CTRL-AP Identification Register, IDR
Bit number
Id
Reset 0x02880000
31 30
E E
0 0
29
E
0
28
E
0
27
D
0
26
D
0
25
D
1
24
D
0
23 22 21 20
C C C C
1 0 0 0
19
C
1
18
C
0
17
C
0
16
B
0
15
B
0
14
B
0
13
B
0
12
0
11
0
10
0
9
0
8
0
7
A
0
6
A
0
5
A
0
4
A
0
3
A
0
2
A
0
1
A
0
0
A
0
Id RW Field
Value Id
Value
Description
A
R
APID
AP Identification
B
R
CLASS
NotDefined
0x0
Access Port (AP) class
No defined class
MEMAP
0x8
Memory Access Port
C
R
JEP106ID
JEDEC JEP106 identity code
D
R
JEP106CONT
JEDEC JEP106 continuation code
E
R
REVISION
Revision
16.3 Debug interface mode
Before the external debugger can access the CPU's access port (AHB-AP) or the Control Access Port
(CTRL-AP), the debugger must first request the device to power up via CxxxPWRUPREQ in the SWJ-DP.
As long as the debugger is requesting power via CxxxPWRUPREQ, the device will be in debug interface
mode. If the debugger is not requesting power via CxxxPWRUPREQ, the device will be in normal mode.
Some peripherals will behave differently in debug interface mode compared to normal mode. These
differences are described in more detail in the chapters of the peripherals that are affected.
When a debug session is over, the external debugger must make sure to put the device back into normal
mode since the overall power consumption will be higher in debug interface mode compared to normal
mode.
For details on how to use the debug capabilities please read the debug documentation of your IDE.
If the device is in System OFF when power is requested via CxxxPWRUPREQ, the system will wake up and
the DIF flag in RESETREAS on page 85 will be set.
16.4 Real-time debug
The nRF52832 supports real-time debugging.