ESP32-S3 USB MSC and JTAG coexistence

FireDeveloper
Posts: 2
Joined: Tue Aug 25, 2020 1:27 am

ESP32-S3 USB MSC and JTAG coexistence

Postby FireDeveloper » Fri Jul 14, 2023 5:27 am

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

ESP_Sprite
Posts: 9723
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 USB MSC and JTAG coexistence

Postby ESP_Sprite » Sat Jul 15, 2023 2:39 am

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.

Who is online

Users browsing this forum: Bing [Bot] and 314 guests