Hello
I have a custom pcb made out of KL03z microcontroller. I was debugging my application quite ok then suddenly the board is not debuggable anymore. I am using segger jlink to debug my app, flashing works ok but the program starts not in main.
As soon as i pause the debugging, things get weird.
Thanks for any help
Solved! Go to Solution.
it turned out to be an nmi_b interrupt that's causing the problem. I had one pot at that pin, if the pot is low, that will cause an interrupt which stops everything. I had to disable the nmi interrupt from flash.
Hi Gnichi,
Try removing all breakpoints and try again.
Regards,
David
Hi,
Maybe reloading the KDS tools/powering off/on the chip can make it work.
Regards
xiangjun Rong
Thank you guys for the answers, it seems that weird issues keep coming.
After two days leaving the boards, they are back working normally, i don't know what happened
it turned out to be an nmi_b interrupt that's causing the problem. I had one pot at that pin, if the pot is low, that will cause an interrupt which stops everything. I had to disable the nmi interrupt from flash.