Download Print this page

ST STM32F301 6 Series Reference Manual page 24

Advanced arm-based 32-bit mcus

Advertisement

Contents
28.3
SWJ debug port (serial wire and JTAG) . . . . . . . . . . . . . . . . . . . . . . . . . 838
28.3.1
28.4
Pinout and debug port pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
28.4.1
28.4.2
28.4.3
28.4.4
28.5
STM32F3xx JTAG TAP connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842
28.6
ID codes and locking mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843
28.6.1
28.6.2
28.6.3
28.6.4
28.7
JTAG debug port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
28.8
SW debug port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
28.8.1
28.8.2
28.8.3
28.8.4
28.8.5
28.8.6
28.9
AHB-AP (AHB access port) - valid for both JTAG-DP
and SW-DP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849
28.10 Core debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 850
28.11 Capability of the debugger host to connect under system reset . . . . . . 851
28.12 FPB (Flash patch breakpoint) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
28.13 DWT (data watchpoint trigger) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 851
28.14 ITM (instrumentation trace macrocell) . . . . . . . . . . . . . . . . . . . . . . . . . . 852
28.14.1 General description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 852
28.14.2 Time stamp packets, synchronization, and overflow packets . . . . . . . 852
28.15 Arm® Arm® MCU debug component (DBGMCU) . . . . . . . . . . . . . . . . . 854
28.15.1 Debug support for low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . 854
28.15.2 Debug support for timers, watchdog I
28.15.3 Debug MCU configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . 854
28.15.4 Debug MCU APB1 freeze register (DBGMCU_APB1_FZ) . . . . . . . . . 856
28.15.5 Debug MCU APB2 freeze register (DBGMCU_APB2_FZ) . . . . . . . . . 857
24/874
Mechanism to select the JTAG-DP or the SW-DP . . . . . . . . . . . . . . . . 839
SWJ debug port pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840
Flexible SWJ-DP pin assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840
Internal pull-up and pull-down on JTAG pins . . . . . . . . . . . . . . . . . . . . 840
Using serial wire and releasing the unused debug pins as GPIOs . . . 842
MCU device ID code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843
Boundary scan TAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
®
Cortex
-M4F TAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
®
Cortex
-M4F JEDEC-106 ID code . . . . . . . . . . . . . . . . . . . . . . . . . . . 844
SW protocol introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
SW protocol sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 846
SW-DP state machine (reset, idle states, ID code) . . . . . . . . . . . . . . . 847
DP and AP read/write accesses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848
SW-DP registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848
SW-AP registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 849
RM0366 Rev 5
2
C . . . . . . . . . . . . . . . . . . . . . . . 854
RM0366

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32F301 6 Series and is the answer not in the manual?

This manual is also suitable for:

Stm32f301 8 seriesStm32f318 8 series