espressif / idf-eclipse-plugin

Espressif-IDE (based on Eclipse CDT) for ESP-IDF CMake based projects 4.x and above
Eclipse Public License 2.0
302 stars 121 forks source link

[Eclipse 2024-03, idf-eclipse-plugin v3.0.0] Unable to debug ESP32-P4 (IEP-1316) #1039

Open GTCLive opened 1 month ago

GTCLive commented 1 month ago

Operating System: linux Java Runtime Version: 17.0.12+7 Eclipse Version: 4.31.100.v20240229-0520 Eclipse CDT Version: 11.5.0.202312062348 IDF Eclipse Plugin Version: 3.0.0.202406051940 ESP-IDF v5.4-dev-2472-gc9df77efbf

Hi guys. Upgraded to 2024-03 to give the new LSP Editor implementation a shot and I think it's a great improvement. Awesome work from Team Espressif once again!

However, I am having difficulties with a ESP32-P4NRW32 silicon though. Incapable to debug with the default settings. Not entirely sure if I'm doing anything wrong or something I should bring to your attention (bug?). Regardless, I'm putting this here for review. Let me know if you need any screengrabs or logs.

P4-debug

P4-debug2

erhankur commented 1 week ago

@GTCLive Can you disable the Watchdogs (Interrupt and Task Wdts) from the menuconfig and try again?

GTCLive commented 1 week ago

Screenshot_2024-09-19_12-29-07

Screenshot_2024-09-19_12-28-50

@erhankur Oh wow. It's Alive!! You're right, thanks so much for the heads up and workaround. Screengrabs for others shall any confusion about disabling the WDs arise. Works greats at my end.

Note: compiled against the latest esp-14.2.0_20240906 toolchain. Master branch 5.4. Fwiw.