[SOLVED] LoPy can't run Firmware Upgrade Tool
-
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 ? -
@iplooky Why do you not use the pycom manual here: https://docs.pycom.io/chapter/gettingstarted/installation/firmwaretool.html
-
@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 syntaxThey 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.
-
@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. -
@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 !
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