Other Parts Discussed in Thread: LMFLASHPROGRAMMER, UNIFLASH
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.
Hi Green,
What tool are you using to erase the flash? Did you somehow commit the permanent protection of the sector from erase using the FMPPE register?
Please follow section 5.3 of this app note to unlock the device.
Hello Charles,
I came across to this post as we using TM4C123GH6PM MCU on a board design and it got locked.
I checked the pdf you had shared, the LMFlashProgrammer utility only supports the Stellaris ICDI, so it not applicable for my case.
Is there any other method for me to reset the MCU itself?
Greetings Charles,
This poster's, "Sector is Locked" issue is relatively rare here - is it not?
While I agree that the, "Return of his device" to "factory original" will clear the sector lockage - no evidence has arrived which identifies the likely "cause" of such "lockage" - thus the poster may (almost) immediately - descend into the same "trap." (this concern was voiced earlier - is there "no" interest in preventing a recurrence?)
Even if "rejected" by this poster - would not, "Efforts in Prevention - and/or Correction" (beyond the "brutal") prove of interest & value to "many!" Appears that a genuine, "Teaching Moment" has arrived - which has a reach (and benefit) far beyond any single thread - especially one in which key facts are "not" much in evidence...
Is it not true that such "added detail" vastly enriches this thread - while preventing this poster from (again) suffering under this issue?
Charles Tsai said:I'm interested to find out how they were locked in the first place. I can't think of why a sector would be locked by itself unless it was the intent of the software to do so or by accident.
Charles - those 2 sentences describe precisely the key issues here - which may protect (many) others - from such misfortune.
Somehow - I found those issues "not" sufficiently raised/addressed - leading to my writing... Thanks for responding - of course poster response (they are the ones "suffering" - whom we are attempting to aid) would prove most useful...
FYI, we are able to unlock the MCU by written BD D0 ED 93 D7 C9 B9 B8 F7 4E 7E 99 6C F7 FC 3C to address 0x1FFF0-0x1FFFF and power cycle it.
Not sure will this helps on others locked issue, but it has resolved our problem.