dump stack trace
Hi,
I would like to know if there is a way to dump the function stack trace to determine the cause leading to a system crash?
thanks
dump stack trace
There cannot be a generic method in the scheduler for stack traces because each architecture is different in that respect, and sometimes there are even differences between compilers on the same architecture. You can normally get a stack trace from a debugger though. Can you put a break point where the crash happens to stop the debugger on that line, then see the function call stack?
FreeRTOS+Trace (http://www.percepio.se) would help you see what happened before the crash too.