pyboard, swapping sd cards
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?
Can't mount SD card error
I am just starting with coding and bought a pyboard to make my projects. I want to use a SD card but when I insert it, it gives the error code 'Can't mount SD card'.
It does recognize the SD card, because when I use the code pyb.SDCard().present() it says it is True. I have tried a few different Sd cards but they all give the same problem. I tried formatting the Sd cards but that doesn't help either.
Does anyone know how I can solve this? Because to my knowledge it should be 'plug and play'.
