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

    updater.py not working anymore

    Scheduled Pinned Locked Moved Discussion
    8 Posts 3 Posters 2.4k Views 3 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.
    • C Offline
      Colateral
      last edited by

      After release 1.6.3b2 if we want to go back on previous firmware using updater.py it is not possible anymore. The board is accesible through pymakr on that COM port

      d:\Pycom>python update.py 1.5.0.b1-LoPy_868.tar.gz COM15

      d:\Pycom>"c:\Program Files (x86)\Pycom\Pymakr\Python27\python.exe" pyupgrade/bin/updater.py -t 1.5.0.b1-LoPy_868.tar.gz -p COM15
      Namespace(file=None, port='COM15', speed=115200, tar='1.5.0.b1-LoPy_868.tar.gz')
      Connecting...
      Exception: Failed to connect to ESP32: Timed out waiting for packet header, on line 128

      1 Reply Last reply Reply Quote 0
      • D Offline
        daniel
        last edited by

        There's a new version of the updater.py script. Please download it and try again. It still works.

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          Colateral
          last edited by

          @Daniel The update.py that I have is form the forum: https://forum.pycom.io/topic/517/downgrading-firmware-advanced-users

          Seems that is the same package. Do you have the link for the new updater?

          1 Reply Last reply Reply Quote 0
          • C Offline
            Colateral @daniel
            last edited by Colateral

            @daniel Version 1.1.1 I found it... but doesn't work

            d:\Pycom>"c:\Program Files (x86)\Pycom\Pymakr\Python27\python.exe" pyupgrade/bin/updater.py -t 1.5.0.b1-LoPy_868.tar.gz -p COM14 -s 115200 flash
            Connecting...........................................
            Exception: Failed to connect to ESP32: Timed out waiting for packet header, on line 157

            I used the UI version and flashed the 1.6.1.b2. Then I used the updater.py version and was working .
            However, the led is always red.

            P 1 Reply Last reply Reply Quote 0
            • D Offline
              daniel
              last edited by

              @Colateral that error usually means that the serial port selected is not the right one or that the ESP32 has not entered programming mode. Did you reset the board after connecting the jumper?

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                Colateral @daniel
                last edited by

                @daniel Yes. Stopped the LoPy board, conn. the jumper, start the board and the COM14 exists ... but running the updater is failing.
                However, we used the UI tool and upgraded again to latest 1.6.3b2... and the board is working fine
                Then we used updater to go with 1.5.0 and update was working.... the problem is that after upgrade the board led is always red and you can not connect on it. If you use the UI tool and upgrade to 1.6.3 is working and the led is blinking. This is happening only with this board.

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pascal @Colateral
                  last edited by

                  @Colateral I am having the same kind of problem, unable to update FW, and stuck in 1.5.1b1 on 2 boards, I even resetted the flash. Is it the old problem on the ESP, which was handled long time ago by flash_debug.py, and then by Pycom Firmware Update? does Pycom Firmware Update still handle this problem?

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    Colateral @pascal
                    last edited by

                    @pascal Yes. They fixed. GO download the latest updater.py.

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

                    Pycom on Twitter

                    Pycom