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
drivers/sdcard: raise exception instead of infinite loop on read failure
In the SPI SD card driver, the code can get stuck in an infinite loop if the SD card fails to respond to a read. This patch changes it to a timeout+exception instead.