Hi all.I need help parsing a trace file. Sometimes my program goes into watchdog and I can't figure out why.I've seen several videos on how to use TraceX. I also tried to use Traceanalyzer, but I can't understand where the problem lies.I attach the file. If anyone is kind enough to help me and more importantly how do you interpret the trace file.
Actually, the WDT was called while you were in the NMI handler. I suggest that you put a breakpoint in the NMI fault handler to see what exception caused the fault. The most common things are stack…
I have noticed that there are problems in threads 6 and 7.Thread 6 (SD) has nothing to do with tcp/ip and thread 7 (GPS2) has no information.Could it be that some call stack is corrupted?
Actually, the WDT was called while you were in the NMI handler. I suggest that you put a breakpoint in the NMI fault handler to see what exception caused the fault. The most common things are stack issues or corrupt pointers.
Looks like the above suggestion from Gary helped you solve your issue. I will mark it as the solution. Please post back if you still have problems.
I solved otherwise. Since I couldn't understand anything from the trace, I changed the type of watchdog and rewrote other parts of the code.Now works. But I didn't understand how I had to use TraceX to figure out where the problem lay.