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.

CCS4 Connect to ezdspF2812 errors

Other Parts Discussed in Thread: TMS320F28335

I posted this on the microcontroller forum, but that was a dead end, so I'll try here.

I have just installed CCS4 on a windows7 machine. I had been using CCS3.1 on windowsXP without problems, but CCS3 is not supported in windows7.

I am using the free license since it states that it'll work with DSKs like the ezDSP. I am connected via parallel port. SDConfigEx shows a successful emulator test, so I am assuming the hardware is good. Also the fact that it works with CCS3 convinces me that the hardware is good.

 

In CCS4, I've have the following target configuration.

Connection: Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator.

Board or Device: EZDSPF2812.

Under CPU Properties, Bypass and Slave Processor is NOT checked. Initialization Script is ..\..\emulation\gel\f2812.gel.

If I use Launch TI Debugger, I get the error "Target configuration: <ccs4 path>/common/targetdb/configurations/BH-USB560M-TMS570LS20206SPGE.ccxml, does not have a valid setup, please configure the target and try again." I'm not sure why it's selecting this target configuration file because I have assigned the other to my project.

If I use Debug Active Project, I get "Error initializing emulator". And then Code Composer shuts down, and I get what looks like an Eclipse debug window.

Please help! What settings do I need to connect to the ezdsp? Thanks

  • Henry said:
    I am connected via parallel port.

    Henry said:

    In CCS4, I've have the following target configuration.

    Connection: Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator.

    If you are using the parallel port emulation, you have the wrong connection setup. That setup is for on-board USB emulation.

    Try the Spectrum Digital XDS510 Parallel Port-PCI Emulator. Not sure if it is covered by the free license but I think so...

    ki

  • Spectrum Digital supports said that was the correct connection to choose. I also questioned the "USB" part, but they insisted that it works for both their usb and parallel products. However, they were unable to help me beyond that and I am still unable to connect.

    I have tried all Spectrum Digital connection options, all give me the same error "Error Initializing emulator". except for the connection you suggest, it asks for licensing. That connection apparently is not included in the free license.

  • Henry said:
    I also questioned the "USB" part

    Yes, that certainly is confusing! But Spectrum Digital would know best.

  • Henry said:
    If I use Launch TI Debugger, I get the error "Target configuration: <ccs4 path>/common/targetdb/configurations/BH-USB560M-TMS570LS20206SPGE.ccxml, does not have a valid setup, please configure the target and try again." I'm not sure why it's selecting this target configuration file because I have assigned the other to my project.

    You probably have BH-USB560M-TMS570LS20206SPGE.ccxml configured to be your default target configuration. You can check this in the Target Configurtions view

    Henry said:
    If I use Debug Active Project, I get "Error initializing emulator". And then Code Composer shuts down, and I get what looks like an Eclipse debug window.

    Yup, I see this too with my setup. CCS crashes...

  • Actually, I don't have a default set. And I don't anywhere that BH-USB560M-TMS570LS20206SPGE.ccxml is set. The only item in the target configuration view is the one i've created for this test project.


    Any idea why it's crashing?

  • Launch TI Debugger looks for the default configuration to launch. If one is not set as default, looks like it gets confused. I will file a bug for this. The workaround is to set a configuration as default.

    In regards to the crash, not sure what the cause is yet. But looks like I have a reproducible test case and will pass on to engineering. Just trying to confirm if I am using the correct config.

    Thanks

    ki

  • I've confirmed with Spectrum Digital that the connection type you need to use for the onboard parallel port emulation on the eZdsp F2812 is indeed "Spectrum Digital XDS510 Parallel Port-PCI Emulator" and NOT "Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator".

    However, the connection you need is not supported under the free bundled license file, though it should be. I'm working with Spectrum Digital and also the team here to find a way to get this covered.

    Thanks

    ki

  • well, i guess the tech support i talked to needs more training then. Thanks for clearing it up.

    Is this a long term thing to get this connection supported under the free license? or is it something that can be completed relatively soon?

  • It's a bit of a confusing issue... I wasn't sure myself. The onboard PP emulator is not commonly used anymore.

    We're looking at getting this into the next release. But to enable you sooner, you can drop a file (or two) into your current CCS install to enable it.... once the files are made available. I'll keep you posted.

  • Filed as SDSCM00035554.

  • Henry,

    Attached is the 'SD510_EZDSP_PP_Connection.xml" file. Drop this file into <INSTALL DIR>\ccsv4\common\targetdb\connections and restart CCS

    Next when you go to create a target configuration, you will see a new entry for the Connection type called "Spectrum Digital eZdsp onboard PP Emulator"

    Use this connection type to use the on-board parallel port emulator. This connection should be supported by the free bundled license.

    Thanks

    ki

     

  • thanks! Connected successfully!

  • Hi Ki-Soo

    I'm having the same problem and I can't download the attached file SD510_EZDSP_PP_Connection.xml :/

    Can you send me one new link?

    Thanks

  • Hi Ki-Soo, sorry isn't the same problem, actually I'm using the eZdsp TMS32F28335

    and when I click in the Debub Lunch, I have the error:

     

    Target Configuration,

    C:/CCS4/ccsv4/common/targetdb/configurations/BH-USB560-TMS570LS20206SPGE, does not have a valid setup, please configure the target and try again 

     

    I had already configured my target using:

    Connection: Spectrum Digital DSK-EVM-eZdso onboard USB emulatron

    Board or Device: TMS320F28335

     

    Help-me please :)

    Thanks

  • another thing, after the ERROR I had the BH-USB560-TMS570LS20206SPGE.ccxml open and in this documment you will find:

     

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>

     

    <configurations XML_version="1.2" id="configurations_0">

     

        <configuration XML_version="1.2" id="Blackhawk USB560-M Emulator_0">

     

            <instance XML_version="1.2" desc="Blackhawk USB560-M Emulator_0" href="connections\BH-USB560m_Connection.xml" id="Blackhawk USB560-M Emulator_0" xml="BH-USB560m_Connection.xml" xmlpath="connections"/>

     

            <connection XML_version="1.2" desc="Blackhawk USB560-M Emulator" id="Blackhawk USB560-M 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\tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/>

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

                <platform XML_version="1.2" id="platform_0">

                    <instance XML_version="1.2" desc="TMS570LS20206UPGE_0" href="Devices\TMS570LS20206UPGE.xml" id="TMS570LS20206UPGE_0" xml="TMS570LS20206UPGE.xml" xmlpath="Devices"/>

                    <device HW_revision="1" XML_version="1.2" desc="TMS570LS20206UPGE" description="TMS570LS20206U 144Pin QFP" id="TMS570LS20206UPGE_0" partnum="TMS570LS20206UPGE"/>

                </platform>

            </connection>

        </configuration>

    </configurations>

     

    Thanks

  • Vanderley Maia said:

    Target Configuration,

    C:/CCS4/ccsv4/common/targetdb/configurations/BH-USB560-TMS570LS20206SPGE, does not have a valid setup, please configure the target and try again 

     

    I had already configured my target using:

    Connection: Spectrum Digital DSK-EVM-eZdso onboard USB emulatron

    Board or Device: TMS320F28335

    CCS is trying to start one for a TMS570 device using a Blackhawk 560 emulator and that is the cause of your error. Are you using "Debug Active Project"? Do you have a target configuration file for your target?

     

  • Hi Ki-Soo

    Yes I have one target configuration file for my project, I found the problem. After create the target configuration i have to set as default.

    Well, thanks by the way.

    Bye!