ESP32-C3 USB Serial JTAG causes reset on disconnect – how to avoid?

bangjongin
Posts: 1
Joined: Tue Jul 22, 2025 9:33 am

ESP32-C3 USB Serial JTAG causes reset on disconnect – how to avoid?

Postby bangjongin » Thu Jul 24, 2025 5:13 am

Hello,

I'm using the ESP32-C3-DevKitM-1 and working on the AT firmware.
I'm currently communicating with the device over USB Serial JTAG, and everything works fine — except for one issue.

When I connect to the ESP32-C3 via a serial terminal (on the PC) and then disconnect it, the ESP32-C3 resets.

At first, I suspected a hardware issue, so I removed the pull-up/down resistors and transistors, but the reset still occurs.

After some investigation, I found that this behavior is related to the SET_CONTROL_LINE_STATE request from the host, which seems to trigger a reset.

Is there any way to prevent this reset behavior when using USB Serial JTAG on the ESP32-C3?

I would appreciate any advice or solutions.
Thank you!

For reference, I am not using UART0 but communicating via USB.

esp-at
Espressif staff
Espressif staff
Posts: 335
Joined: Mon May 09, 2022 3:00 am

Re: ESP32-C3 USB Serial JTAG causes reset on disconnect – how to avoid?

Postby esp-at » Thu Sep 04, 2025 7:16 am

could you please provide any reboot logs?

Who is online

Users browsing this forum: No registered users and 1 guest