ESP32-S3 Console + DFU using internal USB
Posted: Thu Nov 30, 2023 9:36 am
Hello!
For a new project with ESP32-S3 I would use the internal USB-PHY for:
- Serial Console
- DFU
From the documentation (https://docs.espressif.com/projects/esp ... s/dfu.html) I understand tha I have to burn the USB_PHY_SEL eFuse.
Is there a way to upgrade firmware using the internal USB without the need to press buttons on the device as it can be done with an external USB-Serial converter which sets the DFU mode GPIOs using the RTS, DTR lines?
What I expect is something like writing some register, reset the CPU to enter in DFU mode, provided that a rescue DFU mode with buttons will be available.
Thank you.
For a new project with ESP32-S3 I would use the internal USB-PHY for:
- Serial Console
- DFU
From the documentation (https://docs.espressif.com/projects/esp ... s/dfu.html) I understand tha I have to burn the USB_PHY_SEL eFuse.
Is there a way to upgrade firmware using the internal USB without the need to press buttons on the device as it can be done with an external USB-Serial converter which sets the DFU mode GPIOs using the RTS, DTR lines?
What I expect is something like writing some register, reset the CPU to enter in DFU mode, provided that a rescue DFU mode with buttons will be available.
Thank you.