Page 1 of 1

ESP-PROG JTAG ERROR

Posted: Wed Apr 24, 2024 4:00 pm
by NurEng
I worked for a while with esp-prog PIO on VS .

Now when I try to upload , i get the following:

Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: esp32.cpu0: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: esp32.cpu0: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Couldn't halt target before SoC reset
embedded:startup.tcl:449: Error: ** Unable to reset target **
in procedure 'program_esp'
in procedure 'program_error' called at file "C:/Users/Saad/.platformio/packages/tool-openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 93
at file "embedded:startup.tcl", line 449
*** [upload] Error 1

-----------------------------------------------------------------------------

Could this mean that the esp-prog is deffective? I checked the connections between the esp-prog Jtag connector and the esp32 and they are correct. usb power is at 4.5V.

Any suggestion ?
Thank you

Re: ESP-PROG JTAG ERROR

Posted: Fri Apr 26, 2024 12:16 pm
by NurEng
I found the reason.

Simple reset of the target

;)