VisualGDB + Segger + Espressif ESP32-C2

Sysprogs forums Forums VisualGDB VisualGDB + Segger + Espressif ESP32-C2

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37117
    julieninnovel
    Participant

    Hello,

    I would like to debug an Espressif ESP32-C2 (ESP8684-MINI-1-H2) using a J-Link probe and the official SEGGER tools (J-Link GDB Server, etc.), since SEGGER recently added support for Espressif RISC-V cores.
    However, in VisualGDB I can only select OpenOCD as the debug method for J-Link with Espressif-based projects.

    Is there any recommended configuration to use J-Link together with the official SEGGER software (without OpenOCD) for Espressif devices?
    Do you have plans to add a native “J-Link” debug method for ESP32-C2 / ESP8684 in future VisualGDB versions, or is OpenOCD the only supported option?

    Thanks in advance for your help.
    Best regards,

    Julien

    • This topic was modified 7 hours, 34 minutes ago by julieninnovel.
    #37123
    support
    Keymaster

    Hi,

    Based on our experience with the ESP32 devices, we would advise using the Espressif’s OpenOCD fork (or our fork of their fork that adds minor convenience features). You can try using the Segger software by patching %LOCALAPPDATA%\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.segger-dmsp\edp.xml (GNUTargetFilter) and opening VisualGDB Package Manager to reload the debug package list, but it may not work as expected.

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