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.

TMS320F28379D: TMDSCNCD28379D Debugging interruption leads to uncontrolled behavior

Part Number: TMS320F28379D
Other Parts Discussed in Thread: TMDSCNCD28379D

Hello,

I am using the TMDSCNCD28379D control card in a power electronics test bench. From time to time the debugging connection (on card optical detached JTAG) to code composer studio (7.2) is interrupted by some kind of failure, which seems to come from the control card itself. The CCS shows "BAD" on all expressions and the control card then enters a state, that is unknown to me. It seems to hang inside a debugging function. If it would be the reset state, the test bench would shout down automatically. The epwm and gpio peripheral still seems to work because there is a pulsed current at the output of the circuit. But the current is higher than the measurement of the analog values, in combination with an interrupt, would allow. Trying to get a connection again through a rude retry doesn't work. The click on resume in CCS does not start the application again, the play sign stays green. In the code window the blue program location arrow jumps between a while loop, which waits for the end of an analog conversion by watching the appropriate flag, and the clear command of the connected interrupt flag. This takes place inside the end of conversion interrupt of analog channel A.

Does anyone have noticed an error like this before? Does anyone have an idea which state is entered? Should I use the watchdog to reset the controller in this case?

Kind regards,

Martin

  • Hi Martin,

    User1164857 said:
    It seems to hang inside a debugging function.

    Did you try commenting the debugging function(s)? Does it still behave similarly? Can you give us an idea at what power level is your power board functioning at?

    Regards,

    Gautam

  • Hi Gautam,

    I did not comment anything in the files delivered from TI by now. The power part is working with grid voltage levels (100V - 400V), but is decoupled by the gate driver units.

    I am taking a closer look at the linker command file. Could an error in the RAM arrangement cause such problems, when I use only CPU1? I thought CCS would generate an appropriate error message, if the command file was incorrect.

    I am trying to use a different command file and keep you up to date.

    Did you have any advice which debugging functions should be commented out?

    Regards,
    Martin

  • Hello,

    since I changed my linker command file. The error did not appear again. I will mark this as resolved, although I still not know how the error did passed the linking process.

    Regards,
    Martin