2020-12-03 06:35 AM
2020-12-07 06:39 AM
SWCLK+SWDIO+GND are minimum. You might want to mimic some of the existing headers depending on your probe.
NRST is optional, as TDK wrote. Might be useful if you re-configure SWCLK+SWDIO in your code and cannot do a "soft" (SWDIO triggered) reset.
VDD is sometimes misunderstood. STM probes use it to detect the board voltage level. Cheap clones might try to suppy the board via that same pin, beware.
"AN4989 Application note “STM32 microcontroller debug toolbox�? is a good read.
2022-01-12 02:46 AM
Very many users still use the external pull-up because the MCUs of the last century had no internal current source, so indeed some kind of copy'n'paste.
This is just like how some universities still use the letters i or j as a counter for loops, even though this once came from a language called FORTRAN, where I...N were implicit integers.
Regards
/Peter