Page 1 of 1

How to implement USB MSC(Mass storage class) on internal memory of ESP32S3?

Posted: Mon Mar 21, 2022 6:23 am
by Kowshik_Bevara
Hi,

I am trying to implement USB Mass Storage on ESP32-S3's internal memory. For that, I have created a FAT32 Virtual File System(VFS) in the internal memory to create and store the files that are needed to be accessed via USB MSC on our PC.

My first query is, what exactly does a virtual file system(VFS) do? Can we access VFS through USB?

My second query is, Is it possible to implement the mass storage on the internal memory of ESP32S3? if so could you please guide me on how, to begin with?

Thanks & Regards,
Kowshik.

Re: How to implement USB MSC(Mass storage class) on internal memory of ESP32S3?

Posted: Mon Apr 11, 2022 11:08 am
by chegewara
Hi,
yes, it is possible with tinyusb component. You can study arduino-esp32 library, my library (both are working with arduino only) or you can study tinyusb examples.

https://github.com/hathach/tinyusb/tree ... c_dual_lun
https://github.com/hathach/tinyusb/tree ... c_freertos