STM32F4DISCOVERY
Hardware and layout
Doc ID 022256 Rev 2
15/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 CN3 as shown in
, and connect your application
to the CN2 debug connector according to
Note:
SB11 must be OFF if you use CN2 pin 5 in your external application.
Figure 9.
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