Page 1 of 1

Cannot start the OPENOCD

Posted: Fri Mar 01, 2019 7:17 am
by dhananjay.sutariya
Hi,
Having problems with the below mentioned script.

bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg


Here's my error
bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg

Open On-Chip Debugger 0.10.0-dev (2019-02-12-02:50)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
Info : Configured 2 cores
esp32 interrupt mask on
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 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
Error: couldn't bind gdb to socket: Address already in use

Re: Cannot start the OPENOCD

Posted: Fri Mar 01, 2019 7:49 am
by ESP_Dazz

Re: Cannot start the OPENOCD

Posted: Mon Mar 04, 2019 6:04 am
by dhananjay.sutariya
Yes, I have connected all the pins, except one TRST_n
Which i'm having trouble finding in my ft 2232d chip.

Re: Cannot start the OPENOCD

Posted: Mon Mar 04, 2019 7:18 am
by ESP_Sprite
Are you using the built-in JTAG of the wrover-kit, or are you trying to use an external JTAG interface device?

Re: Cannot start the OPENOCD

Posted: Mon Mar 04, 2019 7:34 am
by dhananjay.sutariya
I'm using esp32 's internal Jtag pins 12-13-14-15 to interface with a ft2232d module which is the one powering my esp32 as well as connected with my system for debugging.

Re: Cannot start the OPENOCD

Posted: Mon Mar 04, 2019 3:22 pm
by ESP_Sprite
In that case, you need to *disconnect* all JP8 jumpers, otherwise your external JTAG pod interferes with the internal one. Is there a reason you don't just use the internal FT2232H, by the way?