support

Forum Replies Created

Viewing 15 posts - 2,491 through 2,505 (of 7,884 total)
  • Author
    Posts
  • support
    Keymaster

    Sorry, this looks like a project-specific issue (e.g. stack/heap overflow somewhere in the code), so we can provide limited help on this topic.

    Our best advice would be to use the Embedded Memory Explorer to compare the memory layout of the 2 builds (https://visualgdb.com/tutorials/arm/comparebuilds/) and try making something in between to narrow down the problem (e.g. manually fill the same area of the FLASH memory with 0xFFs).

    in reply to: Where is "Dynamic analysis" #27008
    support
    Keymaster

    Hi,

    Indeed, Dynamic Analysis is only available starting from the Custom edition.

    in reply to: Support for imxrt106x series #27003
    support
    Keymaster

    Hi,

    VisualGDB supports the imxrt devices by importing the SDKs generated by the MCUXpresso tool. Hence, as long as you have an SDK for imxrt106, you should be able to import it into VisualGDB.

    Please see this tutorial for details and let us know if you have any further questions.

    in reply to: VisualGDB- Use Visual studio macros. #27002
    support
    Keymaster

    Thanks for clarifying this. The scenario you described could be accomplished using a custom MSBuild task, however it would require some additional scripting.

    Please try creating a custom MSBuild task class as shown on this page and ensure it has a “GeneratedMakefile” parameter. In your .vcxproj file, add the following target:

    <Target Name="PatchMakefile">
        <MyTaskName GeneratedMakefile="$(RemoteBuildMakefile)"/>
    </Target>

    Make sure you reference your custom task assembly using the <UsingTask> tag. Finally, edit the <VisualGDB Directory>\MSBuild\MSBuild\Targets\remote.targets file as shown below:

    <Target Name="CommitRemoteBuild" Condition="('$(IsRemoteBuild)' == 'true') and ('$(DesignTimeBuild)' != 'true')" DependsOnTargets="PatchMakefile">

    This will invoke the custom Makefile patching task after VisualGDB writes most of the targets there (the lines before the “.PHONY: $(PREPARE_TARGETS) …” line) but before it starts Make.

    Let us know if this works and we will update the remote.targets file shipped with VisualGDB to use a project-level variable so that you won’t need to patch it.

    If you would like to patch the Makefile after VisualGDB writes the final lines to it, please try inserting your task between the FinalizeRemoteBuildMakefile and LaunchVisualGDB tasks in remote.targets. If this works, we can update the file on our side to allow plugging custom tasks at this point as well.

    in reply to: Hard Fault from FREERTOS example #27001
    support
    Keymaster

    Hi,

    Sorry, it looks like the issue it not caused by VisualGDB, but instead some STM32-specific clock settings might be incorrect. Please consider posting on the STM32 forums to get help specific to STM32 devices.

    in reply to: Having trouble getting JTAG HLA working #26996
    support
    Keymaster

    Hi,

    Good to know it works. The OpenOCD scripts for STM32 devices are normally maintained by ST, so they should just work out-of-the-box as long as you are using an OpenOCD version that matches them.

    In case of any further strange errors, please consider deleting the OpenOCD directory entirely and re-installing it via VisualGDB Package Manager.

    in reply to: VisualGDB- Use Visual studio macros. #26988
    support
    Keymaster

    No problem, here you go:

    Attachments:
    You must be logged in to view attached files.
    in reply to: Use custom board with A2G #26982
    support
    Keymaster

    Thanks, we have noted it and will try to assign a higher priority to this, although it’s hard to give any estimates at this point.

    in reply to: VisualGDB- Use Visual studio macros. #26981
    support
    Keymaster

    Hi,

    Due to the MSBuild design constraints, VisualGDB indeed only has access to a handful of MSBuild macros. Specifically, you can use:

    • $(ProjectDir) (derived from the .vgdbsettings file location)
    • $(ConfigurationName)
    • $(SolutionDir)
    • $(SolutionPath)

    You can view the available macros via a link at the bottom of the VisualGDB Project Properties window.

    If you would like to use MSBuild macros instead, please consider using the VS Project Properties -> C/C++ (or Linker) -> Custom Step option. This works on MSBuild level and allows referencing any MSBuild variables. It is also possible to add custom MSBuild targets (that would result in additional entries in the generated Makefile), although it is more complicated to setup. Let us know if you need more details on that option.

    in reply to: Not able to build at command line using MSbuild #26976
    support
    Keymaster

    Please try using the following syntax:

    /projectconfig "Release|VisualGDB"

    Note the quotes and no spaces.

    in reply to: Not able to build at command line using MSbuild #26973
    support
    Keymaster

    Hi,

    Based on the error message you shared, it looks like VisualGDB is not installed on the machine you are using to build the project.

    Please ensure VisualGDB is installed and activated on the user account used to run the automated builds.

    Please feel free to look through the following tutorial for a detailed step-by-step example: https://visualgdb.com/tutorials/ci/tfs/

    If you can confirm that VisualGDB is installed, please try building the solution using devenv.exe, not msbuild.exe (see this page).

    in reply to: Request a visualGDB tutorial to use LittlevGL and ESP32 #26969
    support
    Keymaster

    Sorry, this is way to specific to be covered directly. Please consider asking on the Littlevgl or ESP32 forum.

    in reply to: STM32F722 Nucleo Clock Issues #26967
    support
    Keymaster

    Sorry, this is by design. Different boards have different clock configurations, so unless you specifically clone a sample designed for your board (via the “STM32CubeMX Samples” switch in the wizard), you would need to adjust the clock settings to match your board.

    If you believe the clock configuration for a board-specific sample in invalid, please consider reporting it to ST, as VisualGDB takes the STM32CubeMX samples directly from the STM32 SDKs.

    in reply to: STM32F722 Nucleo Clock Issues #26965
    support
    Keymaster

    Sorry, unfortunately it’s beyond the scope of our product support to help troubleshoot project-specific issues. Our best advice would be to step through the clock-related code in both projects and compare it side-by-side.

    If this doesn’t help, please consider creating a topic on the STM32 forums or on StackOverflow to get help from other developers.

    in reply to: VS2019 Mbed Project Wizard #26963
    support
    Keymaster

    No problem. We have double-checked it and indeed the precompiled mbed binaries for Python 3 would not work on some machines.

    We have updated VisualGDB internally to launch the .py script instead, that should resolve the problem. This fix will be included in the upcoming VisualGDB 5.5 Preview 3. Until then, using Python 2.7 instead of 3.x should be the best workaround.

Viewing 15 posts - 2,491 through 2,505 (of 7,884 total)