
UM1690 Rev 3
13/27
UM1690
Hardware layout
26
5.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 CN5 as shown in
, and connect the application
to the CN4 debug connector according to
.
Note:
SB10 must be OFF if CN4 pin 5 is used by the external application.
Figure 6. ST-LINK connections
Table 5. Debug connector CN4 (SWD)
Pin
CN4
Designation
1 VDD_TARGET
VDD
from
application
2 SWCLK
SWD
clock
3 GND
Ground
4
SWDIO
SWD data input/output
5
NRST
Reset of the target MCU
6 SWO
Reserved