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.

Regarding TM4C123G ICDI firmware

Other Parts Discussed in Thread: TM4C123GH6PM, EK-TM4C123GXL

Hi friends,

I am using DK-TM4C129x board. I that one TM4C123G microcontroller is working as ICDI controller that has gone bad accidentally and i have replaced it with the new one but that ICDI firmware is not there so it's not working. I have to use JTAG always. Can I have that ICDI firmware? So that i can dump that into that microcontroller and use the ICDI driver.

  • Hello back, friend.

    To your request, "Uh NO!"

    Is that not asking hallowed vendor for, "Keys to their kingdom?"   (Ans: Oui - mais certainement)

    With luck - you may be able to harvest such a pre-programmed MCU from a low-cost launchpad - if you are skilled @ QFP removal & reflow.   This method maintains your "all in one" board - convenient use.

    Tossing convenience to the wind - you may be able to find launchpad and/or another board w/ICDI - and a "described method" to capture & then wire-connect that board's ICDI generated, JTAG signals into your DK-TM4C129 (distressed now) board.

    Believe that's your best (and only) realistic choice to "save" your expensive board...

    It would surely benefit (and be appreciated) by those here if you'd "shed some light" upon, "How & What "accident" caused the loss" of (only) your ICDI MCU - once resident - that 129x board.

    BTW - your post wins, "greatest number of "tags" ever.   Only thing missing was Dallas/Austin street & telephone directory...

  • PARVESH KUMAR CHAUDHARY said:
    Can I have that ICDI firmware?

    The LM Flash Programmer  has the ICDI firmware built-in, and can update the firmware.

    Have you tried using ICDI Firmware update option of the LM Flash Programmer?

  • One more quick (& useful) point (imho) aimed squarely at your, "I have to use JTAG" (suggesting that was a disadvantage).

    Our small tech firm is nearing 10K of this vendor's past LM3S/LX4F MCU's built/shipped, "in the field."   And while we used ICDI in the very beginning - the use of IAR & the JTAG/SWD pod "J-Link" has proved so much faster, and more robust that, "NEVER/EVER" would we promote ICDI over JTAG or SWD!

    In fact - via SWD (all of this vendor's MCUs support this) 2 pins are "saved" - although vendor's CCS has (yet) to obtain this (long standard) SWD capability.

    When you can simply, "plug in" to ICDI - directly from PC's USB port - that convenience is attractive.   But - like so much w/in engineering/programming - there are trade-offs - and every comparison test we've run (and seen) reveals J-Link as superior to ICDI. 

  • Hi Chester, I remember an old thread where someone requested this firmware to embed on its own board.
    This way If I build a board with one more TIVA forever I can embed ICDI firmware? So it is simple to load firmware to board by bootloader but is LM flash using bootloader too on an empty chip too?
    So can be ICDI read back by bootloader mode using LMFlash too?
    I try do this by JTAG access then I do a try to do what happen by bootloader too.
  • Roberto Romano said:
    So it is simple to load firmware to board by bootloader but is LM flash using bootloader too on an empty chip too?

    I performed the following test on an EK-TM4C123GXL which has a TM4C123GH6PM as both the ICDI and target devices:

    1) With the USB connected to the Debug connector used LM Flash Programmer build 1613 to erase the target flash.

    2) Move the USB to the Device connector. Windows then detected as "Stellaris Device Firmware Upgrade" connected since the target flash is empty.

    3) Press the ICDI Firmware Update button on LM Flash Programmer and then get following dialog:

    Selected "Yes" and the ICDI firmware was loaded into the blank target device.

    If the Update button is pressed a second time get a dialog saying the ICDI firmware in the target device is already up to date, and so the programming of the ICDI firmware into the target device was successful.

    4) Move the USB connection back to the Debug connector. LM Flash Programmer was then used to upload the contents of the copy of the ICDI firmware in the target device to a 256 Kbyte .bin file on the PC.

    So, yes it is possible to use LM Flash Programmer to make a copy of the ICDI firmware which could be loaded in your own board.

    However, you would need to check if the TI license allows you to copy the ICDI firmware in such a way.

  • Do let the record show that while I've no doubts in Chester's report, "LM Flash Programmer" is subject to change - and that Chester's test was limited to build 1613. Unknown if such method will persist - under newer LM Flash releases.
    Use of a broader accommodating IDE - and JTAG/SWD Pod - usually provides improved performance and accepts MCUs from multiple vendors - itself a huge & ongoing advantage. (Cortex M4 is joined (elsewhere) by Cortex M0, M3, & M7...)
  • >>>>However, you would need to check if the TI license allows you to copy the ICDI firmware in such a way.
    This is the caveat of I suggest carefully temporary erase our posts till news about it we can freely publish.

     @Amit, if inappropriate please do immediate erase and tell all us.  @ Amit help!!!

  • Thanks Chester Gillon for your kind reply.

    I have tried the same thing but its not working. When the target flash is empty it is getting detected as "Stellaris Device Firmware Upgrade" and as I click on ICDI Firmware Update button on LM Flash Programmer i am getting the following dialog:

      

    I have tried with LM Flash programmer version number 1470 and 1588.

     

  • Try version 1613!!! It can be found on the ti.com.
    I was able to restore my Launcpad. It work!!! With the old version 15?? I received the same error!!
    Вut the version 1613 helped me! :)