Hardware layout and configuration
UM1537
10/52
Doc ID 023059 Rev 1
2.1
Development and debug support
Version 2 of the ST-LINK (ST-LINK/V2) is embedded on the board. This tool allows onboard
program loading and debugging of the STM32F051R8T6 using the SWD interface. The
third-party debug tools are also supported by the SWD connector CN10.
A specific driver must be installed on your PC for communication with the embedded ST-
LINK/V2. This driver, called
ST-LINK_V2_USBdriver.exe
is available on the web. To
download and install this driver, refer to the software and development tools page for the
STM32F0 family on www.st.com.
Third-party toolchains, such as Atollic TrueSTUDIO, Keil MDK-ARM, IAR EWARM and
TASKING VX-toolset for ARM Cortex-M, support ST-LINK/V2 according to
The embedded ST-LINK/V2 is connected to the PC via a standard USB cable from
connector CN13. The bicolor LED LD7 (COM) indicates the status of the communication as
follows.
●
Slow blinking Red/Off: at power-on before USB initialization.
●
Fast blinking Red/Off: after the first correct communication between the PC and ST-
Link/V2 (enumeration).
●
Constant Red On: when initialization between the PC and ST-LINK/V2 is successfully
finished.
●
Constant Green On: after successful target communication initialization.
●
Blinking Red/Green: during communication with the target.
●
Red On: communication is finished and OK.
●
Orange On: communication failure.
Note:
The board can be powered via CN13 (embedded ST/LINK/V2 USB connector) even if an
external tool is connected to CN9 (high density SWD connector) or CN10 (SWD connector).
Table 2.
Third-party toolchain support
Manufacturer
Toolchain
From version...
Atollic
TrueSTUDIO
2.1
IAR
EWARM
6.20.4
Keil
MDK-ARM
4.20
TASKING
VX-toolset for ARM Cortex-M
4.0.1