Cannot start the OPENOCD

dhananjay.sutariya
Posts: 41
Joined: Thu Feb 28, 2019 12:21 pm

Cannot start the OPENOCD

Postby dhananjay.sutariya » Fri Mar 01, 2019 7:17 am

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

ESP_Dazz
Posts: 308
Joined: Fri Jun 02, 2017 6:50 am

Re: Cannot start the OPENOCD

Postby ESP_Dazz » Fri Mar 01, 2019 7:49 am


dhananjay.sutariya
Posts: 41
Joined: Thu Feb 28, 2019 12:21 pm

Re: Cannot start the OPENOCD

Postby dhananjay.sutariya » Mon Mar 04, 2019 6:04 am

Yes, I have connected all the pins, except one TRST_n
Which i'm having trouble finding in my ft 2232d chip.

ESP_Sprite
Posts: 9729
Joined: Thu Nov 26, 2015 4:08 am

Re: Cannot start the OPENOCD

Postby ESP_Sprite » Mon Mar 04, 2019 7:18 am

Are you using the built-in JTAG of the wrover-kit, or are you trying to use an external JTAG interface device?

dhananjay.sutariya
Posts: 41
Joined: Thu Feb 28, 2019 12:21 pm

Re: Cannot start the OPENOCD

Postby dhananjay.sutariya » Mon Mar 04, 2019 7:34 am

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.

ESP_Sprite
Posts: 9729
Joined: Thu Nov 26, 2015 4:08 am

Re: Cannot start the OPENOCD

Postby ESP_Sprite » Mon Mar 04, 2019 3:22 pm

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?

Who is online

Users browsing this forum: No registered users and 116 guests