6.3.3 NUCLEO ST-LINK/V2-1 hardware configuration
The embedded ST-LINK/V2-1 can be used in two different ways according to the jumper states, refer to Table 5
for setting, depending on the configuration:
• Program/debug the MCU on-board
• Program/debug an MCU in an external application board using a cable connected to SWD connector
.
Table 5. ST-LINK jumper configuration
Jumper Definition Default position Comment
CN4 T_SWCLK / T_SWDIO
ON [1-2] ON [3-4]
ST-LINK/V2-1 functions enabled for on-
board programming
OFF [1-2] OFF [3-4]
ST-LINK/V2-1 functions enabled from
external connector (SWD supported)
6.3.3.1 Using the ST-LINK/V2-1 to program and debug the STM32 on-board
To program the STM32 on-board, plug in the two jumpers on the CN4 connector, as shown in Figure 8. In this
case, do not use the CN5 SWD connector as that can disturb communication with the STM32 microcontroller of
the Nucleo.
Figure 8. ST-LINK debugger: JP configuration for on-board MCU
UM2581
Embedded ST-LINK/V2-1
UM2581 - Rev 2
page 13/48