Download SAU510-USB Iso Plus v2 User's guide

Transcript
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s
Guide
2013.
SAU510-USB ISO PLUS v.2
JTAG Emulator
Revision 1.00 JUL 2013
User’s guide
www.sauris.de
Contents
Contents ....................................................... 2
1.
Introduction to SAU510-USB ISO PLUS v.2 JTAG Emulator .... 4
1.1
Overview of SAU510-USB ISO PLUS v.2 JTAG Emulator ........ 4
1.2
Key Features of SAU510-USB ISO PLUS v.2 JTAG Emulator .... 4
1.3
Key Items of SAU510-USB ISO PLUS v.2 JTAG Emulator ....... 5
2.
Plugging SAU510-USB ISO PLUS v.2 JTAG Emulator ........... 6
2.1. Equipment required ....................................... 6
2.2. Connecting SAU510-USB ISO PLUS JTAG v.2 Emulator ......... 6
2.3. SAU510-USB ISO PLUS v.2 LEDs ............................. 7
3.
Specifications for Your Target System’s Connection ....... 8
3.1. Designing Your Target System’s JTAG Connector ............ 8
3.1.1. 14-pin JTAG description .................................. 8
3.1.2. 20-pin ARM JTAG description .............................. 9
3.1.3. 20-pin CTI JTAG description ............................. 10
3.2. Bus Protocol ............................................ 11
3.3. Emulator Cable Pod Logic ................................ 11
3.4. Emulator Cable Pod Signal Timing ........................ 11
3.5. Buffering Signals Between the Emulator and the Target ... 12
3.6. JTAG-connection settings ................................ 14
3.6.1. Parameters for connection several emulators to one PC. .. 14
3.6.2. Parameters for setting TCK frequency .................... 15
3.6.3. Adaptive clocking mode .................................. 15
3.6.4. Functioning without return clocking (TCKR). ............. 16
3.6.5. Control the impedance matching circuits ................. 17
3.6.6. Tweaking connection for functioning at high frequency ... 17
3.6.7. JTAG output level clamping .............................. 18
3.6.8. EMU0/1 pin .............................................. 19
Dear developers!
1. Sauris GmbH pleased to recommend you ask your technical questions
on our forum.
You can find answers to your questions on the forum pages and add a
new topic to discuss the problem with our engineers.
2. We suggest you to read WiKi, where you can find the full
description of the functionality of our products. Please register
and ask your question.
Please, don't forget to subscribe to new topics to keep track of the
status of your question.
You will be informed by e-mail when our engineers respond to the
message.
3. Dear Friends, you could join projects support program right now
sending us RFQ, Technical Questions or Samples Order. Also you can
find warranty terms on our web.
2
Copyright © 2013, Sauris GmbH
User’s guide
www.sauris.de
SAU510-USB ISO PLUS
v.2 JTAG Emulator
Revision 1.00 JUL2013
IMPORTANT NOTICE
Sauris GmbH reserves the right to make changes to its products or to discontinue
any product or service without notice, and advises its customers to obtain the
latest version of relevant information to verify, before placing orders, that the
information being relied on is current. Sauris GmbH warrants performance of its
products and related software to current specifications in accordance with our
standard warranty. Testing and other quality control techniques are utilized to
the extent deemed necessary to support this warranty. Please be aware that the
products described herein are not intended for use in life-support appliances,
devices, or systems. Sauris GmbH assumes no liability for applications assistance,
customer product design, software performance, or infringement of patents or
services described herein. Nor does Sauris GmbH warrant or represent any license,
either express or implied, is granted under any patent right, copyright, or other
intellectual property right of Sauris GmbH covering or relating to any combination,
machine, or process in which such Digital Signal Processing development products
or services might be or are used.
WARNING
This equipment is to be used in laboratory facilities only. It generates, uses,
and can radiate electromagnetic energy and has not been tested for compliance with
the limits of computing devices according to clause J, part 15, FCC rules, that
are designed to specify the acceptable level of electromagnetic interference.
Operation of this equipment may cause radio interference.
TRADEMARKS
Microsoft and Windows are registered trademarks of Microsoft Corporation.
Code Composer and Code Composer Studio are registered trademarks of
Instruments.
Texas
Copyright © 2013 Sauris GmbH
Copyright © 2013, Sauris GmbH
3
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s guide
Revision 1.00 JUL 2013
www.sauris.de
About This Manual
This manual describes SAU510-USB PLUS JTAG emulator that is designed to be used in
combination with digital signal processors (DSPs) and microcontrollers
manufactured by Texas Instruments Incorporated (TI). SAU510-USB PLUS JTAG Emulator
is a portable table top device that is attached to a personal computer or a laptop
and allows to develop and debug applications based on DSPs and microcontrollers
from TI.
1.
Introduction to SAU510-USB ISO PLUS v.2 JTAG Emulator
This chapter provides a description of SAU510-USB ISO PLUS v.2 JTAG Emulator and
its key features.
1.1 Overview of SAU510-USB ISO PLUS v.2 JTAG Emulator
SAU510-USB ISO PLUS v.2 JTAG Emulator was designed to be used with digital signal
processors (DSPs) and microprocessors that are connected through JTAG. The
Emulator supports connection through JTAG at the levels of +1.65 … +5 volt. The
Emulator is connected to a PC using USB-interface and draws no power from the
target system.
Figure 1-1 shows the delivery set of SAU510-USB ISO PLUS v.2 JTAG Emulator.
Figure 1-1. Delivery set of SAU510-USB ISO PLUS v.2 JTAG Emulator
SAU510-USB ISO PLUS v.2 was designed to be compatible with the existing debuggers
provided by Texas Instruments.
1.2 Key Features of SAU510-USB ISO PLUS v.2 JTAG Emulator
SAU510-USB ISO PLUS v.2 JTAG Emulator has the following features:
• Supports Texas Instrument’s Digital Signal Processors (C2000, C5000, C6000,
DaVinciTM, ARM CortexTM, OMAPTM) and TMS470R1x 16/32-bit RISC Microcontrollers
with JTAG interface (IEEE 1149.1) from Texas Instruments.
• Compatible with Texas Instrument’s XDS510 emulator.
4
Copyright © 2013, Sauris GmbH
User’s guide
www.sauris.de
•
•
•
•
•
•
•
•
•
•
SAU510-USB ISO PLUS
v.2 JTAG Emulator
Revision 1.00 JUL2013
Provides voltage isolation 2500VRMS between PC and target.
Advanced emulation controller enables high performance.
Compatible with USB 1.1 and USB 2.0 (high speed/full speed).
Supports USB interface with host PC, requires no additional adapter card.
Supports from +1.65 volt up to +5 volt JTAG interfaces.
Three Status Light Emitting Diodes (LEDs) show operational status.
Power provided by host USB port or USB hub.
Supports programming and configuring FPGA and CPLD through SVF player (SVF
Specification Rev.E + Lattice Semiconductor enhancements).
Compatible with Texas Instruments Code Composer Studio IDE.
Compatible with Windows 2000, Windows XP, Window Vista (32-bit), Windows 7
(32-bit and 64-bit), Windows 8 Operating Systems.
1.3 Key Items of SAU510-USB ISO PLUS v.2 JTAG Emulator
Figure 1-2 shows SAU510-USB ISO PLUS v.2.
The key items are:
• Status LEDs.
• 7x2 JTAG connector.
• mini-USB connector to a host PC or a hub.
Figure 1-2. SAU510-USB ISO PLUS v.2 JTAG
Copyright © 2013, Sauris GmbH
5
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s guide
Revision 1.00 JUL 2013
2.
www.sauris.de
Plugging SAU510-USB ISO PLUS v.2 JTAG Emulator
This chapter helps you to plug SAU510-USB ISO PLUS v.2 JTAG Emulator into your
system.
Note: you should have Code Composer Studio installed
before installing SAU510-USB ISO PLUS v.2
In order to use specific software packages such as the Code Composer Studio from
TI refer to the manufacturer’s documentation.
2.1. Equipment required
The checklists below include the items that are presented in SAU510-USB ISO PLUS
v.2 JTAG emulator delivery set and additional items you will need.
Hardware checklist.
o Host: any PC or laptop with a hard-disk system and a USB port and a CD-ROM disk
drive.
o Memory: minimum of 32MB.
o Display: color VGA or LCD.
o Emulator: SAU510-USB ISO PLUS v.2 JTAG emulator.
o Target system: any TI DSP-based or TI Microcontroller-based board with power
supply.
o Connectors: 14-pin connector (two rows of seven pins), 20-pin connector ARM
JTAG or 20-pin CTI JTAG.See Section 3 for more information on connecting to
target system
Software checklist.
o Operating system: Windows 2000, Windows XP, Windows Vista, 7 (32,64-bit), 8.
o Software tools: Code Composer Studio.
o Drivers: Sauris GmbH drivers for TI Code Composer Studio (are included into
SAU510-USB ISO PLUS JTAG emulator delivery set and are also available at Sauris
GmbH website – www.sauris.de).
2.2. Connecting SAU510-USB ISO PLUS JTAG v.2 Emulator
Follow the steps in this section to plug SAU510-USB ISO PLUS JTAG v.2 Emulator in
your PC and target board. Figure 2-1 shows SAU510-USB ISO PLUS v.2 connected to a
target system and a PC.
Figure 2-1. Connecting SAU510-USB ISO PLUS v. 2 to target system and PC
6
Copyright © 2013, Sauris GmbH
User’s guide
www.sauris.de
SAU510-USB ISO PLUS
v.2 JTAG Emulator
Revision 1.00 JUL2013
Follow these steps to connect SAU510-USB PLUS JTAG v.2 emulator:
1. Insert the Sauris GmbH USB Driver CD in the computer CD-ROM drive
2. Turn off all antivirus software on your PC
3. Run sau510usb_install.exe from the driver CD and follow the instructions on the
screen.
4. Turn on the antivirus software if needed.
5. Connect the USB cable to your PC.
6. Connect the USB cable to your SAU510-USB ISO PLUS v.2 JTAG emulator. After a
while Windows will detect a new hardware and prompt you with «New Hardware Found»
screen. If you want to verify the USB driver installation has been successful,
right click Control Panel and select PropertiesàHardwareàDevice Manager. You
should see a new class JTAG Emulator and one emulator (SAU510-USB v.2 (Iso) JTAG
emulator) installed.
7. Connect the emulator to the JTAG on your target board.
In future, after the drivers are installed, follow these steps to connect SAU510USB ISO PLUS v.2 JTAG emulator:
1.
2.
3.
4.
Turn off the power supply of your target board.
Connect the emulator to the JTAG on your target board.
Apply power to the target board.
Connect the USB-cable to SAU510-USB ISO PLUS v.2 JTAG emulator.
Detach SAU510-USB PLUS v.2 JTAG emulator in the reverse order:
1. Detach the USB cable from SAU510-USB ISO PLUS v.2 JTAG emulator.
2. Turn off the power supply of your target board.
3. Detach the emulator from the JTAG on your target board.
Note: Be very careful with the target cable connectors. Connect them gently; do
not force them into position, or you may damage the connectors.
2.3. SAU510-USB ISO PLUS v.2 LEDs
SAU510-USB ISO PLUS v.2 has three LEDs. The LEDs inform the user of the emulator
status. The meaning of the LEDs is described in the table below.
LED
PWR
ACT
STT
Description
Indicates emulator power
Green – power from USB.
Red – power from target.
Blink red – there is no TCKR signal with power from
target and turn off without TCKR mode.
Activity through JTAG interface
Green – data between emulator and PC
Red – TRST signal active.
State of JTAG
No light - TEST-LOGIC-RESET
Green – RUN-TEST/IDLE
Red – SHIFT-IR or PAUSE-IR
Green+Red - SHIFT-DR или PAUSE-DR
Copyright © 2013, Sauris GmbH
7
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s guide
Revision 1.00 JUL 2013
www.sauris.de
3. Specifications for Your Target System’s Connection to the Emulator
This chapter contains the information on connecting your target system to the
emulator. Your target system must have a special 14-pin connector JTAG, 20-pin ARM
JTAG or 20-pin CTI JTAG for proper communication with the emulator.
3.1. Designing Your Target System’s JTAG Connector
The emulator is connected to target systems through a dedicated port. The port
supports IEEE 1149.1 (JTAG) standard and is accessible through the emulator. The
board is to have a 20-pin header (2 rows of 7 pins), 20-pin ARM header or 20-pin
CTI header in order to communicate with the emulator.
NOTE: Emulator outputs voltage level can be changed from 1.65 to 5V.
Check paragraph 3.6.7 for details.
3.1.1. 14-pin JTAG description
The pin assignment scheme is shown in Figure 3-1. And the emulation signals are
described in Table 1.
TMS
1
2
TRST-
TDI
3
4
GND
PD(Vcc)
5
6
No pin (key)
TDO
7
8
GND
TCK_RET
9
10
GND
TCK
11
12
GND
EMU0
13
14
EMU1
Figure 3-1. 14-pin JTAG Connector
Table 1. 14-Pin Header Signal Description
Pin #
Signal
Description
1
2
3
5
TMS
TRSTTDI
PD
7
9
TDO
TCK_RET
11
TCK
13
14
EMU0
EMU1
JTAG test mode selection
JTAG test reset
JTAG test data input.
Power detect. Indicates power and
voltage levels on JTAG signal
circuits. It should be connected
to target JTAG I/O buffers.
JTAG test data output.
JTAG test clock return. Test
clock input to the emulator. May
be
a
buffered
or
unbuffered
version of TCK.
JTAG test clock. TCK is a 12-MHz
clock source from the emulation
pod. This signal can be used to
drive the system test clock.
Emulation pin 0.
Emulation pin 1.
8
Emulator
State
Output
Output
Output
Input
Target State
Input
Input
Input
Output
Input
Input
Output
Output
Output
Input
Input/Output
Input/Output
Input/Output
Input/Output
Copyright © 2013, Sauris GmbH
SAU510-USB ISO PLUS
v.2 JTAG Emulator
User’s guide
www.sauris.de
Revision 1.00 JUL2013
3.1.2. 20-pin ARM JTAG description
The pin assignment scheme is shown in Figure 3-2. And the emulation signals are
described in Table 2.
VTref
1
2
NC
nTRST
3
4
GND
TDI
5
6
GND
TMS
7
8
GND
TCK
9
10
GND
RTCK
11
12
GND
TDO
13
14
GND
RESET
15
16
GND
DBGRQ
17
18
GND
5V-Supply
19
20
GND
Figure 3-2. 20-pin ARM JTAG Connector
Table 2. 20-Pin ARM Header Signal Description
Pin #
Signal
1
VTref
2
3
5
7
9
11
NC
nTRST
TDI
TMS
TCK
RTCK
13
15
17
19
TDO
RESET
DBGRQ
5VSupply
Description
Power detect. Indicates power and
voltage levels on JTAG signal
circuits. It should be connected to
target JTAG I/O buffers.
This pin is not connected
JTAG Reset
JTAG data input of the target CPU
JTAG mode set input of the target CPU
JTAG clock signal to target CPU.
Return test clock signal from the
target
JTAG data output from the target CPU.
Target CPU reset signal
This pin is not connected. Received
This pin can be used to supply power
to the target hardware
Copyright © 2013, Sauris GmbH
Emulator
State
Input
Target
State
Output
NC
Output
Output
Output
Output
Input
NC
Input
Input
Input
Input
Output
Input
Input/Output
NC
Output
Output
Input/Output
NC
Input
9
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s guide
Revision 1.00 JUL 2013
www.sauris.de
3.1.3. 20-pin CTI JTAG description
The pin assignment scheme is shown in Figure 3-3. And the emulation signals are
described in Table 3.
TMS
1
2
TRST-
TDI
3
4
GND
PD
5
6
No pin (key)
TDO
7
8
GND
TCK_RET
9
10
GND
TCK
11
12
GND
EMU0
13
14
EMU1
SRST
15
16
GND
EMU2
17
18
EMU3
EMU4
19
20
GND
Figure 3-3. 20-pin CTI JTAG Connector
Table 3. 20-Pin CTI Header Signal Description
Pin #
Signal
1
2
3
5
TMS
TRSTTDI
PD
7
9
TDO
TCK_RET
11
TCK
13
14
15
EMU0
EMU1
SRST
17
18
19
EMU2
EMU3
EMU4
10
Description
JTAG test mode selection
JTAG test reset
JTAG test data input.
Power detect. Indicates power and
voltage levels on JTAG signal
circuits. It should be connected to
target JTAG I/O buffers.
JTAG test data output.
JTAG test clock return. Test
clock input to the emulator. May
be a buffered or unbuffered
version of TCK.
JTAG test clock. TCK is a 12-MHz
clock source from the emulation
pod. This signal can be used to
drive the system test clock.
Emulation pin 0.
Emulation pin 1.
This is the target reference
voltage. It is used to check if the
target has power, to create
the logic-level reference for the
input comparators and to control the
output logic levels
to the target. It is normally fed
from Vdd of the target board and
must not have a series
resistor.
This pin is not connected
JTAG Reset
JTAG data input of the target CPU
Emulator
State
Output
Output
Output
Input
Target
State
Input
Input
Input
Output
Input
Input
Output
Output
Output
Input
Input/Output
Input/Output
Input/Output
Input/Output
Input/Output
Open drain
Input/Output
Input/Output
Input/Output
Input/Output
Input/Output
Input/Output
Copyright © 2013, Sauris GmbH
User’s guide
www.sauris.de
3.2.
SAU510-USB ISO PLUS
v.2 JTAG Emulator
Revision 1.00 JUL2013
Bus Protocol
The IEEE 1149.1 specification covers the requirements for JTAG bus of the target
devices (such as the TMS320C6000 family) and provides certain rules summarized as
follows:
§ The TMS/TDI inputs are sampled on the rising edge of the device TCK signal.
§ The TDO output is clocked from the falling edge of the device TCK signal.
When JTAG devices are daisy-chained together, the TDO from each of the devices in
the chain has a definite period in the TCK cycle. Such synchronization scheme
allows to distinguish the data from different target devices included into the
same chain. The penalty for this timing scheme is a reduced TCK frequency. The
IEEE 1149.1 specification does not provide rules for JTAG bus master devices (e.g.
emulator).
3.3.
Emulator Cable Pod Logic
Figure 3-4 shows the JTAG connector of the emulator cable. Here are the key
features of JTAG interface:
• TMS and TDI signals are generated from the rising edge of TCK_RET, on default
(but the standard can be adjusted in the configuration file).
• The edges of TMS, TDI, TCK and TRST signals do not coincide in order to reduce
signal echo.
• TCK equals 25-MHz on default. You may also set another level of TCK.
Figure 3-4. Emulator Pod Connector
3.4.
Emulator Cable Pod Signal Timing
Figure 3-5 shows the clock signal timings for the emulator. Table 4 defines the
timing parameters for the emulator. The timing parameters are for reference only,
Sauris GmbH does not test them or guarantee their coincidence with the given in
the table. The emulator pod uses TCK_RET as its clock source for internal
synchronization. TCK can also be used as an optional test clock source for the
target system.
Figure 3-5. Signal Timings for the Emulator
Copyright © 2013, Sauris GmbH
11
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s guide
Revision 1.00 JUL 2013
www.sauris.de
Table 4. Emulator Pod Timing Parameters
No
1
2
3
Reference
tTCKmin
tTCKhighmin
tTCKlowmin
4
td(XTMX)
5
6
tsu(XTDOmin)
thd(XTDOmin)
Description
TCK_RET period
TCK_RET high pulse duration
TCK_RET low pulse duration
TMS/TDI setting time after TCK_RET
edge*
TDO setup time to TCK_RET high
TDO hold time from TCK_RET high
Min
30
12
12
Max
18.5
8
8
Units
ns
ns
ns
8
17.5
ns
1.9
0.6
ns
ns
* from positive edge of TCK_RET (if POD_TDOONTCKFALL=NO) and from negative edge
of TMS/TDI (if POD_TDOONTCKFALL=YES). TMS/TDI delay sets by POD_TMS_OFS and
POD_TDO_OFS parameters.
3.5.
Buffering Signals Between the Emulator and the Target System
It is extremely important to provide high-quality signals between the emulator and
the target system, especially the processor TCK and the emulator TCK_RET signals.
In some cases this may require special PCB trace routing and using termination
resistors to match the trace impedance. If the distance between the emulation
header and the target device is longer than 15 cm, the emulation signals must be
buffered. The need for signal buffering can be divided in two cases:
• No signal buffering. As shown in figure 3-6, the distance between the header
and the target device does not exceed
15 cm.
Figure 3-6. No Signal Buffering
•
Buffered emulation signals. Figure 3-7 shows that the distance between the
emulation header and the target device is longer than 15 cm. The target
device signals TMS, TDI, TDO, and
TCK_RET
are
buffered
through
several additional units.
The EMU0 and EMU1 signals must have
pull-ups to Vcc. The signal rise time of
the pull-up resistors should be less
than 10 μS. A 4.7k Ω resistor is
suggested for most applications. EMU0-1
are I/O pins of the target device,
however,
they
are
inputs
for
the
emulator only. These pins are used in
multiprocessor
systems
to
provide
run/stop operations.
Figure 3-7. Buffered Emulation Signals
The emulator pod enables sequential termination of the TMS, TCK, and TDI signals.
Figure 3-8 shows an application with the system test clock generated in the target
system. The TCK signal is left unconnected in this application.
There are two reasons for having the target system generating the test clock:
o The emulator provides a 25-MHz test clock on default (the actual value can be
adjusted in the configuration file). When using the target system test clock
12
Copyright © 2013, Sauris GmbH
User’s guide
www.sauris.de
o
SAU510-USB ISO PLUS
v.2 JTAG Emulator
Revision 1.00 JUL2013
you can set the frequency to match your system requirements.
Sometimes the test clock is required when the Emulator is switched off..
Figure 3-8. Target System Generates Test Clock
Figure 3-9 shows a typical multiprocessor configuration. This is a daisy chained
configuration (TDO-TDI daisy-chained), that meets the minimum requirements of the
IEEE 1149.1 specification. The emulation signals in this example are buffered to
isolate the processors from the emulator and provide adequate control signal for
the target system. One of JTAG test interface benefits is that you can slow down
the test clock to eliminate timing problems.
Multiprocessor systems should meet the following requirements:
o The processor TMS, TDI, TDO and TCK signals are to be buffered to control
timing skew better.
o The input buffers for TMS, TDI, and TCK should have pull-ups to Vcc. This will
hold these signals at a required value if the emulator is switched off. A
pull-up resistor of 4.7k Ω is suggested for most applications.
Figure 3-9. Multiprocessor Connections
Copyright © 2013, Sauris GmbH
13
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s guide
Revision 1.00 JUL 2013
3.6.
www.sauris.de
JTAG-connection settings
The following emulator connection parameters can be configured in the tab
“Advanced” of “Target Configuration” panel. On the tab you can set various
parameters and conditions to ensure the correct emulator operation to debug the
device. Below is a description of the available positions for adjustments in the
integrated development environment Code Composer Studio v.5.
3.6.1.
Parameters for connection several emulators to one PC
Below you will find the parameters that are needed when connecting several
Emulators to one PC. The key factor is to link each connection to a definite
Emulator by its serial number.
Select the “Advanced” tab in the
“Target Configuration” editor.
Select the
connection. After
that
“Connections
Properties”
will appear on the right side.
Set the parameter “Use specified
emulator only” and after that
enter the values into the “Enter
Serial Number” and “Enter Serial
Number again” fields.
14
Copyright © 2013, Sauris GmbH
SAU510-USB ISO PLUS
v.2 JTAG Emulator
User’s guide
www.sauris.de
3.6.2.
Revision 1.00 JUL2013
Parameters for setting TCK frequency
There are two ways to enable the clocking of the JTAG-chain. These are clocking at
a fixed frequency and adaptive clocking. The fixed frequency can be used for most
hardware
where
the
maximum
allowed TCK does not depend on
the CPU frequency. The adaptive
clocking is used for the devices
that require dynamically changing
TCK for operating – in these
devices the TCK is based on the
clock
frequency
of
the
CPU.
DaVinci is an example of such a
device – it includes ARM- and
DSP-cores that have different
clock frequency and the TCK in
each
moment
depends
on
the
frequency of the currently active
core.
To set the TCK in the CCS select
tab “Connections Properties” and
set TCK Frequency Divider range
and
TCK
Frequency.
You
can
initiate an additional frequency
divider
by
setting
“Enable
additional
8x
TCK
divider”
parameter.
3.6.3.
Adaptive clocking mode
On default TCK is generated by the emulator independently of the TCKR from the
target. The TCK frequency is
constant.
But
some
processors
require the TCK to be below some
limit. The limit is set inside
the processor and depends on the
processor’s own clock frequency,
which
can
change
considerably
during
the
operating,
e.g.
because of PLL programming. Such
processors have JTAG return clock
frequency output gated by the
required internal frequency. If
this
output
is
connected
to
emulator’s
TCKR
input,
the
adaptive clocking mode allows the
emulator
to
operate
at
the
maximum
frequency,
that
is
possible for the processor. The
reason is: in adaptive clocking
mode the edge at the TCK is
formed according to not only TCK,
but also to the correspondence
between
TCKR-signal
and
the
current TCK signal. The rising or
falling
edge
will.
Thus
the
rising or falling edge can never
be generated before the previous
rising/falling edge goes through
Copyright © 2013, Sauris GmbH
15
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s guide
Revision 1.00 JUL 2013
www.sauris.de
TCK > TCKR circuit In this case maximum frequency is limited by divider. Adaptive
clocking mode is usually used with ARM processors.
Note: It is highly undesirable to set TCK frequency limit higher than 20 MHz in
adaptive clocking mode. It can cause bugs in emulator-target system if “tweaking
connection for functioning on high frequency” are changed during the adaptation.
To set Adaptive clocking mode check the “Enable adaptive clocking” parameter in
the connection properties.
3.6.4.
Functioning without return clocking (TCKR).
In some cases the system has to operate without return clocking signal (TCKR), for
example when operating with ARM JTAG where TCKR signal is optional. Thereto there
is a bypass way for the signal
TCK -> TCKR beside all outside
circuits.
This
way
provides
approximately the same delay as
outside circuit does when it
includes standard cable and 5 cm
length of TCK->TCKR. There is an
opportunity to increase this
delay by the 4,8 ns (1/210 MHz)
step.
To
enable
operating
without
return clocking mode set “Target
doesn’t provide TCKR signal” in
the “TCKR signal mode” parameter.
After that set “Additional delay
for internal TCKR bypass path”.
16
Copyright © 2013, Sauris GmbH
SAU510-USB ISO PLUS
v.2 JTAG Emulator
User’s guide
www.sauris.de
3.6.5.
Revision 1.00 JUL2013
Control the impedance matching circuits
There is an opportunity to connect the impedance matching circuits to TCKR and TDI
pins to improve this signals quality. This connection is on by default.
To
connect
the
impedance
matching circuits to TCKR and
TDI you should set appropriate
value
in
“TDI
and
TCKR
termination” parameter.
3.6.6.
Tweaking connection for functioning at high frequency
There is an internal delay in generating TMS and TDO as compared with TCKR edge in
SAU510-USB ISO PLUS v.2 Emulator because of galvanic isolation. TMS and TDO change
in approximately 38 ns after
the TCKR edge. Thus if you do
not
change
the
parameters
indicated in this chapter the
high
TCK
frequency
is
approximately 24 MHz. There is
an opportunity to operate at
higher frequencies. They are
needed
when
using
devices
which generate their own TCKR
signal which does not depend
on the emulator TCK (e.g.,
some
starter
kits
from
Spectrum Digital that generate
their own TCKR of 30 MHz
frequency).
The parameters
for tweaking connection are as
follows:
(“Link delay”). This parameter
sets the number of TMS and TDO
delay cycles after they are
generated in the emulator by
JTAG-controller
and
before
they come to the processor
pins.
Minimum value is 3 because of
the count of synchronization
flip-flops inside the emulator.
Copyright © 2013, Sauris GmbH
17
SAU510-USB ISO PLUS v.2
JTAG Emulator
User’s guide
Revision 1.00 JUL 2013
www.sauris.de
If the delay of TMS/TDO generated from the rising edge of TCKR-signal exceeds one
cycle of TCKR, the Link Delay should be increased by one, thus the value is to be
4. If the delay exceeds two cycles, the Link Delay is to be increased by 2, that
makes the value of 5.
(“Additional delay for TMS output”, “Additional delay for TDO output”). These
parameters serve to set additional delay to TMS and TDO generating from 0 to 7
intervals 4.8 ns each. The delay should be adjusted if after choosing the clock
frequency the existing TCKR >TDO/TMS delay brings to the situation when the
TDO/TMS signals do not meet the requirements setup/hold of the target processor
when they reach it. [POD_TMS_OFS] and [POD_TDO_OFS] enlarge the delays and move
the TMS/TDO signal changing beyond the time limits where the change is prohibited.
(“TMS/TDO output timing”) allows to enable the TMS/TDO generating on the falling
edge of TCKR. It complies with the IEEE-1149.1 standard, but it allows a much
lower value of max TCK frequency (approximately 11..12 MHz) as the 38 ns delay
(due to galvanic isolation) lasts not from previous rising edge to next rising
edge of TCKR but from the falling edge to the rising edge of TCKR. Remember that
there is a frequency limit in TMS/TDO sampling at the falling edge when adaptive
clocking is active. You can also use this parameter to solve the problems with
setup/hold requirements. Enabling the TMS/TDO sampling at the falling edge
generates half period TCKR delay compared to the TCKR sampled at the rising edge.
Note: if the divide coefficient is odd, the width of positive half-wave differs
from the width of negative half-wave by 4,8 ns. Half-wave width can be
unpredictable in the adaptive clocking mode.
3.6.7.
JTAG output level clamping
Emulator outputs voltage level can be changed from 1.65 to 5V regardless voltage
level on PD pin.
18
Copyright © 2013, Sauris GmbH
User’s guide
www.sauris.de
3.6.8.
SAU510-USB ISO PLUS
v.2 JTAG Emulator
Revision 1.00 JUL2013
EMU0/1 pin
EMU pins are bidirectional and set the JTAG operation mode. They can be used for
transmission of data and event. The emulator can be used not only as inputs for
the data/events, and as outputs
with arbitrary values, which
actually set through “EMU I/O
pin mode”
Copyright © 2013, Sauris GmbH
19
SAU510-USB ISO PLUS v.2
JTAG Emulator
Revision 1.00 JUL 2013
User’s guide
www.sauris.de
IMPORTANT NOTICE
Sauris GmbH and its subsidiaries (Sauris) reserve the right to make corrections,
modifications, enhancements, improvements, and other changes to its products and
services at any time and to discontinue any product or service without notice.
Customers should obtain the latest relevant information before placing orders and
should verify that such information is current and complete. All products are sold
subject to Sauris’s terms and conditions of sale provided at the time of order
acknowledgment.
Sauris warrants performance of its hardware products to the specifications
applicable at the time of sale in accordance with Sauris’s standard warranty.
Testing and other quality control techniques are used to the extent Sauris deems
necessary to support this warranty. Except where mandated by government
requirements, testing of all parameters of each product is not necessarily
performed.
Sauris assumes no liability for applications assistance or customer product design.
Customers are responsible for their products and applications using Sauris devices.
To minimize the risks associated with customer products and applications,
customers should provide adequate design and operating safeguards.
Sauris does not warrant or represent that any license, either express or implied,
is granted under any Sauris patent right, copyright, or other Sauris intellectual
property right relating to any combination, machine, or process in which Sauris
products or services are used. Information published by Sauris regarding third–
party products or services does not constitute a license from Sauris to use such
products or services or a warranty or endorsement thereof. Use of such information
may require a license from a third party under the patents or other intellectual
property of the third party, or a license from Sauris under the patents or other
intellectual property of Sauris.
Reproduction of information in Sauris data books is permissible only if
reproduction is without alteration and is accompanied by all associated warranties,
conditions, limitations, and notices. Reproduction of this information with
alteration is an unfair and deceptive business practice. Sauris is not responsible
or liable for such altered documentation.
Resale of Sauris products or services with statements different from or beyond the
parameters stated by Sauris for that product or service voids all express and any
implied warranties for the associated Sauris product or service and is an unfair
and deceptive business practice. Sauris is not responsible or liable for any such
statements.
20
Copyright © 2013, Sauris GmbH