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

    New Stable release v1.18.1

    Scheduled Pinned Locked Moved Announcements & News
    firmwarelte
    21 Posts 8 Posters 4.9k Views 10 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.
    • I Offline
      iwahdan
      last edited by iwahdan

      Hello everyone

      We have released a new stable firmware v1.18.1

      New updates:

      • New updated Scripts for Sequins LTE modem firmware upgrade added as Frozen Code
      • Added support for upgrading LTE modem Firmware via UART
      • Updated structure for esp32/frozen folder

      Note: For upgrading the LTE modem firmware please follow the steps in the following Link

      The new LTE modem upgrade Scripts can be found https://github.com/pycom/pycom-libraries/tree/master/lib/sqnsupgrade

      You can download the new Stable firmware using pycom firmware updater tool.
      or
      To download source files , this could be found here https://github.com/pycom/pycom-micropython-sigfox

      The firmware Files for Sequans LTE modem can be found Here https://software.pycom.io/downloads/sequans2.html

      Wahdan

      robert-hhR 1 Reply Last reply Reply Quote 1
      • T Offline
        tuftec
        last edited by

        Thanks for the update, but I can not get it to work.

        What am I doing wrong??

        Are the upgrade instructions complete???

        This is what I get.

        rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
        configsip: 0, SPIWP:0xee
        clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
        mode:DIO, clock div:1
        load:0x3fff8028,len:8
        load:0x3fff8030,len:1728
        load:0x4009fa00,len:0
        load:0x4009fa00,len:14584
        entry 0x400a059c
        Pycom MicroPython 1.18.1 [v1.8.6-849-f517b1d] on 2018-08-28; FiPy with ESP32
        Type "help()" for more information.

        import sqnsupgrade
        sqnsupgrade.run('/sd/NB1-37781.dup','/sd/updater.elf')
        Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "sqnsupgrade.py", line 538, in run
        File "sqnsupgrade.py", line 168, in detect_modem_state
        File "sqnsupgrade.py", line 89, in return_code
        AttributeError: 'NoneType' object has no attribute 'decode'

        I think I followed the instructions correctly after loading the latest, stable firmware.

        Peter.

        I 1 Reply Last reply Reply Quote 0
        • I Offline
          IOAg @tuftec
          last edited by

          @tuftec @administrators same error for me as well.

          I 1 Reply Last reply Reply Quote 0
          • I Offline
            iwahdan @IOAg
            last edited by

            Hi @ioag @tuftec , may I ask you if your modems where upgraded successfully before or did you had the problem of modem being bricked?

            Wahdan

            I T 2 Replies Last reply Reply Quote 0
            • I Offline
              IOAg @iwahdan
              last edited by

              Hi @iwahdan, my modem is not bricked. I am trying to update to latest firmware because there is an connectivity issue in Australia usingLTE CAT M1 with Telstra. Should I follow follow another process? Thanks.

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                iwahdan @IOAg
                last edited by

                ok, thanks @IOAg , I am looking in to that error you had and will update you Asap

                Wahdan

                1 Reply Last reply Reply Quote 0
                • E Offline
                  EinarJ
                  last edited by

                  Hi,

                  I am getting this error when trying to upgrade the modem:

                  import sqnsupgrade
                  sqnsupgrade.run('/sd/NB1-37781.dup','/sd/updater.elf')
                  Traceback (most recent call last):
                  File "<stdin>", line 1, in <module>
                  AttributeError: 'module' object has no attribute 'run'

                  The FiPy is upgraded to the latest FW with the updating tool. Formatted the SD card, mounted it and transferred the files as described. Got the latest version of the sqnsupgrade from GitHub and transferred it to the FiPy.

                  I 1 Reply Last reply Reply Quote 0
                  • I Offline
                    iwahdan @EinarJ
                    last edited by

                    Hi @einarj, you don't need to transfer scripts fro GitHub to the Fipy, these scripts are already embedded in the Firmware (v1.18.1) as frozen code

                    Wahdan

                    E 1 Reply Last reply Reply Quote 1
                    • E Offline
                      EinarJ @iwahdan
                      last edited by

                      Hi @iwahdan ,

                      It seems the firmware updating tool only upgrades the FiPy to 1.18.0.r1
                      Tool version is 1.15.1

                      BR.
                      Einar

                      I 1 Reply Last reply Reply Quote 0
                      • I Offline
                        iwahdan @EinarJ
                        last edited by iwahdan

                        Hi @einarj, could you update to version 1.15.2 https://forum.pycom.io/topic/3454/new-development-firmware-updater-1-15-2-b1

                        Wahdan

                        E 1 Reply Last reply Reply Quote 0
                        • E Offline
                          EinarJ @iwahdan
                          last edited by

                          Thanks @iwahdan ,

                          Managed to upgrade it to 1.18.1 - but I get the same error as mentioned from others:

                          import sqnsupgrade
                          sqnsupgrade.run('/sd/NB1-37781.dup','/sd/updater.elf')
                          Traceback (most recent call last):
                          File "<stdin>", line 1, in <module>
                          File "sqnsupgrade.py", line 538, in run
                          File "sqnsupgrade.py", line 168, in detect_modem_state
                          File "sqnsupgrade.py", line 89, in return_code
                          AttributeError: 'NoneType' object has no attribute 'decode'

                          A 1 Reply Last reply Reply Quote 0
                          • P Offline
                            peterv
                            last edited by peterv

                            Hi @iwahdan,

                            Looks like the delay is not long enough:

                            >>> from sqnsupgrade import sqnsupgrade
                            >>> sqnup = sqnsupgrade()
                            >>> sqnup.detect_modem_state()
                            Traceback (most recent call last):
                              File "<stdin>", line 1, in <module>
                              File "sqnsupgrade.py", line 168, in detect_modem_state
                              File "sqnsupgrade.py", line 89, in return_code
                            AttributeError: 'NoneType' object has no attribute 'decode'
                            >>> sqnup.detect_modem_state(initial_delay=8)
                            2
                            >>>
                            
                            I 1 Reply Last reply Reply Quote 2
                            • I Offline
                              iwahdan @peterv
                              last edited by

                              @peterv , I do acknowledge now that this error happens with some modules , not all of them, we are working on doing a fix for that.

                              Wahdan

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                apallo @EinarJ
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  apallo
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    tuftec @iwahdan
                                    last edited by

                                    Hi @iwahdan, My LoPy is brand new. Never been used.
                                    Peter.

                                    1 Reply Last reply Reply Quote 0
                                    • robert-hhR Offline
                                      robert-hh @iwahdan
                                      last edited by robert-hh

                                      @iwahdan The new release excludes own files in the frozen directory to be included into the build. At the moment they have to be places in one of the subdirectories, Base or Common. Maybe the build script is changed again, or an additional subdirectory is defined for user code, like Custom (?).
                                      Edit: The script to be changed is py/mkrules.mk.
                                      Edit2: I do not understand the need to change the makefile, because files in subdirectories have always been included into the build.

                                      I 1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        iwahdan @robert-hh
                                        last edited by

                                        @robert-hh , yes since the frozen folder structure has been changed py/mkrules.mk had to be updated, your proposal sounds very good , I'll consider it in the new release which I believe will not be far away, for now as you mentioned you can place your scripts in either the Base or Common folder .
                                        we have gone with this structure as we are planning to merge the Pybytes firmware into the Base Firmware Build Environment , so Scripts in Common would be included in both Base and PyBytes Builds but PyBytes builds would include Common and other scripts in a new Folder , will be called Pybytes... and LTE with Only FIPY and GPY.

                                        Hope that explains it.

                                        Wahdan

                                        robert-hhR 1 Reply Last reply Reply Quote 0
                                        • I Offline
                                          iwahdan
                                          last edited by

                                          A new firmware v1.18.1.r1 has been released for fixing the issue encountered during modem state detection

                                          Wahdan

                                          1 Reply Last reply Reply Quote 0
                                          • robert-hhR Offline
                                            robert-hh @iwahdan
                                            last edited by

                                            @iwahdan OK. I adapted my mkrules.py script already to include files from a 'Custom' folder.

                                            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
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom