I have a problem about TM4C1294KCPDT. I want to use a button(link the pin of PG0) and LM Flash Programmer to program the TM4C. I press the button when power off until power on to not press the button. When I press the “program” on LM Flash Programmer, it show an error and the TM4C1294 was locked. The code as below:
I looked up the user’s guide but didn’t find any solution. I have used TM4C1231 at my previous reserch but didn’t have this problem. Is the code is wrong and how to resolve this problem?
Thanks a lot.