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.

TM4C123GH6PM: difference between downloadinf Flash through KEiL Vs flashing through UniFlash.

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: UNIFLASH, EK-TM4C123GXL

I am new to embedded systems.I am working on a project where i have to program Tm4c123gh6pm chip from debugger of another tiva C series launchpad.I am connecting TCk,TMS,TD0,TD1 and ground pin of Tiva C series launchpad to other Tm4c123gh6pm . My instructor has said i have to use Uniflash to upload Hex file to Tiva C series launchpad so that i can program other Tm4c123gh6pm(which is without debugger).I donot understand why am i using uniflash, when i can just download flash through keil in to Tiva C series launchpad and then in to other Tm4c123gh6pm.When i tried to do the same with Keil to program other tm4c123gh6pm through launcpad (after removing jumper) following error occurs(JTAG could not be detected), but when the same program is uploaded to  llaunchpad(jumper inserted) no error occurs.

When the same thing (after removing jumper) is done to program other Tm4c123gh6pm is done through Uniflash it is successful.

Why is there difference between flashing through KEil vs flashing through uniflash. I have googled internet but couldnot get any answer.

  • You will have to direct that question to Keil. Sometimes third party debug tools have low cost versions of the tools that only will program development kits like the EK-TM4C123GXL launchpad, but require a more expensive version to be used when programming devices not on the development kit. I do not know if that is what Keil has done. UniFlash has no such limitations.
  • This is the reply when i uploaded the same question on Keil's forum:

    "
    Does it support JTAG or just the SWD subset?
    Pins must be wired correctly, target needs to be powered and functional.
    Perhaps the firmware in the debugger is different or incompatible? Needs different drivers?
    Keil has a U-Link debugger, they code for that, other third party debuggers are dependent on drivers, functionality and wiring. If any part of the chain breaks the whole thing won't work, host of reasons why things don't work, you'll need to diagnose your own situation.

    "

    I have checked all connections but why is it that same hex file generated by keil when uploaded through uniflash gives correct result(expected data comes) but when same code is directly downloaded through keil gives no result. This is really strange.why should there be a difference.

    Could this be a reason that when uploaded through keil you have to press reset button on launchpad so that effect of code takes place , but when you upload through uniflash code directly effects the system , without pressing reset button.

  • I cannot tell you what the Keil tool is doing. You might try programming with the Keil tool and then using UniFlash and do a "verify image" to see if the hex file was programmed correctly.