Problems with OpenOCD and ESP32 debug methods update

Sysprogs forums Forums VisualGDB Problems with OpenOCD and ESP32 debug methods update

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37198

    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?

    #37199
    support
    Keymaster

    Hi,

    Based on the other feedback we received, it looks like the latest ESP32 OpenOCD might not be compatible with the old ESP-IDF versions.

    You can easily revert to the older OpenOCD package as shown here: https://visualgdb.com/support/oldpackages/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.