Espressif IDE

ihouses
Posts: 23
Joined: Sun Jul 09, 2017 1:41 pm

Espressif IDE

Postby ihouses » Tue Sep 30, 2025 2:00 pm

Hello,

I have installed the expressive IDE:

Version: 3.6.0
Build id: 20250725-0706

I am trying to program a ESP32C3 mini board. So I connect the Mac to the USB type connector.

I just do a demo program like that:

void app_main(void)
{
esp_log_level_set(TAG, ESP_LOG_INFO);

for(;;)
{
vTaskDelay(1000);
}
}

I can compile and upload the code and I get this output at the debug console:

Please enable CONFIG_ESP_SYSTEM_USE_FRAME_POINTER option to have a full backtrace.
E (15453) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (15453) task_wdt: - CPU 0 (CPU 0)
E (15453) task_wdt: Tasks currently running:
E (15453) task_wdt: CPU 0: IDLE
E (15453) task_wdt: Print CPU 0 (current core) registers
Core 0 register dump:
MEPC : 0x40385a48 RA : 0x40385a4c SP : 0x3fc8f7f0 GP : 0x3fc8c200
--- 0x40385a48: prvIdleTask at /Users/domitech/esp_idf/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel-SMP/tasks.c:5786
--- 0x40385a4c: prvIdleTask at /Users/domitech/esp_idf/esp-idf-v5.5.1/components/freertos/FreeRTOS-Kernel-SMP/tasks.c:5782
TP : 0x3fc8f830 T0 : 0x00000000 T1 : 0x00000000 T2 : 0x00000000
S0/FP : 0x00000000 S1 : 0x00000000 A0 : 0x00000000 A1 : 0x00000000
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00000000
A6 : 0x00000000 A7 : 0x00000000 S2 : 0x00000000 S3 : 0x00000000
S4 : 0x00000000 S5 : 0x00000000 S6 : 0x00000000 S7 : 0x00000000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x00000000 T4 : 0x00000000 T5 : 0x00000000 T6 : 0x00000000
MSTATUS : 0x00001889 MTVEC : 0x40380001 MCAUSE : 0xdeadc0de MTVAL : 0xdeadc0de
--- 0x40380001: _vector_table at /Users/domitech/esp_idf/esp-idf-v5.5.1/components/riscv/vectors_intc.S:54


If I click debug I get the following error:

Error with command: gdb --version
Cannot run program "gdb": Unknown reason

In my IDE the build icon (the hammer) is gray.... no idea why.

If I try to update the IDE I get the following error:

Cannot complete the install because one or more required items could not be found.
Software being installed: C/C++ CMake Build Support - Preview 12.2.0.202506091931 (org.eclipse.cdt.cmake.feature.group 12.2.0.202506091931)
Missing requirement: CDT CMake Core 2.0.100.202505200054 (org.eclipse.cdt.cmake.core 2.0.100.202505200054) requires 'osgi.bundle; org.eclipse.core.resources [3.22.200,4.0.0)' but it could not be found
Cannot satisfy dependency:
From: C/C++ CMake Build Support - Preview 12.2.0.202506091931 (org.eclipse.cdt.cmake.feature.group 12.2.0.202506091931)
To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.cmake.core [2.0.100.202505200054,2.0.100.202505200054]


I don't know... I just want to connect my Esp32C3 mini board and flash some code but nothing works. What am I doing wrong?

BTW: The code that I am using is created initially from a project example: UART_events that I have been cutting to be just a wait loop.

Also in order to be able to flash I had to change the run configuration and select flash over UART.
Thanks,

kondalkolipaka
Espressif staff
Espressif staff
Posts: 269
Joined: Wed Jul 17, 2019 5:26 pm

Re: Espressif IDE

Postby kondalkolipaka » Wed Oct 01, 2025 7:29 am

Hello,

Please share the error log so we can check what’s causing this issue.

From the error, it seems that the GDB client is not auto-configured for some reason.
Kindly verify the following setting in the Debugging Editor Configuraiton dialog
In the GDB Client setup group, - look for actual executable by clicking on the "eye" icon and see if that shows the correct path
Screenshot 2025-10-01 at 12.54.01 PM.png
Screenshot 2025-10-01 at 12.54.01 PM.png (995.08 KiB) Viewed 8489 times

kondalkolipaka
Espressif staff
Espressif staff
Posts: 269
Joined: Wed Jul 17, 2019 5:26 pm

Re: Espressif IDE

Postby kondalkolipaka » Wed Oct 01, 2025 7:31 am

For checking the error log, please see https://docs.espressif.com/projects/esp ... #error-log

ihouses
Posts: 23
Joined: Sun Jul 09, 2017 1:41 pm

Re: Espressif IDE

Postby ihouses » Fri Oct 03, 2025 7:43 pm

Hi,

The debug executable path looks ok to me:
/Users/domitech/.espressif/tools/openocd-esp32/v0.12.0-esp32-20250707/openocd-esp32/bin/openocd

The error log is the following:
Attachments
error_log.log
(354.3 KiB) Downloaded 63 times
Screenshot 2025-10-03 at 21.37.11.png
Screenshot 2025-10-03 at 21.37.11.png (216.23 KiB) Viewed 8470 times

Who is online

Users browsing this forum: Bing [Bot] and 1 guest