STMicroelectronics RM0365 Reference Manual page 26

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0365
33.4
Pinout and debug port pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1039
33.4.1
33.4.2
33.4.3
33.4.4
33.5
STM32F302xx JTAG TAP connection . . . . . . . . . . . . . . . . . . . . . . . . . 1042
33.6
ID codes and locking mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1043
33.6.1
33.6.2
33.6.3
33.6.4
33.7
JTAG debug port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1045
33.8
SW debug port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
33.8.1
33.8.2
33.8.3
33.8.4
33.8.5
33.8.6
33.9
and SW-DP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1050
33.10 Core debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1051
33.12 FPB (Flash patch breakpoint) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1052
33.13 DWT (data watchpoint trigger) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1053
33.14 MCU debug component (DBGMCU) . . . . . . . . . . . . . . . . . . . . . . . . . . 1053
33.14.1 Debug support for low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . 1053
33.14.3 Debug MCU configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . 1054
33.15 TPIU (trace port interface unit) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1058
33.15.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1058
33.15.2 TRACE pin assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1059
33.15.3 TPUI formatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1061
33.15.4 TPUI frame synchronization packets . . . . . . . . . . . . . . . . . . . . . . . . . 1061
SWJ debug port pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1040
Flexible SWJ-DP pin assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . 1040
Internal pull-up and pull-down on JTAG pins . . . . . . . . . . . . . . . . . . . 1041
MCU device ID code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044
Boundary scan TAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044
®
®
F JEDEC-106 ID code . . . . . . . . . . . . . . . . . . . . . . . . . . 1045
SW protocol introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
SW protocol sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
SW-DP state machine (reset, idle states, ID code) . . . . . . . . . . . . . . 1048
DP and AP read/write accesses . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1048
SW-DP registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1049
SW-AP registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1050
DocID025202 Rev 7
Contents
2
26/1080
27

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents