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

    Scheduled Pinned Locked Moved LoPy
    6 Posts 3 Posters 2.1k Views 3 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.
    • bmarkusB Offline
      bmarkus
      last edited by

      Is there a hw watchdog implemented?

      1 Reply Last reply Reply Quote 1
      • R Offline
        Ralph
        last edited by

        Hi @bmarkus,
        In the LoPy, the watchdog is not implemented. Only the WiPy1 has it (see documentation)

        1 Reply Last reply Reply Quote 0
        • bmarkusB Offline
          bmarkus
          last edited by

          @Ralph

          Thanks. Is it due to the ESP32 hw or just missing in current fw and can be expected at a later time?

          1 Reply Last reply Reply Quote 0
          • R Offline
            Ralph
            last edited by

            It is only missing in the firmware and it's definitely on the task list to implement. Keep an eye uit for it in the next firmware releases.

            bmarkusB 1 Reply Last reply Reply Quote 0
            • bmarkusB Offline
              bmarkus @Ralph
              last edited by

              @Ralph said in Watchdog:

              It is only missing in the firmware and it's definitely on the task list to implement. Keep an eye uit for it in the next firmware releases.

              Thanks, sounds good. It is not the highest priority but good to have.

              1 Reply Last reply Reply Quote 0
              • M Offline
                mfgeorge
                last edited by

                It seems like the watchdog is being used by the internal threading that is managing the FTP server and WLAN connections.

                In my recent encounter with the watchdog, I found that if I created a couple threads, then had my main thread loop while true and do some extensive exception handling, the watch dog timer would not get serviced and the CPU would halt.

                Still trying to figure out more about this, but the watchdog is most definitely present on the LoPy. Just perhaps not accessible to us yet.

                It would be nice if we could configure the watch dog to reset the device as opposed to halting the CPU.

                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