Still having not joy getting the debugging going. The set up is
FT232R (0403:6001) and a ESP-WROOM-32 with (10c4:ea60 Silicon Labs CP210x UART Bridge)
I am using ubuntu 21.04 and openocd v0.10.0-esp32-20210401
Openocd Command I am running is
./openocd -f ../share/openocd/scripts/interface/ft232r.cfg -f ../share/openocd/scripts/board/esp-wroom-32.cfg
GDB is
xtensa-esp32-elf-gdb -x gdbinit build/hello-world.elf
openocd output
-------------------
WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release.
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 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
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Warn : No symbols for FreeRTOS!
Error: Target not examined yet
Error executing event gdb-attach on target esp32.cpu0:
Info : New GDB Connection: 1, Target esp32.cpu0, state: running
Error: Failed to find HALTED core!
Error: Target not examined yet
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
Info : esp32.cpu0: Debug controller was reset.
Info : esp32.cpu0: Core was reset.
Error: Couldn't halt target before SoC reset
Error: Target not examined yet
Error: Target not examined yet
Error: Target not examined yet
gdb output
-------------
GNU gdb (crosstool-NG esp-2020r3) 8.1.0.20180627-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-build_pc-linux-gnu --target=xtensa-esp32-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<
http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<
http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build/hello-world.elf...done.
0x00000000 in ?? ()
JTAG scan chain interrogation failed: all ones
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
esp32.cpu0: IR capture error; saw 0x1f not 0x01
Bypassing JTAG setup events due to errors
esp32.cpu0: Debug controller was reset.
esp32.cpu0: Core was reset.
Couldn't halt target before SoC reset
Hardware assisted breakpoint 1 at 0x400d2be4: file ../main/hello_world_main.c, line 17.
Target not examined yet
I have tested the connection to the FT232R separately by running it on the PI with console loigin and on the ESP32 with the echo example.
I am currently running the hello_world example but with no joy. I am a novice so please ask if it is plugged in. I want help to don't mind sill questions.