I am happy to see you are progressing!
Configuration files have changed with latest release of OpenOCD and "jtag_debugging_for_esp32_en.pdf v1.0" is not updated to reflect these changes.
Regarding the error log, it looks like communication speed or wiring problem:
Code: Select all
Info : Reduced speed from 20000 kHz to 15000 kHz (maximum).
Info : clock speed 20000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Basing on command to start OpenOCD I assume you are using an external JTAG adapter. In such case it is unlikely to achieve communication at 20 MHz.
If not done already I would reduce the speed several times (in range 10x - 100x depending on the cable length) by changing the following line in configuration:
If the issue persists then check the wiring.
If the wiring looks correct:
- post a photo of your set up,
- specify types of ESP32 board & JTAG interface used,
- provide a list how the pins of JTAG interface and ESP32 module are connected.