QUERY · ISSUE
sdcard.py - OSError: timeout waiting for response
drivers
I am using 8 GB microSD card, format FAT32. During mount code detects it as v2 card, but gives "OSError: timeout waiting for response". Tried to format as 4 GB FAT, did not work.
Raspberry Pi Pico
CANDIDATE · PULL REQUEST
sdcard: Set stop bit in SPI command frame.
Hello,
first and foremost thank you for maintaining and evolving Micropython, it made my pet project possible !
I'm using 32gb class 10 sd card from Philips for my pet project and stumbled upon an compatibility issues: without stop bit card does not work with the driver :-(
If that matters, product information is here.
With stop bit set - card works like a charm with the driver, i tested it locally.
Before it failed with: OSError: timeout waiting for v2 card.
this is a good change, one that i've already done to my own version of sdcard.py
...you'll need to amend your commit and repush with an email address that doesn't have 'noreply' in the email for the checker to pass your PR though.
We've sourced a couple of SD cards that only work with this fix. Kingston CANVAS Select Plus 64GB and TEAMGROUP 16GB.
While I'd love to see https://github.com/micropython/micropython-lib/pull/765 merged, these smaller steps toward a more compatible driver would be useful in the meantime!