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.

TM4C123GH6PM: How to reformat and delete program flashed to TM4C

Part Number: TM4C123GH6PM

Hello,

Is there a way to reformat the TM4C and delete the software flashed so that the device is how it originally was before it was programmed?

Thanks,

Seong

  • Hi Seong,

      If you just erase flash you can do it in CCS. See below. 

    But if you want to fully restore the device to its factory settings then you need to do a unlock. t This is a mass-erase. The difference between unlock/mass-erase and erase is that mass-erase will also erase the on-chip EEprom and all non-volatile registers. See below if you are using a LaunchPad or ICDI as the debug probe. You can use LM flash programmer to unlock the device. 

    If you are using a debug probe such as XDS100 or XDS200 or XDS110 you can use dbgjtag.exe command to unlock. See section 5.3.2 in this app note for details. 

    https://www.ti.com/lit/pdf/spma075

  • Thank you, Charles!