-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Unable to upload files to ESP8266 board #947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
FYI - I have reproduced this - I think it is new with the RC version - it was working as of the Beta releases. |
putting in a delay of 1.5 seconds allows ls to work. |
delay does help tried running my boot.py via ampy without delay and with dealy
works with 1 second delay
something has changed in the soft reboot timing as well as making the FS write protected. At least the delay is an easy workaround. |
Just verified that it was working on 6/14/2018 with the beta version - I don't have the commit handy now. I'll try to reconstruct it this evening. |
interesting - resetting appears to set up the WiFI connection - I need to figure out where it gets this... I thought it was from boot.py but if teh FS is not mounted yet, it may be something elses. - then it continually reports FS errors when executing _boot.py which mounts the FS Are we just out of room for the Flash FS?
|
one more piece of information - I verified that ampy can still load files to a feather 52832 with the current build so this is appears to be only an issue on the esp8266. |
The code in #932 basically just converts
which was just wrong, because
You could experiment and try |
I tried using 1.5 seconds delay as you did after freshly erasing and flashing, and it failed with the following output. Using a delay of 2 or 3 seconds also fails.
However I was able to change the
Uploading file is still not possible due to the permissions issue preventing |
@dhalbert reverting this commit
|
it appears to be failing here:
not sure if this is a symptom or a cause. |
apparently the usage storage.VfsFat is limited to the esp8266.
did something change to break it? |
@dhalbert just to recap what we tried last night. I modified flashbdev.py to return 0 for readblocks/writeblocks. With only that change I once again was getting the "corrupted FS" on boot.
ampy put still results in a Permission denied error FYI
|
fixed by #953 |
I'm struggling to upload code to a Feather Huzzah board using the latest 3.0.0 Release Candidate 0. If I rollback to version 2.3.1, everything seems to work as expected.
Based on the recommendation of the CircuitPython for ESP8266 page, I've tried using AMPY in place of using my usual
mpfshell
utility. Even running the list commandampy --port /dev/cu.SLAB_USBtoUART ls /
results in an error. Other commands return the same error.One issue I've noticed which could be the root problem, is that a file cannot be created within CircuitPython 3 as can be done for version 2. For example:
I think that the Express boards still need to prevent file system issues with the USB mounted file system and prevent file creation in this way but there is no such issue with the Feather Huzzah boards that I know of.
Also, I tried to upload files using the webrepl but that seems to have a similar issue.
The text was updated successfully, but these errors were encountered: