Flash using USB in ESP32-S3
Posted: Thu May 30, 2024 10:00 am
Test board: ESP32-S3 DevkitC-1
IDF Version: v5.2
Hi,
I have a question after testing with reference to [DFU via USB, USB OTG, USB Serial/JTAG] in the ESP-IDF Programming Guide.
According to the guide document, the ESP32-S3's default USB PHY connection is USB_SERIAL_JTAG.
Flashing was possible through the USB port(USB_SERIAL_JTAG) like [UART + USB to Serial Converter] flashing.
(idf.py build / idf.py flash)
But I seen the DFU (Device Firmware Upgrade) function of USB_OTG and test it.
It can also flashing possible through the USB port(USB_OTG, USB driver installed by zadig)
(idf.py dfu / idf.py dfu-flash)
What is the difference between the two method? (USB_SERIAL_JTAG and USB_OTG)
Thanks.
IDF Version: v5.2
Hi,
I have a question after testing with reference to [DFU via USB, USB OTG, USB Serial/JTAG] in the ESP-IDF Programming Guide.
According to the guide document, the ESP32-S3's default USB PHY connection is USB_SERIAL_JTAG.
Flashing was possible through the USB port(USB_SERIAL_JTAG) like [UART + USB to Serial Converter] flashing.
(idf.py build / idf.py flash)
But I seen the DFU (Device Firmware Upgrade) function of USB_OTG and test it.
It can also flashing possible through the USB port(USB_OTG, USB driver installed by zadig)
(idf.py dfu / idf.py dfu-flash)
What is the difference between the two method? (USB_SERIAL_JTAG and USB_OTG)
Thanks.