when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Hi,
I want to use ESP-WROVER-KIT to do JTAG debugging for ESP32,when I OpenOCD,run the command"xtensa-esp32-elf-gdb -ex 'target remote localhost:3333' ./build/app-template.elf",always getting the wrong mesagge"localhost:3333: Connection timed out."
What am I missing ? Maybe some access right ?
thanks for your help,
regards,
Alisa
I want to use ESP-WROVER-KIT to do JTAG debugging for ESP32,when I OpenOCD,run the command"xtensa-esp32-elf-gdb -ex 'target remote localhost:3333' ./build/app-template.elf",always getting the wrong mesagge"localhost:3333: Connection timed out."
What am I missing ? Maybe some access right ?
thanks for your help,
regards,
Alisa
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Are you sure the OpenOCD process is running when you run the gdb command? Can you copy/paste the output of openocd here?
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Hi dear,
You are right,the OpenOCD process is not running,I run the OpenOCD commend"./src/openocd -s ./tcl -f ./esp.cfg" again,it show"Remote debugging using localhost:3333",but it may be has another question as below:
Remote debugging using localhost:3333
Ignoring packet error,continuing...
warning:unrecognized item "time out" in "qSupported" response
Ignoring packet error,continuing...
Ignoring packet error,continuing...
Bogus trace status reply from target:timeout
(gdb)
By the way,when I run the "./src/openocd -s ./tcl -f ./esp.cfg",the printing run all the time,It can't been halted even I press the reset button on the ESP-WROVER-KIT borad.
You are right,the OpenOCD process is not running,I run the OpenOCD commend"./src/openocd -s ./tcl -f ./esp.cfg" again,it show"Remote debugging using localhost:3333",but it may be has another question as below:
Remote debugging using localhost:3333
Ignoring packet error,continuing...
warning:unrecognized item "time out" in "qSupported" response
Ignoring packet error,continuing...
Ignoring packet error,continuing...
Bogus trace status reply from target:timeout
(gdb)
By the way,when I run the "./src/openocd -s ./tcl -f ./esp.cfg",the printing run all the time,It can't been halted even I press the reset button on the ESP-WROVER-KIT borad.
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Hi dear,
After yesterday debugging,I get this wrong message as below:
Remote debugging using localhost:3333
0x00000000 in ?? ()
(gdb) b app_main
Breakpoint 1 at 0x401085f4:file app_main.c,line 35
(gdb)c
Continuing.
Warning:
Cannot insert breakpoint1.
Cannot access memory at address 0x401085f4
Is there something wrong for my operation ?
thanks for your help,
regards,
Alisa
After yesterday debugging,I get this wrong message as below:
Remote debugging using localhost:3333
0x00000000 in ?? ()
(gdb) b app_main
Breakpoint 1 at 0x401085f4:file app_main.c,line 35
(gdb)c
Continuing.
Warning:
Cannot insert breakpoint1.
Cannot access memory at address 0x401085f4
Is there something wrong for my operation ?
thanks for your help,
regards,
Alisa
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Can you post the output of OpenOCD here? It almost seems like something else is listening on port 3333 on your machine...
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Hi dear,
The output of OpenOCD as attachment,pls help to review,thanks~
The output of OpenOCD as attachment,pls help to review,thanks~
- Attachments
-
- output of OpenOCD.doc
- (72 KiB) Downloaded 816 times
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Hum. All I can see (and say) is that there's something going terribly wrong with the communication between the JTAG chip and the ESP32. Can you post a picture of the kit so I can see which jumpers are installed?
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Hi,
I have increased the base resistor on Q1 & Q2 - i think it was 10k i putted on...
/Rapzak
I have increased the base resistor on Q1 & Q2 - i think it was 10k i putted on...
/Rapzak
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Hi dear,
Pls review the esp-wrover-kit connection as attchment. To enable the JTAG function, I use shorting jumpers on JP8 (JTAG) for TMS、TDO、TDI、TCK、GND.
By the way,the GPIO12、GPIO13、GPIO14、GPIO15 can be reused?I may be use these GPIO to connect Camera.
Pls review the esp-wrover-kit connection as attchment. To enable the JTAG function, I use shorting jumpers on JP8 (JTAG) for TMS、TDO、TDI、TCK、GND.
By the way,the GPIO12、GPIO13、GPIO14、GPIO15 can be reused?I may be use these GPIO to connect Camera.
- Attachments
-
- ESP-WROVER-KIT.jpg (3.46 MiB) Viewed 16318 times
-
- Posts: 9769
- Joined: Thu Nov 26, 2015 4:08 am
Re: when use ESP-WROVER-KIT,always getting the message"Localhost:3333:Connection timed out."
Are you using GPIO12/13/14/15 right now? Because if that is the case, that is the reason your JTAG does not work: re-using the pins for different purposes is possible, but it will kill JTAG connectivity in weird and interesting ways and may lead to what you've seen.
Who is online
Users browsing this forum: Google [Bot] and 97 guests