Documente Academic
Documente Profesional
Documente Cultură
Technical note
Synopsis
ST has developed an extensive family of debug interfaces that support host-target
connection and facilitate debug functionality.
The purpose of this document is to describe the target board requirements for connecting to
the various interfaces. It is intended to be read by board design engineers.
Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 JTAG interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 Type A debug interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Type C debug interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Type H debug interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Type J debug interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3 LVDS interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1 Type F debug interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.2 Type G debug interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3 Type K debug interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1 Overview
Table 1 summarizes the relevant types of debug interface for custom board designs.
Note: 1 If your target board does not support trace, it is still possible to connect to one of the types
that does, for example a Type K, by not wiring in the trace pins.
2 Some connections have optional pins and these are identified in the appropriate pinout
description.
3 In the tables in this document, in the Signal direction column, “From SoC” means a signal
from the SoC on the processor board, and “To SoC” means a signal to the SoC on the
processor board.
2 JTAG interfaces
This chapter describes the various JTAG interfaces in the following sections:
● Section 2.1: Type A debug interface
● Section 2.2: Type C debug interface on page 6
● Section 2.3: Type H debug interface on page 8
● Section 2.4: Type J debug interface on page 11
19 1
20 2
Even
GROUND Not applicable 11 TCK To SoC
pins
1 Reserved Not applicable 13 TDI To SoC
3 TRIGOUT From SoC 15 TDO From SoC
5 TRIGIN To SoC 17 notSYSRESET To SoC
7 notASEBRK Bi-directional 19 notTRST To SoC
9 TMS To SoC
Processor board
VREF
SoC
10 K
JTAG interface connector
47R TRIGOUT
TRIGIN
47R notASEBRK1
TMS
TCK
TDI
47R TDO
notSYSRESET
notPOWERONRESET
notTRST
10 K
Processor board
VREF
SoC
10 K
JTAG interface connector
47R TRIGOUT
TRIGIN
47R notASEBRK1
TMS
TCK
TDI
47R TDO
notSYSRESET
notPOWERONRESET
notTRST
10 K
19 1
20 2
Note: VREF between 1V8 and 3V3 must be provided from the SoC in order to support
Multi-volt I/O.
Processor board
VREF
SoC
10 K
JTAG interface connector
47R DBGACK
DBGRQ
TMS
TCK
TDI
47R TDO
notPOWERONRESET notSYSRESET
notTRST
RTCK1
10 K
34 2
Table 4 lists the required pin allocation for the MIPI-34 connector on the target board.
Note: Connection to the trace signals by the target is optional, depending on whether your target
supports trace or not.
JTAG signals
1 VREF_DEBUG Debug port reference voltage.
2 TMS IEEE 1149.1 JTAG signal To SoC VREF_DEBUG
3 GROUND N/A
4 TCK IEEE 1149.1 JTAG signal To SoC VREF_DEBUG
5 GROUND N/A
6 TDO IEEE 1149.1 JTAG signal From SoC VREF_DEBUG
7 KEY Pin removed N/A
8 TDI IEEE 1149.1 JTAG signal To SoC VREF_DEBUG
This pin is GROUND on the target board and
connects to TARGET_PRESENCE_DETECT
9 GROUND From SoC
(+3V3) on the host, using a weak pull-up on
the host interface.
Processor board
VREF
SoC
10 K
JTAG interface connector
47R TRIGOUT
TRIGIN
TMS
TCK
TDI
47R TDO
notPOWERONRESET notSYSRESET
notTRST
RTCK1
9 1
10 2
Processor board
VREF
SoC
10 K
JTAG interface connector
47R notASEBRK1
TMS
TCK
TDI
47R TDO
notSYSRESET
notPOWERONRESET
notTRST
10 K
3 LVDS interfaces
This chapter describes the various LVDS interfaces in the following sections:
● Section 3.1: Type F debug interface
● Section 3.2: Type G debug interface
● Section 3.3: Type K debug interface on page 16
An example of an LVDS connector is shown in Figure 10.
34 1
68 35
Note: All LVDS signals should be buffered using a suitable LVDS buffer.
The pin definitions for the LVDS connectors include four CODE pins. These are read by the
ST Micro Connect to identify the type of connection used. For a Type F connection the code
pins are set as 0101, for a Type G connection the code pins are set as 0110 and for a Type
K connection the code pins are set as 1000.
The wiring of Type F and Type G debug interfaces on the processor board is shown in
Figure 11.
R319
TARGET
10K
IC53
CN32
CODE = 0101 = Type 'F'
MAX9122 PROCESSOR
For 1.6mm PCB 2
CODE = 0110 = Type 'G' LVDS_notTRST+ R364
STMC_LVDSCON 15
notTRST
R360 LVDS_notTRST- 1 0R
68 0R
68 34 34 R361 DNF
R362 DNF LVDS_notRESET+ 3
67 R365
67 33 33 R363 0R 14
LVDS_notRESET- 4 0R
66
66 32 32
LVDS_TDI+ 6
65 R366
11
65 31 31 TDI
LVDS_TDI- 5 0R
64
64 30 30
LVDS_CLKIN+ 7
63 R367
10
63 29 29 TCK
LVDS_CLKIN- 8 0R
62 +3V3_LVDS
62 28 28
LVDS_notTRST- 16
R318
R320
R369
61
10K
10K
10K
61 27 27 LVDS_notTRST+ 9 LVDSBUF_notEN
60 VCC=+3V3_LVDS
60 26 26
59 LVDS_notRESET-
59 25 25 LVDS_notRESET+
58 LVDS_MODE_SEL-
58 24 24 LVDS_MODE_SEL+
IC54
57 LVDS_TDI- MAX9123
57 23 23 LVDS_TDI+
LVDS_USEROUT+ 15
56 2
56 22 22 notASEBRK
LVDS_CLKIN- LVDS_USEROUT- 16
55
55 21 21 LVDS_CLKIN+
LVDS_TRIGOUT+ 14
54 3 R322 47R
54 20 20
+3V3
TrigOut
LVDS_CLKOUT- LVDS_TRIGOUT- 13
53
53 19 19 LVDS_CLKOUT+
LVDS_TDO+ 11
52 +5V_LVDS 6 R321 47R
52 18 18 TDO
R368
10K
LVDS_TDO- 12
51
51 17 17 TP253
R370
10K
LVDS_CLKOUT+ 10
50 7
50 16 16 LVDSBUF_notEN
LVDS_CLKOUT- 9
49 +3V3_LVDS
49 15 15
LVDS_EPLD_SPARE3- 1
48 8
48 14 14 LVDS_EPLD_SPARE3+ LVDSBUF_notEN
47 LVDS_TDO-
VCC=+3V3_LVDS +3V3 +3V3
47 13 13 LVDS_TDO+
46 LVDS_EPLD_SPARE2-
46 12 12 LVDS_EPLD_SPARE2+
LVDS_TRIGOUT-
R373
R371
45
10K
10K
45 11 11 LVDS_TRIGOUT+
IC55
44 LVDS_EPLD_SPARE1- MAX9122
44 10 10 LVDS_EPLD_SPARE1+
LVDS_USEROUT- LVDS_TMS+ 2
43 R372
15
43 9 9 LVDS_USEROUT+ TMS
LVDS_EPLD_TDO- LVDS_TMS- 1 0R IC50-1
42 74LCX07
42 8 8 LVDS_EPLD_TDO+
R323
10K
LVDS_TMS- LVDS_USERIN+ 3
41 14 1 2
41 7 7 LVDS_TMS+
LVDS_EPLD_TCK- LVDS_USERIN- 4
40 VCC=+3V3
40 6 6 LVDS_EPLD_TCK+
LVDS_USERIN- LVDS_TRIGIN+ 6
39 11
39 5 5 LVDS_USERIN+ TrigIn
LVDS_EPLD_TMS- LVDS_TRIGIN- 5
38
38 4 4 LVDS_EPLD_TMS+
LVDS_TRIGIN- LVDS_SPAREIN+ 7 240R
37 10
37 3 3 LVDS_TRIGIN+
R374
10K
LVDS_EPLD_TDI- LVDS_SPAREIN- 8 R382
36 +3V3_LVDS 1
36 2 2 LVDS_EPLD_TDI+ GREEN
LVDS_SPAREIN- 16
35 9 LD9-B
35 1 1 LVDS_SPAREIN+ LVDSBUF_notEN
2
VCC=+3V3_LVDS
SHIELD=CHASSIS
NOTE: If remote power on feature used, buffers should be powered from STMC2 +5V_LVDS.
+5V_LVDS IC52
R375
LP3964-3.3 +3V3_LVDS
1K
FBEAD_SMT
10K
800mA notRemotePowerOn
600mA
C482 C481 1 notSD ADJ 4 C484 C491 C483 C488 C487 C489 C485 TR5
GND
20V 50V 20V 50V 50V 50V 50V 50V 50V MMBT2222A e.g. Connect to ATX P_ON signal.
47u 1U 47u 100n 100n 100n 100n 100n 100n
5
IC57
MAX9122
LVDS_MODE_SEL+ 2
R379
15
TargetDebugModeSel
LVDS_MODE_SEL- 1 0R e.g. Connect to processor mode pin to force boot from JTAG.
LVDS_EPLD_TCK+ 3
R380
14
AuxTck
LVDS_EPLD_TCK- 4 0R
LVDS_EPLD_TMS+ 6
R383
11
AuxTms
LVDS_EPLD_TMS- 5 0R
LVDS_EPLD_TDI+ 7
R384
10
AuxTdi
LVDS_EPLD_TDI- 8 0R
+3V3
16 +3V3
9
R359
3 10K
VCC=+3V3_LVDS 2 TARGET EPLD
J26-A 1 LVDSBUF_notEN
IC56
MAX9123
LVDS_EPLD_TDO+ 15
2
AuxTdo
LVDS_EPLD_TDO- 16
LVDS_EPLD_SPARE1+ 14
3
UserFeedback1
LVDS_EPLD_SPARE1- 13
LVDS_EPLD_SPARE2+ 11
6
UserFeedback2
LVDS_EPLD_SPARE2- 12
LVDS_EPLD_SPARE3+ 10
7
notPowerOnReset
LVDS_EPLD_SPARE3- 9
+3V3_LVDS
1
8 LVDSBUF_notEN
VCC=+3V3_LVDS
29 63
30 64
NC N/A NC N/A
31 65
32 66
33 CODE3 (GROUND) From SoC 67 CODE2 (Do not connect) From SoC
34 CODE1 (GROUND) From SoC 68 CODE0 (Do not connect) From SoC
JTAG signals
1 LVDS_PWRON+ To SoC 35 LVDS_PWRON- To SoC
2 LVDS_EPLD_TDI+ To SoC 36 LVDS_EPLD_TDI- To SoC
3 LVDS_TRIGIN+ To SoC 37 LVDS_TRIGIN- To SoC
4 LVDS_EPLD_TMS+ To SoC 38 LVDS_EPLD_TMS- To SoC
5 LVDS_notASEBRKOUT_notSRST+ From SoC 39 LVDS_notASEBRKOUT_notSRST- From SoC
6 LVDS_EPLD_TCK+ To SoC 40 LVDS_EPLD_TCK- To SoC
7 LVDS_TMS+ To SoC 41 LVDS_TMS- To SoC
8 LVDS_EPLD_TDO+ From SoC 42 LVDS_EPLD_TDO- From SoC
9 NC N/A 43 NC N/A
4 Revision history
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.