After upgrade firmware disappeared main.py
After upgrade firmware disappeared main.py
Hello, everyone! I am just started to use BrainPad and bumped with the problem. After upgrade firmware disappeared main.py and README. There is just boot.py. The device was formatted before that. I tried different firmware on the micropython.org NUCLEO_F401RE-20170912-v1.9.2-87-gda8c4c26 and previous releases, but the same. The problem with my board or, may be with main.c?
Re: After upgrade firmware disappeared main.py
When you do a firmware update, I believe any existing files that you had on the device (such as main.py) get erased. I know that at least for the esp8266 firmware there is no main.py by default.
Re: After upgrade firmware disappeared main.py
I think it will depend on exactly how the device is flashed.
The way that the flash is laid out, the filesystem is in the middle of the flash image. On my Nucleo board, if I flash from my linux build using: then my filsystem is preserved. Other flashing tools may give various results depending on the exact file format and options used.
The way that the flash is laid out, the filesystem is in the middle of the flash image. On my Nucleo board, if I flash from my linux build using:
Code: Select all
make BOARD=NUCLEO_F401RE deploy-stlink
Re: After upgrade firmware disappeared main.py
Thank you! Will try to adjust my current firmware