![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 144](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630144.webp)
www.geehy.com Page 143
Figure 12 APM32F4xx Level and Arm
®
Cortex
®
-M4 Level Debugging Block Diagram
SW-DR or SWJ-DP
TAR
CSW
DRW
AHB-AP
AHB bus matrix
Address
Control
Data
Arm
®
Cortex
®
-M4
core system
Memory system
Debug
host
Arm
®
Cortex
®
-
M4 chip
DAP on Arm
®
Cortex
®
-M4
Functional description
Debug pin function configuration
Realize the on-line programming and debugging of the chip
Using KEIL/IAR and other software to achieve on-line debugging,
downloading and programming
Flexible implementation of production of bus-line programmer
Table 55 Pin Function Configuration
SWJ-
CFG[2:0]
Configured as dedicated
pin for debugging
I/O port assignment of SWJ interface
PA13/
JTMS/
SWDIO
PA14/
JTCK/
SWCLK
PA15/
JTDI
PB3/
JTDO
PB4/
JNTRST
Others
Disable
Reserved
100
Both JTAG-DP interface
and SW-DP interface
disabled
010
JTAG-DP interface
disabled, SW-DP
interface enabled
Dedicated Dedicated
Reserved
001
All SWJ pins
(JTAG-DP+SW-DP)
Except JNTRST pin
Dedicated Dedicated Dedicated Dedicated
Reserved
000
All SWJ pins
(JTAG-DP+SW-DP)
Reset state
Dedicated Dedicated Dedicated Dedicated Dedicated
Note: The items that cannot be tested in running mode can be observed and tested in detail