Hi,
We are experiencing problems with SC20100S on custom boards crashing occasionally. They just randomly stop working. We have a led on our boards that is continously blinking; controlled by its own thread. This led stops blinking, activity on the can bus stops and the module becomes unpingable.
We tried connecting the debugger and wait; it just gave us a message in the console like “process x has exited” and then the debugging process stopped.
We are still trying to make this reproducible. Due to time pressure we have used the watchdog to circumvent the problem, but we are soon releasing a river cruise ship auto pilot based on sitcore and can not have crashes every couple hours…
Are there any ways or tools we can debug this? Any things we can track?
We were thinking of monitoring memory usage to see if it decreases somehow or surrounding the entire code with a try/catch block and logging any caught exception. The latter probably won’t catch our issue as the entire system just locks up.
Is there ways to debug on a lower level what is happening to see what the last thing is that the cpu does before crashing? Any other variables we can track? Any other procedure we can follow?
Thanks!