I am considering purchasing the ESP32 Thing Plus (USB-C) and have a few questions regarding its capabilities. Specifically, I need to use it as a USB mass storage device for data logging purposes.
When connected to a PC via USB-C, can the device be recognized as a USB mass storage device with the microSD card as the primary storage?
Is there a possibility that the 16MB SPI flash storage will be recognized as the primary storage instead of the microSD card?
Does the device support FAT32 file system on the microSD card?
I will try using TinyUSB to set up the ESP32 Thing Plus (USB-C) to present the microSD card as a mass storage device. Your guidance has been very helpful.
I got my ESP32 Thing Plus to read a SD card with FAT file system on it using this library:
I don’t believe the ESP32 as on the Thing Plus has any USB protocols implemented in the hardware. Refer to spec sheet below, “ESP32 Series” as found on Thing Plus.
If possible you’d have to find a software implementation of the USB Mass Storage Device. I found this searching the internet…
FYI ~ I think you’d have to also buy a USB port breakout and connect to GPIO, as the connector on the board is run through a serial logic level conversion chip.