My microcontroller was working just fine, and suddenly it stopped working. I can't download my code on the controller anymore, it keeps saying couldn't initialize target device. I used LM programmer to erase the entire flash and to unlock debug port, then it works but only for one time, I mean I can download the code one time and then it gets back to the same problem.