Has this been happening to anyone else? I have a FRDM-KE02 board which I'm using to learn some ARM core basics, and I have found an odd behavior when debugging, using the P&E Micro USB interface.
I have a short program that sets up a timer and captures rising edge interrupts. I've been having a lot of trouble debugging, because it seems that, despite the fact that as far as I can tell, the program is correct, when I go to debug, the system gets caught in some kind of loop where it constantly hits the interrupt function.
In trying to figure out what is going on, I found that making any change in the program, even adding a comment line, could cause this behavior. I subsequently found that if I went back and forth between the IDE and the debugger, eventually I could start the debugger and it would work properly, WITHOUT ANY PROGRAM CHANGES!
Has this happened to anyone else? Optimizations are set to "none".