Hardware layout and configuration
UM1065
Doc ID 018640 Rev 4
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 also 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
your PC. To download and install this driver, refer to the software and development tools
page for the STM32F family available on www.st.com (the install shield is called
ST-LINK_V2_USBdriver.exe).
Third-party toolchains, Atollic TrueSTUDIO, KEIL ARM-MDK, IAR EWARM and Tasking VX-
Toolset support ST-LINK/V2 according to the following table:
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: After the first correct 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
.
Table 15.
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