cubeide-sd-card
cubeide-sd-card copied to clipboard
xmit_datablock does not wait for result
user_discio_spi.c, line 249:
resp = xchg_spi(0xFF); /* Receive data resp */
My SD card does not respond with 0x05 response immediately, only after one 0xFF. This function should wait with a timeout for NOT 0xFF and only then check the result.