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

    Upgrade Pygate firmware

    Scheduled Pinned Locked Moved Software Tools
    5 Posts 2 Posters 207 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.
    • papasmurphP Offline
      papasmurph
      last edited by papasmurph

      Update: I collected the findings to a single post.

      I just got a Pygate with a WiPy as "host".

      The tutorial page at https://development.pycom.io/tutorials/all/pygate/ says "Flash the Pycom Device with a firmware build where Pygate functionality is enabled."

      I used the tool at https://docs.pycom.io/gettingstarted/installation/firmwaretool/ and upgraded using "pygate" and "pybytes".

      "pygate" caused the WiPy to not start at all.

      "pybytes" restored the function to what it was before (seemingly).

      I installed the Pygate tutorial example as-is, except for fixing the indentations and changing the WiFi configuration and also adapted config.json to my needs.

      Both before and after upgrade I get "AttributeError: 'module' object has no attribute 'callback'" for machine.callback, so it seems Pygate functionality is still not there.

      Is there anything else I should do?

      Thanks in advance.

      papasmurphP 2 Replies Last reply Reply Quote 0
      • papasmurphP Offline
        papasmurph @papasmurph
        last edited by

        This post is deleted!
        papasmurphP 1 Reply Last reply Reply Quote 0
        • papasmurphP Offline
          papasmurph @papasmurph
          last edited by papasmurph

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • papasmurphP Offline
            papasmurph @papasmurph
            last edited by papasmurph

            This was solved by checking "Include development software".

            Also, I thought the WiPy3 supported 5 GHz. That's not mentioned on the product page.

            Now I have data arriving at TTN via WiFi.

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              bgeorges @papasmurph
              last edited by bgeorges

              @papasmurph I just ran into the same issue even though I checked the "include development Software" and I had the boards (patate and WiPy) already setup and running before I did the upgrade. I tried to clear the user space as well and go through a clean build but still stuck. I am stuck with the same error :

              Starting LoRaWAN concentrator
              Traceback (most recent call last):
                File "main.py", line 26, in <module>
              AttributeError: 'module' object has no attribute 'callback'
              Pycom MicroPython 1.20.2.r0 [v1.11-783192e] on 2020-08-06; WiPy with ESP32
              Pybytes Version: 1.5.1
              

              Anyone faced this issue ?

              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