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.

UniFlash LAN Connection error

Other Parts Discussed in Thread: TMS320F28335, UNIFLASH

Hi,

I'm trying to use an XDS220 emulator to program several TMS320F28335 devices using UniFlashv2 LAN emulation but I cannot find any documents related to setting up LAN emulation. Any procedures I can refer to?

I tried using CCSv5 to configure the emulator for LAN, as well as loading the .CCXML file generated from CCS in UniFlash, both methods work for LAN emulation. But as soon as I delete CCS completely from my system, UniFlash wouldn't configure the emulator for LAN. I tried reinstalling CCS and repeated the same procedures, now the emulator works again.

Any advice on how I can use only UniFlash to program the devices under a production environment?


Versions used:

UniFlash Version: 2.0.0.00013

CCS Version: 5.3.0.00090


Thanks,
Dan

  • Hi Dan,

    You are right to setup the target configuration in CCS and use the ccxml file in UniFlash. Since UniFlash is intended as a production tool, it only supports the most basic target configuration generation. We are still debating on how or if we should bring in complex target configuration generation/editor into UniFlash.

    Regarding your problem, it sounds like there could be something wrong with your CCXML file, could you send your ccxml file to me to have a look? The behavior you just described sounds like the drivers used in the both UniFlash and CCS use cases goes through the drivers in CCS.

    Could you also provide the error messages that you see when it fails? Thank you.

    Regards,

    Victor

  • Hi Victor,

    Thanks for the reply.

    The ccxml file and error captures are attached. 

    I followed CCS' standard procedures to find the programmer's IP Address and UniFlash was run from the command line. In case UniFlash is looking for CCS drivers, what approach should I take to point Uniflash to the correct driver?

    Thanks,

    Dan


    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
    
    <configuration XML_version="1.2" id="Texas Instruments XDS2xx LAN Emulator_0">
            <instance XML_version="1.2" desc="Texas Instruments XDS2xx LAN Emulator_0" href="connections/TIXDS2XXLAN_Connection.xml" id="Texas Instruments XDS2xx LAN Emulator_0" xml="TIXDS2XXLAN_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Texas Instruments XDS2xx LAN Emulator_0">
                <instance XML_version="1.2" href="drivers/tixds560c28x.xml" id="drivers" xml="tixds560c28x.xml" xmlpath="drivers"/>
                <property Type="stringfield" Value="192.168.1.102" id="portAddr1"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="TMS320F28335_0" href="devices/f28335.xml" id="TMS320F28335_0" xml="f28335.xml" xmlpath="devices"/>
                </platform>
            </connection>
        </configuration>
    </configurations>
    


  • Hi Dan,

    Your ccxml file actually looks fine, that suggests that there is very likely something in the driver dependencies is shared in both the CCS and UniFlash installation. As we don't have a xds220 LAN emulator in the office, I can't reproduce this problem here at the moment, we have ordered one now and hopefully we can get it early next week.

    I have also get into contact with Spectrum Digital regarding this issue, as the driver installer are supplied by them. 

    In the mean time, could you try install UniFlash on another PC which is clean from any CCS or UniFlash install and try use your ccxml file? Or you could uninstall both your CCS install and UniFlash install, then install only UniFlash and give it another try. If it is indeed some share of dependencies in the driver, this should fix it.

    Regards,

    Victor

  • Hi Dan,

    We have got some replies from the SD guys, would you give it a try to the following and provide the output?:

    If they have the SD drivers installed then they could use the XDS560v2 config tool to search for the IP address of the unit to make sure it is present.  There are also some XDS2xx utilities in emulation\specdig\xds2xx.  Try

    xds2xx_conf get xds2xxe <ip-address>

    Or hook up USB and do

    xds2xx_conf get xds2xxu 0

    It will dump everything included the IP address for enet.

    Also, did you update any of the component packages in both CCS and UniFlash after install?

    Regards,

    Victor

  • Hi Victor,

    Thanks for the response! I deleted both CCS and Uniflash, reinstalled UniFlash, and now I can communicate with the programmer.

    As a follow up question, does Uniflash support programming multiple devices connected in parallel? There'll be multiple programmers, each with an unique ipAddress, to program the devices. Is there a way to update the configuration file to support this LAN setup?

    Thanks,
    Dan 

  • Hi Dan,

    Glad you have it working, in that case it shows that there is very likely some installation sharing in the SD driver packages.

    As for your follow up question, I would imagine you are trying to hook up multiple emulators on the network and program their devices from a single host. UniFlash itself is process safe, so that you can have a parent script that launches multiple UniFlash process and program different target at the same time using different ccxml, as long as the hardware doesn't conflict. You will just have to script it in a way that works for your situation. 

    Regards,

    Victor