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.
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 ....
Target debugging via JTag in EspressifIDE (on Linux) creates 100% CPU load
-
- Posts: 199
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Target debugging via JTag in EspressifIDE (on Linux) creates 100% CPU load
Hello,
Could you check the memory settings for the Espressif-IDE? You can find them in the espressif-ide.ini file located within the Espressif-IDE folder.
Ensure that the following options are present in the -vmargs section.
Could you check the memory settings for the Espressif-IDE? You can find them in the espressif-ide.ini file located within the Espressif-IDE folder.
Ensure that the following options are present in the -vmargs section.
Code: Select all
-Xms512m
-Xmx2048m
Re: Target debugging via JTag in EspressifIDE (on Linux) creates 100% CPU load
Sorry for the late response ....
My settings are:
-startup
plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.1000.v20240506-2123
-vm
plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.12.v20240802-1518/jre/bin/java
-vmargs
-Xms4096m
-Xmx8192m
-Dosgi.requiredJavaVersion=17
-Dosgi.instance.area.default=@user.home/workspace
My settings are:
-startup
plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.1000.v20240506-2123
-vm
plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.12.v20240802-1518/jre/bin/java
-vmargs
-Xms4096m
-Xmx8192m
-Dosgi.requiredJavaVersion=17
-Dosgi.instance.area.default=@user.home/workspace
Re: Target debugging via JTag in EspressifIDE (on Linux) creates 100% CPU load
Changing the setting to your recomendation did not change the CPU load in any way ....
Any further ideas how to overcome this ??
Any further ideas how to overcome this ??
Who is online
Users browsing this forum: No registered users and 13 guests