ESP32 USB DFU Bootloader
Posted: 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.
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.