Hardware layout
5.1
Embedded ST-LINK/V2
The ST-LINK/V2 programming and debugging tool is integrated on the STM32F072
Discovery kit. The embedded ST-LINK/V2 can be used in 2 different ways according to the
jumper states (see
•
Program/debug the MCU on board
•
Program/debug an MCU in an external application board using a cable connected to
SWD connector CN4
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.
Jumper state
Both CN5 jumpers ON
Both CN5 jumpers OFF
5.1.1
Using ST-LINK/V2 to program/debug the STM32F072 on board
To program the STM32F072 on board, simply plug in the two jumpers on CN5, as shown in
Figure 5
the STM32F072RBT6 of the STM32F072 Discovery kit.
12/27
Table
4):
ST-LINK/V2 functions enabled for on board programming (default)
ST-LINK/V2 functions enabled for application through external CN4
connector (SWD supported)
in pink, but do not use the CN4 connector as that could disturb communication with
Figure 5. STM32F072 Discovery kit connections
Table 4. Jumper states
Description
UM1690 Rev 3
UM1690
Need help?
Do you have a question about the STM32F072 and is the answer not in the manual?
Questions and answers