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.

CCS/TMS320C6748: Migrating from Version 5 to 7 target configuration (*.ccxml) file error

Part Number: TMS320C6748

Tool/software: Code Composer Studio

Forum:

    I am migrating an existing development project from Code Composer Studio  Version: 5.5.0.00077 to Version 7. I ran into an issue. The target configuration (*.ccxml) file from the older project shows an error.

So how do I handle this error? Are there differences between target configuration (*.ccxml) files from version 5 to 7? Is there a way to migrate or recreate the existing configuration file?

Are there any other issues migrating from version 5 to 7? I there any documentation like a migration guide? Please advise.

Note the target platform is an C6748 Development Kit (LCDK). Part number field wouldn't accept that.

Thanks for your time,

Ken Farley

  • Kenneth Farley said:
    Note the target platform is an C6748 Development Kit (LCDK). Part number field wouldn't accept that.

    I just checked a CCS 7.1 installation for which all device families were installed, and "LCDKC6748" is recognized as a target.

    Kenneth Farley said:
    The target configuration (*.ccxml) file from the older project shows an error.

    What is the error message which is displayed?

    If the issue is missing file(s) the problem is that during the CCS 7 installation support for the required device family and/or debug probe may not have been installed. See Installing an entirely new feature for how you can correct that.

    [The referenced Wiki page was written for CCS 6, but is still applicable to CCS 7]

  • Hi Chester:

      The file old .ccxml configuration file is not missing. It is flagged as having an error. This file is not flagged as an error under the version 5 code composer. I will have to go back to the lab to get the exact error message. If you browse the with the gui the configuration shows different between the two versions of code composer studio? This causes concerned that version 7 is interpreting that LCDKC6748.ccxml file differently from version 5 of CCS.

    Thanks,

    Ken Farley

  • Hi Ken,
    Can you attach the ccxml with the issue?

    Thanks
    ki
  • Ki:
    I looked up the error. It is a red x by the LCDKC6748.ccsml file. The error is "Cannot find a driver for CPU PRU_0 and PRU_1".
    If you look at the advanced view on CCS7 it shows the ICON for PRU_0 and PRU_1 with a red x by them both.
    If you look at the same file in CCS5 those ICONs PRU_0 and PRU_1 don't show up at all. So what I want to know is how to properly modify or generate a new LCDKC6748.ccsml file in CCS7 that will work properly.
    Below is the code from LCDKC6748.ccxml :


    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="configuration_0">
    <instance XML_version="1.2" desc="Spectrum Digital XDS510USB Emulator" href="connections/SD510USB_Connection.xml" id="Spectrum Digital XDS510USB Emulator" xml="SD510USB_Connection.xml" xmlpath="connections"/>
    <connection XML_version="1.2" id="Spectrum Digital XDS510USB Emulator">
    <instance XML_version="1.2" href="drivers/sdgoicepickusb_c.xml" id="drivers" xml="sdgoicepickusb_c.xml" xmlpath="drivers"/>
    <instance XML_version="1.2" href="drivers/sdgo674xpusb.xml" id="drivers" xml="sdgo674xpusb.xml" xmlpath="drivers"/>
    <platform XML_version="1.2" id="platform_0">
    <instance XML_version="1.2" desc="LCDKC6748" href="boards/lcdkc6748.xml" id="LCDKC6748" xml="lcdkc6748.xml" xmlpath="boards"/>
    </platform>
    </connection>
    </configuration>
    </configurations>

    Thanks,
    Ken F
  • Kenneth Farley said:
    So what I want to know is how to properly modify or generate a new LCDKC6748.ccsml file in CCS7 that will work properly.

    Try the following:

    <?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 XDS510USB Emulator_0">
            <instance XML_version="1.2" desc="Spectrum Digital XDS510USB Emulator_0" href="connections/SD510USB_Connection.xml" id="Spectrum Digital XDS510USB Emulator_0" xml="SD510USB_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Spectrum Digital XDS510USB Emulator_0">
                <instance XML_version="1.2" href="drivers/sdgoicepickusb_c.xml" id="drivers" xml="sdgoicepickusb_c.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/sdgo674xpusb.xml" id="drivers" xml="sdgo674xpusb.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/sdxds510usbpru.xml" id="drivers" xml="sdxds510usbpru.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="LCDKC6748_0" href="boards/lcdkc6748.xml" id="LCDKC6748_0" xml="lcdkc6748.xml" xmlpath="boards"/>
                </platform>
            </connection>
        </configuration>
    </configurations>

    The above was created in CCS 7.1 when a new target configuration file was created for a LCDKC6748 device using a Spectrum Digital XDS510USB Emulator.

    I don't have a LCDKC6748 to try it, but CCS 7 was reporting the above configuration as valid. Compared to the configuration file from CCS 5, the new configuration in CCS 7 has added a referenced to the driver for sdxds510usbpru.xml.

  • Ki:
    1) So do I need to install that driver? If so where do I find it?
    2) I don't use the PRUs. So do I just bypass them? Or is there another solution?

    Thanks,
    Ken F
  • Chester Gillon said:
    I don't have a LCDKC6748 to try it, but CCS 7 was reporting the above configuration as valid. Compared to the configuration file from CCS 5, the new configuration in CCS 7 has added a referenced to the driver for sdxds510usbpru.xml.

    Chester is correct. The Spectrum Digital drivers for CCSv7 seem to require an additional xml file. They must have restructured things. You can add the following line to your existing source for the ccxml file (add it after line 8)

                <instance XML_version="1.2" href="drivers/sdxds510usbpru.xml" id="drivers" xml="sdxds510usbpru.xml" xmlpath="drivers"/>


    This should resolve the issue.

    Thanks

    ki