This document contains General JTAG emulator information that may not be found in the product Technical Reference or quick start guide. Also included is troubleshooting information that can be used to help troubleshoot questionable JTAG Emulator connection.
Initial emulator specifications and emulator installation details can be found in the emulator 'Technical Reference', 'Quick Start Guide', and
Table of Contents
1. Preliminary Checks
2. SDConfig Utility
3. Emulator Connection Troubleshooting
4. Emulator Specific
5. Code Composer Studio Configuration and Spectrum Digital Emulators
6. Emulator Memory Summary
1.1 Simple things to check
Small things that cause a surprising number of problems:
All driver installations and software installations must be done while logged in to Windows with Adminstrative rights and Anti-Virus protection disabled.
Your JTAG emulator should always be attached to the board before power is applied. This insures that a proper ground is established on board startup.
Make sure that the correct power is applied to the Target and emulator (if required) and verify the JTAG cable is securely connected to the target's JTAG header.
Verify that your JTAG connection is working using SDConfig (see section 2).
If you have access to another DSP Target board (preferably a Spectrum Digital EVM or DSK), Connect the emulator to the other board and test connection. If there is still failure then the problem may be in the emulator hardware or configuration.
Check the Software Guide to see if you have all necessary components.
If you are getting an intermittent or unreliable connection, try using the JTAG cable (the part between the emulator and the target board) in a few different positions to see if it makes a difference. This will tell you if you need to have your cable replaced.
1.2 Windows Operating System Support
Here is a list of Operating systems supported by our JTAG emulators and Code Composer Studio v3.x:
The SDConfig utility is installed with the standard JTAG Emulation driver installation. It can be launched from the 'SDConfig' icon on the Desktop or by double-clicking the 'sdconfig.exe' file in the installation path of C://specdig/sdconfig/bin. The SDConfig utitily is a convenient tool to test the connection between the host computer, Spectrum Digital JTAG emulator, and Target JTAG Scan chain. In the event the emulation hardware or target hardware are questionable, the tests will help determine which part of the tool chain is failing. If any of the SDConfig tests fail, then Code Composer Studio or any other emulator utility will not be able run.
SDConfig does not support the XDS560R USB JTAG Emulator at this time.
2.1 SDConfig Test Suggestions
2.1.1 SDConfig Host Computer Port Test
SDConfig can test to determine if the Host Computer port (Parallel POrt or USB) is available for use by the Spectrum Digital JTAG emulator. Highlight the port address (port list is in the column in the left panel) you wish to test. The test can be run by clicking "Configuration", then "Ports Avialable", then "Printer, USB". The SDConfig output window will tell you if a suitable port has been found.
2.1.2 SDConfig Emulator Connection Verification
SDConfig can test the connection between the Host Computer and Emultor. Connect the emulator to the computer and power the emulator (if external power is required). Highlight the port address (port list is in the column in the left panel) you wish to test. Now click "Configuration", then "Verify". The SDConfig output window will tell you if a Spectrum Digital JTAG Emulator has been found.
If the Configuration-->Verify fails, then it may be necessary that the emultion drivers be re-installed. Alternatively, this may be a result of faulty emulator hardware. Try connecting another emulator (if one is available) to the computer and test the Verify again. If the new emulator is found by SDConfig, then the questionable one may need to be returned for repair.
2.1.3 SDConfig Emulator/Target Connection test
The JTAG connection between the emulator and Target DSP can be tested using the SDConfig "Emulator Test". Highlight the port address (port list is in the column in the left panel) you wish to test. Now click "Emulator", then "Test. The SDConfig output window will tell you if the Spectrum Digital JTAG Emulator has successfully connected to a valid JTAG scan chain.
If the Emulator Test fails, this may be a result of faulty emulator hardware or possibly faulty target JTAG connection. Try connecting another emulator (if one is available) to the same target and run the test again. If the new Emulator Test passes with the new emulator connected, then the questionable one may need to be returned for repair. Alternatively, try connecting a different Target board to the emulator. If the Test passes when connected to the new target, then the original target board may need repair.
2.1.4 SDConfig Scan Chain Connection Diagnostics
Once you have verified the PC to emulator connection you can perform advanced scan chain diagnostics. These diagnostics can aid in finding scan chain problems related to integrity, signal quality and other failures that would prevent CCS or other debug products from starting and running reliably. To run diagnostics, connect the emulator to the computer and target, power the emulator and target, then launch SDConfig. Select the port address that is appropriate for the emulator being used, then click Emulator->Diagnostics. A new window will appear as follows:
3.1 Connection Between Emulator and Host Computer
3.1.1 Verify the USB drivers are properly installed
USB communication to the host computer is used by many of Spectrum Digital's JTAG Emulators, EVMs, DSKs, and eZdsp boards. The USB drivers must be correctly installed and registered in Windows. This installation is done during the initial setup of the USB device. The USB installation may be verified as follows:
3.1.2 Verify the emulator connection to the Host computer
3.1.3 Parallel Port Adapters
Spectrum Digital parallel port drivers (XDS510PP PLUS JTAG Emulator and eZdsp boards) require a port using standard LPT1 port addresses such as 0x378, 0x278, and 0x3bc. If the computer does not have a parallel port, the use of a parallel port adapter may be considered, however the adapter MUST allow being mapped to the standard LPT1 port addresses mentioned previously.
We have found only one adapter that will allow the LPT1 addresses. It is a PCMCIA to Parallel Port adapter. The manufacturer is Quatech and the part number is SPP-100.
3.2 Connection between Emulator and Target
3.2.1 Emulator JTAG Scan Test
The SDConfig JTAG Scan Test is the quickest way to test the connection between emulator and target. See Section 2 above about the SDConfig for more details.
3.2.2 Code Composer Studio Failure to lauch or Connect
Code Composer Studio does not automatically "Connect" once the application is launched. After launching CCS, the connection must be made. Click "Debug" then "Connect".
If the connection still cannot be made, or errors appear, there might be a Configuration problem in the CCS Configuration utility. Close the CCS and launch back into the CCS Setup Tool. Verify the proper connection is being used, the JTAG Scan chain is defined poperly, and a suitable GEL file is being used. Spectrum Digital JTAG emulator installations include many pre-built configurations using Spectrum Digital Emulators and targets. The CCS Setup utility uses 3 drop-down menus to narrow the search for a suitable pre-built configuration. Make sure the correct Emulator Selection (Platform) is selected for a SD Emulator.
3.2.3 Potential Hardware Causes for Failure
Faulty hardware is also a potential cause for failure with the CCS connection. The SDConfig utility can be used as an initial test to verify if the hardware is a potential cause of the failure. See Section 2 above regarding the "Emulator Test" for more detail.
The emulator hardware may have become faulty. The cable may be bad or possibly components on the emulator board are failing. If the emulator hardware is suspected to be faulty, it may be returned to Spectrum Digital for repair. The repair process is handled on our website at www.spectrumdigital.com, by clicking on "Return Merchandise Authorization".
The Target board JTAG connection may be suspect as well. Proper JTAG connection and signal integrity is very important to allow communication with a JTAG emulator. Custom JTAG connections that do not comply to the standare JTAG header pinouts are extremely suspect. A noisy system, noisy environment, poor signal integrity, etc. will create problems with the emulation connection.
4.1 XDS510USB JTAG Emulator
Here is a list of XDS510USB JTAG emulator specific Notes
4.2 XDS510USB PLUS JTAG Emulator
Here is a list of XDS510USB PLUS JTAG emulator specific Notes.
4.3 C2000 Series XDS510LC USB JTAG Emulator
Here is a list of C2000 XDS510LC USB JTAG emulator specific Notes.
4.4 XDS510PP PLUS JTAG Emulator
Here is a list of XDS510PP PLUS JTAG emulator specific notes.
4.5 XDS560R USB JTAG Emulator
Here is a list of XDS560R USB JTAG emulator specific notes.
4.6 XDS100 USB JTAG Emulator
5.1 CCS Configurations included with Driver installation
Spectrum Digital emulation driver installations include a number of 'pre-built' configurations for Code Composer Studio. The installation includes configurations for connections to Spectrum Digital EVM, DSK, and eZdsp boards and common, single DSP (or SoC) device scan chains using Spectrum Digital emulators. Please note there may not be a configurtion with the exact naming convention that corresponds to every device. For example, in the screenshot below, there is not a configuration using the XDS510USB with a TMS320F2809, however the F2808 configuration is the closest. The emulation driver used in the F2808 configuration example also supports the F2809, as well as other F28xxx devices from TI. The only change to be considered in the CCS configuration is the GEL file. Modify the configuration to use a GEL file that more closely reflects the DSP or target board being used.
5.2 Custom Board Configurations
Custom configurations may be created using the Setup CCS utility. This is useful when the target has multiple JTAG devices in the JTAG scan chain. Please refer to the Help Menu in the Setup CCS utility for instruction how to create a custom CCS Configuration.
The first step in creating the custom board requires to select the 'connection' that will be used. The 'connection' is the emulator connection that is being used. The 'Available Connections' in the Create Board tab and their associated Spectrum Digital emulators are as follows:
"SD XDS560R USB Emulator" ---> XDS560R USB JTAG Emulator.
"SD510 Emulator" ---> XDS510PP PLUS (parallel port), SPI525 PCI JTAG Emulators, and eZdsp boards using on-board parallel port / JTAG emulation.
"SD510USB Emulator" ---> XDS510USB, XDS510USB PLUS, C2000 XDS510LC USB JTAG Emulators.
"SDDSKUSB Emulator" ---> DSK, eZdsp, and EVM using on-board USB / JTAG emulation connections.
5.3 XDS560R and CCS v4
XDS560R support is included with the CCS v4 installation. However, the XDS560R setup installation is not executed during the current CCS v4 installation. The installation can be run manually. The setup executable is located in the following default install directory: "C:/Program Files/Texas Instruments/ccsv4/common" (your install directory may vary if you did not install in the default directory). Close the CCS v4 application and run the 'SetupSDXDS560R.exe' file. When it finishes, launch CCS v4 and you will now find the 'Spectrum Digital XDS560R USB Emulator' option populated in the connection list.
6.1 Emulator Memory Summary
The Following is a summary of memory types on SD emulators and usage. The XDS510USB and SPI530 emulators contain an emulation processor and memory for storage of the emulation application as well as data storage for the user�s target application. At no time would there ever be greater then 64K bytes of a user�s application code resident in the emulator at one time.
XDS510PP:
XDS510PP PLUS:
SPI515:
XDS510USB:
SPI530 MPSD:
SPI525 PCI:
XDS510USB-PLUS:
XDS560R: