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.

C28xx: Error: Error 0x80002020/-154 Fatal Error during: Execution, Control,

Other Parts Discussed in Thread: TMS320F28069, TMDSCNCD28069, TMDSCNCD28069ISO, CONTROLSUITE

Hi,

I'm using TMS320F28069 contol card which is inserted to a self-designed PCB board. Main circuit is a three-phase voltage source inverter.  This error shows up whenever I run the program.

Can anyone solve this problem?

Thank you in advance.

Regards,

Lebing

  • Hello,

    Have you checked this thread http://e2e.ti.com/support/embedded/linux/f/354/t/55298.aspx ?

    Best regards,

    Maria

  • Hi,

    I just had a look at it, I think the error is different. Actually the code can be loaded into dsp, and the whole circuit can work (mosfet switches). But after a few seconds, this error shows up. The program stops but the circuit still working(is this because the program has been loaded into the dsp?)

    Thank you

    Lebing 

  • Lebing,

    Are you using the non-isolated (TMDSCNCD28069) or the isolated (TMDSCNCD28069ISO) F2806x Control Card?

    I suspect the non-isolated.  Electrical noise from the inverter has probably caused the USB emulator connection to loose it's connection.  That's why the program seems to keep working, but you loose CCS connection.  USB was never designed for harsh industrial environments.  The connection is easy to loose.  When working with power/motor applications, many people use an isolated emulator, either an external emulator or the isolated ControlCard.  The isolation helps with this problem.

    Regards,

    David

  • Hi David,

    Thank you for your reply. Yes, I'm using the non-isolated control card which is working with passive load. I think you give me a good suggestion:) Now I want to change to the isolated one. I have one more question, can I connect the isolated card with my previous DIMM100? I mean, do these two cards have the same configuration to DIMM100?

    Thank you so much.

    Lebing

  • Lebing,

    Lebing Jin said:

    can I connect the isolated card with my previous DIMM100? I mean, do these two cards have the same configuration to DIMM100?

    Yes, the iso and non-iso ControlCard have the same pinout.  Difference will be that on the iso card, there is a JTAG connector right on the card, and that is the JTAG you use.  WIth the non-iso card, the JTAG signals route through the connector and you use the JTAG emulator built in to the docking station.

    There is some good information in this ControlSuite document:

    C:\TI\controlSUITE\development_kits\~controlCARDs\TMDSCNCD28069ISO_v1_0\R0_3\F2806XISO-CONTROLCARD-InfoSheet_Rev0.3_11_15_2011.pdf

    Regards,

    David

  • Hi David,

    Thank you for the information. If I understand right, I just need to connect a USB cable between computer and iso card, the emulator has already on iso card?

    Regards,

    Lebing

  • Lebing Jin said:

    If I understand right, I just need to connect a USB cable between computer and iso card, the emulator has already on iso card?

    Correct.  You use the JTAG USB connector on the ISO ControlCard.  You still need to put the ISO ControlCard in a docking station to provide power however.  This will be the same dock that you currently use for the non-ISO ControlCard.

    - David

  • Hi David,

    Sorry to bother you again. I did some tests on my non-isolated control card, and I'm quite confused now.

    case 1: non-isolated control card + docking station bought from TI. I used a SVPWM program in which Ud and Uq were set to constant values(open loop). In this case, PWMs don't drive any switches. No error.

    case 2: non-isolated control card + self-designed PCB board + three-phase RL load. Same code with case 1. After a couple seconds I got the error described above while the switches still keep working well.

    case 3: non-isolated control card + self-designed PCB board + no load. Same code with case 1. I got the same error.

    case 4: non-isolated control card + self-designed PCB board + three-phase RL load. In this case, I just used fixed duty cycle for all three phases and of course 120 phase shifted. No error!

    You said electrical noise might be the reason for my case, I'm wondering if it is still the reason when I run the system without load? cause there is no current in this case.

    And comparing case 2 and 4, seems like something wrong with my code. But in case 1, it works well.

    I'm totally confused now, do you have any sugestions?

    Thank you in advance.

    Regards,

    Lebing

  • Lebing,

    You could have something wrong with your program.  I can't really know of course.  If the program crashed and the CPU ran off into the weeds, sometimes you can loose JTAG connectivity.  Based on your earlier post, I had assumed your program operating correctly and you just lost your JTAG connection.  That's why I suspected a noise issue with the JTAG USB.

    For your case 3, when you say "no load" do you mean the power supply to your inverter bridge is turned off?  If so, then I'd agree it is not likely a noise issue.  There is no current flowing.

    Sounds like you should debug your program before going down the isolated ControlCard path.

    Good luck,

    David

  • David,

    For case 3, there is power supply to the inverter bridge, I just didn't connect the three phase load. Is there noise in this case?

    If something wrong with the program, is it possible that there is no problem when I run the control card only with the docking station I bought? (case 1)

    Lebing

  • Lebing,

    If the load is missing, then I'd agree there is no current.  I suppose the inverter is still switching though.  But unlikely to be a noise issue with the JTAG.

    The difference between the ControlCard/docking station and your PCB board is the power electronics (e.g., inverter bridge).  If the problem was hardware related, then yes the same code could be fine on the TI docking station but fail on your PCB.  The code itself should run the same on both of course.

    I'm afraid I don't have any firm answers for you here.  I think you'll have to debug the program.  Start with your simple case #4 program, and add the pieces back in slowly until you find the failure point.

    Regards,

    David

  • Thank you so much.