Page 1 of 1

ESP32-S3 USB MSC and JTAG coexistence

Posted: Fri Jul 14, 2023 5:27 am
by FireDeveloper
Hello,

We are working on a project that uses SDMMC which can appear in computer via MSC interface.
Currently we are on PCB design stage, we have run out of GPIO and we would like to switch from JTAG pads to internal USB JTAG to use the pads as regular gpio.

I did run the example tusb_msc but jtag disappeared.
Is it possible to have both interfaces or JTAG hardware completely looses control of the peripheral when tinyusb initialize?

Thanks
Stef

Re: ESP32-S3 USB MSC and JTAG coexistence

Posted: Sat Jul 15, 2023 2:39 am
by ESP_Sprite
The S3 PHY can be connected to the USB-JTAG-serial *or* the USB-OTG peripheral, not both unfortunately. You could solve that by adding an external PHY to get both at the same time, but that would not save you any GPIOs compared to JTAG, unfortunatelty.