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.

Can't load code on to my TM4C123G

Other Parts Discussed in Thread: TM4C123GH6PM

Hello all,

I have a serious problem and need to solve it ASAP. I have a Tiva C series TM4C123GH6PM and use Code Composer Studio as my IDE.

So here is what I did. I was playing with the clock sources ( SysCtlClockSet() ) but I tried to load a clock source that the controller did not have. So it started going crazy. After that, when every I try to load new code on it I gives me this error:

    CORTEX_M4_0: Error connecting to the target

After that, I looked on this forum but couldn't not find anything useful. I saw that somebody else used LM Flash Programmer to fix the problem but I was not able to follow his solution.

Can somebody tell me (step by step if possible) how to fix this? I am in a really bad situation now :/