How to setup CCSv4 with Spectrum Digital XDS510USB PLUS for TI Stellaris M3

From Texas Instruments Wiki
Jump to: navigation, search

The Texas Instruments Stellaris microcontroller does not support a return TCK pin and most Stellaris boards do not connect the TCK to TCK_RET at the emulation header. Fortunately if you are using an XDS510USB Plus emulator you can use the internal TCK loop back feature to provide an emulation clock. The steps below show how to configure the XDS510USB Plus using the emulation drivers included in CCS v4. If your CCS v4 installation does not show the “SdConfigEx v4” icon then you should either update to a newer CCS v4 release or simply follow the instructions for alternate configuration.

Please note that older emulators like XDS510PP-PLUS and XDS510USB do not support the internal TCK loop back feature. However you should be able to use those emulators if you manually wire the TCK to TCK_RET pin at the emulation header of your board or adapter. Please see here for details. For these older emulators, you may want to reduce the TCK speed through SdConfigEx (i.e. TCK Divisor =2 to 4).

For connections other than SD XDS510, please see here.
For more details, see Stellaris support in CCS

1) Select the SdConfigEx v4 icon on your desktop:


2) Under the TCK Mode select “CounterITckr”. The CounterITckr mode will internally loop TCK to RTCK and no RTCK is needed at the JTAG header. Most Stellaris devices specify a TCK max of 10MHz so you may want to set the TCK Frequency field to 10.


3) Start CCSv4 and configure your CCS connection. See Creating Custom Target Configurations. There is an example XML configuration for the LM3S8962

Alternate Configuration

1) You can manually set this mode by editing the “sdopts.cfg” file and setting the “EmuJclkMode=CounterITckr”. The manual setting will work for CCS v4 and existing CCS v3.3 drivers.