How to connect STM32 with ST-Link Utility?
Here’s a clean, reliable way to hook your STM32 up to ST-Link and talk to it with ST-Link Utility (or the newer STM32CubeProgrammer).
1) Hardware wiring (SWD)
Use SWD (2-wire) unless you specifically need JTAG.
ST-Link ↔ STM32
VTref (Target/VAPP) → ...
ampheoelectronic.hashnode.dev3 min read