Best way to debug the default ISR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Best way to debug the default ISR

1,124件の閲覧回数
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? 

ラベル(2)
タグ(2)
0 件の賞賛
返信
1 返信

915件の閲覧回数
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 件の賞賛
返信