Hardware layout and configuration UM1724
18/68 UM1724 Rev 14
6.2.3  Using the ST-LINK/V2-1 to program and debug the STM32 on board 
To program the STM32 on the board, plug in the two jumpers on CN2, as shown in red in 
Figure 8. Do not use the CN4 connector as this could disturb the communication with the 
STM32 microcontroller of the STM32 Nucleo board. 
Figure 8. Connecting the STM32 Nucleo board to program the on-board STM32
6.2.4 Using ST-LINK/V2-1 to program and debug an external 
STM32 application
It is very easy to use the ST-LINK/V2-1 to program the STM32 on an external application. 
Simply remove the two jumpers from CN2 as illustrated in 
Figure 9: Using ST-LINK/V2-1 to 
program the STM32 on an external application, and connect the application to the CN4 
debug connector according to Table 5.
Note: SB12 NRST (target STM32 RESET) must be OFF if CN4 pin 5 is used in the external 
application.
MS34378V2
CN2 jumpers ON
CN4 SWD
connector