The port utility SdConfig.exe will help you setup your PC printer port and test out the connection between your emulator and target system.
Features:
Fully Supported Products:
Limited Support Products:
You can use the configuration utility so setup most of the sdopts.cfg options. However you cannot test our PC to emulator or emulator to target connections. These products are shipped with utilities that can be used for testing the connections.
Installation:
The SdConfig utility is
included with the Spectrum Digital emulation driver istallation.
If you have not already run the emulation driver installation, please do so
before proceeding. The driver installation is included in your emulator product
kit or may be downloaded from the Spectrum Digital Support site at: "Emulation Drivers".
The configuration utility will install in a path that looks like c:\<Install Directory>\specdig\SDConfig. The default install directory is the same directory as the Code Composer or Code Composer Studio install Directory.
The installation will install(or replace) the sdopts.cfg file located in the Windows system directory. If there is currently a working Spectrum Digital Emulator configuration on this computer, you may wish to save this file just incase you do not remember current configuration. The new sdopts.cfg file is required to get all the emulators and eZdsp products included into the file with default settings.
The SdConfig.exe utility is targeted
towards users of TI/GoDSP Code Composer 4.x, Code
Composer Studio 1.x, 2.x, 3.x, and higher. If you are NOT running one of these debug tools
then you need to make sure that your Windows OS COMCTL files are up to date. In
general if you are running Win98, Win98 SE, WinNT with service pack 5, Win
2000, or if you are using Internet Explorer version 5.x or higher you should
have the proper OS updates installed. If you need an update then visit the
Microsoft web site athttp://www.microsoft.com/msdownload/ieplatform/ie/comctrlx86.asp.
If you are not running with the proper COMCTL files
then the SdConfig.exe utility may generate a protection fault
when some windows or controls are selected.
Latest Updates:
Latest updates of Emulation Drivers and the SDConfig configuration utility or other Spectrum Digital productsmay be found on our support website at: http://support.spectrumdigital.com
Step through the following screens to setup your sdopts.cfg file and test out your emulator connection.
When you start SdConfig.exe you will get the following startup screen.

Check Printer Ports Available:
If your emulator/eZdsp is connected via the PC printer port then you need to determine what ports are available. Under the Configuration menu item select Ports Available and Printer, USB. This will scan your printer ports and check for the current configuration. This test needs to be performed with the emulator disconnected from the PC. The results will be displayed in the "Output Window" at the bottom of the SDConfig Window.
Check USB Connection Available:

Using the information from the previous step you should have found at least one available printer port. If not then you will need to configure your PC BIOS to enable at least one printer port. Using the EmuPortAddr from the previous step select the emulator icon with the matching port address. This will give you two sets of options, Emu emulator configuration options and Data Log for data logging options. Select the Emu icon. This will bring up the available emulator options. These options are product sensitive and only allow "valid" options to be selected. For details on each option use the online help.

Select the name of the hardware product that you are attached to. Once you pick the product the other options will change to reflect only the valid options for the product.

Setting the Emulator Port Mode
Select an emulator port mode from the list available. The modes are emulator and port address dependent. Note that newer printer port emulator/eZdsp product do not support the old SPP4 mode of operation.

Save the new options settings:
Save your file settings using the File->Save or floppy disk icon. If you forget to save your options then you will be prompted to do so before running verification or exiting the program.

The emulator must be connected to the computer and powered. Highlight the port address where the emulator is connected from the list of ports in the left window of the SDConfig. Click Configuration->Verify.
If an emulator or SD product is detected then product information will be displayed in the output window. Otherwise error information will be displayed. This test will verify that your PC is communicating with the emulator. The default printer port mode is used as it has the best chance of working for parallel port tools. When you test the emulator/target connection the port mode that you have specified in the configuration setup will be used.
Test Emulator\Target Connection:
Once you have verified that the PC to emulator connection you are now ready to verify the emulator to target connection. Make sure that you have power connected to your emulator and target system. Then select the <EMU check icon > or Emulator->Test.
This test performs basic JTAG scans to determine the length of the JTAG IR path and how many devices are in the scan chain. This test does not verify that each target device is functional. There could still be target-related issues that will not allow you to start up Code Composer. Following is a list of JTAG IR lengths for various TI devices:
|
Device |
JTAG IR Length |
|
TMS320C2XX |
8(F20x, F24x, F240xA) |
|
TMS320C28XX |
38 |
|
TMS320C5X |
8 |
|
TMS320C54X |
8 |
|
TMS320C4X |
8 |
|
TMS320VC3X |
8 |
|
TMS320C6X0X |
8(C6201,C6701) |
|
TMS320C6X1X |
46(C6211,C6711) |
|
TMS320C55XX |
38 |
|
TMS320C27XX |
38 |
|
TMS470R1X(ARM) |
4 |
|
TMS470R2X(ARM9) |
4 |
|
TMS320C64XX |
38 |
Following this test the emulator is reset and the JTAG TRSTn pin is driven low to reset the device emulation logic. You can also reset the emulator without running the scan test by selecting the <Big R icon> or Emulator->Reset.

Once you have verified the PC, emulator, and Target 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, select Emulator->Diagnostics. The following screen shows the diagnostic defaults.

· Scan Verify: Uses an incrementing scan pattern. This pattern will have varying numbers of ones and zeroes.
· Scan Pattern: User selectable pattern. Best selection for probing the JTAG TDI/TDO signals.
· Stop Error Count: Determines the number of failures that can accumulate before the test stops. If set to zero then all errors are ignored. Set to zero when probing with scope.
·
Test
The diagnostic test flow is designed such that emulator and or scan errors are cleared at the beginning of each pass of the test. This is required to provide a repetitive looping mode. Each pass of the test will scan approximately 10000 bits of TDI/TDO data. If the Stop Error Count is set to 1 then diagnostic messages will be displayed indicating the first bit that failed and number of bits state changes.