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: How to repair Stellaris Drivers ?

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: ENERGIA

I have the Tiva C launchpad and I use Keil to program it. Today out of a sudden when I tried to download my code it said: 

No Cortex M device found in JTAG chain

I tried to download codes onto other MCUs and was successful but not with Tiva C. 

I downloaded energia and tried to upload code through it it displayed : Unable to find any ICDI devices 

Is there any way to uninstall/ repair STELLARIS ICDI Drivers from the PC ? I've removed them from the Control panel still, they seem to detect the Stellaris VCP. 

P.S : 1. My switch is on DEBUG selection and not DEVICE 

2. My USB Cables are working fine.

 

Please help me ASAP. Thanks! 

  • Hello Pranjal,

    If Windows is not recognizing the ICDI due to a driver issue, you can use the follow driver files to reinstall them: http://www.ti.com/tool/STELLARIS_ICDI_DRIVERS

    If the ICDI got corrupted, you can use the LM Flash Programmer software to restore it, go to the Other Utilities tab and use the ICDI Firmware Update feature to do so: http://www.ti.com/tool/LMFLASHPROGRAMMER

    Thanks for mentioning the switch is correct, that was another point I would have raised!

  • Thanks Ralph, the drivers were corrupted and the LM Flash thing actually resolved my issue!

    Thank you once again.

     Have a nice day.

  • Pranjal Shrivastava said:
    the drivers were corrupted

    Should not that 'Trigger' a 'pair' of key questions:

    • What caused that past driver 'corruption?'
    • How might you avoid that - going forward?

    Failing to seek a, 'Cause & Effect' linkage - either due to 'rush' or 'failure to consider'  - may not  yield (lasting) satisfactory results...

    Classically - such corruption issue results from:

    • Re-purposing the JTAG Pins (PC: 0-3)
    • Improper code set-up of the System Clock
    • The 'mismatch' between the 'actual xtal frequency' (on the board) and the entry w/in the Clock's Set-Up SW

    That 'studied review' of the past failure (i.e. post-mortem) should occur sooner rather than later - as time 'clouds one's memory' & key facts (i.e. code printouts) may prove 'fleeting.'

  • Hello cb1,

    In the case of the ICDI being corrupted, it is very rare and hasn't be reproducible to assess the root cause. Your list is accurate for the target MCU being locked, which uses the JTAG unlock process to undo. In the case of ICDI corruption, it could be due to power loss or IDE issues, but I don't think we aren't fully sure due to the rarity of occurrence, or at least as far as my understanding goes which may be lacking compared to prior experts like Amit.

  • Hello Raplh and cb1 ,

    I do understand that there are rare chances of such things happening, but a few days ago , my niece (she's a baby) accidentally deleted a few files from system32/drivers folder. That might've given rise to this issue.

    My MCUs weren't locked out and I assured it by uploading the code on them from my friend's laptop.

    The problem has been solved now.

    Thank you so much for your help guys.

  • Hi Pranjal,

    That is a very unique cause for failure! :)

    Thanks for the background, hopefully she doesn't cause you any further havoc with your project :)

  • Hi Ralph, 

    Yes ! That is indeed a unique reason for failure! I was lucky to have my project files intact! :) 

    Will take appropriate precaution from next time! 

    Thanks! 

  • Hello Pranjal (and 'friend' Ralph),

    Pranjal Shrivastava said:
    my niece (she's a baby) accidentally deleted a few files

    Might that serve as a 'unique explanation' - at least for the next - MAJOR 'cb1 screw up?'    My 'smarter, younger, mostly gurl staff 'Roll their eyes' and proclaim, 'AGAIN ... REALLY?'    (Unsaid - is Why ... they keep me around.)

    Great that you've provided such detail - and that this thread has (nicely) yet (pardon) "None too concisely' Closed the (most likely) Cause & Effect Loop.

    Might you list the 'rental rates' - for your niece's services?    (Staff here has 'grown bit tired' of  'Cb1's blank stare/Deer in the headlights look' - when confronted w/latest  (i.e. 'this' day's miscue.)     Appears a Win-Win - does it not?