Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: exception analysis

$
0
0

Mohamed,

I am not sure how to trace such a problem without debugger unless you log some debug outputs from client and look hard at your code flow to see where the issue is.

Another suggestion would be look at the fault status register (see your first post) and go through ARM technical reference manual to understand the cause of the problem. But in case of stack overflows, this may sometimes be a false alarm if some critical data structures are overwritten. There may be data faults, pre-fetch aborts if instructions get overwritten. If stack overflows but does not overwrite critical structure, the kernel will be able to detect it when it enters idle mode.

Stack overflows are always tricky. You would need the combination of debug tools to generally figure out issues.

Vikram


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>