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.
ESP32-S3 Console + DFU using internal USB
Re: ESP32-S3 Console + DFU using internal USB
Hi,
you dont have to change eFuse. All you need is to add tinyUSB into your app.
This eFuse
is to disable JTAG and enable USB OTG on esp32S3 reboot, before bootloader start (i dont remember from top of my head if DFU endpoint is included thou).
When you are using DFU you dont have to worry about RTS/DTR or GPIO0. DFU flash application will switch esp32 into download mode.
you dont have to change eFuse. All you need is to add tinyUSB into your app.
This eFuse
Code: Select all
USB_PHY_SEL
When you are using DFU you dont have to worry about RTS/DTR or GPIO0. DFU flash application will switch esp32 into download mode.
Who is online
Users browsing this forum: No registered users and 193 guests