-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
MagTag filesystem wiped while trying to copy files. #3744
Comments
You were using Mac OSX too right? |
@tannewt Yes. 10.15.7. |
I just had an event like this. Host is Linux. I had written out code.py and the last thing on the console was
The full backtrace of all threads in gdb said this
.. it seemed like the USB thread which was trying to erase and rewrite flash was not able to make headway. However, as I have trouble debugging on the non-main thread I was not able to determine why it was not proceeding. |
Otherwise we risk running code from flash while an erase is in progress, crashing and corrupting the file system. Related to #3744
@tannewt do you think this might be fixed? |
I haven't experienced this since I was developing the MagTag library. |
I think so. We can re-open if it crops up again. |
Attempting to test this PR, which involves copying a folder containing images and a json file over to CIRCUITPY. Copy failed. When the board reset, the filesystem was wiped, everything returned to base state, including the Hello world! code.py. There were already two libraries and an updated code.py file on the board that were running before the filesystem was wiped.
The text was updated successfully, but these errors were encountered: