Hardware layout and configuration
UM1855
14/100
DocID027351 Rev 3
2.1.2
ST-LINK/V2-1 firmware upgrade
For its own operation, ST-LINK/V2-1 employs a dedicated MCU with Flash memory. Its
firmware determines ST-LINK/V2-1 functionality and performance. The firmware may evolve
during the life span of STM32L476G-EVAL to include new functionality, fix bugs or support
new target microcontroller families. It is therefore recommended to keep ST-LINK/V2-1
firmware up to date. The latest version is available from
www.st.com
.
2.2 ETM
Trace
The connector CN12 can output trace signals used for debug. By default, the evaluation
board is configured such that, STM32L476ZGT6 signals PE2 through PE5 are not
connected to trace outputs Trace_D0, Trace_D1, Trace_D2, Trace_D3 and Trace_CK of
CN12. They are used for other functions.
Table 1
shows the setting of configuration elements to shunt PE2, PE3, PE4 and PE5 MCU
ports to CN12 connector, to use them as debug trace signals.
Warning
: Enabling the CN12 trace outputs through hardware modifications described in
Table 1
results in reducing the memory address bus width to 19 address lines and so the
addressable space to 512 Kwords of 16 bits. As a consequence, the on-board SRAM and
NOR Flash memory usable capacity is reduced to 8 Mbits.
Table 1. Setting of configuration elements for trace connector CN12
Element
Setting
Use of PE2, PE3, PE4, PE5 terminals of STM32L476ZGT6
R103
SB26
R103 in
SB26 open
Default setting
.
PE2 connected to LCDSEG38 and memory address line A23.
R103 out
SB26 closed
PE2 connected to TRACE_CK on CN12. A23 pulled down.
R104
R104 in
Default setting
.
PE3 connected to LCDSEG39 and memory address line A19.
R104 out
PE3 connected to TRACE_D0 on CN12. A19 pulled down.
R84
SB40
R84 in
SB40 open
Default setting
.
PE4 connected to memory address line A20.
R84 out
SB40 closed
PE4 connected to TRACE_D1 on CN12. A20 pulled down.
R85
SB38
R85 in
SB38 open
Default setting
.
PE5 connected to memory address line A21.
R85 out
SB38 closed
PE5 connected to TRACE_D2 on CN12. A21 pulled down.
R86
SB39
R86 in
SB39 open
Default setting
.
PE6 is used for address bit A22.
R86 out
SB39 closed
PE6 connected to TRACE_D3 on CN12. A22 pulled down.