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 Can I reset Tiva C launchpad to factory settings ?

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: UNIFLASH

I'm using linux, and I can't figure out a way to reset the launchpad, I want to reset it since the JTAG functionality is not working. I tried LM flash programmer but it didn't work, and some says it doesn't support linux.
so what should i do ?

and thanks

  • Hi Leo,

      Have you tried the unlock in LM flash programmer? LM flash programmer is only for Windows. The Uniflash has similar capability. Uniflash has Linux version. Go to this wikilink to download.  Do you remember what was the last code in the flash? Did you by chance program the JTAG pins for GPIO functionality?

  • Yeah i remember the code, i know the issue with the JTAG, I committed changes to port C register without knowing the consequences of JTAG going to be locked.
    As for uniflash, i ran it as you mentioned
    and here is the output:
    iled to load flash dll: /home/islash8/ti/uniflash_4.3.0/deskdb/content/TICloudAgent/linux/ccs_base/DebugServer/bin/libFlashFTDStellaris.so: cannot open shared object file: No such file or directory
  • Hi Leo,

    Do you have a launchPad? If you have a launchPad then you can use the LM flash programmer running on the Windows PC to unlock the device. If you use other debug probes such as XDS100 or XDS200 on a custom board then you can use the dbgjtag.exe on the Windows DOS terminal and follow section 5.3.2 of this app note www.ti.com/.../spma075.pdf to unlock the device. Or you can try the Uniflash from a Windows PC and see if you have success.
  • Thanks for your prompt replay, I will try resetting the launchpad from a windows OS and hope it works. also i'm trying to work with lm4flash solution which apparently many linux users have done in the past.
    This issue happened before many times, I found questions about this since 2015, still haven't been solved by TI.
    It's really annoying there is no official support for linux users, and I can't understand why really.
  • Hi Leo,
    Currently there is no plan to support LM flash programmer for Linux OS. You may be talking about a non-TI official tool lm4flash that we can not support if you find any problems with it. As I mentioned the Uniflash can be used to unlock the device and it is available for the Linux platform. If you have problems with the Uniflash I will suggest you post the questions to the CCS forum where the experts can provide better support on the tool. In the short term, I will suggest you use the Windows PC with LM flash programmer to unlock your LaunchPad.