Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. watchdog
    Log in to post

    • T

      check if thread is running
      MicroPython • threading watchdog • • tttadam  

      3
      0
      Votes
      3
      Posts
      43
      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.
    • W

      is WDT the same as when the reset button is pressed?
      WiPy 2&3 • wipy 3.0 watchdog wdt • • Wolli01  

      6
      0
      Votes
      6
      Posts
      51
      Views

      W

      @robert-hh But it's funny that mainly the Fritzbox has the problem. Something must be different.
    • T

      Ghost watchdog
      MicroPython • micropython pybytes watchdog • • tttadam  

      9
      0
      Votes
      9
      Posts
      79
      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
    • M

      Watchdog fails...
      FiPy • watchdog fipy lora ttn • • misterlisty  

      4
      0
      Votes
      4
      Posts
      396
      Views

      robert-hh

      @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.
    • robert-hh

      External Watchdog
      Expansion Board • watchdog pic reliablitty unattended • • robert-hh  

      1
      7
      Votes
      1
      Posts
      247
      Views

      No one has replied

    • T

      Watchdog Trigger Corrupts Filesystem
      GPy • watchdog wdt file system corruption • • tlanier  

      5
      0
      Votes
      5
      Posts
      569
      Views

      P

      Could you simply feed the WDT while you write until you flush?
    • M

      External watchdog board for Pycom
      Comments & Feedback • pycom watchdog watchdog board • • Milan  

      6
      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.
    • S

      WDT Reset, RTC also reset
      MicroPython • gpy micropython pycom rtc watchdog • • serafimsaudade  

      1
      0
      Votes
      1
      Posts
      438
      Views

      No one has replied

    • E

      Post mortem analysis ?
      Getting Started • lopy4 watchdog exception log reboot log • • Eric73  

      1
      0
      Votes
      1
      Posts
      389
      Views

      No one has replied

    • A

      Watchdog for the LoPy?
      LoPy • lopy watchdog wdt • • Andrea Filippini  

      2
      0
      Votes
      2
      Posts
      1024
      Views

      bucknall

      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
    • lollisoft

      How to use the nano gateway also as a node?
      LoPy • lopy hardware watchdog • • lollisoft  

      1
      0
      Votes
      1
      Posts
      879
      Views

      No one has replied

    • L

      WDT now available?
      WiPy 2&3 • watchdog wdt • • lcgeldenhuys  

      4
      0
      Votes
      4
      Posts
      1366
      Views

      livius

      @pchirouze no, it should be: https://docs.pycom.io/pycom_esp32/library/machine.WDT.html
    • 1 / 1