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/EK-TM4C1294XL: Erasing all of the flash contents failed

Part Number: EK-TM4C1294XL

Tool/software: Code Composer Studio

Good morning everyone.

I'm having trouble trying to flash my development board.

I was powering the TM4C using a 5V voltage regulator (LM7805) and flashing using the ICDI Debugger for a long time. This morning, I found that i can't load a program anymore. I tried every program which days before they were working perfectly, and now i can't load neither debug. Tried erasing memory and also isn't working.

The errors while trying to debug the program are the following one:

- CORTEX_M4_0: Flash Programmer: Erasing all of the flash contents failed!

- CORTEX_M4_0: Trouble Writing Register PC: Target is not halted or  failed to halt after step.

- CORTEX_M4_0: File loader: Memory write failed: Target failed to write register PC.

I changed the jumper to the original position so i can debug while powering with the ICDI debugger. Tried debugging from another computer and also the same problem.

Power Led is on. Tested VDD and it's in 3.3V. I might fear that the microcontroller is corrupted :'(.

Anyone had this problem? Is there any solution, or tests i can do to make sure that the microcontroller isn't broken?

Hope anyone can help me.

Best regards,

José

P.D.: I'm inserting an image with the errors in Code Composer Studio.

  • José,

    I suspect your controller may not be working reliably anymore. However, before you declare it "dead" can you try to use the Flash tools present in CCS to manually Erase, perform Blank Check, etc? Details are shown at:
    software-dl.ti.com/.../ccs_debug-main.html

    There is also a discussion that talks about "recovering" the JTAG connectivity that, in fact, performs a mass erase on the device. Given it is done entirely via hardware, perhaps it may be successful.
    e2e.ti.com/.../543536

    Apart from this I can't think of any additional means to workaround this issue.

    Hope this helps,
    Rafael