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.

TMS320C5505 - Error 151 - Error connecting to the target

Other Parts Discussed in Thread: TMS320C5505

Hi, I am taking a class as a student and am brand new to CCS, C language, and the eZdsp USB Stick, so please bear with me.

I am going through the PPT and beginner's project "Getting Started" , Texas Instruments University Programme , Teaching Materials. I've already copy and pasted the MyFirstProject to the designated folder. The project is built without any errors.

However, when I Debug Active Project, I receive this in my Console: "C55xx: Error connecting to the target: (Error -151 @ 0x0) This utility failed to open the adapter for a custom emulator. The adapter returned an error. (Release 5.0.429.0)"

I am using Version: 4.2.4.00033

For Target Configurations, my Connection is Texas Instruments XDS100v2 USB Emulator w/ Device USBSTK5505.

My friend is also doing the same project without any error. I asked him to plug my USB Stick into his computer, and he got  the same error. So I feel like it's definitely something in the board that is wrong ... ? Please help! And be as beginner friendly as possible...

Ashlee

  • Hi Ashlee,

    Hopefully you board wasn't damaged by a previous user. Can you please see the TPs described in http://support.spectrumdigital.com/boards/usbstk5505/revb/files/usbstk5505_TechRef_revb.pdf page 2-6? Check to see that the volatage values of TP10 and TP11 are.

    Is there power to the device i.e any LEDs blinking?

    When you double click on the Target configuration, it should open up a "test connection" button. Does that pass?

    Lali

  • So I just took my friend's board and tried to debug the program onto his TMS320C5505, and it was successful!!! I'm positive something is wrong with my board.

    Also--I just recently purchased this board...just got it in the mail a week ago, so I am the first user.

    There is power to the device, the green LED is blinking.

    I don't know how to check the voltage values at the test pins... by that, do you mean use a DMM while the USB Stick is plugged in the computer in those respective test pin areas?

    I just downloaded and used CCS V6 just to test the connection (V4 doesn't have that feature I guess, but I am using V4 mainly.) This is the message I receive:

    [Start: Texas Instruments XDS100v2 USB Emulator_0]

    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\Ashlee\AppData\Local\TEXASI~1\CCS\
    ti\0\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'.
    The library build date was 'Sep 4 2015'.
    The library build time was '21:59:23'.
    The library package version is '6.0.14.5'.
    The library component version is '35.35.0.0'.
    The controller does not use a programmable FPGA.
    The controller has a version number of '4' (0x00000004).
    The controller has an insertion length of '0' (0x00000000).
    This utility will attempt to reset the controller.
    This utility has successfully reset the controller.

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

    The scan-path will be reset by toggling the JTAG TRST signal.
    The controller is the FTDI FT2232 with USB interface.
    The link from controller to target is direct (without cable).
    The software is configured for FTDI FT2232 features.
    The controller cannot monitor the value on the EMU[0] pin.
    The controller cannot monitor the value on the EMU[1] pin.
    The controller cannot control the timing on output pins.
    The controller cannot control the timing on input pins.
    The scan-path link-delay has been set to exactly '0' (0x0000).

    An error occurred while hard 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 '-150' (0xffffff6a).
    The title is 'SC_ERR_FTDI_FAIL'.

    The explanation is:
    One of the FTDI driver functions used during
    configuration returned a invalid status or an error.

    [End: Texas Instruments XDS100v2 USB Emulator_0]
  • TP10 = 3.34V, TP11 = 1.31V
  • Ashlee,

    TPs seems to be fine. Try to restart CCS without the board attached and then attach the board.
    Sometimes CCS is a bit quirky with the drivers.
    Other than that, you could try to get a replacement from your source of purchase. Sorry that I could not be of more assistance.

    Lali
  • Thanks for trying to help. I've done it all... Reinstalled ccs five times. My friends board worked fine in my computer so something tells me my boards defective. I'll buy another one from TI and hopefully this one is still returnable.