[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 ?
@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 !
@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 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
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.
@iplooky Why do you not use the pycom manual here: https://docs.pycom.io/chapter/gettingstarted/installation/firmwaretool.html