Target debugging via JTag in EspressifIDE (on Linux) creates 100% CPU load

walkabout
Posts: 1
Joined: Mon Nov 18, 2024 8:03 am

Target debugging via JTag in EspressifIDE (on Linux) creates 100% CPU load

Postby walkabout » Tue Nov 19, 2024 10:54 am

Hi all,

I got the Jtag debugging of an ESP32-WROOM-32 module running in the EspressifIDE 3.1 on a Linux system (Kubuntu 24.04LTS). Used a Turtelizer2 for JTag.
When I start the debugging inside EspressifIDE all works as expected, means I can flash the target, and debug like a local application. However, my CPU load is going up quite high. A check with top showed that there are 4 java thread running at full speed.
Screenshot_20241119_112000.png
Screenshot_20241119_112000.png (57.17 KiB) Viewed 277 times
When I run OpenOCD in a terminal and attach to that via the "Hardware Debuggin" in EspressifIDE things are working in the same way but the CPU utilization stays very low.
I would not mid using this way as my standard debuggin method so, however getting the connection between the gdb and OpenOCD running is a bit instable and need always several tries.
So this is also quite annoying ..

Has anyone experienced this issues before and got an idea how to overcome this??
Especially the debugging within the IDE would be the preferred way ....

Who is online

Users browsing this forum: No registered users and 30 guests