DocID025174 Rev 1 15/39
UM1669 Hardware layout
37
4.2 Embedded ST-LINK/V2
The ST-LINK/V2 programming and debugging tool is integrated on the STM32F401
Discovery board. The embedded ST-LINK/V2 can be used in 2 different ways according to
the jumper states (see Table 3):
• Program/debug the MCU on board,
• Program/debug an MCU in an external application board using a cable connected to
SWD connector CN2.
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 6. Typical configuration
Table 3. Jumper states
Jumper state Description
Both CN3 jumpers ON ST-LINK/V2 functions enabled for on board programming (default)
Both CN3 jumpers OFF
ST-LINK/V2 functions enabled for application through external
CN2 connector (SWD supported)
MS31115V1
Hardware requirements:
- USB cable type A to mini-B
- Computer with Windows XP, Vista or 7
Development toolchains:
- Altium TASKING VX-Toolset
- Atollic TrueSTUDIO
- IAR EWARM
- Keil MDK-ARM