
RM0453 Rev 2
RM0453
Debug support (DBG)
1441
Figure 385. Debug and access port connections
The address of the AP registers is composed as follows:
•
Bits [7:4]: content of the APBANKSEL[3:0] field in the DP_SELECTR register
)
•
Bits [3:2]: content of the A(3:2) field of the APACC data register in the JTAG-DP
Table 268: DP register map and reset values
) or of the SW-DP packet request
), depending on the debug interface used
•
Bits [1:0]: always set to 0
The content of the APSEL[3:0] field of the DP_SELECTR register defines which MEM-AP is
being accessed.
MSv60367V1
SWJ-DP
AP0
(AHB-AP)
AP1
(AHB-AP)
DAPBUS
JTAG/SWD
CPU1 Cortex-M4
CPU2 Cortex-M0+
Table 269. MEM-AP registers
Address APBANKSEL
A(3:2)
Name
Description
0x00
0x0
0
AP_CSWR Control/status word register (see
0x04
0x0
1
AP_TAR
Transfer address register (see
Target address for the bus transaction
0x08
-
-
-
Reserved
0x0C
0x0
3
AP_DRWR
Data read/write register (see
Access to this register triggers a corresponding transaction on
the debug bus to the address in AP_TAR[31:0].
0x10
0x1
0
AP_BD0R
)
Access to this register triggers a corresponding transaction on
the debug bus to the address in Address [31:4] = AP_TAR[31:4],
address [3:0] = 0x0.
0x14
0x1
1
AP_BD1R
)
Access to this register triggers a corresponding transaction on
the debug bus to the address in Address [31:4] = AP_TAR[31:4],
address [3:0] = 0x4.
0x18
0x1
2
AP_BD2R
)
Access to this register triggers a corresponding transaction on
the debug bus to the address in Address [31:4] = AP_TAR[31:4],
address [3:0] = 0x8.