Home Forum Software Watchdog timer?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1094
    Mike
    Participant

    At least for now, maybe an email notification? Had the same thing happen to me a couple of times as well.

    #1097
    Radu
    Keymaster

    I’m happy to report that there is a watchdog already:

    If the unit is unable to connect to the server within 5 minutes, it will self-reboot.

    You can try again, just wait 5 minutes.

    Radu

    #1122
    Cyan Labs
    Participant

    Radu,

    Sure, that’s all well and good to reboot if the network doesn’t respond etc… but what if the internal firmware itself isn’t responding (and thus unable to check the network).

    The problem that I appear to be having (and this is just my best guess, I haven’t done any measurements) is that when voltage dips beyond a certain point (but still above 0 volts) the entire thing locks up and won’t recover without manual intervention. You can’t even ping the network interface.

    #1124
    Radu
    Keymaster

    If the voltage is too low, the unit will not function until the proper voltage is restored.
    The minimum voltage required for the unit to work properly is 5V.

    EDIT: If the firmware doesn’t respond there is little we can do from software side as all code control is gone. I believe you might be referring to an external watchdog of some kind – waiting periodic confirmation from uC that all is ok. If such confirmations are missing over a given time, it would flush the unit’s power to reboot.
    This would make sense, but making PCB modifications at this stage is not exactly easy. The current design has been verified for quite some time before readying it for production. So it all goes back to the question: is this something necessary? I was unable to replicate the scenario. In all my tests, if something went wrong, after 5 minutes the units rebooted to normal state (quite a different story before this mechanism was implemented – 2years ago).

    Yet if this is something that happens and it happens often, than I believe we should look for solutions.

    • This reply was modified 10 years, 3 months ago by Radu.
    #1172
    Cyan Labs
    Participant

    Yes, I’m talking about an external watchdog timer (sorry, I’m not an Electronics Engineer). I realise it would be difficult (and rather pointless) to spin a new board right now, but for future revisions if you decide to take this project further, maybe it could be a valuable addition? I’m sure they add very little cost overall.

    #1274
    WattSekunde
    Participant

    There is no hardware update necessary. You can use the atmega328p build in Programmable Watchdog Timer.

    #1277
    Radu
    Keymaster

    Starting with firmware v110, the hardware watchdog timer is in use.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.