Spectrum Digital Port Configuration Utility (SdConfig.exe)

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:

- Test for the presence of a printer port and the current mode.
- Setup your sdopts.cfg emulator configuration file.
- Minimizes user setup errors of sdopts.cfg.
- Verify the connection between the host PC and emulator using the sdopts.cfg emulator configuration.
- Verify the connection between the emulator and target system using the sdopts.cfg emulator configuration.
- Provides and emulator reset.

Fully Supported Products:

- XDS510PP JTAG (Printer port)
- XDS510PP_PLUS (Printer port)
- SPI515 (Printer port)
- SPI510/XDS510 (ISA port)
- SPI525 (PCI port)
- All eZdsp

Limited Support Products:

- XDS510PP MPSD (Printer port, C3x)
- SPI530 (Printer port, C3x)
- SPI520 (Printer port, C27x )

  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:

Before installing the SdConfig utility you must first install your Spectrum Digital emulator drivers if you have not already done so. These drivers were included in your emulator product kit or you may have downloaded them from the Spectrum Digital ftp site.

Run one of the following setup programs to install the configuration utility:

- From CD: <CD Drive>\SdConfig\setup.exe
- From the ftp site: setupSdConfig.exe

On newer releases of Spectrum Digital emulation drivers the configuration utility will be automatically installed. The configuration utility will install at <Install Directory>\specdig\bin. The default install directory is "c:\ti" in accordance with the default TI/GoDSP install path.

The installation will automatically replace your sdopts.cfg file located in the Windows system directory. 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 and Code Composer Studio 1.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 at

http://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:

For the latest updates to the configuration utility or other Spectrum Digital products visit our ftp site at: ftp://ftp.spectrumdigital.com/pub/index.htm

Quick Tour:

Step through the following screens to setup your sdopts.cfg file and test out your emulator connection.

Startup_Screen

CheckPrinterPortsAailable

SettingEmulatorOptions

SelectingHardwareProduct

SettingTheEmulatorPortMode

AdditionalEmulatorSettings

SaveNewOptionSettings

VerifyEmulatorSettings

TestEmulatorTargetConnection

Startup Screen:

When you start SdConfig.exe you will get the following startup screen.

BackToTop

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. 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.

BackToTop

Setting Emulator Options:

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.

BackToTop

Selecting Hardware Product:

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.

BackToTop

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.

Additional Emulator Setting:

Emulator port speed: The acceptable values are emulator dependent and in most cases the defaults will work.
- Include SD opto-isolator pod. Check this box if you have the SPI610 pod included in the scan chain.
- Disable certain emulation polling: Check this box if you want the highest emulator performance. Uncheck this box if you see erratic behavior under Code Composer.
- Perform C27x style Wait-In-Reset: Check this box if you are connected to a C27xx device and wish to use it’s Wait-In-Reset capability. This box should be unchecked for all processors that do not support Wait-In-Reset emulation feature.

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.

BackToTop

Verify your emulator setting:

Connect power to the emulator and target. Select the <check icon> or 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. For the printer port products the default printer port mode is used as it has the best chance of working. When you test the emulator/target connection the port mode that you have specified in the configuration setup will be used.

BackToTop

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
TMS320C5X | 8
TMS320C54X | 8
TMS320C4X | 8
TMS320VC3X | 8
TMS320C6X0X | 8(C6201,C6701)
TMS320C6X1X | 46(C6211,C6711)
TMS320C55XX | 38
TMS320C27XX | 38
TMS470R1X(ARM) | 4

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.

BackToTop