AnsweredAssumed Answered

USBDM how to debug KL25Z

Question asked by Dragos GALALAE on Nov 7, 2013
Latest reply on Nov 16, 2013 by Dragos GALALAE




I'm trying to use USBDM to debug a KL25Z128 target, via OPENSDA USBDM interface and eclipse.


Programming works, initial setup works, but I have one BIG PROBLEM, and is called INTERRUPTS !


No matter what I've tried all my interrupts are disabled the moment I enter debug mode !


I've configured the micro peripherals not to disable interrupts during debug (timers, adc, ...) but I still can't get in a interrupt during debug, and INTERRUPTS ARE NOT EXECUTED !


What is the point of a debugger, if it modifies the program so much that is unusable ???


How the heck do you debug using USBDM ?