DocID025097 Rev 1 15/39
UM1658 Hardware and layout
38
4.2.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 CN2 as shown in Figure 9, and connect your application
to the CN3 debug connector according to Table 3.
Note: SB19 and SB22 must be OFF if you use CN3 pin 5 in your external application.
Figure 9. ST-LINK connections image
Table 3. Debug connector CN3 (SWD)
Pin CN3 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