Re-flashing LoPy to initial firmware
-
Hello,
Does anybody know how to reflash the OutOfTheBox LoPy firmware ?
We did some test on lower temperature and something was happen... all python scripts were erased and main and boot reset to initial.I can connect on LoPy (wifi), and I uploaded again the script files but none of them are running.
Even a simple script that is printing "hello" is not working.Thanks,
-
@Colateral, using the firmware upgrade tool?
-
@abilio First time (after we got the board) we followed the simple firmware upgrade steps that are posted on pycom page.
-
@Colateral, good to hear. Can I ask how the board was updated the first time?
-
@abilio Thank you. We executed your recommendation ... but didn't fixed the python issue.
We reset the board with G20->GND (9sec) + a firmware upgrade and seems that is working now (at least basic tests).
-
@Colateral, we believe somehow during the test the internal file system got corrupted. Can you try doing:
import os os.mkfs('/flash')
And then try again?
-
Look here: https://docs.pycom.io/pycom_esp32/pycom_esp32/general.html
Section "Boot modes and safe boot"