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

Kowshik_Bevara
Posts: 20
Joined: Wed Mar 02, 2022 2:39 pm

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

Postby Kowshik_Bevara » Mon Mar 21, 2022 6:23 am

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.

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Mon Apr 11, 2022 11:08 am

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

Who is online

Users browsing this forum: Baidu [Spider] and 97 guests