This JTAG: https://www.amazon.com/FTDI-C232HM-DDHSL-0-Assembly-USB-MPSSE-Output/dp/B00HKK4SCO/ref=sr_1_1
When I do a Debug test the OpenOCD output shows no errors, but during “Connecting to stub”, VisualGDB fails with “Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host”
Relevant files attached.
FWIW I tried the OpenOCD v0.90 that comes with VisualGDB, and also upgraded to v0.10 to see if there’s any difference. No luck.
It looks like OpenOCD fails to read some of the internal ESP32 registers:
Error: Exception reading icountlevel!
It might be caused by wiring issues, incompatible script or broken hardware.
Generally, given how fragile the ESP32 setup is, we would advise starting with a board that is directly mentioned in our tutorials (e.g. ESP32-WROVER with a built-in JTAG), getting it to work and then moving on to the custom hardware.