Page 1 of 1

Co-existance of USB-Gadget and USB-JTAG?

Posted: Wed May 17, 2023 10:25 am
by DrMickeyLauer
I noticed there are several example programs for the ESP32S2 and the ESP32S3 where you can configure USB to act as a class-compliant serial/MIDI/keyboard etc. device. In such a scenario, are you then uploading new firmwares via USB-serial or is there a way for the endpoints to co-exist? I.e. have the JTAG/USB facility still intact while operating as a class-compliant USB device?

Re: Co-existance of USB-Gadget and USB-JTAG?

Posted: Thu May 18, 2023 9:31 am
by ESP_Sprite
No, sorry, it's either/or. The only way to have them work at the same time is to add an external USB transceiver so the ESP32 has two USB ports.