I am trying to get JTAG debugging working on Eclipse. I did not see any replies to my update here viewtopic.php?f=40&t=22365 so I figured I'd try a fresh post.
Things are complicated by the fact I can't get console logging to work and I notice two errors flash for about a second so I made a video and extracted the following
Error: attempted 'gdb' connection rejected
Error: error during read: Bad file descriptor
As is part for the course, https://github.com/espressif/openocd-es ... leshooting
does not have any entries for either of these errors
** Total programming time 6814 ms **
** Resetting Target **
Info: JTAG tap: esp32c3.cpu tap/device found: 0x00005c25 (m
Info: [esp32c3] Reset cause (3) (Software core reset)
Started by GNU MCU Eclipse
Info: Listening on port 6666 for tcl connections
Info: Listening on port 4444 for telnet connections
Info: attempted 'gdb' connection on tcp/3333
Error: attempted 'gdb' connection rejected
Please refer to the troubleshooting guide below to identify t
https://github.com/espressif/openocd-es ... leshooting
Info: accepting 'telnet connection on tcp/4444
Error: error during read: Bad file descriptor
Please refer to the troubleshooting guide below to identify t
https://github.com/espressif/openocd-es ... leshooting
Info: dropped 'telnet' connection
Info accepting 'tcl' connection on tcp/6666
Info: dropped 'tcl' connection
Thanks
JTAG Debugging ESP32-C3 Wroom Eclipse
-
- Posts: 198
- Joined: Wed Jul 17, 2019 5:26 pm
Re: JTAG Debugging ESP32-C3 Wroom Eclipse
Hello,
Could you please ensure that the correct JTAG configuration file is being used while communicating with the board?
To ensure OpenOCD is working correctly, you can verify the following command from the terminal and report any issues you encounter in the log.
Could you please ensure that the correct JTAG configuration file is being used while communicating with the board?
To ensure OpenOCD is working correctly, you can verify the following command from the terminal and report any issues you encounter in the log.
Code: Select all
openocd -f board/esp32c3-builtin.cfg -c "program_esp myproject.bin 0x10000 verify exit"
Who is online
Users browsing this forum: No registered users and 30 guests