Hi,
I am implementing the ESP32-S3-WROOM-1U as a controller in a commercial kitchen appliance, and I would like to allow the possibility of updating the firmware via USB flash drive, to allow the user to update firmware without the need to use a laptop, run DFU etc.
There would be a USB port exposed on the front of the appliance, which the user would plug a USB flash drive into (that contains the new firmware). As soon as the user boots the machine with the flash drive in, it should recognise the flash drive, and begin the update process.
Is this at all possible with the ESP32-S3?
Thank you.
Programming ESP32-S3 from USB flash drive via USB-OTG peripheral
-
- Posts: 1
- Joined: Mon Aug 29, 2022 12:31 am
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Programming ESP32-S3 from USB flash drive via USB-OTG peripheral
There's no support in the ROM for this, but you could implement it in user firmware in multiple ways. The easiest one would be to simply view the USB stick as a source of 'OTA' updates and use the existing infrastructure to do so; you would have to come up with the logic that mounts the flash drive, looks for an update file and feeds that into the OTA API yourself.
-
- Posts: 1
- Joined: Fri Jul 26, 2024 5:24 pm
Re: Programming ESP32-S3 from USB flash drive via USB-OTG peripheral
Hello @BrotherCreamy
I am curious if you have done this method as I am struggling to find a way to flash the firmware via a USB stick.
Could you please share your findings for this approach?
Kind regards,
Adnan El hammoudi
I am curious if you have done this method as I am struggling to find a way to flash the firmware via a USB stick.
Could you please share your findings for this approach?
Kind regards,
Adnan El hammoudi
Who is online
Users browsing this forum: Niyazuddin and 53 guests