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.

CCS/TM4C123GH6PM: unable to connect

Part Number: TM4C123GH6PM

Tool/software: Code Composer Studio

Hello all, 

I have a problem in using CCS with the tiva launchpad. after connecting the board, the led power on the board is turned on and i have verified that the stillaris firmware exists in the device manager. when i try to start the debugger then i have the following

any one can help? 

Regards, 

Sarea

  • sarea hariri said:
    any one can help? 

    HUNDREDS - already - have!     Your use of the 'Forum Search Box' (atop the forum page) keyworded, 'JTAG FAILS' - should present a, 'Pandora's Box' - of those w/similar connect/communicate issues.

    It is always - of such comfort - to receive such a 'deep dive'  Vendor Produced, Diagnostic Report.    

    On SOME occasions - and only IF YOU ARE EXTREMELY LUCKY - simple replacement of the LPad supplied (spare no expense) USB Cable - proves the FIX...    You may try that - FIRST!    Bon Chance...

  • Hi Sarea,

     Can you answer a few questions?

     Did the board work before?

     Did you remember what was the last code you had programmed to the MCU?

     Did you turn off the clock in your code or you might have re-purpose the JTAG pins for GPIO functionality?

     Can you power cycle both your PC and the board and then try again?

     If you are still unable to connect then please perform an unlock sequence using the LM Flash Programmer. See below. Bear in mind that if connection problem is due to your code re-purpose the JTAG interface for GPIO then the connection problem will occur again if you flash the same code. 

  • Monsieur Charles - Even while @ sea - this feeb sailor - gives the vendor agent 'run for the money.'

    Might the (bit) suspect USB Cable (rather notorious - by now) RISE to first thing checked?     (SAVES all of the - far more difficult - investigatory effort - does it not?)

    And God love the design crüe - producing such detailed - and valuable - Diagnostic Codes...    (We're told - such 'in depth' Diagnostics - were produced w/in ONE lunch break.)       (if that!)

  • Hi cb1,
    Agreed to start with the low hanging fruit for diagnostic. Thanks.
  • Such 'hanging' - may be applied to the 'high effort expending' diagnostic crüe - as well.    'Check Connection' (alone) proves, 'Less than Inspired.'

  • Hi,
    What is the status on this? Are you able to resolve the issue?
  • Dears Cb1, Charles;
    thanks for your helpful replays ..

    as Cb1 has purposed , i just tried to replace the power cable but the problem still the same.

    Regarding Charles replay,
    the board was working properly and the don't think that the problem was because of the clock turning off since the same code has been burned on another tm4c123 board without any issues .

    I have tried to re-power the PC and the reconnect the board.. but nothing happened.

    as the case got here.. can i use the LM flash programmer? could you please tell me in steps what i can do with this tool ?

    Regards,
    Sarea
  • Hi Sarea,

     1. Have you tried with another Windows PC and can you see in the device manager the Stellaris ICDI JTAG/SWD Interface?

     2. You can restore the device to factory setting by using LM flash programmer.  In the Configuration tab first select the TM4C123 LaunchPad

     3. Go to the Other Utilities tab and click the Unlock button.

  • Hello Charles,

    when i connect the board via USB and open the device manager, then i have " Stellaris device firmware upgrade " instead of

    " Stellaris In-Circuit Debug Interface " which appeared when i connect another  tm4c123 board.

    should i still have to restore the device to factory setting ?

    Regards,

    Sarea

  • Which USB port did you plug into? There are two USB ports on the launchpad. You need to make sure you plug into the Device USB port, not the Device USB port. Please also make sure your power switch is selecting the power supply from the Debug USB and not the Device USB. Please try again and let me know the result.
  • I meant you need to connect to the Debug USB port, not the Device USB port.
  • Charles,
    I have made sure. when i connect the debug port with switch on the debug state on the board the problem appears on the device manager as i stated before.
    when i connected the device port and toggle the switch on the device state then, i have nothing on the device manager.

    Regards,
    Sarea
  • Sarea,
    The reason I asked you to check is because that is only way I can reproduce the problem. If I connect to the device USB port then i will get exactly as what you had shown in the Device Manager. Since you said you connected to the debug port properly then we can rule out mis-connection to the Device USB port.

    The next thing is to do an ICDI firmware update. Go the LM Flash Program under the 'Other Utilities' tab you will find the Update button at the bottom to update the ICDI FW. Try to update it and see if it makes a difference.
  • Charles,
    I just update the FW as you purposed. the board has worked properly, i have tried to launch the debugger in CCS and blinking a led. its all okay.
    thank you very much.

    Regards,
    Sarea