I've used both SEGGER JLink and ESP-Prog during my tests using the standard JTAG pins, i.e. TMS, TDO, TDI, TCK, GND and Vref. After running this command:
Code: Select all
openocd -f board/esp32-wrover-kit-3.3v.cfg
Code: Select all
Open On-Chip Debugger v0.10.0-esp32-20201202 (2020-12-02-17:38)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : FreeRTOS creation
Info : FreeRTOS creation
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : J-Link V10 compiled Apr 23 2020 16:49:14
Info : Hardware version: 10.10
Info : VTarget = 3.339 V
Info : clock speed 1000 kHz
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
Info : Listening on port 3333 for gdb connections
However, I have checked them multiple times and I have no clue where this error originates from. I have gone through similar issues, but none has really been helpful for my case.
An interesting thing is, when I hold the EN button on the DevKit and run the command above, the error changes from
Code: Select all
Error: JTAG scan chain interrogation failed: all ones
Code: Select all
Error: JTAG scan chain interrogation failed: all zeros
I get the exact same behavior no matter which debugger, JLink or ESP-Prog, I use. I'd be grateful if anyone has any advice.
Thanks.