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

    [SOLVED] LoPy can't run Firmware Upgrade Tool

    Scheduled Pinned Locked Moved LoPy
    firmware upgrad
    5 Posts 2 Posters 1.6k Views 2 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.
    • IplookyI Offline
      Iplooky
      last edited by Iplooky

      Hello, I've tried to upgrade LoPy by Windows and by Ubuntu but in both cases I did not have success. Before going further I assure you that I have read all the instruction, followed all the usefull links and searched on google.

      First of all I've followed the instructions from here : https://www.thethingsnetwork.org/forum/t/lopy-the-real-upgrade-guide/3923
      but as you can see the post is on year old and the cloud link is expired.
      After writing the command line : can't open file 'flash_debug.py': [Errno 2] No such file or directory (and yes, I have connected G23 to GND)
      Can someone give me a tutorial with links that don't refer to invalid pages please ?

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

        @iplooky Why do you not use the pycom manual here: https://docs.pycom.io/chapter/gettingstarted/installation/firmwaretool.html

        IplookyI 1 Reply Last reply Reply Quote 0
        • IplookyI Offline
          Iplooky @robert-hh
          last edited by Iplooky

          @robert-hh that was my starting point. At step 4 I stopped due the errors. I am in the Firmware folder, and I have to run the update folder. So I run in terminal :
          cd Downloads, cd Firmware, python update
          and I have the error :
          File "update", line 10
          ORIGINAL_PWD=$PWD
          ^
          SyntaxError: invalid syntax

          They say Run the Firmware Upgrade tool as if it is a simple program that I have to run, click next and then finish. I had installed dialog and py-serial and by any way I try to acces it gives an error.

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

            @iplooky Which OS are you using?
            As far as I can tell on my linux system, the update tool is indeed a single program (called update, actually bash script), which makes of other files in the "bin" folder and scripts, which are part of the package.

            IplookyI 1 Reply Last reply Reply Quote 0
            • IplookyI Offline
              Iplooky @robert-hh
              last edited by

              @robert-hh Problem solved, when you said bash script I realised that I was running it from the wrong program and then in shell just typed /path_to_the_folder/update and worked. Thanks a lot !

              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