support

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 7,890 total)
  • Author
    Posts
  • in reply to: How can I update my HAL version #37082
    support
    Keymaster

    No worries. BTW, the other STM32 packages passed the remaining tests and have been released as well.

    We also caught a glitch in the CMake logic of v6.1 that would interfere with the default FreeRTOS port selection. It has been fixed in this build: VisualGDB-6.1.101.5501.msi

    in reply to: How can I update my HAL version #37080
    support
    Keymaster

    No problem and thanks for your patience.

    We have just released an updated BSP for STM32H7RS. You can install it via the VisualGDB Package Manager as usual. We would also recommend updating to this VisualGDB build: VisualGDB-6.1.101.5500.msi. It’s the release candidate for v6.1 that has been tested with the new BSPs.

    We also released updated ARM toolchain (GCC 15.2) and updated OpenOCD (regular + ST fork). Packages for the other STM32 families will be released tomorrow, after they pass the final test run.

    in reply to: Embedded Memory Explorer Name Demangling Fails #37077
    support
    Keymaster

    No problem. In our experience the GNU demangler is a few GCC releases behind the GCC itself. So, there’s a good chance that it will work better with GCC 16.0 or 17.0. You can try checking c++filt whenever a new GCC release comes out, and if it works better, we can easily rebuild our demangler using the same gcc version.

    in reply to: How can I update my HAL version #37076
    support
    Keymaster

    Hi,

    Sorry for the delay. There is no automatic way to update the project to an arbitrary GitHub version of the HAL. You can convert the project to a fully-custom one, and manually replace the relevant files, but it is not guaranteed to work and may require some manual adjustments.

    Automatic one-click updates work for the HAL versions that have been tested by us and released as BSP packages. We are working on a major update to the STM32 BSP system that separates the BSPs for different device families (e.g. STM32H7 vs F4), resolving many glitches caused by slightly different versions of FreeRTOS, AzureRTOS, etc. between the device families. We were originally expecting to release the update yesterday, but there are still a few glitches left to fix on our side. Unless we discover anything completely unexpected, the BSPs should be ready to download in the next couple of days.

    in reply to: Copy project won’t build #37074
    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 Memory Explorer Name Demangling Fails #37070
    support
    Keymaster

    No problem. Could you please check whether it works with the c++filt.exe executable from our latest MinGW toolchain?

    If not, does it work with any other c++filt version?

    support
    Keymaster

    Hi,

    Normally, the quick info mode should not affect reparse times. We have just rechecked it as follows:

    1. Created a new project from scratch (Embedded STM32, Advanced CMake)
    2. Enabled Clang IntelliSense Diagnostics Console
    3. Tried adding one empty line at a time to the main source file, observing the diagnostics console for reparse messages (Starting operation: Parse)
    4. Triggered a Quick Info popup and switched it to References
    5. Closed the popup and tried adding empty lines again

    In both cases, the file is reparsed whenever you make a large enough break between adding new lines (or when you explicitly save the file). To be more precise, VisualGDB keeps a track on how long it took to parse the file last time, so it waits until there are no edits to the file for 5x the last parse time before it triggers another parse. It should not be related to Quick Info, but can appear inconsistent if the parse time varies between iterations.

    Either way, you can fully tweak this behavior via Tools->Options->Text Editor->C/C++ (VisualGDB) -> Adaptive Reparse. E.g. set the additional delay, or the minimum reparse interval.

    in reply to: Embedded Memory Explorer Name Demangling Fails #37060
    support
    Keymaster

    OK, we have rebuilt the demangler DLL based on GCC 15.2, and also updated our MinGW toolchains based on that version.

    Feel free to try this build: VisualGDB-6.1.101.5494.msi

    in reply to: rpi64 trixie toolchain? #37058
    support
    Keymaster

    Hi,

    OK, we got through the backlog and released the updated versions of both the 32-bit and the 64-bit toolchains.

    in reply to: New Device Support #37056
    support
    Keymaster

    Hi,

    Based on what we see, your support has expired. We are currently working on several other updates requested by paid users, and do not have a timeline for STM32N6.

    Please consider renewing your license if you would like to get a time estimate.

    in reply to: Embedded Memory Explorer Name Demangling Fails #37049
    support
    Keymaster

    Hi,

    No problem, the demangler is already a separate DLL with a very simple interface (demangle.dll/demangle64.dll).

    #include <cxxabi.h>
    #include <stdlib.h>
    
    extern "C" char *__declspec(dllexport) DemangleCXXName2(const char *pName)
    {
    int status = -1;
    return abi::__cxa_demangle(pName, 0, 0, &status);
    }
    
    extern "C" void __declspec(dllexport) FreeDemangledCXXName(char *pName)
    {
    free(pName);
    }

    You can build with MinGW using the following command line:

    g++.exe demangle.cpp -o demangle.dll -shared -static-libgcc -static-libstdc++

    We will update the version shipped with VisualGDB based on the latest MinGW toolchain in the final v6.1 release.

    in reply to: Super Disappointed #37036
    support
    Keymaster

    Hi,

    Sorry for your disappointment. We do not have a toolchain for Trixie yet, hence the warning about lsb_release. You can try downgrading to the Bookworm SD card image (the compatible versions are listed here), building the code directly on Raspberry Pi, or using WSL with the Raspberry Pi’s own toolchain (if they provide one).

    We have never encountered ld getting stuck forever on a hello world project. That said, if you ignored the lsb_release warning and resynchronized the toolchain’s sysroot, you would end up with a combination of tools and libraries that was never meant to work together, and that could result in completely unpredictable behavior.

    If you are not sure, please try completely deleting the toolchain, and starting from a clean SD card image (make sure it matches the toolchain).

    support
    Keymaster

    Hi,

    VisualGDB’s CMake framework uses regular CMake commands. You can find a detailed reference of them here: https://cmake.org/cmake/help/latest/manual/cmake-commands.7.html.

    That said, we had to handle a lot of corner cases to make sure everything works out-of-the-box, so if you would like to have your own parallel system, you will likely have to do a lot of research and troubleshooting.

    support
    Keymaster

    Hi,

    VisualGDB uses the regular CMake for its projects. You can actually find the sources for the functions like add_bsp_based_library() in %VISUALGDB_DIR%\CMake\embedded.

    The motivation behind using the add_bsp_based_executable() was to allow having multiple BSPs per project. A BSP defines compiler flags, include directories, etc., and every executable/library that uses that particular BSP automatically receives these flags.

    If you absolutely want to override this mechanism and have your own global flags, you can easily add your own CMake functions either to the project’s CMake files, or to some shared files imported from the projects. E.g. you can see how add_bsp_based_executable() loads the BSP’s CFLAGS, and implement something similar.

    in reply to: Attach to process #37025
    support
    Keymaster

    Hi,

    There are 2 ways to attach to a process from VisualGDB:

    1. Using the regular Debug->Attach command in Visual Studio. We have a tutorial here demonstrating how to do it.
    2. You can also configure the project to automatically attach to an existing process instead of launching a new one via VisualGDB Project Properties -> Debug Settings. This way, you can retain other project-specific settings like path mappings, or additional GDB commands.
Viewing 15 posts - 1 through 15 (of 7,890 total)