UM1670 Rev 4 17/32
UM1670 Hardware layout
31
6.3.5 Using ST-LINK/V2-B to program/debug
an external STM32 application
It is very easy to use the ST-LINK/V2-B to program the STM32 on an external application.
Simply remove the two jumpers from CN4 as shown in
Figure 8 and connect the application
to the CN2 debug connector according to Table 5.
Note: SB7 must be OFF if CN2 pin 5 is used in an external application.
Figure 8. ST-LINK/V2-B connections
Table 5. 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 STM32
6 SWO Reserved