Debug support (DBG)
Table 75.
Bit
4:3
5
6
7
Refer to the Cortex-M3 r1p1 TRM for a detailed description of DPACC and APACC registers.
The packet request is always followed by the turnaround time (default 1 bit) where neither
the host nor target drive the line.
Table 76.
Bit
0..2
The ACK Response must be followed by a turnaround time only if it is a READ transaction or
if a WAIT or FAULT acknowledge has been received.
Table 77.
Bit
0..31
32
The DATA transfer must be followed by a turnaround time only if it is a READ transaction.
20.8.3
SW-DP state machine (Reset, idle states, ID code)
The State Machine of the SW-DP has an internal ID code which identifies the SW-DP. It
follows the JEP-106 standard. This ID code is the default ARM one and is set at
0x1BA01477 (corresponding to Cortex-M3 r1p1).
Note:
Note that the SW-DP state machine is inactive until the target reads this ID code.
The SW-DP state machine is in RESET STATE either after power-on reset, or after the
DP has switched from JTAG to SWD or after the line is high for more than 50 cycles
The SW-DP state machine is in IDLE STATE if the line is low for at least two cycles after
RESET state.
After RESET state, it is mandatory to first enter into an IDLE state AND to perform a
READ access of the DP-SW ID CODE register. Otherwise, the target will issue a
FAULT acknowledge response on another transactions.
Further details of the SW-DP state machine can be found in the Cortex-M3 r1p1 TRM and
the CoreSight Design Kit r1p0 TRM.
478/501
Packet request (8-bits) (continued)
Name
A(3:2)
Address field of the DP or AP registers (refer to
Parity
Single bit parity of preceding bits
Stop
0
Not driven by the host. Must be read as "1" by the target
Park
because of the pull-up
ACK response (3 bits)
Name
001: FAULT
ACK
010: WAIT
100: OK
DATA transfer (33 bits)
Name
WDATA or
Write or Read data
RDATA
Parity
Single parity of the 32 data bits
Description
Table
Description
Description
RM0008
74)
Need help?
Do you have a question about the STM32F101 Series and is the answer not in the manual?
Questions and answers