support

Forum Replies Created

Viewing 15 posts - 961 through 975 (of 7,857 total)
  • Author
    Posts
  • in reply to: Unit Test Without Hardware (MSBuild) #32615
    support
    Keymaster

    Hi,

    The only fully tested & supported way to do this would be to use the Embedded CMake project subsystem (see this tutorial). You might be able to get it working with MSBuild as shown below:

    1. Follow the CMake tutorial to get a reference test project that builds and runs without hardware.
    2. Create a regular Win32 MSBuild executable. Manually add the unit test framework to it via VisualGDB Project Properties. Adjust the project until it builds and runs as well, using #1 for reference.
    3. Follow the MSBuild Platform tutorial to merge the settings from #2 into your main project. For MSBuild projects, VisualGDB only cares about the currently selected platform/configuration, so if you manually copy all settings (including the references to .vgdbsettings files) between projects, it will copy the related behavior regardless of what is defined in other configurations/platforms.

    That said, this setup was never tested, and may trigger weird bugs. Proceed at your own risk only if you are comfortable patching MSBuild files and troubleshooting possible errors caused by it.

    support
    Keymaster

    Thanks for renewing your license.

    Normally, GDB would automatically search for libraries with symbols in its sysroot directory on the Windows machine (use the “show sysroot” command to find it out). However, you can override this behavior by issuing the set solib-search-path command via the GDB Session window, or adding it to VisualGDB Project Properties -> Additional GDB Commands.

    Note that the library on the Windows machine must match the library loaded on the target, otherwise gdb would use incorrect addresses for most symbols, resulting in unpredictable behavior.

    support
    Keymaster

    Sorry, our system still shows the old license expiration date. If you have placed a renewal order, please contact our sales with the order details.

    support
    Keymaster

    It looks like your technical support period has expired. We would be happy to help you, however we would kindly ask you to renew your technical support on the following page first: https://sysprogs.com/splm/mykey

    in reply to: Embedded Cmake Debug/Release Config #32589
    support
    Keymaster

    Hi,

    The Custom Build Steps page is available on VisualGDB Custom edition or higher. If you are using a lower edition, you can always upgrade your key here: https://sysprogs.com/splm/mykey

    in reply to: Using copy on command line in custom build step? #32588
    support
    Keymaster

    Hi,

    This happens because the copy command is not a separate executable, but is rather a built-in command of cmd.exe. Hence, you can launch it as follows:

    File name: cmd.exe
    Arguments: /c copy /b <…>

    in reply to: wchar_t watch display problems #32585
    support
    Keymaster

    Hi,

    It looks like a bug coming from the toolchain or gdb executable. You can double-check the gdb replies to VisualGDB’s commands in the GDB Session window or in the GDB log. If the error message is present there, the issue is coming from GDB and is not controlled by VisualGDB.

    If you wish, we can build a debug version of gdb, find the root cause of the issue, and patch it for you, however as it is not an issue of VisualGDB itself, it would be subject to our consulting rate.

    in reply to: STM32 USB CDC Example and Windows 10 #32584
    support
    Keymaster

    Hi,

    Thanks for pointing this out. The VisualGDB’s COM port sample is actually derived from the corresponding STM32 SDK sample (CDC_Standalone) for each device family.

    We have rechecked the original SDKs and it looks like ST has updated the class/subclass values for some devices in the latest SDK, while left the old values for others.

    We have updated our STM32 BSP generator to use the new values and confirmed that they work out-of-the-box on Windows 10 21H1. This fix will be included in the next release of the STM32 BSP, until then feel free to patch the files manually, or download the patched versions from our BSP generators repository (see this commit).

    in reply to: Keil Arm project conversion #32575
    support
    Keymaster

    Please note that VisualGDB is a productivity tool for software developers. It can make developers more productive by providing convenient GUI for common time-consuming tasks, and integrating various external tools into Visual Studio, so that they are always a few mouse clicks away.

    We are able to offer VisualGDB at affordable price, because we focus on developing and supporting functionality that works the same way for multiple users, hence the development and testing effort is reused between multiple license holders.

    We also receive a huge amount of inquiries asking to fix a specific broken project, help make the correct design choice, explain how a specific C++ feature works, or assist porting a library to a different platform. These inquiries require considerable effort to research and communicate the best solution. They do not scale between multiple users. I.e. helping one user solve this type of problem will not automatically help other users. It also does not help the same user avoid the same type of problem in the future. Hence, we are not able to address them within our regular support. If we included this type of help in our support, we would simply not have sufficient resources to provide it at the current license prices, or to allocate any resources to VisualGDB development.

    We are happy to offer project-specific help via our consulting service per Zoom, TeamViewer or any other screen sharing service of your choice at our consulting rate and are happy to solve any problems our users encounter. This includes a detailed follow-up email at the end of the session, that includes an overview of the used techniques and a summary of solved problems and future recommendations.

    Alternatively, please consider browsing our documentation and tutorials. Our documentation lists most VisualGDB settings, and the tutorials show how to use VisualGDB for in many real-world scenarios. Our technical support is limited to issues in VisualGDB itself, that can be reproduced from scratch per our problem reporting guidelines (i.e. do not depend on external projects that can potentially contain errors).

    in reply to: Watch vs Live Watch variable value mismatch #32568
    support
    Keymaster

    Thanks, we have received the ELF file, however we could not reproduce the problem on our side – the addresses are different:

    This could have been solved by a recent update to VisualGDB adding support to bitfields to Live Watch. Please feel free to update to VisualGDB 5.6r5 and let us know if the problem persists.

    Attachments:
    You must be logged in to view attached files.
    support
    Keymaster

    Hi,

    You can manage VisualGDB toolchains and other packages via Tools->VisualGDB->Manage VisualGDB Packages.

    in reply to: Failed to start GDB session #32565
    support
    Keymaster

    Hi,

    This looks like something coming from your system. All VisualKernel error messages are normally in English.

    You can also try checking View->Other Windows->VisualKernel Diagnostics Console for more context on the error (e.g. stack trace).

    in reply to: Watch vs Live Watch variable value mismatch #32556
    support
    Keymaster

    Hi,

    This looks like the ELF file you are debugging defines some variable attributes in an unexpected way, so VisualGDB fails to compute the proper addresses. If you could share the ELF file via our support form along with the correct addresses of the variables, we should be able to investigate this further.

    in reply to: DDF file import for MCU registers #32549
    support
    Keymaster

    Thanks for confirming it.  We have rechecked the IAR folder and it looks like this type of register definitions is only used with 3 specific and very niche devices (RZN1D, RZN1L, RZN1S). Hence, VisualGDB does not support importing it automatically.

    That said, the logic for converting SVD files into VisualGDB-specific register definitions is available here in our GitHub repository. Feel free to fork it and update it to parse the register definitions in the DDF format.

    If you wish, we can also do it on our side, however, as it is unlikely to cover any mainstream devices (and help most other users), it would be subject to our consulting rate. Feel free to reach out to our sales to get a precise quote.

    in reply to: Any timeline for ESP32 S3 support ? #32547
    support
    Keymaster

    Hi,

    We have just released an updated ESP32 toolchain based on the latest esp-2021r3-patch compilers and the recently released ESP-IDF v4.4.1. We have not specifically tested it with ESP32-S3 hardware, however, according to the Espressif’s changelog, it does appear to include a few fixes specifically for this device.

    You can download it via VisualGDB Package Manager, or directly here: https://gnutoolchains.com/esp32/

Viewing 15 posts - 961 through 975 (of 7,857 total)