I updated OpenOCD and ESP32 debug method and now I can’t debug my board anymore.
Now I have OpenOCD 202600302-0.12.0 and ESP32 debug methods 20260318
I’m using an ESP32 WROVER E 8M8R with IDF 5.4 and ESP32Decvkit.
Debug test is OK…I succeed in downloading but when the debugger start I encounter some errors in cpu,c file
For example here:
void esp_cpu_wait_for_intr(void)
{
#if __XTENSA__
xt_utils_wait_for_intr();
#else
if (esp_cpu_dbgr_is_attached() && cpu_utility_ll_wait_mode() == 0) {
/* when SYSTEM_CPU_WAIT_MODE_FORCE_ON is disabled in WFI mode SBA access to memory does not work for debugger,
so do not enter that mode when debugger is connected */
return;
}
rv_utils_wait_for_intr();
#endif // __XTENSA__
}
con l’errore che la funzione cpu_utility_ll_wait_mode Is undeclared.
Why now the dubber doesn’r recognize __XTENSA__ definition?