Hi All,
I built a custom board with TM4C1233H6PM and routed the JTag to a header. The plan was to utilize the TI LaunchPad ICDI to server as programmer with LMFlashProgrammer through jump wires. When I loaded the the program onto the device on Launchpad, it was successful. Meaning that I was able to program the device as many times as I want without problems.
However, when I debug-out the ICDI to my custom board, I could only program the first time (LMflashprogrammer shows it passes and return correct checksum). If I pressed the "program" again, the error showed up "Unable to initialize target -0!" The only way to be able to re-program it was to do the "Debug Port Unlock" with Tempest and Firestorm Classes checked procedure provided on this forum. I dont know what is causing this. I pretty much copied the launchpad schematics (device portion) to my board with little change which I dont think it would matter much.
Attached is my schematics.