ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
-
- Posts: 6
- Joined: Fri Aug 13, 2021 8:42 am
ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
Hi,
My ESP-IDF version is 4.3
I would like to use USB Serial/JTAG Controller Console.
Reading documentation ESP32-C3 master(latest)::
Software Configuration
USB console feature can be enabled using CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG option in menuconfig tool (see CONFIG_ESP_CONSOLE_UART).
Found in: Component config > ESP System Settings
Using menuconfig, in ESP System Settings, there is no information related to CONFIG_ESP_CONSOLE_UART
So what is wrong ?
My ESP-IDF version is 4.3
I would like to use USB Serial/JTAG Controller Console.
Reading documentation ESP32-C3 master(latest)::
Software Configuration
USB console feature can be enabled using CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG option in menuconfig tool (see CONFIG_ESP_CONSOLE_UART).
Found in: Component config > ESP System Settings
Using menuconfig, in ESP System Settings, there is no information related to CONFIG_ESP_CONSOLE_UART
So what is wrong ?
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
Hi bernardbru,
You are using ESP-IDF v4.3 but reading the documentation for v4.4 (latest master). ESP_CONSOLE_USB_SERIAL_JTAG is not supported in v4.3. If you need that then please switch to v4.4 (master branch).
You are using ESP-IDF v4.3 but reading the documentation for v4.4 (latest master). ESP_CONSOLE_USB_SERIAL_JTAG is not supported in v4.3. If you need that then please switch to v4.4 (master branch).
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
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.
-
- Posts: 35
- Joined: Thu Aug 30, 2018 8:16 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
Hello,
I'm using the 5.0 dev IDF. I'm using the USB as Jtag interface. I have two questions:
1) If I use the ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG, how can I read the message that comes from the USB? I see no COM port, what step should I follow?
2) The program hangs during startup; is this the issue that ESP_Sprite were talking about?
Thank you,
Mattia Berton
I'm using the 5.0 dev IDF. I'm using the USB as Jtag interface. I have two questions:
1) If I use the ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG, how can I read the message that comes from the USB? I see no COM port, what step should I follow?
2) The program hangs during startup; is this the issue that ESP_Sprite were talking about?
Thank you,
Mattia Berton
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
On 1, how did you connect the C3 to your computer?
On 2, could be. I know there's an internal fix in master for this issue, but I'm not sure if it made it to 5.0-dev yet.
On 2, could be. I know there's an internal fix in master for this issue, but I'm not sure if it made it to 5.0-dev yet.
-
- Posts: 35
- Joined: Thu Aug 30, 2018 8:16 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
Hi,
1) I connected the c3 directly via usb to the pin 18 and 19. I'm directly debugging it via the USB serial/JTAG port.
2) Ok, I will try to check and I will update eventually
Thank you,
Mattia
1) I connected the c3 directly via usb to the pin 18 and 19. I'm directly debugging it via the USB serial/JTAG port.
2) Ok, I will try to check and I will update eventually
Thank you,
Mattia
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
In the case of 1, you should see a comport (automatically under Win8 and up, OSX and Linux). Note that under Linux, it's likely called /dev/ttyACM0, not /dev/ttyUSB0. Do you get any message at all when you plug in the device? You don't happen to have a program loaded that uses GPIO18/19 as a GPIO?
-
- Posts: 35
- Joined: Thu Aug 30, 2018 8:16 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
Hello,
I have Windows 10, and I can see USB JTAG/serial debug unit when I plug the device, but no COM port. The USB device use WinUSB as a profile.
When I plug the device, Windows installs the JTAG device, but no com port.
I have Windows 10, and I can see USB JTAG/serial debug unit when I plug the device, but no COM port. The USB device use WinUSB as a profile.
When I plug the device, Windows installs the JTAG device, but no com port.
-
- Posts: 35
- Joined: Thu Aug 30, 2018 8:16 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
Hello,
sorry if I post again, but I don't have a solution at the moment. I don't know what I'm doing wrong: when I connect the esp32-c3 to the usb, I have a USB Serial/jtag on my device manager, but no com port associated. Should I do something to let the PC see the COM port?
sorry if I post again, but I don't have a solution at the moment. I don't know what I'm doing wrong: when I connect the esp32-c3 to the usb, I have a USB Serial/jtag on my device manager, but no com port associated. Should I do something to let the PC see the COM port?
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3 option CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
Sorry, I have no idea, but honestly, I'm not a Windows expert... all OSses should detect a serial port there. have you perhaps messed around with Zadig to install a custom driver there? If so, you may need to undo that.
Who is online
Users browsing this forum: ESP_ondrej, Google [Bot] and 99 guests