Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Watchdog fails...

    Scheduled Pinned Locked Moved FiPy
    watchdogfipy lora ttn
    4 Posts 2 Posters 396 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      misterlisty
      last edited by

      It appears my fipy software stalled yet, the watchdog never kicked in ie still in freeze mode after 12hours? I have a timer that feeds the WD every 60 seconds which has stalled becuase it doesnt respond to anything yet why didn't restart chip?

      Is the watchdog failsafe?

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @misterlisty
        last edited by

        @misterlisty No, the watchdog is not failsafe. You find similar observations like yours in the forum. If you need a robust watchdog, you have to attach an external device. There are dedicated chips for that purpose. You can also use an '555 timer for that.
        Pycom may also consider to use the PIC on the expansion boards for that, unless that devices also has to be assumed as not sufficiently reliable.

        M 1 Reply Last reply Reply Quote -1
        • M Offline
          misterlisty @robert-hh
          last edited by

          @robert-hh Why is this the case? Isnt this the point of the watchdog?

          robert-hhR 1 Reply Last reply Reply Quote 1
          • robert-hhR Offline
            robert-hh @misterlisty
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom