DocID025097 Rev 1 13/39
UM1658 Hardware and layout
38
4.2 Embedded ST-LINK/V2
The ST-LINK/V2 programming and debugging tool is integrated on the
32F0308DISCOVERY. The embedded ST-LINK/V2 can be used in 2 different ways
according to the jumper states (see Table 2):
• 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
debugging 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
Table 2. 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
connector (SWD supported)
MS19052V2
Hardware requirements:
- USB cable type A to mini-B
- computer with Windows XP, Vista or 7
Development toolchain:
Altium, TASKING VX-Toolset,
Atollic, TrueSTUDIO
IAR, EWARM
Keil, MDK-ARM