ESP32-S2 - USB mass storage

AlfiQue
Posts: 2
Joined: Fri Aug 13, 2021 9:33 am

ESP32-S2 - USB mass storage

Postby AlfiQue » Fri Aug 13, 2021 9:50 am

Hello,

I need some help for a development

I have a code that runs on arduino that allows to create a mass storage from a SD card.

I have a simple file of about 10kb to create, and I would like to use the internal memory to emulate this mass storage.

Is it possible?
Is there any example?

Thanks for your support ;)

lbernstone
Posts: 827
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP32-S2 - USB mass storage

Postby lbernstone » Fri Aug 13, 2021 12:23 pm

An example is included in current arduino-esp32 master, and will be part of 2.0.0 release.
https://github.com/espressif/arduino-es ... USBMSC.ino

AlfiQue
Posts: 2
Joined: Fri Aug 13, 2021 9:33 am

Re: ESP32-S2 - USB mass storage

Postby AlfiQue » Mon Aug 16, 2021 9:06 am

Thank you for your answer

I have updated to version 2.0.0-rc1 and I tested the codeUSBMSC.ino

But how to create a new file, my other constraint is that this file must have a name with 12 characters

Thanks

Who is online

Users browsing this forum: No registered users and 77 guests