-
Notifications
You must be signed in to change notification settings - Fork 7
OSError on large files #9
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
maholli
added a commit
to maholli/SAM32
that referenced
this issue
Feb 24, 2019
@maholli yeah this is a bug in the SD card library but im ok fixing it here for now - can you submit a PR? |
oh yeah that makes sense. thx! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been using miniesptool with files on an SD card (too large for internal flash).
It usually works, but I've ran into:
when the file is greater than ~1.5MB. The OSError: [Errno 5] appears to be generic. Line 410 where the error occurs is when CP tries to read file contents (after opening).
I've found that reducing the
FLASH_WRITE_SIZE
from 0x400 to 0x200 onAdafruit_CircuitPython_miniesptool/adafruit_miniesptool.py
Line 104 in 0362c36
The text was updated successfully, but these errors were encountered: