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 firmware release v1.16.0.b1 (LoRaWAN 1.0.2 multi-region support)

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    40 Posts 16 Posters 11.8k Views 15 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.
    • T Offline
      Tombee @rskoniec
      last edited by

      @rskoniec I used C:\Program Files\Pycom\Pycom Firmware Update\pycom-fwtool-cli.exe --verbose -p com13 lpwan --region "US915"
      but after a Connecting ........................................____ shows for about 15 seconds it ends with
      Exception: Failed to connect to ESP32: Timed out waiting for packet header, on line 351
      Suggestions?

      S 1 Reply Last reply Reply Quote 1
      • S Offline
        ssmith @Tombee
        last edited by

        @tombee Press the reset button, Make sure all other programs that use the COM port are not connect, verify the the device is actually going into programming mode by opening a COM port and seeing the waiting for download message.

        T 1 Reply Last reply Reply Quote 1
        • T Offline
          Tombee @ssmith
          last edited by

          @ssmith I pushed the reset button prior to each attempt and the LoPy flashed green.
          I was able to install using the GUI version but seem stuck at getting the US915 region setup when using the command line version. I am using a Windows 7 64bit computer where I was able to find the Pycom Firmware Update directory. It doesn;t show up in my Windows 10 pc directories.

          X S 2 Replies Last reply Reply Quote 1
          • X Offline
            Xykon administrators @Tombee
            last edited by Xykon

            @tombee From the output it looks like you are using an Expansion Board 2.0

            Did you install the jumper wire the same way you do when using the GUI firmware update tool?

            Christian Ehlers

            T 1 Reply Last reply Reply Quote 0
            • X Offline
              Xykon administrators @MarcoBenini
              last edited by

              @marcobenini I have uploaded a new version that should fix this. Please try downloading https://software.pycom.io/downloads/pycom_firmware_update_1.10.1.b3.tar.gz again.

              I have made another small correction after uploading this release without increasing the version again, so if you've downloaded the new version earlier please try downloading it again.

              If you still have issues with this version please let me know.

              Christian Ehlers

              M 1 Reply Last reply Reply Quote 0
              • S Offline
                ssmith @Tombee
                last edited by

                @tombee Here's the command I used with no issues on a Win10 machine..
                pycom-fwtool-cli -p com7 flash -t LoPy4-1.16.0.b1_Steve_mod.tar.gz
                Sounds like the program is not even seeing the device from your error message. Verify that it is actually going into download mode. I didn't set the region in the download command.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  Tombee @Xykon
                  last edited by

                  @xykon It is the same USB connector (com13) on the same Win7 pc. I can run the GUi update and it completes successfully. I can then connect with TeraTerm and run REPL
                  But it won't run the CLI version

                  I am using the pysense board. Don't have the expansion board to try. So I didn't use any jumper wire when using the GUI

                  X 1 Reply Last reply Reply Quote 1
                  • X Offline
                    Xykon administrators @Tombee
                    last edited by

                    @tombee Do you have any anti-virus or security software installed?

                    Christian Ehlers

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Tombee
                      last edited by

                      @xykon Windows Defender on Win10, AVG on WIn7.
                      I disabled AVG and tried again with different error
                      Invalid head of packet <'\xe4'>, on line 351.
                      PS: Since I don't have a reputation yet I must wait 600 seconds between posts :-(

                      X 1 Reply Last reply Reply Quote 1
                      • X Offline
                        Xykon administrators @Tombee
                        last edited by Xykon

                        @tombee I think I know what the problem is. Are you OK to wait until tomorrow as you said the GUI version is working?

                        Christian Ehlers

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          Tombee @Xykon
                          last edited by

                          @xykon I will wait as necessary but am frustrated in my attempt to get this operational in US915 bands as I live in Canada and cannot legitimately use 868.1

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            MarcoBenini @Xykon
                            last edited by

                            @xykon I tried the newer upgrade version, it fails also this one, but happens some steps after.
                            Now it lets select the LoRa region (868 MHz for me), than shows messages for searching / downloading firmware and than stops after

                            "...
                            Please be patient while the firmware is │
                            │ being uploaded to the board. │
                            │ │
                            │ (this can take up to a minute). │
                            .."
                            ..." Exception: Failed to connect to ESP32: Timed out waiting for packet header, on line 351 ..."

                            I find also difficult to know when is the right moment to push the reset button, I arrive to arrive to go on 1 - 2 times every 10 .
                            Maybe an intermediate screen, after port and speed check could be useful, asking to push reset button could be useful.

                            With the other m procedure, using bin/upgrade.py, is easier to do, but maybe a little bit intimidating for new users.

                            note: I did all the tries with "sudo" so no write permissions problems.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rvandam
                              last edited by rvandam

                              The command line updater failed (Debian) with this error: "Something failed trying to connect to the device." After this step: "Connecting to the device to get it's information, please wait."

                              Also saw this error message:
                              "Exception: Failed to connect to ESP32: Timed out waiting for packet header, on line 351"

                              With the gui version everything worked fine. I had to install python-qt4 to get the gui version working.

                              Edit: same issue as below

                              1 Reply Last reply Reply Quote 1

                              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