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.

TMS320f2833x debugging error -1041

Hello,

I am currently working with a TI Experimental kit for the f2833x microcontroller to drive a elektric engine. When i debugg my programm and make the engine spinning, CSS is detecting an error and i cant set any breakpoints or read out data. after this i normally have to restart css and plug and and plug in the connection to the board. I will attach a screenshot of my css window after receiving the error. Could someone please give me some advice as to what might go wrong?

  • Hi Julian,

    In short, the debugger is getting disconnected the moment system turns ON, right?

    Regards,
    Gautam
  • That might be the case, i am not sure. With the µc i am controlling a inverter and when the dc-Link of wich is not loaded, Code Composer studio has no problem. but as soon as i connect to the grid the problems occure.
  • Yes... this is the common case of propagation noise. Either you'll have to take care of it using filters or re-designing your noise system.
    Filters sounds like easier solution, I'll not be able to tell you which one though - depends case wise. But please check your system thoroughly for EMI noise. You'll have to provide proper isolation to the debugger to resolve this issue!

    Regards,
    Gautam
  • thank you that is a very good idea :)
  • Hey Gaulam! 

    Unfortunatly I havent been able to solve the problem properly. I disabled my boards connections to the engine so that i only measure speed at the moment and I kind of still have EMI problems. I switched to a screened usb cable for example but my CCS is hanging up and i receive the error below. when i disconnect the incremental from the engine, or turn the engine at low speed with hand i dont have the problem at all. Another FunFact is that when i started to consider EMI problems, i connected my incrementals cable screen to the boards ground and received good data on first try. Afterward it begun to hang up every time.

    Edit: the incremental I use is RO1362 by "ifm"

    I hope you have some more Ideas for me.

    Julian

  • Hi Julian,

    Another idea I recollected is: using USB cable with ferrite bead. One of the community member's issue got resolved by using this cable.

    Regards,

    Gautam