DocID022136 Rev 5
21/67
UM1460
Hardware layout and configuration
66
2.20 Development
and debug support
Version 2 of the ST-LINK, called ST-LINK/V2 is embedded on the board. This tool allows
onboard program loading and debugging of the STM32F using the JTAG or SWD interface.
Third-party debug tools are supported by the JTAG (CN14) or Trace (CN13) connectors
To communicate with the embedded ST-LINK/V2, a specific driver needs to be installed on
the PC. To download and install this driver, refer to the software and development tools page
for the STM32F family on www.st.com (the install shield is ST-LINK_V2_USBdriver.exe).
Note:
Due to I/O sharing on the board there is a frequency limitation on ETM trace, so when the
MCU clock is above 120 MHz the ETM trace output is not guaranteed.
Third-party toolchains, Atollic TrueSTUDIO, KEIL ARM-MDK, IAR EWARM and Tasking VX-
Toolset, support ST-LINK/V2 according to
Table 16
.
The embedded ST-LINK/V2 connects to the PC via a standard USB cable from connector
CN21. The bicolor LED LD10 (COM) indicates the status of the communication as follows:
•
Slow blinking Red/Off: At power-on before USB initialization
•
Fast blinking Red/Off: Communication between PC and ST-LINK/V2 (enumeration)
•
Red LED On: When initialization between PC and ST-LINK/V2 is successfully finished
•
Green LED On: After successful target communication initialization
•
Blinking Red/Green: During communication with target
•
Green On: Communication finished and OK
•
Orange On: Communication failure
Note:
1
It is possible to power the board via CN21 (embedded ST-LINK/V2 USB connector) even if
an external tool is connected to CN13 (trace) or CN14 (external JTAG and SWD).
2
If the I2S interface is used, refer to the warning in
Chapter 2.5
.
Table 16. Third-party toolchain support
Manufacturer
Toolchain
Version
Atollic
TrueSTUDIO
2.1
IAR
EWARM
6.20.4
Keil
MDK-ARM
4.20
Tasking
VX-Toolset
ARM Cortex-M 4.0.1
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from