Is it possible to use the USB port for both JTAG and MassStorageDevice (or CDC)?
This can either be:
- it enumerates as a composite device
- for the first 10 seconds of booting it is JTAG, but then switches over to MSD if nothing has connected
I think so, yes. Until that call, the usb-serial-jtag should still be available.steaky1212 wrote: ↑Tue Apr 18, 2023 12:11 pmRegarding switching out JTAG for MSD during run-time, would this just be a case of not running "tinyusb_driver_install" (etc.), or something a lot more involved?
There is: https://docs.espressif.com/projects/esp ... _attachedvAlso, is there a way for the ESP32 to know that it is currently under JTAG and so to not enable the USB?
Users browsing this forum: No registered users and 117 guests