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: Generate a ccxml Configuration File

Other Parts Discussed in Thread: UNIFLASH, TMS320F2812

Tool/software: Code Composer Studio

Hi,

I want to use the uniflash software to download two flashs.

I use Spectrum Digital XDS510UUSB Emulation probe and 2 flashs TMS320F2812.

I have an error because my configuration file ccxml is empty.

The error is as follows : "Error connecting  to the target: Error 0x80000200/-1041 Fatal Error during : OCS, Device driver: Problem with the Emulation Controller. it is recommendeds to RESET EMULATOR. this will disconnect each target from the emulator. the targets should then be power cycled or hard reset followed by an emureset and reconnecter to each target."

How to create the configuration file ccxml ?

Regards,

Denis.

  • Denis,

    You can use Code Composer Studio to create the ccxml file. In Code Composer Studio you can go to File -> New -> Target Configuration File.

    Regards,
    John
  • By using UniFlash Software, the created file is empty.
  • Denis,

    The ccxml file specifies the debug probe and device to be used. Thus I can't see how you would get that error if it is empty as UniFlash would not even know which drivers to load to talk to the debug probe.

    Which version of UniFlash are you using? In the older 3.4 you could manually install the spectrum drivers into it. Is that what you did? With the newer versions there is a way to use the 510 as well but only from the command line: processors.wiki.ti.com/.../CCS_UniFlash_v4.0_SD510_Support


    Regards,
    John
  • I created the configuration file with CCS.

    the connection test is ok and detects 2 devices.

    After, I tested with Uniflash software.

    I have warnings with a .gel file.

  • What are the warnings? Guessing I would say it has something to do with not being able to find a GEL file. For example if there are relative paths to the GEL file in the .ccxml then when used from UniFlash I could see issues with finding the file.
  • Hi,

    I'm a colleague of Denis Travers.

    The .ccxml file is now generated, the connection test with CCS Studio is also ok.

    But we still have an error when we use the Uniflash software commands.

    The error is as follows : "Error connecting to the target: Error 0x80000200/-1041 Fatal Error during : OCS, Device driver: Problem with the Emulation Controller. it is recommendeds to RESET EMULATOR. this will disconnect each target from the emulator. the targets should then be power cycled or hard reset followed by an emureset and reconnecter to each target."

    We are using Uniflash 3.4.

    Regards

    Thomas
  • Hi Thomas,

    CADIOU Thomas said:
    The .ccxml file is now generated, the connection test with CCS Studio is also ok.

    Are you also able to actually connect to the target using CCS?

    Thanks

    ki

  • The only test that works is the connection test.

    Other commands makes the following error:

    Regards

    Thomas

  • Below the result of the connection test :

    [Start: Spectrum Digital XDS510USB Emulator_0]

    Execute the command:

    %ccs_base%/emulation/drivers/sdjtag.exe -f %boarddatafile% -v -X reset -X scantest

    [Result]

    ** BoardFilePath: C:\Users\F554785\AppData\Local\TEXASI~1\CCS\ti\1\0\BrdDat\testBoard.dat
    ** Resetting Emulator
    -- Emulator is Reset
    ** Emulator Scan Test
    -- Found JTAG IR Length of 76
    -- Found 2 device(s) in the scan chain

    [End: Spectrum Digital XDS510USB Emulator_0]


    And below the error :

    Error connecting to the target:
    Error 0x80000200/-1041
    Fatal Error during: OCS,
    Device driver: Problem with the Emulation Controller.
    It is recommended to RESET EMULATOR. This will disconnect each
    target from the emulator. The targets should then be power cycled
    or hard reset followed by an emureset and reconnect to each target.

    Thomas
  • Can you provide the ccxml file you created?
  • Hi,

    I was able to connect to a system with dual F2812 DSPs and a XDS510USB on Uniflash 3.4.1. 

    The .ccxml file I am using is at the end of this post. 

    Hope this helps,

    Rafael

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/F2812_5F00_Dual_5F00_XDS510USB.ccxml

  • Below the ccxml file.

    <?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/sdgo28xusb.xml" id="drivers" xml="sdgo28xusb.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="TMS320F2812_0" href="devices/f2812.xml" id="TMS320F2812_0" xml="f2812.xml" xmlpath="devices"/>
                </platform>
            </connection>
        </configuration>
    </configurations>

    Regards

    Thomas

  • Thanks for your help, it works with the .ccxml that you provided.

    Regards

    Thomas