For the Electron, is there a way to determine what causes a Panic reset through code?
Not directly, but you could use backup RAM to store some checkpoint data in your code and in case of a crash check the reset reason and see where about the crash happened.
Usually a panic reset happens due to some coding error and for that reason it wouldn’t really be the device OS’ responsibility to investigate its origin
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.