ESP-PROG JTAG ERROR

NurEng
Posts: 4
Joined: Wed Apr 24, 2024 3:47 pm

ESP-PROG JTAG ERROR

Postby NurEng » Wed Apr 24, 2024 4:00 pm

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

NurEng
Posts: 4
Joined: Wed Apr 24, 2024 3:47 pm

Re: ESP-PROG JTAG ERROR

Postby NurEng » Fri Apr 26, 2024 12:16 pm

I found the reason.

Simple reset of the target

;)

Who is online

Users browsing this forum: MicroController and 82 guests