Hardware and layout UM1525
14/41 Doc ID 022910 Rev 2
4.2 Embedded ST-LINK/V2
The ST-LINK/V2 programming and debugging tool is integrated on the
STM32F0DISCOVERY. The embedded ST-LINK/V2 can be used in 2 different ways
according to the jumper states (see Tabl e 3):
● Program/debug the MCU on board,
● Program/debug an MCU in an external application board using a cable connected to
SWD connector CN3.
The embedded ST-LINK/V2 supports only SWD for STM32 devices. For information about
d
ebugging and programming features refer to user manual UM1075 (ST-LINK/V2 in-circuit
debugger/programmer for STM8 and STM32) which describes in detail all the ST-LINK/V2
features.
Figure 7. Typical configuration
-36
(ARDWAREREQUIREMENTS
53"CABLETYPE!TOMINI"
COMPUTERWITH7INDOWS806ISTAOR
$EVELOPMENTTOOLCHAIN
!LTIUM4!3+).'684OOLSET
!TOLLIC4RUE345$)/
)!2%7!2-
+EIL-$+!2-
Table 3. Jumper states
Jumper state Description
Both CN2 jumpers ON ST-LINK/V2 functions enabled for on board programming (default)
Both CN2 jumpers OFF
ST-LINK/V2 functions enabled for application through external CN3
conn
ector (SWD supported)
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.