You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how well ESP32-P4 is supported, but I see that it does have script files and there are commits related to the chip actively being commited.
I'm using ESP-PROG connected to JTAG pins on the ESP32-P4.
Steps to reproduce:
I start openocd with openocd -d -f board/esp32p4-ftdi.cfg -c "init ; halt"
Then I run gdb with riscv32-esp-elf-gdb build/hello_world.elf and I try to connect to openocd with tar rem :3333 (and tar ext :3333).
I get Error: Failed to wait algorithm (-302)! from openocd and Remote communication error. Target disconnected: Connection reset by peer. from gdb
I have also tried with a manually built openocd from this repository.
Development Kit
ESP32-P4-Function-EV-Board
Module or chip used
ESP32-P4
Debug Adapter
ESP-PROG
OpenOCD version
v0.12.0-esp32-20240821
Operating System
Linux
Using an IDE ?
OpenOCD command line
openocd -f board/esp32p4-ftdi.cfg -c "init ; halt"
JTAG Clock Speed
default
ESP-IDF version
v5.3
Problem Description
I don't know how well ESP32-P4 is supported, but I see that it does have script files and there are commits related to the chip actively being commited.
I'm using ESP-PROG connected to JTAG pins on the ESP32-P4.
Steps to reproduce:
openocd -d -f board/esp32p4-ftdi.cfg -c "init ; halt"
riscv32-esp-elf-gdb build/hello_world.elf
and I try to connect to openocd withtar rem :3333
(andtar ext :3333
).Error: Failed to wait algorithm (-302)!
from openocd andRemote communication error. Target disconnected: Connection reset by peer.
from gdbI have also tried with a manually built openocd from this repository.
Debug Logs
openocd.log
Expected behavior
I would like to connect gdb to openocd and be able to debug the chip.
Screenshots
No response
The text was updated successfully, but these errors were encountered: