Cause for Resets (PyBoard) #11084
Unanswered
Davis-Garrad
asked this question in
Other
Replies: 1 comment 2 replies
-
Maybe a software watchdog. I use one to log the time and a message (that it was a wdt) on any time-outs. In suspect routines using a try/except maybe you could get more information about which area of code is causing the problem, when it times-out. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm working on a PyBoard right now in a relatively complex temperature control system. A PyBoard accepts commands from a controlling computer through UART and all functionality works well, until it doesn't. Seemingly randomly, the PyBoard itself will soft restart - this is an issue because this control is very sensitive. I've looked around a bit, but I couldn't find any documentation for how one can determine the cause of a reset in a PyBoard - is this due to the power supply not providing enough current? Maybe a PWM timer issue (as has happened in the past)? Something else?
I'd love to know if the reason for an automatic reset is logged anywhere, or if I could configure the PyBoard to do as such. Edit: (Separate from the machine.reset_cause() function - I know of this, but it is too vague. I don't run any watchdog timers (unless one already exists on the PyBoard without initialization) and it won't really help to know if it is a soft or hard reset I don't think)
Thanks in advance,
Davis
Beta Was this translation helpful? Give feedback.
All reactions