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 · ISSUE
Is it possible to mount 2 SD cards and write each of simultaneously?
enhancement
Hi I am using an esp32 with non blocking recording. So I create a thread which is the non blocking recording code. I mount 2 sd cards, sd0 and sd1. I am able to read from sd0. However, when I try to write to sd1 I get a timeout error:
OSError: timeout waiting for response
if state == RECORD:
time.sleep_ms(1)
num_bytes_written = wav.write(mic_samples_mv[:num_read]) <--- Error occurs here
num_sample_bytes_written_to_wav += num_bytes_written
# read samples from the I2S device. This callback function
# will be called after 'mic_samples_mv' has been completely filled
# with audio samples
num_read = audio_in.readinto(mic_samples_mv)