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.

TMS320F28335-Q1: CCS expression window freezes and eventually CCS stops responding

Part Number: TMS320F28335-Q1
Other Parts Discussed in Thread: TMS320F28335

Dear Sir,

I am using a TMS320F28335 to implement a  control for 3 phase active front end converter. When i starts the code it works fine but the moment i turn on the mains(3-ph) voltage to the converter. CCS expression window freezes and after sometime GEL expression window pops up for every expression i have in the expression window. Once that is over either the following error comes or CCS stops responding.

Error:

C28xx: Error: (Error -1041 @ 0xFFFFFF6A) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.4.0.00129)
C28xx: Trouble Halting Target CPU: (Error -2062 @ 0x0) Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.4.0.00129)
C28xx: Error: (Error -1041 @ 0xFFFFFF6A) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.4.0.00129)
C28xx: Trouble Halting Target CPU: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 9.4.0.00129)
C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting.  There may still be breakpoint op-codes embedded in program memory.  It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

Please let me know if you need more information.

Thanks,

Shubham Dhiman

  • When i starts the code it works fine but the moment i turn on the mains(3-ph) voltage to the converter. CCS expression window freezes and after sometime GEL expression window pops up for every expression i have in the expression window.

    You might be suffering from the Electro-Magnetic Interference (EMI) and/or Ground-Loop issues mentioned in parts 7 and 8 of the Hardware checklist of JTAG connection issues.

    Are you using an isolated JTAG connection?

    C2000 MCU JTAG Connectivity Debug has some more information on JTAG isolation.

  • Agree with Chester here, when the JTAG fails during active switching the usual culprit is coupled noise.  The links Chester gave above are the right places to look.

    Often the physical distance of either the JTAG header to the MCU or the JTAG ribbon cable(not the USB) to the header will have the greatest impact to stability, keeping those signal traces/cables short is key.  There are other techniques like shielding, etc that can help as well.

    Best,

    Matthew

  • Dear Sir,

    Thanks for your reply.

    I am using a 28335 experiment kit which is connected to laptop via USB cable.

    Best Regards,

    Shubham Dhiman

  • Shubham,

    Do you have an external emulator/pod like XDS100/110/200 you could use instead of the on-board XDS100?  It might be worth a shot to see if this helps.

    Also, I believe in the ccxml target settings, if you go to the advanced tab you can change the JTAG clock, I'd try making it slower to see if this can improve the robustness.  As Chester alluded to, I don't believe the built in emulation is isolated.

    Best,
    Matthew