Surprizing ESP32 support

Sysprogs forums Forums VisualGDB Surprizing ESP32 support

This topic contains 7 replies, has 2 voices, and was last updated by  support 1 week, 3 days ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12883

    Kabron
    Participant
    1. After installing ESP32 toolchain 5.2.0/7/10/r1, I notice that update to 5.2.0/7/10/r7 is available, so I tryed to install it. Nothing changed after full update procedure.
    2. Inspecting Openocd folders I found out than there are no any mention about ESP32 chips. No required files are present and openocd itself(!!!) (c:\SysGCCr7\esp32\esp32-bsp\OpenOCD\) does not have ESP chips in supported devices list:
    3. Open On-Chip Debugger 0.9.0 (2017-05-09) Error: Unknown target type esp32, try one of arm7tdmi, arm9tdmi, arm920t, arm720t, arm966e, arm946e, arm926ejs, fa526, feroceon, dragonite, xscale, cortex_m, cortex_a, cortex_r4, arm11, ls1_sap, mips_m4k, avr, dsp563xx, dsp5680xx, testee, avr32_ap7k, hla_target, nds32_v2, nds32_v3, nds32_v3m, esp108, or1k, quark_x10xx, or quark_d20xx
    4. After that there is nothing surprising that any Test settings attempt in the Debug settings leads to Visual Studio Crash and Reboot.
    5. Along with this, in another debug tool, openocd-esp32 and xtensa-esp32-elf-gdb works fine from the command line.
    6. This is my n-th and I’m afraid the last attempt to use the product. The question is how such situation is it possible and what is required to make it works.
    • This topic was modified 1 week, 6 days ago by  Kabron.
    • This topic was modified 1 week, 6 days ago by  Kabron.
    • This topic was modified 1 week, 6 days ago by  Kabron.
    • This topic was modified 1 week, 6 days ago by  Kabron.
    #12894

    support
    Keymaster

    Hi,

    Wow, this looks like something in the installation/configuration gone horribly wrong. We have just re-tested a clean R7 toolchain install, but could not reproduce any crashes. The OpenOCD output also mentions a different build date:

    It looks like you might have accidentally started an incorrect version of OpenOCD (or accidentally copied it over the version in the R7 toolchain). Our best advice would be to delete the toolchain directory and try installing it again. Please also ensure you are using the latest VisualGDB 5.3R5 (early pre-release v5.3 builds are not compatible with the latest toolchains).

    #12920

    Kabron
    Participant

    Now I got in reply to Test and could not figure out:

    VisualGDB version: 5.3.15.1896
    —————— System.Exception ——————
    System.Exception: Stub exited before a gdb connection could be made
    at VisualGDB.Common_GUI.WPF.DebugMethodTestWindow.ThrowTestFailedException()
    at VisualGDB.Common_GUI.WPF.DebugMethodTestWindow.TestThreadBody()

    openocd launches fine from the command line.

    #12927

    support
    Keymaster

    Hi,

    Unfortunately it’s hard to provide any help without seeing the full context: OpenOCD output, screenshots of your settings, screenshot of your About window to show the current VisualGDB state. Please attach those and we will try to help you.

    #12941

    Kabron
    Participant

    Just did all symbol by symbol as described in getting started blink project.

    No output from the openocd except command line.

    #12944

    support
    Keymaster

    Hi,

    Please attach the screenshot of your About window and your debug settings so that we could check the VisualGDB state.

    #12952

    Kabron
    Participant

    I could not find the way to display About window. What should I do?

    Now I’m trying to continue on my home PC, but trial says expired, though 8 days must left.

    • This reply was modified 1 week, 3 days ago by  Kabron.
    #12961

    support
    Keymaster

    Hi,

    The About window would indeed not be shown if the trial had expired, and various other VisualGDB commands and components (e.g. responsible for launching OpenOCD) would not work either.

    We usually give a trial extension voucher to help our prospective customers resolve the issues that were not resolved during the normal trial period so that they could decide whether the product works for them. As you have activated the extension voucher on a different machine, it got flagged as redeemed and would not work the second time. If VisualGDB works without any problems on the other machine, most likely either some tools on your home computer are corrupt, or the problems are caused by the expired trial.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.