support

Forum Replies Created

Viewing 15 posts - 1,396 through 1,410 (of 7,880 total)
  • Author
    Posts
  • in reply to: Cannot get embedded profiler working #31054
    support
    Keymaster

    Hi,

    Sorry, this is by design. Instrumenting the image for profiling indeed changes its contents based on the exact instrumentation settings selected for a particular debugging session. As a workaround, please consider modifying the bootloader to temporarily suspend CRC checks during debug sessions (you can check whether a debugger is attached to an ARM chip via the debug module registers – see the your device documentation for more details).

    in reply to: Openocd 0.11 fails to program/debug STM32 #31043
    support
    Keymaster

    No problem. Please feel free to run OpenOCD with gdb manually. If you can confirm that the debugging works outside VisualGDB, but doesn’t work with VisualGDB, we can definitely fix it.

    Regarding the tests, we indeed run a few very basic tests on a few devices before releasing each OpenOCD package, but it doesn’t include programming FLASH memory on STM32L4.

    In general, we provide the package mechanism so that our users would not need to locate the relevant code and build if from scratch. They are built automatically on our side with a few very basic tests, and are provided free of charge. Unfortunately, it not viable to extend our technical support to a huge code base maintained by thousands of external developers without directly charging for the time needed to investigate and fix these issues.

    As mentioned before, please consider using VisualGDB with the J-Link software. It is maintained and tested by Segger and generally works more reliable than free OpenOCD.

    in reply to: Intellisense issue in VisualGDB-5.6-beta4 #31041
    support
    Keymaster

    Thanks, we have reproduced the issue and fixed it in the following build: VisualGDB-5.6.5.4257.msi

    support
    Keymaster

    Hi,

    Please make sure you also follow the step 8e of the tutorial. It shows how to fix this exact issue.

    As another alternative, please consider updating to VisualGDB 5.6 Beta 4. It uses the new path syntax by default and doesn’t require adjusting it manually.

    in reply to: STM32 Header and C HAL files multiple definitions #31039
    support
    Keymaster

    Hi,

    Please refer to the following page for an overview of the typical structure of STM32 projects, and their main components: https://visualgdb.com/documentation/embedded/stm32/

    in reply to: rtos primitives created inside a classes #31032
    support
    Keymaster

    Hi,

    This is by design. FreeRTOS does not always keep a global list of all synchronization primitives, so VisualGDB obtains it by looking through all global variables.

    If you would like VisualGDB to automatically locate a queue or another similar primitive, please consider declaring a global handle variable and assigning it with a copy of your object.

    You can also try extending the primitive location logic by extending our open-source FreeRTOS plugin, however this is something to do at your own risk.

    in reply to: Installing ST-Link drivers on Discovery Board #31031
    support
    Keymaster

    Hi,

    This looks like an issue specific to a particular ST board and not to VisualGDB. Please feel free to post it on the ST forum to see if anyone else has encountered it.

    in reply to: VS2022 Preview 2 Issues #31025
    support
    Keymaster

    Hi,

    VS2022 Preview 2 indeed changed the MSBuild platforms location from:

    C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v160\Platforms

    to

    C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Platforms

    You can fix the issue either by manually moving the VisualGDB platform from the old location to the new one, or by installing the following build: VisualGDB-5.6.5.4247.msi

    in reply to: VisualGDB Build Window steals focus #31020
    support
    Keymaster

    Hi,

    No problem. Please try setting the Tools->Options->VisualGDB->Advanced Build->Build Results Window Stickiness option to 0.

    You can find more about various VisualGDB settings, including a searchable list of them on this page.

    in reply to: Openocd 0.11 fails to program/debug STM32 #31019
    support
    Keymaster

    Hi,

    OpenOCD support for specific devices is usually contributed by the device vendors or someone from the OpenOCD community. We periodically release builds based on the latest OpenOCD source, however we do not maintain device-specific parts of it.

    The OpenOCD code base is evolving very fast, so there is a high chance the issue is already fixed in the latest OpenOCD build released today. Please try installing it via VisualGDB Package Manager.

    Alternatively, please consider using Segger J-Link with the J-Link software. The J-Link software is a proprietary replacement to OpenOCD that is maintained and tested by Segger, and it usually works more reliably than open-source tools. VisualGDB is integrated with both tools equally well, so you can chose the best one for your setup based on your requirements.

    in reply to: CMake project loading error #31016
    support
    Keymaster

    Thanks for letting us know and good to know it works.

    support
    Keymaster

    Hi,

    This might be related to a recent update to CMake that changed the format used to report command lines. Please try updating to VisualGDB 5.6 Beta 4.

    support
    Keymaster

    Unfortunately, it’s hard to suggest anything specific based on this description.

    Please provide the steps we could follow on our side to reproduce the problem per our problem reporting guidelines and we will try to investigate this further.

    support
    Keymaster

    It’s hard to say why the connection between 2 J-Link tools would not always work. Please try reproducing the problem outside VisualGDB by launching JLinkGDBServer manually with the command-line arguments shown in the Advanced view. If the problem persists, please contact Segger support for further help.

    If running JLinkGDBServer manually works, please let us know more details (e.g. successful vs. failing logs and the exact command line used) and we will help you configure VisualGDB to replicate that setup.

    in reply to: Not Remembering Path Mappings #31004
    support
    Keymaster

    Hi,

    Normally, the paths should be remembered. If it doesn’t happen, please try installing the latest VisualGDB 5.6 Beta (you would need to renew your support here), make sure your can reproduce the problem from scratch, and share the steps we could follow on our side to reproduce the problem per our problem reporting guidelines.

Viewing 15 posts - 1,396 through 1,410 (of 7,880 total)