Page 1 of 1

ESP32s3 Disable JTAG/Serial RTS Reset

Posted: Thu Dec 07, 2023 11:38 pm
by JP5654
When a terminal disconnects from the ESP32s3 JTAG/Serial port the cpu gets reset. This must be because the terminal is clearing RTS. I'm sure there's a fuse I can burn to disable this but I would like to be able to retain the functionality but dynamically disable it from my application. I can't see a register anywhere that allows me to do this. I thought that setting "RTC_CNTL_USB_RESET_DISABLE" would help, but it did not. Is there any way I can disable this feature programmatically?

Thank you.

Re: ESP32s3 Disable JTAG/Serial RTS Reset

Posted: Fri Dec 08, 2023 5:21 am
by ESP_Sprite
Sorry, no. Later versions of the USB-serial-JTAG peripheral (the one in the C6 and iirc H2) have a function that can do that, but the S3 doesn't.

Re: ESP32s3 Disable JTAG/Serial RTS Reset

Posted: Tue Jan 02, 2024 4:46 am
by RandomInternetGuy
ESP_Sprite wrote:
Fri Dec 08, 2023 5:21 am
the S3 doesn't.
Bummer. That's probably the single least awesome aspect of debugging C3 and S3 with the built-in JTAG facility. Every time you load new code to the device, you have to restart the debugger or manually recreate the connection and source all the startup chatter.

If that's the way it is, that's the way it is. It's still nifty to have a single cable for debug console, power, AND jtag. I'm glad that newer chips fix this.