Detect Reset Reason in Python?

3 thoughts on “Detect Reset Reason in Python?

  1. Some embedded systems have registers to detect the reason for a script start, eg. watchdog timer reset, cold boot, hard reset, etc. 

     

    Is this possible to determine in Python script for a <strong style=

  2. 1) You may calculate the WatchDog (WD) timer reset by debugger. You have to send any message to UART when use MOD.watchdogReset(). If your module restarts early than WD timeout – promblem is in smth else.

    2) Check power level and form of signal on oscillograph at the restart moment.