spin2cpp
spin2cpp copied to clipboard
Certain SD card fails with almost exact 50% duty cycle
Don't have time to extensively debug it right now, but I have one SD card that fails to work half the time. I.e. if I keep reloading the same program it goes work,fail,work,fail,work,fail...
Oddity 1: The card that does this is a 32GB SanDisk. I have 16GB and 64GB SanDisk cards that work as usual.
Oddity 2: The error that happens is FR_NO_FILESYSTEM
(which puzzlingly is turned into the libc error code EINVAL
)