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.

TM4C1294NCPDT: TM4C1294NCPDT

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: UNIFLASH, EK-TM4C1294XL,

Tool/software:

We've just received one of two boards built with the processor and surrounding (required) components. I've got the Blackhawk XDS200 Debug Probe connected to the first board as JTAG. I have a .bin file to program the processor with but cannot seem to connect. I was hoping to use the LM Flash Programmer. For the second board I wrote the code in Code Composer (Tivaware) so programming may be easier although I don't have the second board yet to try. 

How do I setup the LM Flash Programmer to program the chip?

Thank you 

Byron

  • Hi,

      LM flash programmer only supports ICDI, not XDS200 or others. Please use Uniflash programmer to flash your .bin.

      Sorry, I'm currently on vacation for the entire week. Please expect delays in my response.

  • Thanks Charles

    No hurry but this is the message I get when I try to connect (using Uniflash):

    Likely something simple.

    Best of the holidays,

    Byron

  • Hi Byron,

    I get when I try to connect (using Uniflash):

    If you have a XDS200, you can try it on a LaunchPad. The LaunchPad has a JTAG header for external debug probe. Will you get the same message when using Uniflash? If it is working then it means there may be some issue with your custom board hardware particularly the JTAG interface. This is the best way to diagnose if the problem is related to the hardware or Uniflash toolchain. 

  • Thank you Charles

    I just returned from the holidays.

    I'm trying to find information on configure and run the Launchpad on the JTAG device with the XDS200 - sparse information. The original 10 pin connector included with the XDS200 was very delicate and broke on the first try. I've been forced to hand wire the connections.

    I'll continue to look into the JTAG documentation for the Launchpad but do thank you very much for your kind assistance.

    Ongoing

    Byron

  • Hi Byron,

      Yes, please keep me updated on your result with the LaunchPad using XDS200. This JTAG app note will be also helpful. https://www.ti.com/lit/pdf/spma075

  • I've tried the connections to the X1 connector. I believe I have all the connections correct (the wiring is color coded). I don't see where the VCC connection from pin 1 of the connector is supposed to be or if it matters. 

    I'm able to program the board (still) using the LM Flash Programmer or the UniFlash using the EK-TM4C1294XL setting. When I try to connect with the UniFlash using the TIVA TM4C1294NCPDT Device I get a get an error saying the controller has detected a target power loss?

    I've included a screenshot of my wiring and connections. I must be doing something basically wrong. Sorry to keep pestering you lad,

    Byron

  • I've tried the connections to the X1 connector. I believe I have all the connections correct (the wiring is color coded). I don't see where the VCC connection from pin 1 of the connector is supposed to be or if it matters. 

    Can you not use the U6 Arm-10pin connector? Please refer to section 4.7 in the app note I referred earlier. This will be the easiest way to use an external debug probe (e.g. XDS200, XDS110 and etc) to debug the board. Here is the link again. https://www.ti.com/lit/pdf/spma075

    It is possible to use X1 but make sure the wirings are connect. In the app note section 4.6, it demonstrates how to use one LaunchPad using its onboard ICDI debug probe to debug/program another LaunchPad. In your case, you would be using an XDS200 to debug/program your LaunchPad through the X1 connector.  You need to remove the resistors R8, R10, R11, R15 and R16 on the LaunchPad. 

    I'm able to program the board (still) using the LM Flash Programmer or the UniFlash using the EK-TM4C1294XL setting.

    Can you please clarify the above statement? You said "I'm able to program the board...". Do you mean you can or cannot?

    I've included a screenshot of my wiring and connections. I must be doing something basically wrong. Sorry to keep pestering you lad,

    No issues. I'm glad to help. 

  • I've tried wiring to the U6 Arm-10pin connector. Still no luck. It begins fine but I notice the indicator LEDs on the XDS200 shut off just before I get a "The controller has detected a target power loss". Bypassing my USB 3.0 powered hub does not ease the matter. 

    On UniFlash I've selected the "Texas Instruments XDS2xx USB Debug Probe" as the the connection and "TIVA TM4C1294NCPDT" as the device.

    I'm beginning to think I should use another LaunchPad configured to program the circuitry as the JTAG is apparently not going to work.

    I was able to program the LaunchPad I'm using with the USB Debug port with either the LM Flash Programmer or UniFlash but could not use the JTAG setup.

    I configured another LaunchPad to use as a Debug Probe. After connecting our new circuitry to the appropriate lines I was able to program the processor and the board is running. I am still unsure why the XDS200 was unable to program the circuit but am simply upset the XDS200 would not work while the altered LaunchPad worked fine. Much easier solution.

    Thank you for your help,

    Byron

  • I was able to program the LaunchPad I'm using with the USB Debug port with either the LM Flash Programmer or UniFlash but could not use the JTAG setup.

    I configured another LaunchPad to use as a Debug Probe. After connecting our new circuitry to the appropriate lines I was able to program the processor and the board is running. I am still unsure why the XDS200 was unable to program the circuit but am simply upset the XDS200 would not work while the altered LaunchPad worked fine. Much easier solution.

    Hi Byron,

      Thanks for your update. Glad that you at least can use the ICDI debug probe to program your processor.

    I've tried wiring to the U6 Arm-10pin connector. Still no luck. It begins fine but I notice the indicator LEDs on the XDS200 shut off just before I get a "The controller has detected a target power loss". Bypassing my USB 3.0 powered hub does not ease the matter. 

    On UniFlash I've selected the "Texas Instruments XDS2xx USB Debug Probe" as the the connection and "TIVA TM4C1294NCPDT" as the device.

     I'm not too sure what exactly is your XDS200 issue. Not sure if you have the correct wiring. If you are going to create a Arm-10pin adapter please refer to the below table. You can find the details on this website as well. https://software-dl.ti.com/ccs/esd/xdsdebugprobes/emu_jtag_connectors.html. The XDS200 has a TI 20pin connector. There is a TI 20pin to Arm-10pin adapter that comes with the XDS200 package. However, you said it is somewhat broken. 

    Please also refer to the answer by Rafael about the RESET connection between TI-20pin and Arm-10pin in this post. https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1349681/lp-xds110-arm-10-pin-adapter-replacement-for-connection-with-the-xds110-debug-probe?tisearch=e2e-sitesearch&keymatch=arm%25252525252525252010pin%252525252525252520adapter#