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.

STELLARIS_ICDI_DRIVERS: How to solve this error "Stellaris ICDI Error: Could not initialize target device! Please power cycle the board and try again"



I'm using Keil IDE 5.34 working on the TM4C1294XL evaluation board and using an onboard debugger. So until the last day, everything was perfect but suddenly while flashing I was getting the following error

"Stellaris ICDI Error: Could not initialize target device! Please power cycle the board and try again".

To solve this issue I again installed "MDK_Stellaris_ICDI_AddOn" but it didn't work for me.

Please suggest me the solution.



  • Hi,

      Do you remember what code you might have loaded to the flash before this happening? Sometimes, people lock out JTAG by mistake by repurposing the JTAG pins for GPIO. Or sometime people put the device in low power mode without a mechanism to wake up the device.  Or you were using the board in USB DFU mode. You can accidently corrupt the ICDI chip if you do DFU on the wrong device. On the board, there are two MCU. One is the target device and the other is the ICDI device. Here is what I will suggest you try.

      1. Can you use the LM flash programmer to connect to the device? If you can connect with LM flash programmer then the problem is most likely with your Keil tool. You can also try using CCS to see if you can connect to the device. 

      2. If the step 1 fails, then in LM flash program, go to the "Other Utilities" tab and hit the "Unlock" to restore to factory setting. 

    3. If step 2 fails, then you need to use an external debug probe like XDS100 or XDS200 to access the target. If this works, then it means the ICDI chip on the board might have been corrupted.