support

Forum Replies Created

Viewing 15 posts - 4,171 through 4,185 (of 7,857 total)
  • Author
    Posts
  • in reply to: VisualGDB doesn't connect to target STM32F4 #21295
    support
    Keymaster

    Hi,

    Good to know it works with the older OpenOCD version.

    Based on the debug output you provided, it looks like the issue is somewhere between the libusb library and your USB controller driver. Unfortunately this appears to be specific to either your USB controller, or some additional software installed on your machine, so it’s hard for us to narrow this down. That said, we regularly release new OpenOCD packages based on the latest sources, so if this issue gets fixed by the OpenOCD/libusb maintainers, our builds will automatically pick up the fix.

    If you would like to use the latest OpenOCD, our best advice would be to try checking if you have any USB-related software installed (e.g. USB-over-network) and try uninstalling it. You could try running this setup on a different machine to confirm that it’s specific to the USB driver and not to that specific ST-Link instance.

    support
    Keymaster

    Hi,

    It looks like the command-line mode might be leaving ST-Link in a state where it doesn’t respond to regular commands. A short-term workaround would be to simply plug it out and back in.

    Long-term, please let us know how to reproduce it. Are you simply using VisualGDB.exe /runtests, or some other way to run the tests?

    in reply to: NRF52 migration from gcc #21292
    support
    Keymaster

    Hi,

    One of the ways to migrate the code would be to create a new project and then add existing sources (either one-by-one, or via Add->Import Directory Recursive command provided by the Custom edition).

    Another option would be to select “Import Existing Project” in the VisualGDB Project Wizard. It will let you pick a folder with your source files and will add them to the created project.

    in reply to: Disable tests in tiny embedded framework #21291
    support
    Keymaster

    Hi,

    The TinyEmbeddedTest framework is intended to be used with the barebone devices that don’t have a concept of command line (unless you are using semihosting anyway), so it doesn’t support any command-line switches. Instead you can use the Visual Studio GUI to select which of the tests to run.

    If you are running tests via the VisualGDB.exe /runtests command line, we could add an option to run specific tests only there as well.

    in reply to: Download Location for Compiler Installation #21290
    support
    Keymaster

    Hi,

    We could easily add a registry setting that would override the temporary directory for downloaded files. Would that work for you?

    in reply to: VisualGDB & GoogleTestFramework in Commandline #21284
    support
    Keymaster

    Hi,

    Normally VisualGDB should display a manual activation window if there is no Internet connection. If you don’t have Visual Studio installed on the build machine, please try running VisualGDB.exe /about to open the “About VisualGDB” window and enter the license key there.

    support
    Keymaster

    Hi,

    VisualGDB internally uses a lightly patched version of libssh2 to handle the SSH connections, so the “handshaking” delay must come from inside this library. Unfortunately investigating this on our side and optimizing the library is beyond what we could offer with our regular VisualGDB support, however if you managed to narrow this down to a specific change to libssh2 and send us a merge request, we would be able to integrate it into VisualGDB.

    in reply to: OpenOCD Open Failed #21278
    support
    Keymaster

    Hi,

    Please refer to the following page for instructions on troubleshooting this: https://visualgdb.com/support/nodevice

    in reply to: Hardware registers view #21276
    support
    Keymaster

    Hi,

    Thanks, looks like our bug. We have fixed it and released an updated STM32 BSP. Please update it via Tools->VisualGDB->Manage VisualGDB Packages.

    in reply to: VisualGDB doesn't connect to target STM32F4 #21275
    support
    Keymaster

    Hi,

    The license key should not be related to this – the problem you are encountering occurs between OpenOCD and ST-Link and the license key only affects VisualGDB.

    Most likely the connection fails due to one of the following reasons:

    • The ST-Link itself got damaged. This can be checked by trying to connect to it via the ST-Link utility (also updating firmware to the latest version might help).
    • The drivers for the ST-Link got corrupted. Uninstalling the driver and reinstalling the regular ST-Link driver from ST might help.
    • Some USB virtualization/forwarding software is interfering with ST-Link. Disabling any software of this type might help.
    in reply to: Disable Frameworks for CI builds #21274
    support
    Keymaster

    Hi,

    If the framework changes, VisualGDB won’t replace the entire file list overriding your changes. Instead it will add the new sources to the project, keeping the “does not build” flag for the old ones.

    If the new source files only contain functions/methods used by the old ones, the linker will automatically eliminate them (as long as other files are excluded), so you won’t need to update this manually.

    Long term, we will solve this by fully supporting the Advanced CMake Project Subsystem for embedded projects – the frameworks will be converted to separate CMake targets and you will be able to fine-tune the references by editing the CMake files, although this will be added after the upcoming v5.4.

    in reply to: Download Location for Compiler Installation #21273
    support
    Keymaster

    Hi,

    Unfortunately the download location is fixed, however you could simply download the installer manually from gnutoolchains.com and install it to any location of your choice. Once the installation completes, VisualGDB will be able to find the toolchain.

    in reply to: Raspberry wiringPi.h problem #21272
    support
    Keymaster

    Hi,

    Good to know it works. If you encounter any further problems, feel free to get back to us.

    in reply to: Disable Frameworks for CI builds #21259
    support
    Keymaster

    Hi,

    This is a known limitation. Referencing a framework automatically adds its source files to a project, that affects all configurations. Hence all framework-related settings are shared between the configurations.

    If you are using MSBuild, the easiest workaround would be to mark the framework files as “does not participate in build” for the release configuration. This will prevent VisualGDB from building them (adding/removing frameworks won’t override this as long as the files are physically present).

    support
    Keymaster

    Hi,

    Please try selecting the default “Shown on the Windows computer via XMing” option and then specify the DISPLAY variable manually (note the caps) via the “Additional Environment” field above.

Viewing 15 posts - 4,171 through 4,185 (of 7,857 total)