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.

Compiler/TM4C129XNCZAD: TivaWare_C_Series-2.0.1.11577 examples (dk-tm4c129x): boot_demo_usb

Part Number: TM4C129XNCZAD
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: TI C/C++ Compiler

Hi,

When I use dfuprog.c to switch to DFU mode and then operate LM Flash Programmer, I accidentally update both dfu devices in ICDI Firmware Update

As a result, when the development board is connected to the pc again, the In-Circuit Debug Interface disappears.

Then ccs show  :Error connecting to the target: Unable to communicate with the device. Please check your connection.

How can I make ccs connect to development board with In-Circuit Debug Interface?

Thanks!

WanYing Chin

  • Hello WanYing,

    That is... an interesting situation! I haven't seen anyone run into that problem before. I have an idea about how to safely resolve this.

    Just to confirm, you are using a DK-TM4C129X right?

    Please confirm and also go ahead and download Uniflash. I can provide instructions that should work well for this issue if that is the board you are using.

  • Hi,

    Yes, I'm using a DK-TM4C129X.

    I also tried to use UniFlash to image files, but it still failed because the pc did not recognize the In-Circuit Debug Interface
     

    Thanks for your reply!

    WanYing Chin

  • Hello Wan,

    Alright so what I think is going on is that since both devices are showing up as ICDI devices, they are probably trying and failing to program each other because they can't see the target device right when launching in Uniflash.

    I have an idea on how to get around this, but I am not sure if it will work.

    To start, you will want to remove the JTAG jumpers from your DK-TM4C129X board:

    This will remove the connection to one ICDI device, and that should help with the confusion of the Programming Tools.

    After this, go ahead and load up CCS Uniflash, Select your Target Device as the TM4C129XNCZAD, and Select the Stellaris ICDI. Then Start the Connection:

    This should then start up the board properly without the above reported errors. With the connection properly established, now put the JTAG jumpers back on to connect JTAG.

    With JTAG connected and the right ICDI started, you should be able to successfully run a Flash Erase in the Settings & Utilities tab to clear your mis-programmed device and restore typical operation: