TinyUSB Mass Storage Device Example very slow

username
Posts: 479
Joined: Thu May 03, 2018 1:18 pm

TinyUSB Mass Storage Device Example very slow

Postby username » Thu Dec 14, 2023 6:50 pm

Tried the TinyUSB Mass Storage Device Example on a ESP32-S3 with IDF v5.1.2.
Configured to use internal flash as storage. Though it works fine, its super slow copying files to it.
When I copy a 756k file it took a minute to do it. I know the flash is not that slow because when I copy that same file via TCP to it it does it in 6 seconds.

Is there any way to speed the transfer up?

liaifat85
Posts: 139
Joined: Wed Dec 06, 2023 2:46 pm

Re: TinyUSB Mass Storage Device Example very slow

Postby liaifat85 » Sun Dec 17, 2023 7:52 am

Try to optimize your code. Get rid of unnecessary delays, loops, or other bottlenecks that might be slowing down the transfer process.

Who is online

Users browsing this forum: Google [Bot] and 207 guests