Hardware and layout UM1525
16/41 Doc ID 022910 Rev 2
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 Tabl e 4.
Note: SB19 and SB22 must be OFF if you use CN3 pin 5 in your external application.
Table 4. 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
Figure 9. ST-LINK connections image
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.