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.

evm6678L emulation

Other Parts Discussed in Thread: TMS320C6678

Hi,

I am trying to run the demo application and followed the steps from here:

http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_Getting_Started_Guide#Flash

In step 4.8 when I click Connect Target I get this error:

IcePick_D: Error connecting to the target:  (Error -151) @ 0 (0x0)

I have CCS 5.0.2.00006 and MCSDK 2.0 beta 2 installed.

what is the problem?

(The board is connected with usb cable and powered on of course)

thank you.

  • Ya,

    Here are a number of things that you can check. 

    Be sure the following files are included with your CCS.  They all should be.  Specifically, the highlighted ones are important for icepick.

    • <CCS_INSTALL_DIR>\ccsv5\ccs_base_5.0.2.00022\common]targetdb\devices\c6678.xml
    • <CCS_INSTALL_DIR>\ccsv5\ccs_base_5.0.2.00022\common]targetdb\routers\icepick_d.xml
    • <CCS_INSTALL_DIR>\ccsv5\ccs_base_5.0.2.00022\common]targetdb\routers\cs_dap.xml
    • <CCS_INSTALL_DIR>\ccsv5\ccs_base_5.0.2.00022\common]targetdb\cpus\c66xx.xml
    • <CCS_INSTALL_DIR>\ccsv5\ccs_base_5.0.2.00022\common]targetdb\drivers\tixds100icepick_d.xml
    • <CCS_INSTALL_DIR>\ccsv5\ccs_base_5.0.2.00022\common]targetdb\drivers\tixds510icepick_d.dvr

    Check in your device manager to ensure that the XDS100 has been configured properly.  Specifically, I'm looking to be sure these were properly identified as XDS100 Channel A and B under the USB Serial Bus Controllers. It should look something like what I have in the image below.  There should be two XDS100 entries.

     

    We have seen a case once where there was a single PC that we couldn't get working.  We tried uninstalling/reinstalling CCS, and a number of other steps.  We were never able to reproduce this at TI.  The customer installed the same tools on another machine and had no issues. If you have another machine that you could test this on, that would be interesting, but I realize there's a lot of setup work involved with that.  Check the things above and if there are issues with those, we'll try to resolve them as a first step.

    Regards,

    Dan

  • Dan,

    The XDS100 is not configured properly (device manager does not show XDS100 Channel A and B)

    I tried reconnecting the board but windows cannot find the drivers.

    also, Is the last file you mentioned should be .xml?

  • Ya,

    No, .dvr is the correct extension for the last file. The problem must be that the USB drivers are not installed properly. 

    Does the Device Manager show anything different when you connect the board (Does it show USB Serial Converter A & B)  I suspect that it doesn't. 

    You have CCS 5.0.2 installed, correct?  The installer should have put the drivers for this in your Windows/System32 directory.  Can you check that directory and see if you have any of the following?

     

    • ftd2xx.dll
    • ftbusui.dll
    • ftcserco.dll
    • FTLang.dll

    Also, check to see if you have a directory under system32 called DRVSTORE.  Under that directory, you should see a folder labeled ftdibus_<bunch of characters> and ftdiport_<bunch of characters>.  This is where these drivers are stored prior to being installed.  If they are there, can you try pointing the usb installer to them if it can't find them itself.


    Regards,

    Dan

     

  • Hi,

    I am also having the same problem but I am using ccs 5.03. I have all the dlls in System32 and have all the xml files. the .drv file is in the emulation/drivers folder instead of the common/drivers folder.

    The XDS is dectected as 2 channels like yours but i am unable to connect to the target.

    Is there anything else that needs to be done?

  • Hi,

    My problem resolved once I reinstalled the driver. (delete TI XDS Channel A and B from device manager and plug the usb cable again).

  • Hello Dan,

    Thanks for your fast reply. Now I've installed CCS Version 5.0.3 which was delivered on CD with the Evaluation Board. But Target connection doesn't work either, the error is:

    IcePick_D: Error connecting to the target: Cannot access register at 0x00000000  (Error -2131) @ 0 (0x0)

     

    I don't know if there might be trouble with the Hardware Setup (I've followed the instructions on the webpage), I just give some details:

    -Ethernet & JTAG via MiniUSB are connected (Shunts are set for USB)

    -Serial (RS232) is not connected

    -SW3-6 are set as described, but the Infopage from the HUA says that Big Endian is enabled (I think with SW3 set as described Little Endian should be enabled?)

    -UserSwitch2 is Off so that a static IP is used

     

    Best Regards,

    Bernd

  • Hi Everyone, 

       I have been having similar problems using the built-in xds100 emulator that came with my EVMC6678L demonstration board.  Following this thread I've verified that all the correct files are present and that the device manager recognizes the emulator (the emulator shows up in the Device Manager with channels A & B).  As with Bernd, I've set my USB/UART jumpers to their appropriate positions, which places the jumpers on the two pins closest to the pcb edge.  I'm a little confused as to how to set DIP switches 3 - 6.  I've tried a couple of configurations:

               Linux Demo    Emulation Boot

    DIP3:    0010                   0111

    DIP4:    1111                   1111

    DIP5:    1110                   1110

    DIP6     1111                   1111

     

    Using CCS, I configure my intended target with

     

    Connection: Texas Instruments XDS100v1 USB Emulator

    Board or Device: TMS320C6678

     

    When I enter the debug view of CCS, and attempt to connect to the target, I receive the following error (regardless of the configurations mentioned)

    IcePick_D: Error connecting to the target: (Error -183) @ 0 (0x0)

     

    My configuration file is shown below:

     

    <?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 XDS100v1 USB Emulator_0">
            <instance XML_version="1.2" desc="Texas Instruments XDS100v1 USB Emulator_0" href="connections/TIXDS100usb_Connection.xml" id="Texas Instruments XDS100v1 USB Emulator_0" xml="TIXDS100usb_Connection.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="Texas Instruments XDS100v1 USB Emulator_0">
                <instance XML_version="1.2" href="drivers/tixds100icepick_d.xml" id="drivers" xml="tixds100icepick_d.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds100c66xx.xml" id="drivers" xml="tixds100c66xx.xml" xmlpath="drivers"/>
                <instance XML_version="1.2" href="drivers/tixds100cs_dap.xml" id="drivers" xml="tixds100cs_dap.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="TMS320C6678_0" href="devices/C6678.xml" id="TMS320C6678_0" xml="C6678.xml" xmlpath="devices"/>
                </platform>
            </connection>
        </configuration>
    </configurations>

     

    So, I'm completely stuck and incredibly frustrated with this device. I would feel very accomplished to load, run and profile a 'Helloworld' type application on my demo board.  If anyone has any further insight as to how I might resolve this issue, it would be greatly appreciated.

     

    -Brant

     

    PS: I've tried using the dbgjtag utility to verify that the emulator is functional.  I cannot figure out how to use this function and it does not appear to have any usable documention.  Here's what I've tried (on both a linux machine running Ubuntu 10.10 and a WinXP machine).

    dbgjtag -f  "D:\factory_images\configs\evms6678l\xds100evmc6678l_linux.ccxml" -rv -S pathlength

     

    The utility responds by saying that it needs an emulator program or adaptor file.  I have no idea where I would get either one of these, I thought the config files that came with the eval board would provide them.

  • Brant,

    Your .ccxml file seems fine.  I was able to bring up my board with it. 

    I also tested (on windows) with your DIP settings, they work too. 

    The file you are pointing to with the -f command to dbgjtag is not the correct one.  This file essentially contains the same information as the .ccxml file, but in a compiled form.

     The board config file is found at:  C:\Documents and Settings\<user account>\Local Settings\Application Data\.TI\<CCS instance #>\0\BrdDat\ccBoard0.dat

     

    I know this might sound like a dumb question, but is there anything connected to the 60-pin header on board?  i.e. another emulator cable, or an emulation adapter?  If there is, please remove it.

    Please let me know what the output of the dbgjtag command is.


    Regards,

    Dan

     

     


  • One more FYI...if this issue is not resolved, please open up another thread to track it, rather than replying to this existing one.  This thread was already marked as "Answered." because the initial person who reported solved their issue.  I can't tell if this could possibly be a hardware issue with a specific set of boards, because it's not possible for me to track which solutions resolve which issues when they are all in the same thread.  Just a rule of thumb when these issues come up.

    Regards,
    Dan

  • I started a new thread as suggested and migrated (manually) all of the relevant posts to the new thread.  It can be found here: http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/135560/487579.aspx#487579

    -Brant