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

    Pygate with WiPy restart every 20 minutes

    Scheduled Pinned Locked Moved Issues & Bugs
    2 Posts 1 Posters 37 Views 1 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.
    • E Offline
      Eduard Itrich
      last edited by Eduard Itrich

      Dear community,

      I just bought myself a Pygate and WiPy to create a low-cost LoRaWAN TTN Gateway. I succeeded in registering the gateway in The Things Stack and uploaded my just slightly modified code to the WiPy.

      However, I discovered that my Pygate restarts every 20 minutes and I can't find the cause of these constant power cycles. It's attached to the USB port of my internet router, but the same behavior occurs when attached to a dedicated power adapter.

      2021-10-20 15_32_02-Einstellungen.png

      Is this intended? Why did my gateway not restart between 3:04 am and 8:16 am?

      Have you any tips how I can debug this? There is no message or dump on the REPL, it simply starts over again.

      Best wishes,

      Eduard

      E 1 Reply Last reply Reply Quote 0
      • E Offline
        Eduard Itrich @Eduard Itrich
        last edited by

        I just figured out that there exists the function machine.rest_cause(), which returns machine.WDT_RESET. Does that mean that the watchdog timer isn't fed correctly somewhere in the Pygate firmware? Do I have to do this on my own?

        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