Connecting an SD card to work on the Daisy Pod

I’ve compiled all the examples successfully and programmed them to my Daisy Pod. I’m not getting any errors in the compilation and nothing wrong happens in the Pod, except that the SD card does not ever mount using the basic SDMMC example.

I am logging the initialization and apparently it fails at f_mount(&fsi.GetSDFileSystem(), "/", 1), my code checks for FR_OK but does not register it.

I am using a pretty new Daisy Pod, programmed from the ST-LINKv3.

My code is here, it is a basic combination of the SDMMC example and logging example. The only real change I made is adding in print statements for what is going on and also adding in sd_cfg.speed = SdmmcHandler::Speed::SLOW; which was recommended in this forum.

My makefile (link) includes USE_FATFS = 1.

I’m using libDaisy as of v6.0.0. I’ve tried using the straight SDMMC example from the latest and it doesn’t work either.

I’m using a Giagstone 16GB card formatted for FAT. I’ve used these cards in the past with microcontrollers on SDIO and SPI interfaces, successfully.

I made this issue because I’m wondering if I’m doing something wrong specifically with the Pod. But I would welcome any advice, or things to try out.

Thanks for this incredible device, the SD card is a small part of what I’m working on and everything else has been working beautifully :slight_smile: