Firmware release 1.0.0.b2



  • Dear all,

    We just released a new version that fixes a few bugs. Version 1.0.0.b2 corrects 2 problems found on the previous release:

    1. WiFi scan after a BLE scan would hang indefinitely.

    2. machine.reset() was failing to reboot the board.

    Please download the new updater from:

    https://www.pycom.io/support/supportdownloads/ and upgrade all our modules. Thanks.

    Cheers,
    Daniel



  • @rskoniec thanks. I'll correct that immediately.



  • @RSK please update to 1.0.1.b1 :-)



  • I am have a completely different problem with the updater on windows 10. When I try to run it, it just hangs. I can't even close the file window.

    @rcomeau I'm sorry to hear about your issues and thanks for the report regarding Windows 10. We'll test it and provide a fix asap.

    Attribute error: "module" object has no attribute 'SOFT_RESET'

    It looks like you are running an old firmware. In order to get your firmware version try:

    import os
    print(os.uname().release)
    

  • Pybytes Beta

    I don't know what firmware version I am running, because I can't run the updater. But when I do a:
    machine.reset(), I get a traceback error saying:
    File "boot.py" line 11 in <module>
    Attribute error: "module" object has no attribute 'SOFT_RESET'


  • Pybytes Beta

    I am have a completely different problem with the updater on windows 10. When I try to run it, it just hangs. I can't even close the file window.



  • @daniel

    ble.scan() is failing with new firmware release 1.0.0.b2.

    This is due to some unhandled exception:
    ![0_1482380689788_upload-1e8e28d9-8ddb-423f-b392-ae0dc3775813](Uploading 100%)

    Firmware version showed as:
    ![0_1482380777620_upload-c68b6d2d-2c3b-4cf3-8ece-ed3c129c3e0c](Uploading 100%)

    Thanks & Regards,
    Satish Kumar. R.


  • administrators

    @livius said in Firmware release 1.0.0.b2:

    @Xykon where it is downloaded?

    The dialog based updater downloads to ${TEMP_DIR}/tmpfile I haven't checked the gui based updater. The update binary is deleted after it is flashed.

    You can download the firmware packages directly without the updater:

    # You can use wget -qO- instead of curl -sL
    #For WiPy2:
    curl -sL "https://software.pycom.io/findupgrade?key=wipy.wipy%20with%20esp32&redirect=false&type=all"
    
    #For LoPy 868:
    curl -sL "https://software.pycom.io/findupgrade?key=lopy.lopy%20with%20esp32.868&redirect=false&type=all"
    
    #For LoPy 915:
    curl -sL "https://software.pycom.io/findupgrade?key=lopy.lopy%20with%20esp32.915&redirect=false&type=all"
    

    You should get an output similar to this:

    {"key":"lopy.lopy with esp32.868","file":"https://software.pycom.io/downloads/1.0.0.b2-LoPy_868.tar.gz","version":"1.0.0.b2","intVersion":67108994,"hash":"7fbe262192c713e01e7e049de93d522ed38c71e4"}
    

    The "file" attribute shows the direct link to the firmware binary files. You can then download the file with wget "https://software.pycom.io/downloads/1.0.0.b2-LoPy_868.tar.gz" and use bin/updater.py -t 1.0.0.b2-LoPy_868.tar.gz -p /dev/ttyUSB0



  • @daniel Thank you. My mistake. But the same mistake is in the docs https://docs.pycom.io/pycom_esp32/library/network.WLAN.html so it should be corrected.



  • @rskoniec

    To make it work you have to do:

    import network
    wlan = network.WLAN(mode=network.WLAN.STA)
    

    You have only imported the network module, therefore WLAN.STA cannot be resolved.

    Cheers,
    Daniel



  • @Xykon
    it worked ! Thank you.



  • @Xykon where it is downloaded?


  • administrators

    @crc16 said in Firmware release 1.0.0.b2:

    The "firmware" directory is missing in file pycom_update_1.0.0.b2.tar.gz

    The firmware file is downloaded automatically. This way you'll always get the latest version of the firmware without having to go to the website and download a new package.



  • The "firmware" directory is missing in file pycom_update_1.0.0.b2.tar.gz



  • @Xykon we will update this this Thursday, we are cleaning up several things after updating to the latest IDF. Sorry for the delay.


  • administrators

    Unless I'm mistaken github.com/pycom/pycom-micropython hasn't yet been updated with this version. The last commit 765f2bc is from 18 days ago. Can you please update the repository?



  • Yesterday I've noticed that this code is working:

    from network import WLAN
    wlan = WLAN(mode=WLAN.STA)
    

    and this isn't:

    import network
    wlan = network.WLAN(mode=WLAN.STA)
    

    Please check and let me know if I'm alone with this issue. ;o)



  • @livius said in Firmware release 1.0.0.b2:

    @arneme
    try once again your upgrade - deselect "fast connection" or something simmillar in updater tool - it help me on one device maybe you got success also

    @daniel By default this "fast connection" option is checked and first time when I was updating my LoPy I get an error. Second time with this option unchecked update was successful. Can you say a little bit more about this option? Thanx. ;o)



  • @daniel Here is the error message:

     File "lopyupdate.py", line 73, in __do_work
       self.__done_signal.emit(callback, func(param), param)
     File "lopyupdate.py", line 97, in get_file_worker
       timeout=20
     File "/usr/lib/python2.7/dist-packages/requests/api.py", line 55, in get
       return request('get', url, **kwargs)
     File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request
       return session.request(method=method, url=url, **kwargs)
     File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 455, in request
       resp = self.send(prep, **send_kwargs)
     File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 558, in send
       r = adapter.send(request, **kwargs)
     File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 385, in send
       raise SSLError(e)
    requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error


  • Thanks for the update.
    I can confirm that WiFi scan now works after Bluetooth instantiation.

    Cheers,
    M.


Log in to reply
 

Pycom on Twitter