C2000 xds510lc UserGuide
C2000 xds510lc UserGuide
JTAG Emulator
Technical
Reference
510725-0001 Rev. A
February 2008
Spectrum Digital, Inc. warrants performance of its products and related software to current
specifications in accordance with Spectrum Digital’s 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. Spectrum Digital does not warrant nor is liable for the product
described herein to be used in other than a laboratory development environment. Use in any other
environment voids the warranty.
Spectrum Digital, Inc. assumes no liability for applications assistance, customer product design,
software performance, or infringement of patents or services described herein. Nor does Spectrum
Digital warrant or represent any license, either express or implied, is granted under any patent right,
copyright, or other intellectual property right of Spectrum Digital, Inc. 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 intended for use in a laboratory test environment only. It generates, uses, and can
radiate radio frequency energy and has not been tested for compliance with the limits of computing
devices pursuant to subpart J of part 15 of FCC rules, which are designed to provide reasonable
protection against radio frequency interference. Operation of this equipment in other environments
may cause interference with radio communications, in which case the user at his own expense will be
required to take whatever measures may be required to correct this interference.
TRADEMARKS
This document describes the module level operations of the C2000 XDS510LC JTAG
Emulator. This emulator is designed to be used with C2000 family of Digital Signal
Controllers (DSCs) designed by Texas Instruments.
The C2000 XDS510LC JTAG Emulator is a table top module that attaches to a
personal computer or laptop to allow hardware engineers and software programmers to
develop applications with DSCs.
Notational Conventions
Program listings, program examples, and interactive displays are shown is a special
italic typeface. Here is a sample program listing.
equations
!rd = !strobe&rw;
Related Documents
Revision
Revision History
A Initial Release
Chapter 1
Introduction to the C2000 XDS510LC
USB JTAG Emulator
Topic Page
1.0 Overview of the C2000 XDS510LC JTAG Emulator 1-2
1.1 Key Features of the C2000 XDS510LC JTAG Emulator 1-2
1.2 Key Items on the C2000 XDS510LC JTAG Emulator 1-3
1.3 Support for Low Power DSPs 1-3
1-1
Spectrum Digital, Inc
1.0 Overview of the C2000 XDS510LC JTAG Emulator
The C2000 XDS510LC JTAG Emulator is designed to be used with Digital Signal
Controllers (DScs) and microprocessors which operate with +3.3 or +5 volt levels on
the JTAG interface This emulator is powered from USB line. This means no power is
drawn from the target system.
• Supports +3.3 volt and +5 volt JTAG interfaces (+3.3V to +1.8V with Low
Voltage Adapter).
Figure 1-1 shows the C2000 XDS510LC. The key items identified are:
• Status LEDs
• JTAG connector
• Tail
• USB connector to the host PC or hub
Tail
(7x2)
JTAG Connector
Status LED
USB Connector
to Host/Hub
Figure 1-1, KEY ITEMS ON THE C2000 XDS510LC
The C2000 XDS510LC JTAG emulator was designed to interface to target boards with
+3.3 or +5 volt I/O levels. However many new DSCs operate at lower I/O voltage levels
(e.g. +1.8V). To support operation with the lower voltage devices Spectrum Digital has
designed the Low Voltage Adapter, part # 701208. This adapter plugs onto the
emulator’s 2x7 female connector on one side and the target’s 2 x 7 male connector on
the other. This adapter resolves the voltage differences required for correct operation.
Chapter 2 describes the operation of the Low Voltage Adapter with the C2000
XDS510LC.
1-3
Spectrum Digital, Inc
This chapter helps you install the C2000 XDS510LC JTAG Emulator. For
use with specific software packages such as the TI’s Code Composer
Studio refer to their respective documentation.
Topic Page
2.1 What You’ll Need 2-2
Hardware checklist 2-2
Software checklist 2-2
2.2 Installing the C2000 XDS510LC JTAG Emulator 2-3
2.2.1 C2000 XDS510LC JTAG Emulator Installation Checklist 2-3
2.3 Using the Low Voltage Adapter with the C2000 XDS510LC2-5
2.4 C2000 XDS510LC JTAG Emulator LED 2-7
2-1
Spectrum Digital, Inc
The following checklists detail items that are shipped with the C2000 XDS510LC JTAG
emulator and additional items you’ll need to use these tools.
Hardware checklist
__ connector to 14-pin connector (two rows of seven pins) --- see Chapter 3 for
target system more information about this connector
Software checklist
__ drivers Spectrum Digital drivers for TI’s Code Composer Studio (included with
C2000 XDS510LC USB emulator or available from Spectrum Digital’s
website)
This section contains the steps for installing the C2000 XDS510LC JTAG Emulator.
WARNING
Target Cable Connectors:
Be very careful with the target cable connectors. connect them gently; don’t force
them into position, or you may damage the connectors.
Do not connect or disconnect the 14-pin cable while the target system is powered up.
To install the C2000 XDS510LC JTAG emulator execute the following checklist:
❏ Insert the Spectrum Digital USB Driver CD-ROM in the computers CD-ROM drive
and install the device drivers. Code Composer/Studio should be installed already.
❏ Connect the supplied USB cable to your PC or laptop. If you connect the USB
cable to a USB hub be sure the hub is connected to the PC or laptop and power
is applied to the hub.
❏ Your system configuration should now look like that in Figure 2-1or Figure 2-2
After a few moments windows will detect new hardware and prompt you with “New
Hardware Found” screens. Follow the instructions on the screens and let Windows
find the USB driver files “xds2000.inf” and sdusb2em.sys” on your CD-ROM drive.
If you want to verify a successful USB driver install, right mouse on Control Panel,
then select Properties -> Hardware -> Device Manager. You should see a new class
“SD USB Based Debug Tools” and one Spectrum Digital XDS2000 USB emulator
installed.
❏ Now connect the tail of the emulator to the 2 x 7 header on your target board. Apply
power to the target board
2-3
Spectrum Digital, Inc
Figures 2-1 and 2-2 show two typical configurations in which the C2000 XDS510LC
can be used with a host PC and target board.
~ ! @ # $ % ^ & * ( ) _ + |
F1 F2 ` 1 2 3 4 5 6 7 8 9 0 - = \ Esc N um Scroll SysLock Lock R eq
B reak
Q W E R T Y U I O P { } PrtSc
7 8 9
[ ] H ome PgU p
*
F3 F4
A S D F G H J K L : " 4 5 6
C trl
; '
Enter
-
1 2 3
F5 F6 Z X C V B N M < > ?
Shift Shift
End PgD n
, . /
+
A lt C aps 0 .
F7 F8 Ins D el
Lock
F9 F10
14 pin header
Power
Target DSC Supply
Power
Supply
Plugs into USB port
USB Hub
on Hub and PC/Laptop
USB Cable
~ ! @ # $ % ^ & * ( ) _ + |
F1 F2 ` 1 2 3 4 5 6 7 8 9 0 - = \ Esc N um Scroll Sys
Lock Lock R eq
B reak
Q W E R T Y U I O P { } PrtSc
7 8 9
[ ] H ome PgU p
*
F3 F4
A S D F G H J K L : " 4 5 6
C trl
; '
Enter
-
F9 F10
port on a Hub
C2000 XDS510LC JTAG
Emulator Pod
2x7 JTAG
Plugs into USB Connector
port on C2000 XDS510LC
14 pin header
Target DSC Power
Supply
2.3 Using the C2000 XDS510LC with the Low Voltage Adapter
The Low Voltage Adapter, part # 701208, is used with the C2000 XDS510LC JTAG
emulator when the I/O voltage on the target DSP is between +2.8V and +1.8V. This
adapter resolves the voltage differences required for correct operation.
This adapter plugs onto the emulator’s 2x7 female connector on one side and the
target’s 2x7 male connector on the other. The figure below shows how the Low Voltage
Adapter plugs on to the target board and subsequently how the emulator attaches to
the Low Voltage Adapter.
2-5
Spectrum Digital, Inc
2x7 Male
JTAG Header
Low Voltage
Adapter
2x7 Female
JTAG Header
2x7 Male
DSP JTAG Header
Target Board
Figure 2-3, Connecting the C2000 XDS510LC to the
Low Voltage Adapter, and DSP Target Board
The figure below shows the system configuration using the Low Voltage Adapter with
the C2000 XDS510LC JTAG Emulator.
~ ! @ # $ % ^ & * ( ) _ + |
F1 F2 ` 1 2 3 4 5 6 7 8 9 0 - = \ Esc N um Scroll SysLock Lock R eq
B reak
Q W E R T Y U I O P { } PrtSc
7 8 9
[ ] H ome PgU p
*
F3 F4
A S D F G H J K L : " 4 5 6
C trl
; '
Enter
-
1 2 3
F5 F6 Z X C V B N M < > ?
Shift Shift
End PgD n
, . /
+
A lt C aps 0 .
F7 F8 Ins D el
Lock
F9 F10
2x7 JTAG
Plugs into USB Connector
port on C2000 XDS510LC Low Voltage Adapter
14 pin header
Power
Target DSC Supply
Figure 2-4, Using the Low Voltage Adapter with the C2000 XDS510LC
2-6 C2000 XDS510LC USB JTAG Emulator Installation Guide
Spectrum Digital, Inc
The C2000 XDS510LC has one (1) red Light Emitting Diode (LED). This LED provides
the user with the status of the emulator. The meaning of the LED is described in the
table below.
2-7
Spectrum Digital, Inc
Topic Page
3.1 Designing Your Target System’s Emulator
Connector (14-pin Header) 3-2
3.2 Bus Protocol 3-3
3.3 Emulator Cable Pod Logic 3-4
3.4 Emulator Cable Pod Signal Timing 3-5
3.5 Buffering Signals Between the Emulator and the 3-6
Target System
3.6 Emulation Timing Calculations 3-9
3.7 Mechanical Dimensions of the C2000 XDS510LC 3-11
JTAG Emulator
3-1
Spectrum Digital, Inc
Certain devices support emulation through a dedicated emulation port. This port is
a superset of the IEEE 1149.1 (JTAG) standard and is accessed by the emulator. To
perform emulation with the emulator, your target system must have a 14-pin header
2 rows of 7 pins) with the connections that are shown in Figure 3-1. Table 1
describes the emulation signals.
TMS 1 2 TRST-
TDI 3 4 GND Header Dimensions
PD 5 6 no pin (key) Pin-to-Pin spacing, 0.100 in. (X,Y)
TDO 7 8 GND Pin width, 0.025-in. square post
TCK-RET 9 10 GND Pin length, 0.235-in. nominal
TCK 11 12 GND
EMU0 13 14 EMU1
Figure 3-1, 14 Pin Header Signals and Dimensions
Emulator Target
Pin # Signal Description
State State
9 TCK_RET JTAG test clock return. Test clock input to Input Output
the emulator. May be a buffered or unbuf-
fered version of TCK.
The IEEE 1149.1 specification covers the requirements for JTAG bus slave devices
(such as the TMS320C5x family) and provides certain rules, summarized as follows:
__ The TMS/TDI inputs are sampled on the rising edge of the TCK signal of the
device.
__ The TDO output is clocked from the falling edge of the TCK signal of the device
When JTAG devices are daisy-chained together, the TDO of one device has
approximately a half TCK cycle set up to the next device’s TDI signal. This type of
timing scheme minimizes race conditions that would occur if both TDO and TDI
were timed from the same TCK edge. The penalty for this timing scheme is a
reduced TCK frequency.
The IEEE 1149.1 specification does not provide rules for JTAG bus master
(emulator) devices.
3-3
Spectrum Digital, Inc
Figure 3-2 shows a portion of the emulator cable pod. These are the functional
features of the emulator pod:
__ Signals TMS and TDI are generated from the rising edge of TCK_RET.
__ Signals TMS, TDI, TCK, and TRST- are series-terminated to reduce signal
reflections.
__ A 12-MHz test clock source is provided. You may also provide your own test
clock for greater flexibility.
18
TRST-(Pin 2)
16 33Ω
AC Termination TMS(Pin 1)
33Ω
14 TDI(Pin 3)
33Ω
12
11 TCK(Pin 11)
TCK_RET(Pin 9) 15Ω
13
TDO(Pin 7)
15
EMU0(Pin 13)
17
EMU1(Pin 14)
LXH241
EMU0-WAIT-IN-RESET
100Ω 10K
TLC2272A
2K
PD(Pin 5)
GND(Pin 4)
10K GND(Pin 6)
GND(Pin 8
GND(Pin 10)
GND(Pin 12)
Figure 3-2, Emulator Pod Interface
Figure 3-3 shows the signal timings for the emulator. Table 2 defines the timing
parameters for the emulator. The timing parameters are calculated from standard
data sheet parts used in the emulator and cable pod. These parameters are for
reference only. Spectrum Digital does not test or guarantee these timings.
The emulator pod uses TCK_RET as its clock source for internal synchronization.
TCK is provided as an optional target system test clock source.
TCK_RET 1.5 V
2 3
TMS TDI
4 6
TDO
5
Figure 3-3, Emulator Pod Timings
3-5
Spectrum Digital, Inc
3.5 Buffering Signals Between the Emulator and the Target System
__ No signal buffering. As shown in figure 3-4, the distance between the header
and the target device should be no more than 6 inches.
4 Inches or Less
Vcc
Vcc
Target Device 4.7K 4.7K Emulator
Header
13 5
EMU0 EMU0 PD
14 EMU1
EMU1
2 TRST- 4
TRST- GND
1
TMS TMS 6
3 GND
TDI TDI 8
GND
7
TDO TDO 10
11 GND
TCK TCK 12
9 GND
TCK_RET
GND
Figure 3-4, No Signal Buffering
__ Buffered emulation signals. Figure 3-5 shows the distance between the
emulation header and the target device is greater than 6 inches. The target
device signals--TMS, TDI, TDO, and TCK_RET are buffered through
the same package.
Vcc
Vcc
Target Device 4.7K 4.7K >=4.7K Emulator
Header
13 5
EMU0 EMU0 PD
EMU1 14 EMU1
__ The EMU0 and EMU1 signals must have pullups to Vcc. The pullup resistor
value should be chosen to provide a signal rise time less than 10 uS. A 4.7k
ohm resistor is suggested for most applications. EMU0-1 are I/O pins on the
target device, however, they are only inputs to the emulator. In general, these
pins are used in multiprocessor systems to provide global run/stop operations.
6 Inches or Less
Vcc
Vcc
Target Device 4.7K 4.7K Emulator
Header
13 5
EMU0 EMU0 PD
14 EMU1
EMU1
2 TRST- 4
TRST- GND
1 TMS
TMS 6
3 GND
TDI TDI 8
7 GND
TDO TDO 10
11 GND
12
NC TCK
9 GND
TCK TCK_RET
GND
There are two benefits to having the target system generate the test clock:
__ The emulator provides only a single 12-MHz test clock. If you generate your
own test clock, you can set the frequency to match your system requirements.
__ In some cases, you may have other devices in your system that require a test
clock when the emulator is not connected.
3-7
Spectrum Digital, Inc
Target #1 Target #2
4.7K Suggested
TDO TDI TDO TDI for all resistors
Vcc
TRST-
TRST-
Emulator
EMU0
EMU0
EMU1
EMU1
TMS
TMS
TCK
TCK
Header Vcc
5
PD
13
EMU0
14
EMU1
2
TRST-
1 4
TMS GND
3 6
TDI GND
7 8
TDO GND
11 10
TCK GND
9 12
TCK_RET GND
GND
__ The processor TMS, TDI, TDO, and TCK should be buffered through the same
physical package to better control timing skew.
__ The input buffers for TMS, TDI, and TCK should have pullups to Vcc. This
will hold these signals at a known value when the emulator is not connected.
A pull up resistor of 4.7k ohms is suggested.
The following are a few examples on how to calculate the emulation timings in your
system. For actual target timing parameters, see the appropriate device data sheets.
Assumptions:
ts u ( T T M S ) Target TMS/TDI setup to TCK high 5 ns
Given in Table 2:
td ( X T M S m ax ) Emulator TMS/TDI delay from TCK_RET
high, max 22 ns
There are two key timing paths to consider in the emulation design:
__ the TCK_RET/TDI( t pr dt c k _ T M S ) path, and
__ the TCK_RET/TDO( t p r dt c k _ T D O ) path.
In each case, the worst case path delay is calculated to determine the maximum
system test clock frequency.
3-9
Spectrum Digital, Inc
tp r dt c k _ T DO = [td ( T T D O ) + ts u( X T DO m i n) ] / tt c k f a c t o r
= (10ns + 5ns) / 0.4
= 37.5ns (26.6 MHz)
tp r dt c k _ T M S = (td( X T M S m a x ) + ts u (T T M S ) + 2td (b u f m a x ) ) * 2
= (22ns + 5ns + 2(7ns)) * 2
= 82ns (12.2 MHz)
tp r dt c k _ T DO = (td( T T D O ) + ts u ( X T D O m in ) + tbu f s k e w ) / tt c k f ac t o r
= (10ns + 5ns + 0.9 ns) / 0.4
= 39.8ns (25.1 MHz)
The C2000 XDS510LC JTAG Emulator consists of a 6-foot USB cable, the C2000
XDS510LC emulator pod, and a short section of cable (tail) that connects to the
target system. The overall cable length is approximately 6 feet, 10 inches. Figure 3-8
and Figure 3-9 (page 3-12) show the mechanical dimensions for the C2000
XDS510LC emulator pod and short cable. Note that the pin-to-pin spacing on the
connector is 0.100 inches in both the X and Y planes. The C2000 XDS510LC JTAG
emulator enclosure is nonconductive plastic with one recessed metal screw.
Note: All dimensions are in inches and are nominal dimensions, unless otherwise specified.
3-11
Spectrum Digital, Inc
0.225
0.100
Cable
0.875 (Connector, Front view)
0.100
Note: All dimensions are in inches and are nominal dimensions, unless otherwise specified.