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.
    • 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
                            • P Offline
                              Prx
                              last edited by

                              More simple procedure on Linux :

                              start from the Linux menu "Pycom Firmware tool", quote "include dev releases"
                              then just choice /dev/ttyACM0 in High transfert mode
                              the firmware is flashed in 1.18.1.r1
                              Wrote 1.19 MiB from sipy.bin in 1 minute and 13.88 seconds

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

                              Pycom on Twitter

                              Pycom