fail to download openOCD

Sysprogs forums Forums VisualGDB fail to download openOCD

This topic contains 3 replies, has 2 voices, and was last updated by  support 1 year, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #32966


    I usually use a Segger J-Link with WinGDB and Visual studio and this works.

    But now I wanted to try a ST-Link V2. For that I tried to set up a VS-project. When I select “use St-Link” VisualGDB wants me to install openOCD but fails like:

    I know that I could in the past never download anything inside of  WinGDB, probably because of company security policy and probably missing lots of possible functionality because of that. Is there another way to download that openOCD and is there a description how to do that and where to install it and which version to use?





    Sure, you can download various packages manually here and install them via Tools->VisualGDB->Manage VisualGDB Packages.

    BTW, if your corporate network uses a proxy server and denies direct connections, you can configure VisualGDB accordingly via Tools->Options->VisualGDB->General->Other->Proxy Server.



    ok, downloaded

    after that I got an error in when setting up a project for ST-Link or OpenOCD like

    System.TypeLoadException: Der Typ “BSPEngine.ICustomDebugMethodConfigurator2” in der Assembly “BSPEngine, Version=, Culture=neutral, PublicKeyToken=8f764369eb712693” konnte nicht geladen werden.
    at OpenOCDPackage.OpenOCDDebugController.CreateConfigurator(LoadedDebugMethod method, IBSPConfiguratorHost host)
    at VisualGDB.Common_GUI.WPF.DebugMethodSettingsControl.Controller.BoundDebugMethod.ProvideConfiguratorOrThrow(IBSPConfiguratorHost host)
    at VisualGDB.Common_GUI.WPF.DebugMethodSettingsControl.Controller.UpdateSelectedConfigurator(Boolean suppressPropertyChangeHandlers, MethodOrDeviceItemBase value, MethodOrDeviceItemBase prevValue)

    Then I also downloaded stm32mp1-20200113-0.10.0.vgdbxedp
    When I try to install that with “Manage VisualGDB Packages/Install a package from file”, an error “Unknown package signature” with the details:
    VisualGDB version:
    —————— System.Exception ——————
    System.Exception: Unknown package file signature
    at an2.j(String f, String a, Boolean d, k b, jb c, y e)
    at an2.t(String a, a b, jb c)
    at an2.j1.b(jb a)
    at VisualGDB.Common_GUI.WPF.ItemizedProgressWindow.<>c__DisplayClass2_01.<RunAction>b__0()</em>
    <em> trace=[an2.j:984, an2.t:68, an2+j1.b:0, VisualGDB.Common_GUI.WPF.ItemizedProgressWindow+<>c__DisplayClass2_0

    pops up.

    What can be done?




    This happens because you are using the latest packages with an old version of VisualGDB. Please update to the latest VisualGDB 5.6 and it should work out-of-the-box.

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

You must be logged in to reply to this topic.