arduino-esp32 icon indicating copy to clipboard operation
arduino-esp32 copied to clipboard

An Example for using ESP32S3 with SD card as Mass Storage Device via SDIO

Open wbadry opened this issue 1 year ago • 3 comments

Related area

USB Mass Storage Device

Hardware specification

ESP32-S3 DevKitC-1

Is your feature request related to a problem?

The examples are based on the SPI SD card interface. Is it possible to have an example based on the SD MMC interface via SDIO ?

Describe the solution you'd like

A simple example to recognize the SD MMC connected to ESP32S3 to be recognized as USB mass storage device via one of the two USB ports

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • [X] I confirm I have checked existing list of Feature requests and Contribution Guide.

wbadry avatar Mar 16 '24 12:03 wbadry

SD_MMC does not have methods for direct diskio access (reading/writing blocks). It looks like that would need to be added to use the USBMSC example as is.

lbernstone avatar Mar 16 '24 17:03 lbernstone

Just wanted to know is there any progress on this particular Issue? So far I could implement SD card as Mass Storage Device but failed trying to do it in Arduino. Existing examples do not work correctly for me so I'm curious to understand how to get this one working

martinberlin avatar Jun 14 '24 07:06 martinberlin

Yes, sorry @martinberlin. I missed the issue when I added the PR. If you have a 4-bit SDIO rig, I'd be interested to know how much faster it is than 1-bit. SD2USBMSC example Fixed by #9796

lbernstone avatar Jun 14 '24 23:06 lbernstone