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.

TMS320F28069M: Issues with start up, Red LED error

Part Number: TMS320F28069M
Other Parts Discussed in Thread: MOTORWARE, CCSTUDIO

We are using the C2000 microcontroller in the High Voltage kit sold by TI. We have installed all the software (Code Composer, GUI composer, motorware, etc.) needed to operate the kit. We have connected a 15 VDC source to the kit and a micro USB to the ControlCard. Originally we had used this set up and gotten results from the GUI. We left the system connected to the computer over night and when we returned the next day to begin working, our kit could not connect to the computer. When initializing we received the following error message:

sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error connecting to the target: emulation failure occurred (<Unknown source>#14) in <Unknown source> at line number 14Restart Completed.

We also noticed that the ControlCard had two LEDs on the far right portion of the card. There are three LEDs in a column on this side of the card. The center LED was flashing red and the bottom LED was flashing green. This is indicative of an error. 

What does this error mean? Is the issue software or hardware related? How can this error be resolved? 

  • As a similar post, please check the driver and setting as below steps.

    1. You may refer to the link as below to check the XDS100 driver of Windows?
    processors.wiki.ti.com/.../XDS100

    2. And you may find a similar question about InstaSPIN GUI as below link
    e2e.ti.com/.../600719

    3. Please check the setting for some switchs on HVKIT as "GUI Quick Start Guide" in the folder of motorware as below.
    \ti\motorware\motorware_1_01_00_18\docs\guis\hvkits_8312s_8301s\instaspin_foc
  • The first couple of links were not particularly relevant to our problem. The switches are in the correct positions as well. In fact, the system was working on Tuesday. When we resumed work on Wednesday, we started receiving these flashing LED's and emulation error. Do you know what the flashing lights mean? Could the computer have corrupted the board in some way? The system was left powered overnight. 

  • 1. You may check if the windows had the driver for on-board emulator (XDS100) in "Computer Management->Device Manager", if no, which means the driver can install successfully, or the emulator has been damaged.
    2. You may switch SW3 to OFF (DOWN) to disable on-board ISO JTAG circuit, and remove the jumper on J5 of M2 of HVMTRPFC-Kit to enable the on-board JTAG on HVkit, to look at if the controlCARD works, if no, maybe the F28069 device was damaged.

    The detailed LEDs status are as below.
    LD1->Turns on when controlCARD is powered on (Green)
    LD2->Controlled by GPIO-31 (Red)
    LD3->Controlled by GPIO-34 (Red)
    LD4->Turns on when ISO JTAG logic is powered on (Green)
    D2->Uart/SCI/ toggle indicator through Isolated buffer
    D3->Uart/SCI/ toggle indicator through Isolated buffer
  • The Device Manager detects the XDS100 Cable when it is connected. The Device Manager says that the XDS100 is working properly. I removed the jumper and swiched SW3 to DN-DN. The LED's continued to flash and the GUI still does not work.

    Just to be clear, LD1 is flashing green and D2 is flashing red. I am only using the micro USB which attaches to the upper left of the controlCard (I am not using the UART cable.) The switch at the 15V input is switched toward the UART connection. When I connect the UART cable, LD1 on the HV Kit turns on and green.

    This configuration was working earlier in the week, so the controlCard may be damaged. However, it still is getting powered and the LED's are flashing, so it isn't totally destroyed. 

    I also get the same flashing lights when I connect an F2802xx controlCard in the same way. This card was not connected overnight when the system failed, which leads me to believe both cards are still functional. On the F2802, LD1 flashes green and LD2 flashes red. This is very similar to what the 2806 is doing, so it seems to be something related to the HV Kit. This is strange to me because I did not change any settings. Could the board itself have been damaged?

  • You mean the on-board JTAG of HVkit can work well to connect the F28069 control, but work well to connect the F28027 controlCard. If yes, it means the F28069 controlCard was damaged, you have to change one.

    LD1 should be lighted contantly which mean the power supply is on. LD2 should be dark if there is no any code is programmed in device.

    The board should not damaged itself unless the power supply is over it maximum input. You may check the power supply on controlBoard to look at if it is good.
  • No, the HV Kit does not work with either board. It seems to be an issue with the DC power. One 15 V power supply that we have causes LD1 to blink green and LD2 to blink red very quickly. Another 15 V supply causes only the LD1 to blink green, but with a much slower frequency.
  • The LD1 will be lighted constantly if the power supply is on normally, please connect the 15V power supply to JP1 of M5 on HVkit, and check power supply by the Vin, Vout, 5V0 and 3V3 test points in M6 of HVkit, make sure that these power supplies are correct.
  • We do not seem to be getting any voltage at any of these test points. This is likely the issue. How can this be corrected?
  • Turn on SW1 in M6 of HVkit, and check the voltage of these test points as below. The controlCard can't work well if 5V0 and 3.3V are not correct.
    Vin=15V, Vout=15V, 5V0=5.0V, 3V3=3.3V.
  • We have done this. We get practically zero voltage at each of these points. Can anything be done to correct this or has the board been damaged?
  • Did you connect a good 15V power supply to JP1 of M2? If yes, the Vin test point should have +15V. If no, please change the +15V power supply adapter fisrt.
  • Yes, we have connected the power supply. We have even verified it with the oscilloscope. We have noticed that this Vin test point reads continuity with the GND terminal. This does not seem to make sense. Could this a jumper/connection issue?
  • You should measure the same voltage level at the test point of Vout as the DC Power Supply connected to JP1 if the power supply is good. If no, please check the power supply or M1 module (PTH08080) and U1 (TPS79533) as the schematic of HVKit.