Sw-Ap Registers; Ahb-Ap (Ahb Access Port) - Valid For Both Jtag-Dp And Sw-Dp; Table 217. Cortex ® -M4 With Fpu Ahb-Ap Registers - ST STM32F412 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Debug support (DBG)
30.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
30.9
AHB-AP (AHB access port) - valid for both JTAG-DP
and SW-DP
Features:
System access is independent of the processor status.
Either SW-DP or JTAG-DP accesses AHB-AP.
The AHB-AP is an AHB master into the Bus Matrix. Consequently, it can access all the
data buses (Dcode Bus, System Bus, internal and external PPB bus) but the ICode
bus.
Bitband transactions are supported.
AHB-AP transactions bypass the FPB.
The address of the 32-bits AHP-AP resisters are 6-bits wide (up to 64 words or 256 bytes)
and consists of:
c)
d)
The AHB-AP of the Cortex
Address
offset
0x00
0x04
0x0C
0x10
0x14
0x18
0x1C
0xF8
0xFC
Refer to the Cortex
1136/1163
Bits [7:4] = the bits [7:4] APBANKSEL of the DP SELECT register
Bits [3:2] = the 2 address bits of A[3:2] of the 35-bit packet request for SW-DP.
®
-M4 with FPU includes 9 x 32-bits registers:
Table 217. Cortex
Register name
AHB-AP Control and Status
Word
AHB-AP Transfer Address
AHB-AP Data Read/Write
AHB-AP Banked Data 0
AHB-AP Banked Data 1
AHB-AP Banked Data 2
AHB-AP Banked Data 3
AHB-AP Debug ROM Address Base Address of the debug interface
AHB-AP ID Register
®
-M4 with FPU r0p1 TRM for further details.
®
-M4 with FPU AHB-AP registers
Configures and controls transfers through the AHB
interface (size, hprot, status on current transfer, address
increment type
Directly maps the 4 aligned data words without rewriting
the Transfer Address Register.
RM0402 Rev 6
RM0402
Notes
-
-
-

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F412 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF