Hi all, i would like to have some help to whoever knows something about this.
In my electric scheme i have a debug port (j11, microUSB) and a usb port (j21, classic USB port).
In the future functions of the firmware there is the possibility to read/write data using the USB.
The problem is that whenever i try for example to mount the USB, the jtag cuts off as the cable is not present between the debug port and the pc.
You can see from the document that both the ports use the same pins to communicate with the ESP, so i think this is at least part of the problem.
I am using the example software to mount an USB stick.
I leave attached also the page of the electric scheme involving USB ports.
Hardware:
ESP32-S3
Software:
https://github.com/espressif/esp-idf/tr ... b/host/msc
microUSB and USB coexistence in project
-
- Posts: 26
- Joined: Wed Feb 08, 2023 6:17 pm
microUSB and USB coexistence in project
- Attachments
-
- LC-HMI-S3 FULL-6.pdf
- (47.24 KiB) Downloaded 363 times
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: microUSB and USB coexistence in project
Yeah, sorry, you can't use the USB port for debugging and USB host at the same time. You can either change over to UART0 for debugging or programming, or add a 2nd USB PHY (e.g. a SP5301), but do note that the latter is somewhat undocumented; there's no easy tutorial.
-
- Posts: 26
- Joined: Wed Feb 08, 2023 6:17 pm
Re: microUSB and USB coexistence in project
Thank you for your answer sir.
Who is online
Users browsing this forum: Bing [Bot], cdollar and 125 guests