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/TMS320F28035: Error in connecting the Target

Part Number: TMS320F28035

Tool/software: Code Composer Studio

Hi Sir/Ma'am,

Good Day!

I have been trying to load program at TMS320F28035 using FTDI, but whenever I try to connect the target it gave me error:

C28xx: 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 one or more of: invalid emulator serial number, blank emulator EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the emulator can be located. (Emulation package 5.0.872.0) 

I have found an inquiry here with the same problem, and I did applied the suggested action, I download the MPROG and use the application. I also downloaded the  XDS100 ept, but as I click the "Devices" at the menubar and try to click among, "scan", "erase', "program", it give me an error of "MPROG.exe has stopped working".

What must I do then?

Thank you

  • Hi,

    Which board are you using? The reason is that the XDS100 EPT file is only applicable to XDS100v2 debug probes, but the most common debug probe in F28x kits is XDS100v1.

    Before you try to re-program your XDS100 debug probe, please check section 5.1 of the following page for suggestions to workaround/fix this issue.
    processors.wiki.ti.com/.../Debugging_JTAG_Connectivity_Problems

    Hope this helps,
    Rafael
  • I have solved the above error connection through the suggested link. Thank you.

    But I still cant completely connect to the target, right now the error is:

    C28xx: Error connecting to the target: (Error -1015 @ 0x0) Device is not responding to the request. Device may be locked, or the emulator connection may be unreliable. Unlock the device if possible, and power-cycle the board. If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.0.872.0)

    I actually build my own control card, for my own version of the DC-AC inverter, as I compare it with the piccolo control card that I bought from Texas Instruments, I have noticed that the LD2 and LD3 are not lighted up whenever I load the program, but with the control card that I built, the LD2 and LD4 are both lighted up, Which I think may something to do with the MCU boot up, is that right?

    Can you please help me on what to do with it.

    Thank you.
  • Hi,

    Please apologize for the delay; the error you are seeing can be found at section 5.27 of the same page I sent before and is usually tied to either a locked device or faulty board.

    Hope this helps,
    Rafael