ESP32-S3 upload app from USB MSC

Gienek
Posts: 10
Joined: Wed Dec 21, 2022 11:09 am

ESP32-S3 upload app from USB MSC

Postby Gienek » Wed Mar 29, 2023 8:07 am

Hi, I'm working under USB connectivity. I need 3 stages:
- (host) during boot if bin file is present on flash drive upload it and reboot,
- (host) when app is launched use flash drive MSC to store logs,
- (slave) when master is detected with additional circuit, set device in CDC mode. I would prefer MODBUS via USB but it is preserved for later consideration.

Now I want to get to know how to implement bootloader with USB MSC? I have some code for STM32 but now I want to make similar functionality for ESP32-S3.
I have used examples for MSC, detected device, loaded data from file, saved log.
I have seen some information about using TinyUSB.
Is it only transfering binaries to specyfic region of FLASH and rebooting?

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 201 guests