STM3220G-EVAL demonstration board
UM1519
14/40
Doc ID 022813 Rev 2
1.10
Development and debug support
The 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
the 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).
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:
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).
1.11
Display and input devices
The 3.2" TFT color LCD connected to the FSMC bus and 4 general purpose color LEDs
(LED 1, 2, 3, 4) are available as display devices. A touchscreen connected to an I/O
expander (U24), 4-direction joystick with selection key, general purpose button (B4), wakeup
button (B2) and tamper detection button (B3) are available as input devices.
Table 6.
LCD modules
3.2” TFT LCD with touchscreen (CN16)
Pin on CN16
Pin name
Pin connection
1
CS
FSMC_NE3 (PG10)
2
RS
FSMC_A0
3
WR/SCL
FSMC_NWE
4
RD
FSMC_NOE
5
RESET
RESET#
6
PD1
FSMC_D0
7
PD2
FSMC_D1
8
PD3
FSMC_D2
9
PD4
FSMC_D3