ESP32-S2 Firmware Update via DFU (Javascript or Python)

frotaitalos
Posts: 13
Joined: Tue Nov 01, 2022 8:32 pm

ESP32-S2 Firmware Update via DFU (Javascript or Python)

Postby frotaitalos » Wed Jan 24, 2024 6:42 pm

Hello everyone, everything good ? I need to create a web application to update my product that uses esp32-s2. In fact, I already have this application developed, we use the Adafruit_WebSerial_ESPTool project (https://adafruit.github.io/Adafruit_WebSerial_ESPTool/) as a base.

However, the application is still very unstable, and the application is often unable to put the pedal in download mode. So I thought maybe there is a way to update my device's software by putting the product in USB DFU, and the application starts transferring the new firmware file. Does anyone know if this is possible? Is there an open source project that works like this?

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

Re: ESP32-S2 Firmware Update via DFU (Javascript or Python)

Postby lbernstone » Thu Jan 25, 2024 4:15 am

the application is often unable to put the pedal in download mode.
Please try a different translator? This does not compute.
If you get errors uploading, try a different USB cable, or lower the baud rate.

frotaitalos
Posts: 13
Joined: Tue Nov 01, 2022 8:32 pm

Re: ESP32-S2 Firmware Update via DFU (Javascript or Python)

Postby frotaitalos » Wed Jan 31, 2024 5:33 pm

My current system works, but I'm looking for a different method to update the devices. Would you know if there is any method via javascript or python to update the pedal via USB DFU? Considering that at the time of update the esp32-s2 will have USB DFU activated.

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

Re: ESP32-S2 Firmware Update via DFU (Javascript or Python)

Postby lbernstone » Wed Jan 31, 2024 6:47 pm

This is a pedal. Please try a different word there.
13-01-06-fahrradkram-05.jpg
13-01-06-fahrradkram-05.jpg (148.03 KiB) Viewed 711 times

frotaitalos
Posts: 13
Joined: Tue Nov 01, 2022 8:32 pm

Re: ESP32-S2 Firmware Update via DFU (Javascript or Python)

Postby frotaitalos » Fri Feb 02, 2024 5:20 pm

OK man. It was clear from my post that I'm talking about an esp32-s2. If you don't want to help, please leave this thread.

Who is online

Users browsing this forum: No registered users and 138 guests