Accidetanly ran eFuse disable on ESP32-S3-BOX3

Patriciu02
Posts: 2
Joined: Wed Apr 30, 2025 10:47 am

Accidetanly ran eFuse disable on ESP32-S3-BOX3

Postby Patriciu02 » Wed Apr 30, 2025 12:32 pm

Straight to the point - I was working on a student project and I flashed and ran the following method and now I cannot update the firmware, even with holding BOOT and then pressing RESET. Nothing helps. What should I do?

Code: Select all

void disable_jtag()
{
    esp_efuse_disable_rom_download_mode();
    gpio_hold_dis(GPIO_NUM_40);
    gpio_hold_dis(GPIO_NUM_41);
    gpio_reset_pin(GPIO_NUM_40);
    gpio_reset_pin(GPIO_NUM_41);
}
I was not cautious enough to double check what the LLM gave me.
Despite the method's name I am wondering whether I can use JTAG for firmware flash. Maybe only UART is affected...
Please, I need a piece of advice.

Device: ESP32-S3-BOX-3
IDF version: 5.0.8

Patriciu02
Posts: 2
Joined: Wed Apr 30, 2025 10:47 am

Re: Accidetanly ran eFuse disable on ESP32-S3-BOX3

Postby Patriciu02 » Wed Apr 30, 2025 12:34 pm

Was trying to flash via JTAG but I am getting:
"OpenOCD is not running, do you want to launch it?"

and when trying to launch:
[OpenOCD]
Open On-Chip Debugger v0.12.0-esp32-20241016 (2024-10-16-14:17)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html

debug_level: 2

D:\espressif\Espressif\tools\openocd-esp32\v0.12.0-esp32-20241016\openocd-esp32\bin\openocd.exe

Info : only one transport option; autoselecting 'jtag'

Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1002
Info : esp_usb_jtag: capabilities descriptor set to 0x30a
Info : esp_usb_jtag: target chip id set to 9

Info : Listening on port 6666 for tcl connections

Info : Listening on port 4444 for telnet connections

❌ Error: esp_usb_jtag: could not find or open device!

Who is online

Users browsing this forum: No registered users and 0 guests