• check if thread is running

    MicroPython watchdog threading
    3
    0 Votes
    3 Posts
    54 Views
    J
    @Gijs Thought of about the same thing. I would just add a short sleep at the end of the loop, so that in case it fails very quickly it doesn't go into a tight loop, especially if the code in the thread is sending anything (over the network or to a device connected via I2C or SPI etc.). Of course it relies on the contents of the function being able to restart a second time. I'm not sure this is 100% fool proof as I believe there are cases when some conditions will not result in proper exceptions being thrown, so of course using and feeding WDT (or an external watchdog) may be a good idea as well.
  • 0 Votes
    6 Posts
    53 Views
    W
    @robert-hh But it's funny that mainly the Fritzbox has the problem. Something must be different.
  • Ghost watchdog

    MicroPython watchdog pybytes micropython
    9
    0 Votes
    9 Posts
    82 Views
    T
    sadly it's the same... rst:0x7 (TG0WDT_SYS_RESET),boot:0x37 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff8020,len:8 load:0x3fff8028,len:2140 ho 0 tail 12 room 4 load:0x4009fa00,len:19760 entry 0x400a05bc
  • Watchdog fails...

    FiPy watchdog fipy lora ttn
    4
    0 Votes
    4 Posts
    430 Views
    robert-hhR
    @misterlisty I did not fully analyze Pycom's implementation of the Watchdog, As far as I understand, the event they trigger is an interrupt, not reset. Which means, that in a full this interrupt fails too. Using the RTC it is possible to set up an WDT which pulls reset on expiry, but that one seems not to be used.
  • External Watchdog

    Expansion Board watchdog reliablitty unattended pic
    1
    7 Votes
    1 Posts
    267 Views
    No one has replied
  • Watchdog Trigger Corrupts Filesystem

    GPy watchdog wdt corruption file system
    5
    0 Votes
    5 Posts
    590 Views
    P
    Could you simply feed the WDT while you write until you flush?
  • 0 Votes
    6 Posts
    685 Views
    M
    @timh I've already implemented internal watchdog but it doesn't help in case of Guru Meditation Error. @Martinnn You and I have the same problem. Thank you for suggestion, as I can see this watchdog times is not in a form of a development board like this one: https://shop.switchdoc.com/products/switchdoc-labs-dual-watchdog-timer-board-for-arduino-raspberry-pi?variant=3340467699742. Am I right? Thank in advance.
  • WDT Reset, RTC also reset

    MicroPython pycom gpy micropython watchdog rtc
    1
    0 Votes
    1 Posts
    462 Views
    No one has replied
  • Post mortem analysis ?

    Getting Started lopy4 watchdog exception log reboot log
    1
    0 Votes
    1 Posts
    391 Views
    No one has replied
  • Watchdog for the LoPy?

    LoPy watchdog wdt lopy
    2
    0 Votes
    2 Posts
    1k Views
    B
    Hi @Andrea-Filippini, This is almost ready to be deployed, Daniel has some final tweaks he wants to make before we push this up to the firmware. Slightly confusingly, we already have the documentation live for this but are just waiting to push it to the firmware. Thanks for your patience! Alex
  • How to use the nano gateway also as a node?

    LoPy lopy hardware watchdog
    1
    0 Votes
    1 Posts
    879 Views
    No one has replied
  • WDT now available?

    WiPy 2&3 wdt watchdog
    4
    0 Votes
    4 Posts
    1k Views
    L
    @pchirouze no, it should be: https://docs.pycom.io/pycom_esp32/library/machine.WDT.html