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/TMS320F28069M: Error connecting to the target: TMS320F28069M

Part Number: TMS320F28069M

Tool/software: Code Composer Studio

I am getting error while debuging the code.

Error connecting to the target:
(Error -151 @ 0x0)
One of the FTDI driver functions used during the connect
returned bad status or an error. The cause may be one or
more of: no XDS100 is plugged in, invalid XDS100 serial number,
blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable.
Use the xds100serial command-line utility in the 'common/uscif'
folder to verify the XDS100 can be located.
(Emulation package 6.0.407.3)

please help me and solve the issue

Thank you

  • Hi Ashwinee,

    Are you using a launchpad or a control card?
    Have you connected the debugger and power if using control card?

    Can you do a test connection in CCS to check the error?

    Thanks and Regards
    Harshmeet
  • I am using launch pad and using xds100v2 emulator
  • Can you check the ccxml file?

    Check if it has the correct configuration. Can you test the connection once in CCS?

    Regards
    Harshmeet
  • I have tested on command prompt...but it is not detecting device connection. also CCXml file is not working
  • it is showing -blank XDS100 EEPROM.
    how to program it?
  • when I have tested target connection I got this error.

    [Start]

    Execute the command:

    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

    [Result]


    -----[Print the board config pathname(s)]------------------------------------

    C:\Users\hp12\AppData\Local\TEXASI~1\CCS\
    ti\2\0\BrdDat\testBoard.dat

    -----[Print the reset-command software log-file]-----------------------------

    This utility has selected a 100- or 510-class product.
    This utility will load the adapter 'jioserdesusb.dll'.

    An error occurred while soft opening the controller.

    -----[An error has occurred and this utility has aborted]--------------------

    This error is generated by TI's USCIF driver or utilities.

    The value is '-151' (0xffffff69).
    The title is 'SC_ERR_FTDI_OPEN'.

    The explanation is:
    One of the FTDI driver functions used during the connect
    returned bad status or an error. The cause may be one or
    more of: no XDS100 is plugged in, invalid XDS100 serial number,
    blank XDS100 EEPROM, missing FTDI drivers, faulty USB cable.
    Use the xds100serial command-line utility in the 'common/uscif'
    folder to verify the XDS100 can be located.

    [End]
  • Open the target configuration. Check the emulator and the device is selected properly.
    See if you device is connected properly.

    Regards
    Harshmeet
  • yes sir, I have done this....might be blank XDS100 EEPROM is the issue.

    How to solve this?????
  • Ashwinee,

    Please take a look at this app note,http://www.ti.com/lit/spracf0 ,  I've written to help debug these issues.  If this is indeed a blank or mis-programmed FTDI there are instructions/links on how to re-flash it.  I would recommend going through the flow charts, just to make sure this is the issue.

    Best,

    Matthew

  • I got solution from another forum

    Thanks