Hardware layout UM1775
16/39 UM1775 Rev 4
6.1.5 Using ST-LINK/V2-1 to program/debug an external
STM32 application
It is very easy to use ST-LINK/V2-1 to program an STM32 microcontroller on an external
application. Simply remove the two jumpers from CN4 as shown in Figure 7 and connect the
application to the CN5 debug connector according to Table 5.
Note: SB13, must be OFF if CN5 pin 5 (NRST) is used in the external application.
Table 5. Debug connector CN5 (SWD)
Pïn CN5 Designation
1 VDD_TARGET VDD from application
2 SWLCK SWD clock
3 GND Ground
4 SWDIO SWD data input/output
5 NRST RESET of target MCU
6SWO Reserved