Best way to debug the default ISR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Best way to debug the default ISR

599 Views
alanbelyea
Contributor I

I have a frdm k64f. I am running kinetis 3.0 with ksdk 1.3. I have modified the rtos Ethernet echo server example to continuously send the value of a timer that increments once per millisecond to a server on a laptop. I can run it and print the values the server gets on screen. Until it randomly stops because the MCU got dropped into the default ISR. This happens at random times 10+ minutes into continuous operation. What is the best way to debug what sent the CPU to the default ISR? 

Tags (2)
0 Kudos
1 Reply

390 Views
egoodii
Senior Contributor III

I don't know why a 'decent' fault-handler isn't just 'part' of all basic projects --- these come up ALL the time, and without some tools can be 'very difficult' to find.  The information you need is 'on the stack', but have fun looking THERE!  I suggest the handler pointed to here:

https://community.nxp.com/thread/448070 

0 Kudos