Skip to content

[Espressif IDE/ESPC3] OpenOCD/GDB/debug suddently stop working (IEP-1115) #858

@ads17

Description

@ads17

Problem description

I am working with ESPC3 on Espressif IDE, with USB-builtin-jtag.
Originaly, I was using the v5.0.2 and there was no problem.
Sudently, debugging became really unreliable; the vast majority of trials concluded with the exact same result as "Starting OpenOCD timed out".
[Screenshot 1]

Nevertheless, when it succeed to start the debug session, either Espressif IDE freezes completely (2), either it doesn’t halt at "app_main" breakpoint and have erratic behaviour.
[Screenshot 2]

What seems to me the strangest, is that openocd is working as expected onto ESP-IDF powershell:
[Screenshot 3]

These are all the attempts I tried (without solving the problem..):

  1. Creating a new "template" project (i used the hello world example),
  2. Increase the GDB timeout through (set remotetimeout) on Debug configuration,
  3. Updating to Espressif v5.1.1 using the espressif-ide-setup-2.11.0-with-esp-idf-5.1.1.exe,

To reproduce

On espressif 5.1.1.

Expected behaviour

Espressif IDE shall be able to start a debug session.

Screenshot

  • Screenshot 1
  • Screenshot 2
  • Screenshot 3
  • Screenshot 4

Espressif-IDE Product Information

product_info.txt

Eclipse Error log

errors.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions