
Hardware layout
UM1842
14/35
DocID027213 Rev 1
4.1.2
Using ST-LINK/V2 to program/debug an external STM32 application
It is very easy to use the ST-LINK/V2 to program the STM32 on an external application.
Simply remove the 2 jumpers from CN3 as shown in
, and connect your application
to the CN2 debug connector according to
.
Note:
SB13 must be OFF if you use CN2 pin 5 in your external application.
Figure 7. ST-LINK connections image
Table 3. Debug connector CN2 (SWD)
Pin CN2
Designation
1
VDD_TARGET
VDD from application
2 SWCLK
SWD
clock
3 GND
Ground
4
SWDIO
SWD data input/output
5
NRST
RESET of target MCU
6 SWO
Reserved
STM32F411VET6