Is there any method to gain control of the JTAG interface if an ESP32 has been flashed with an AT firmware that is using the JTAG pins?
Ie some way to flash a new firmware which does not use the JTAG pins for other purposes.
IO0 is not accessible so it is not possible to enter the serial boot mode.
Forcing JTAG access when JTAG pins have been reconfigured by application
-
- Posts: 3
- Joined: Wed Jan 26, 2022 8:04 am
-
- Posts: 9770
- Joined: Thu Nov 26, 2015 4:08 am
Re: Forcing JTAG access when JTAG pins have been reconfigured by application
Phew... that's a good question. Possibly you could force the flash pins to a certain value, disrupting the startup process so you can get a JTAG connection in?
-
- Posts: 3
- Joined: Wed Jan 26, 2022 8:04 am
Re: Forcing JTAG access when JTAG pins have been reconfigured by application
@ESP_sprite. Is there a known way to access the flash pins when using a ESP Mini-1 module? The number of available pins on the affected carrier board is limited to power, EN, RX/TX, JTAG pins (IO12-IO15), IO18, IO19, IO23, IO32 and IO33.
Possibly you could force the flash pins to a certain value, disrupting the startup process so you can get a JTAG connection in?
-
- Posts: 9770
- Joined: Thu Nov 26, 2015 4:08 am
Re: Forcing JTAG access when JTAG pins have been reconfigured by application
That doesn't leave many options, but there's still a few things to try.
- Possibly your AT firmware supports the sysreg command? You could use that to mux the JTAG pins back to JTAG mode.
- Last resort: It'll probably take a few ms between ESP32 startup and IO initialization. If you time a JTAG connection just right, it might be possible to get control over the chip before the AT firmware reinitializes the IO.
- Possibly your AT firmware supports the sysreg command? You could use that to mux the JTAG pins back to JTAG mode.
- Last resort: It'll probably take a few ms between ESP32 startup and IO initialization. If you time a JTAG connection just right, it might be possible to get control over the chip before the AT firmware reinitializes the IO.
Who is online
Users browsing this forum: No registered users and 62 guests