Debug support (DBG)
A(3:2)
01
Read/Write
01
Read/Write
10
Read
10
Write
11
Read/Write
31.8.6
SW-AP registers
Access to these registers are initiated when APnDP=1
There are many AP Registers (see AHB-AP) addressed as the combination of:
•
The shifted value A[3:2]
•
The current value of the DP SELECT register
1083/1128
Table 225. SW-DP registers (continued)
CTRLSEL bit
R/W
of SELECT
register
0
1
DocID13902 Rev 15
Register
Purpose is to:
– request a system or debug power-up
– configure the transfer operation for AP
DP-
accesses
CTRL/STAT
– control the pushed compare and pushed
verify operations.
– read some status flags (overrun, power-
up acknowledges)
Purpose is to configure the physical serial
WIRE
port protocol (like the duration of the
CONTROL
turnaround time)
Enables recovery of the read data from a
READ
corrupted debugger transfer, without
RESEND
repeating the original AP transfer.
The purpose is to select the current access
SELECT
port and the active 4-words register window
This read buffer is useful because AP
accesses are posted (the result of a read AP
request is available on the next AP
READ
transaction).
BUFFER
This read buffer captures data from the AP,
presented as the result of a previous read,
without initiating a new transaction
RM0008
Notes
Need help?
Do you have a question about the STM32F101 series and is the answer not in the manual?
Questions and answers