ESP32s3 Disable JTAG/Serial RTS Reset

JP5654
Posts: 16
Joined: Fri Jul 07, 2023 11:50 pm

ESP32s3 Disable JTAG/Serial RTS Reset

Postby JP5654 » Thu Dec 07, 2023 11:38 pm

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.

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

Re: ESP32s3 Disable JTAG/Serial RTS Reset

Postby ESP_Sprite » Fri Dec 08, 2023 5:21 am

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.

RandomInternetGuy
Posts: 43
Joined: Fri Aug 11, 2023 4:56 am

Re: ESP32s3 Disable JTAG/Serial RTS Reset

Postby RandomInternetGuy » Tue Jan 02, 2024 4:46 am

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.

Who is online

Users browsing this forum: VivekBorse and 100 guests