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.
Flash using USB in ESP32-S3
Re: Flash using USB in ESP32-S3
USB_SERIAL_JTAG is primarily used for JTAG debugging and serial communication. It uses the built-in USB-to-serial/JTAG bridge. Communicates over a virtual COM port. USB_OTG supports the DFU class. It uses DFU utilities to upload firmware to the device. It uses the USB DFU protocol, which is a standard protocol for firmware upgrades over USB.
Who is online
Users browsing this forum: No registered users and 78 guests