A general comment ... I can help here only if the cause of the crash is that some long running software pipelined loop has disabled interrupts for far too long. If there is some other cause of the crash, I am unlikely to be helpful.
[quote user="Raja Subramanian"]f I am reading this right, it is fine to compile with no -mi option at all. Is that correct?[/quote]
In your specific case, probably not. With no -mi, the compiler is free to disable interrupts for an unspecified number of cycles. It is more likely that you need to use -miN, where N is carefully chosen.
[quote user="Raja Subramanian"]Also, is there a Wiki which talks about debugging crashes [/quote]
I have no expertise on this topic. This wiki article and this wiki article look promising.
Thanks and regards,
-George