This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6747: Code Composer Studio 20 Support for C6000 devices

Part Number: TMS320C6747

Tool/software:

Hi all,

we're currently trying to migrate our existing Code Composer Studio (CCS) projects from version 10 to the latest CCS V20.1.1. According to the official documentation, our target device, the TMS320C6747, should still be supported:
Point right Is our device supported by the new Theia IDE-based CCS?

However, the migration is not working as expected. Here are the steps we followed and the resulting error:

  1. Installed CCS V20.1.1
  2. Installed the C6000 toolchain
  3. Imported an existing CCS V10 project
  4. Compiled the project → No errors
  5. Tried to debug the target → Error message:
Cannot read System Setup data from XML file C:\Users\xxx\AppData\Local\Temp\ti_cloud_storage\TMS320C6747.ccxml
Error parsing file: Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=C:\ti\ccs2011\ccs\ccs_base\common\Modules\c674x\rCSL_syscfg_001.xml while parsing file: C:\ti\ccs2011\ccs\ccs_base\common\Modules\c674x\rCSL_syscfg_001.xml

Upon investigation, we noticed that the folder c6747 is missing in the path ccs2011\ccs\ccs_base\common\Modules\. Does this mean that support for this processor is no longer included by default?

What we tried:

  • We found the missing rCSL_syscfg_001.xml file in our CCS V10 installation.
  • After copying the entire c6747 folder into the corresponding Modules directory in CCS V20, the above error disappeared.
  • We also created a launch.json file as described here:
    CCS Theia Debug Configurations

This allowed us to get one step further. However, we now encounter a new error:

Unable to read file 'Debug/TestProject.out' (Error: Unable to read file 'Debug/TestProject.out' that is too large to open)

Any help or guidance on how to properly migrate and debug CCS V10 projects with the TMS320C6747 in CCS V20 would be greatly appreciated!

Thanks in advance!

  • Hello,

    Is our device supported by the new Theia IDE-based CCS?

    Yes. Project build and debug support is there.

    Upon investigation, we noticed that the folder c6747 is missing in the path ccs2011\ccs\ccs_base\common\Modules\

    I would expect this to be in ccs\ccs_base\common\targetdb\Modules. But I do not see any such folder. I also do not see it in my CCS 10.4.0 installation either. I'm wondering if you installed some additional CSP in your older CCS installation. Can you provide the ccxml file you used in the earlier version?

    However, we now encounter a new error:

    I assume your *.out file is relative big and you are running into this known issue:

    https://sir.ext.ti.com/jira/browse/EXT_EP-12247

    It is fixed in our current latest CCS 20.2.0 release.

    Thanks

    ki

  • Hi ki,

    Thanks a lot for your quick response!

    I've attached the .ccxml file we used in the earlier CCS version below. The setup was a fresh installation, and during the installation of CCS 10, C6000 device support was explicitly selected. The following components were installed:

    • C6000 Compiler versions 8.3.5 and 8.3.13
    • TI-RTOS version 6.76.02.02
    • UIA version 2.30.01.02
    • XDCtools version 3.51.03.28

    It's possible that the missing c6747 folder originated from an additional CSP that was included in that setup, although we didn’t install anything beyond the components listed above.

    Regarding the new error: thank you for pointing out the known issue with large .out files (EXT_EP-12247). We'll proceed with updating to CCS 20.2.0 and check if that resolves the problem.

    Here is the .ccxml file content:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
        <configuration XML_version="1.2" id="Spectrum Digital XDS560V2 STM TRAVELER Emulator_0">
            <instance XML_version="1.2" desc="Spectrum Digital XDS560V2 STM TRAVELER Emulator_0" href="connections/SD560V2TRAVELER_Connection.xml" id="Spectrum Digital XDS560V2 STM TRAVELER Emulator_0" xml="SD560V2TRAVELER_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Spectrum Digital XDS560V2 STM TRAVELER Emulator_0">
                <instance XML_version="1.2" href="drivers/tixds560icepick_c.xml" id="drivers" xml="tixds560icepick_c.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560c674x.xml" id="drivers" xml="tixds560c674x.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="TMS320C6747_0" href="devices/c6747.xml" id="TMS320C6747_0" xml="c6747.xml" xmlpath="devices"/>
                    <device HW_revision="1" XML_version="1.2" description="C674x Floating point DSP" id="TMS320C6747_0" partnum="TMS320C6747" simulation="no">
                        <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_0" isa="ICEPICK_C">
                            <subpath id="subpath_0">
                                <cpu HW_revision="" XML_version="1.2" description="" deviceSim="false" id="C674X_0" isa="TMS320C674X">
                                    <property Type="filepathfield" Value="..\spu18x.gel" id="GEL File"/>
                                </cpu>
                            </subpath>
                        </router>
                    </device>
                </platform>
            </connection>
        </configuration>
    </configurations>
    

    Best regards,
    Tim

  • Thanks. The schema may have changed a bit for that device xml. When I create a similar (working) ccxml for c6747 in CCS 20, this is what it looks like:

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
        <configuration XML_version="1.2" id="Spectrum Digital XDS560V2 STM TRAVELER Emulator_0">
            <instance XML_version="1.2" desc="Spectrum Digital XDS560V2 STM TRAVELER Emulator_0" href="connections/SD560V2TRAVELER_Connection.xml" id="Spectrum Digital XDS560V2 STM TRAVELER Emulator_0" xml="SD560V2TRAVELER_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Spectrum Digital XDS560V2 STM TRAVELER Emulator_0">
                <instance XML_version="1.2" href="drivers/tixds560icepick_c.xml" id="drivers" xml="tixds560icepick_c.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds560c674x.xml" id="drivers" xml="tixds560c674x.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="TMS320C6747_0" href="devices/c6747.xml" id="TMS320C6747_0" xml="c6747.xml" xmlpath="devices"/>
                    <device XML_version="1.2" id="TMS320C6747_0" partnum="TMS320C6747" HW_revision="1" description="C674x Floating point DSP">
                        <router XML_version="1.2" id="IcePick_C_0" HW_revision="1.0" isa="ICEPICK_C" description="ICEPick_C Router">
                            <subpath id="subpath_0">
                                <cpu XML_version="1.2" id="C674X_0" HW_revision="" isa="TMS320C674X" description="">
                                    <property id="GEL File" Type="filepathfield" Value="../spru18.gel"/>
                                </cpu>
                            </subpath>
                        </router>
                    </device>
                </platform>
            </connection>
        </configuration>
    </configurations>

  • Hi Ki,

    Thanks again for your support.

    I’ve freshly reinstalled Code Composer Studio version 20.2.0.12, leaving all installation options at their default settings. Unfortunately, when I try to create a new C6000 project, I can’t find any C6000 boards or devices listed.

    I also tried using the customized .ccxml file you provided, but unfortunately, the same error message still appears:

    "Cannot read System Setup data from XML file [...]"

    Additionally, I noticed that the “Test Connection(s)” button is greyed out in the ccxml file view. This button was working in our previous CCS 20 installation.

    It seems like C6000 support is either missing or only partially included in this version of CCS 20, which is quite disappointing for us. We were really hoping to continue working in the Theia-based environment.

    Any further suggestions would be greatly appreciated.

    Best regards,
    Tim

  • Unfortunately, when I try to create a new C6000 project, I can’t find any C6000 boards or devices listed.

    Please see: https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs/ccs_faqs.html#i-get-a-no-example-projects-found-please-change-your-filter-message-when-looking-for-examples-for-my-selected-device-does-that-mean-that-my-device-is-not-supported-by-code-composer-studio

    For older devices like C6747, there may not even be an option for it in the list. But that doesn't mean CCS doesn't support it. Only that you can't browse for examples or create a new project using the CCS project wizard.

    I also tried using the customized .ccxml file you provided, but unfortunately, the same error message still appears:

    Instead of using mine, please try creating a new one from scratch and using that.

    Additionally, I noticed that the “Test Connection(s)” button is greyed out in the ccxml file view. This button was working in our previous CCS 20 installation.

    I checked my 20.2.0 installation and the button is there and it seems to work:

    Make sure the ccxml file is saved and there are no errors with it.

    It seems like C6000 support is either missing or only partially included in this version of CCS 20, which is quite disappointing for us. We were really hoping to continue working in the Theia-based environment.

    Admittedly, the support is not as good for older devices like C6747. CCS 20 relies on proper device support and SDKs for the device in Resource Explorer which is a known gap for your device. However, the core project import/build and debug should work in CCS 20.

    Thanks

    ki

  • Hi Ki,

    Thanks again for your response.

    I’ve now repeated the entire installation process on two freshly set up systems (both running newly installed Windows 11), and I’m consistently seeing the same result: the folder
    C:\ti\ccs2020\ccs\ccs_base\common\targetdb\Modules\c674x
    is missing after installation. As a result:

    • The error message mentioned earlier appears when I try to start a debug session
    • The “Test Connection” feature cannot verify the target connection
    • The debug settings under Project → Properties → Debug cannot be displayed (error messages appear)
    • The launch.json file is not generated correctly

    However, if I manually copy the missing folder from a CCS 10.4 installation, everything works as expected. It seems like the C674x support is not included in the installation by default. Strange that it was present on your system after installation.

    So it’s not an issue with the *.ccxml file—it doesn’t matter whether I use a new one, the existing one, or even the one you provided.

    Best regards,
    Tim

  • It seems like the C674x support is not included in the installation by default. Strange that it was present on your system after installation.

    Which components did you select when you installed CCS?

    My selected everything for my install. I assume you did not. I suspect wherever you selected is missing full c674x support.

  • Hi Ki,
    I selected the following during installation:

    - C2000 real-time microcontrollers
    - C6000 Power-Optimized DSP
    - MSP430 microcontrollers
    - TM4C12x Arm Cortex--M4F MCUs

    Best regards,
    Tim

  • I selected the following during installation:

    - C2000 real-time microcontrollers
    - C6000 Power-Optimized DSP
    - MSP430 microcontrollers
    - TM4C12x Arm Cortex--M4F MCUs

    After some digging, I found out that it only gets installed if you selected "Arm-based Processors". This is a bug since it should also get selected for the C6000 option, OMAP option, and Radar option (which all have C674x based devices also)

    I filed a bug for this. Tracking link: https://sir.ext.ti.com/jira/browse/EXT_EP-12654

    Thanks

    ki

  • Hi Ki,

    I reinstalled Code Composer Studio, this time selecting the Arm-based Processors option — and it worked! The folder is now present, and I was able to configure and flash the project successfully.

    Thanks a lot for the great support!

    Best regards,
    Tim