It works fine as long as I restrict it to 1-bit mode, i.e. I change the sdmmc_host_t.flags to SDMMC_HOST_FLAG_1BIT. I'm seeing write speeds of about 2.7MB/sec. But I need more speed!
If I enable 4-bit mode, or just leave the flags at the default value, then _writes_ work fine, and a couple of reads may work, but then a read fails with ESP_ERR_INVALID_CRC (0x109), and after that all reads fail with ESP_ERR_TIMEOUT (0x107).
Code: Select all
E (2243) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x109
** read failed, retrying...
E (3353) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (3353) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107