ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG

MattiaBerton
Posts: 32
Joined: Thu Aug 30, 2018 8:16 am

Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG

Postby MattiaBerton » Mon Jan 03, 2022 9:58 am

Hello,
I have found what was wrong, you were right: I use ESP32-c3 with visualGDB, and I need the USB JTAG/serial debug unit uses the WinUSB profile. But in this way, the COM port disappear from the Device manager. Now I have to find a way to make the WinUSB coexists with the COM port.

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

Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG

Postby ESP_Sprite » Tue Jan 04, 2022 1:25 am

There is some windows trickery involved there that I don't understand, but I do know it's possible as the Windows ESP-IDF installer does that. You could try removing all drivers, then using that to install esp-idf, see if it does the right thing.

MattiaBerton
Posts: 32
Joined: Thu Aug 30, 2018 8:16 am

Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG

Postby MattiaBerton » Tue Jan 04, 2022 10:56 am

Hello,
I've found what was wrong: the WinUSB profile is given to the root note of ESP32-C3 debug interface. If I force the WinUSB profile only on the Jtag node of the composite USB profile, I can debug and still have the COM port available.

vardas
Posts: 1
Joined: Sun Dec 17, 2023 5:57 pm

Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG

Postby vardas » Sun Dec 17, 2023 6:02 pm

ESP_Sprite wrote:
Tue Sep 14, 2021 1:46 am
Note that current master still contains a bug where the ESP32C3 will hang on startup as long as USB is not connected or the serial port involved is not open. We're working on a fix for that.
Hi!
This is old topic but I still have this issue with esp32c3 on 4.4 (platformio still not support 5.0)
What is current state of this bug?

Who is online

Users browsing this forum: cistern and 237 guests