diff options
author | Min Xu <min.xu@min-info.net> | 2014-10-25 21:30:23 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-11-11 22:30:55 +0100 |
commit | 8701086cacca088ae34580908cec45f77042b94e (patch) | |
tree | 0755b6b6439acf52ed66ef9b8d1c093247137a64 /firmware/src/pcd/main_presence.c | |
parent | 6bafd0cfb40c2d201f8723a3678dd4f04b380842 (diff) |
Retrieve + print previous PC from stack to debug wdog/spurious IRQ
Retrive previous PC from the stack before entering specific interrupt
handler routines. Allow user to trace where interrupt occured: e.g.
WatchDog and Spurious interrupt
Prior to this change, spurious interrupt would occur so much (observed
via gdb/remote debug) so it appears that the board stalled. Once a
custom spurious interrupt installed, the code continues after the
interrupt instead of re-entering the interrupt.
Diffstat (limited to 'firmware/src/pcd/main_presence.c')
0 files changed, 0 insertions, 0 deletions