ESP32 USB DFU Bootloader

boarchuz
Posts: 606
Joined: Tue Aug 21, 2018 5:28 am

ESP32 USB DFU Bootloader

Postby boarchuz » Tue Jan 30, 2024 1:50 am

https://github.com/boarchuz/bo_dfu

Bitbanged USB Low Speed and DFU for the ESP32 2nd-stage bootloader. It works surprisingly well, give it a try! It's surreal plugging my ESP32 into my phone and updating it in a web browser (when WebUSB decides to work, at least).

Some ideas: enable OTA updates without needing all of the WiFi/BT stack in every application; provide a user-friendly update/recovery method without needing a USB-UART chip on every board; provide a recovery mechanism for bricked devices with no bootable app partitions; enable OTA updates even with a single huge app partition.

DrMickeyLauer
Posts: 168
Joined: Sun May 22, 2022 2:42 pm

Re: ESP32 USB DFU Bootloader

Postby DrMickeyLauer » Wed Apr 03, 2024 10:25 am

This is an amazing achievement. I wonder about the possibilities we now have…

chegewara
Posts: 2375
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 USB DFU Bootloader

Postby chegewara » Wed Apr 03, 2024 12:21 pm

I am wondering when espressif start advertising ESP32 as USB capable, like they did with bluetooth and after adding ble mesh ESP32 become bluetooth 5.0 certified. :?:

Who is online

Users browsing this forum: No registered users and 85 guests