Upgrade Pygate firmware



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



  • @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 ?



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



  • This post is deleted!


  • This post is deleted!

Log in to reply
 

Pycom on Twitter