Code Composer Studio
I just ran Code Composer Studio, but now after closing it, I can't seem to get my TIM to do anything. Why?
This is usual. When you open CCS the DSP is put in a halted state. Unless you select "run free" before exiting CCS, the DSP is effectively "halted". so nothing will run on it. not even the boot loader. So make sure you say "run free" before you quit CCS.
Failing that, you can reset the board using the SMT6300 utility.
Errors with Code Composer Studio?
Typing a CCS-related question or error message in the search box of the TI DSP Knowledge Base here: http://focus.ti.com/dsp/docs/dspknowledgebase.tsp?sectionId=3&tabId=412 should provide you with useful answers about your request.
It's better to type the error messages exactly as they appear onscreen.
The Sundance wizard does support TI CCS 3.0. But, you may want to configure CCS manually. Here's how
1/ Open Code Composer Studio Setup From the Board name and Data file TAB
2/ Add a Board/Simulator type to your system according to the type of the DSP in your system (tixds6000.dvr for TMS320C620x, TMS320C670x, TMS320C621x, TMS320C671x or tixds6400_11.dvr for TMS320C64xx). If these drivers are not available from the menu, you have to install a device driver from "..\\\\CCStudio\\\\Drivers" folder.
3/ Select "auto generate board data file with extra configuration file".
4/ Select the configuration file for the series SMT310s (from the SMT6012 folder ..\\\\Program Files\\\\Sundance\\\\SMT6012): SMT310on20.cfg if you have a "Master JTAG chain" system such as a SMT310Q or SMT310off20.cfg if you have a "Slave JTAG chain" system such as a SMT401 connected to a SMT310 by using the JTAG buffered cable (SMT501). From the Board properties TAB
5/ Write the correct address for the PCI I/O port for your carrier board. You can use the SMT6300 Board Info Utility to obtain it. From the Processor configuration TAB
6/ Add the number of processor including in your DSP chain (i.e. in your Sundance's system) that you have in your system according to their DSP type.
Now, TI CCS is properly set up. You can save your configuration and open TI Code Composer Studio.
How do I configure Version 3.1 Platinium edition of Code Composer manually?
1/ Open Code Composer Studio Setup (setup CCStudio v3.1) You can select the features of the processor used: family, platform and endianness in the top roll bars menu located in the middle frame of the main window. Most of the Sundance's boards use the C6000 DSP types. The families for these types of DSP are: - C62xx - C64xx - C67xx Then, the platform to be used is the xds510 emulator. The Endianness doesn't need to be changed (All, it means BIG and LITTLE endian are supported). You can select these parameters to limit the number of drivers available according to your DSP system.
2/ From the middle frame window named Available factory boards You may choose and drag to the left frame window under the My System architecture one of these board types: - C620x XDS510 emulator - C621x XDS510 emulator - C64xx XDS510 emulator - C670x XDS510 emulator - C671x XDS510 emulator
3/ Select the board type and display its properties (right click on the name)
4/ From the Connection name and Data file TAB of the new popup windows displayed: - Rename the Connection name with the Sundance's board type (i.e. SMT310Q, SMT310... and add an index in case you have more than one carrier board in your system). - Select Auto-generate board data file with extra configuration file - Browse the Configuration file and Select the configuration file for the series SMT310s (from the SMT6012 folder ..\\Program Files\\Sundance\\SMT6012): SMT310on20.cfg if you have a "Master JTAG chain" system such as a SMT310Q or SMT310off20.cfg if you have a "Slave JTAG chain" system such as a two carriers connected together by using the JTAG buffered cable (SMT501).
5/ From the Board properties TAB - Write the correct address for the PCI I/O port for your carrier board. You can use the SMT6300 Board Info Utility to obtain it.
Note that CCS configures by default a system with one DSP only. If you have more than one processor in your system follow the step 6; otherwise you can skip to the step 7.
6/ From the System Configuration (left frame) - Remove the default processor CPU_1 added by default - Add the number of processor including in your DSP chain (i.e. in your Sundance's system) that you have in your system according to their DSP type (Add Multiple - # of Devices from the bottom of the middle frame of the main window).
7/ Save and Exit Now, TI CCS is properly set up. You can save your configuration and open TI Code Composer Studio. Note that the emulator does not connect to the DSP target by default when CCS opens. You can connect the emulator to the DSP from the menu DEBUG->Connect the target. You also can connect the target automatically when a CCS control window is opened if you tick the option in the menu OPTIONS>Customize.
When I try to compile some code in CCS I get the following error. Why do I get it?
c6xslink HscDsp ConfigFPGA_sa.lib >> error: illegal relocation type 050002 found in section .debug_info, file ConfigFPGA_sa.lib config /a HscDsp.cfg ..\\Output\\HscDsp.app ERROR: cannot open task image file HscDsp.tsk for task HscDsp PROCESSING ABANDONED NMAKE : fatal error U1077: 'config' : return code '0x1' Stop.
The library used has been compiled with a TI compiler version which is different from yours. Typically, the TI compiler of CCS v2.2x generates this error message when you use a library compiled with the TI compiler of CCS v3.0.
We downloaded the latest versions of Sundance Wizard, SMT6001 and SMT6300; but when we run the Sundance Wizard we can't complete the process. After the first step (the installation of SMT6300), when we push the button "Next", it appears an error message: "Class not registered" and we can't continue with the process. Which is the problem? How can we solve it?
The solution is to install a full version TI Code Composer Studio (version 3.0 or later) first, and then run the Sundance wizard.
Where can I find the latest drivers for the SMT107?
Please download the current drivers for Texas Instruments Code Composer Studio from the following link: ftp://ftp2.sundance.com/Pub/Support_Files/Support/f=33/Drivers_SMT107.zip The user manual is provided from the Sundance website.
SMT6012 on laptop or not?
The SMT6012 provides the Code Composer Studio drivers for the Sundance carrier boards.
There is no need to install the 6012, because you can not use the Sundance carrier boards with a laptop.
When I run SmtFpu (the flash programmer from 6001), the program launches, starts detecting TIMs (with the icon under that message moving around), but the program does not go further; it stays forever "detecting TIM". What is wrong?
TI changed the way the debugger connects to the target DSP. There is no way for us to, via software, connect to the dsp. So all you need to do to make it work, is to start CCS before trying to run the 6001. Make sure the DSP is connected, and simply leave CCS running for the duration of the programming.
Is it possible to use different TI DSPs in the same JTAG Daisy-chain with SMT6001?
SMT6001 uses the JTAG chain for the DSPs. If there are different DSPs in the system the daisy-chain is broken because C64xx, C67xx, use different drivers. But, you are still able to use SMT6001 without modifying your system if you do different setup in the CCS manager. In the configuration of the DSP chain, you have to BYPASS the processors which are not supported by the drivers. Refer to the help file of TI CCS setup manager tools section "Using Bypass in Your Configuration". For instance, the number of bits to bypass are 8 for C620x/670x, 46 for C671x/621x and, 38 for the C64xx.
Where have the line numbers gone in CCS V3?
TI seems to have made a silent change in CCS V3 to the way the compiler generates line number information. This results in object files that the configurer interprets as having no line number information.
The behaviour that Diamond is expecting can be restored by using the compiler switch --symdebug:coff
For example: c6xc hello.c --symdebug:coff
Can I upgrade my CCS4 licence to CCS5?
In theory, yes you can. It depends on your maintenance contract. If your contract with TI is still valid, you can follow the steps below to upgrade your key.
You will need to create a my.TI account to download CCS5.x and upgrade your licence key.
You will be prompted to create an account if you don’t already have one when you start your download.
You can download a copy of the latest version of CCS5.x from the link below:
http://processors.wiki.ti.com/index.php/Download_CCS
To upgrade your licence key, please visit the link below:
http://www.ti.com/myregisteredsoftware
Here, you should be able to upgrade your key.
You can use a version 5 key with version 4 of the software if you decide to keep with that version.
More information on licensing can found here: