Skip to content
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

pyboard, swapping sd cards #4058

Open
rhubarbdog opened this issue Aug 17, 2018 · 0 comments
Open

pyboard, swapping sd cards #4058

rhubarbdog opened this issue Aug 17, 2018 · 0 comments

Comments

@rhubarbdog
Copy link
Contributor

hi,
in my /flash directory i have a SKIPSD file
i mount my SD card as follows os.mount(pyb.SDCard(),'/sd')
using screen i enter a REPL session
I issue the command os.umount("/sd")
os.listdir('/') proves it's safe to remove the disk.
I extract it and put a new SD Card in.
When i issuse the command os.mount(pyb.SDCard(),'/sd') i get an OSError , error 19 ENODEV.

is it possible to swap SD cards whilst the pyboard is running? or does in need to be hard reset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant