support

Forum Replies Created

Viewing 15 posts - 2,026 through 2,040 (of 7,832 total)
  • Author
    Posts
  • in reply to: Cannot find library file. #28527
    support
    Keymaster

    Hi,

    Please see the following page for instructions on troubleshooting this: https://visualgdb.com/documentation/linkerinputs/

    in reply to: STM32 Dual Core startup / debug #28520
    support
    Keymaster

    No problem, we can help you get this to work. Please try modifying the code to control one of the LEDs from the M4 core. Then check if the core gets started when you are not debugging it (i.e. program the FLASH both memory banks and power cycle the device).

    If the second core never starts outside the debugger as well, please try comparing the startup code on the first core with some example that manages to start the second core successfully. Most likely, the example is missing some code for actually starting the M4 core.

    in reply to: Standalone project not working as expected #28517
    support
    Keymaster

    No problem. MSBuild does support common flags and linker flags via Configuration Properties -> C/C++ -> Command Line. If you need separate C/C++ flags, you can set them via C/C++->Advanced.

    We do advise reading our documentation on MSBuild and STM32 project structure. It’s a long read, but it gives an extensive overview of all common settings types, and will save you considerable time long-term once you learn how to use it efficiently.

    You will also get much faster build times, fewer rebuilds, single-file building, precompiled header support, and many other usability features that are not supported for Make projects.

    in reply to: Standalone project not working as expected #28515
    support
    Keymaster

    Thanks for confirming your license. We will try to explain what is going on.

    When you convert the project to a stand-alone one without copying the BSP files, it removes the references to all files from the BSP (including the linker script, register definition file, common preprocessor macros, etc). This option is intended for advanced users that would like to manually re-create the minimum necessary subset of files from scratch. It indeed will not result in a buildable project and will require some manual tweaking before you can get it to work. We have confirmed that this option left the reference to the register definition file (but did not copy it) and updated VisualGDB internally to remove the reference.

    If this behavior is not intended, please try copying the BSP instead, and then remove the unnecessary files. This way you will start with a usable project and will be able to verify that it still builds after each step.

    Also, depending on your requirements, you may not need a stand-alone project after all. If you want to remove the standard driver files, but keep the linker script and peripheral register definitions, you can simply unreference them on the the Embedded Frameworks page instead.

    Regarding the out-of-sync Makefiles, this is a known limitation of the GNU Make build subsystem (see this page for a list of known limitations). For all new projects we advise using MSBuild instead. It does not require duplicating the settings between Visual Studio and the actual build subsystem (i.e. GNU Make) and hence eliminates many possible failure points.

    If you would like to build the project outside Visual Studio, you can try out our experimental Embedded CMake integration. It combines the advantages of both GNU Make and MSBuild:

    • The build is entirely managed by CMake scripts, that you can easily edit and build outside VisualGDB.
    • Solution Explorer contents is rendered based on the exact CMake code model, so it’s always up-to-date.
    • It also does not have multiple sets of settings for debug/release, avoiding the issue you mentioned.

    The Embedded CMake projects are currently still very experimental and cannot be created using the wizard yet, but if you would like to try them out, we can share the instructions here.

    in reply to: VisualGDB slow #28511
    support
    Keymaster

    Thanks for letting us know. Please feel free to attach a screenshot of the output window showing the incorrect coloring and we might be able to suggest something more specific.

    in reply to: STM32 Dual Core startup / debug #28508
    support
    Keymaster

    Hi,

    This might be caused by the way STM32H7 devices initialize the secondary core. We have a separate tutorial explaining it.

    Please also make sure you are using VisualGDB 5.5 Preview 7 and not v5.4.

    If it doesn’t help, please let us know and we will look further into this.

    in reply to: Debugger HW for Atmel #28506
    support
    Keymaster

    Hi,

    Please see the following page for a detailed overview of supported debug methods: https://visualgdb.com/documentation/debugmethods/#avr

    in reply to: Why did original STM32 BSP disappear?? #28504
    support
    Keymaster

    Hi,

    You can download the old packages by setting the “show old packages” checkbox in the VisualGDB Package Manager.

    We have detailed instructions on it (including the manual download steps) on this page: https://visualgdb.com/support/oldpackages/

    in reply to: VisualGDB + IAR: startup_stm32h743xx.s not included #28503
    support
    Keymaster

    Thanks for explaining this. We have updated VisualGDB to automatically reset the “Compile As” setting for assembly files in IAR projects. Please try this build: VisualGDB-5.5.7.3690.msi

    in reply to: Toolchain path broken after any minor update #28502
    support
    Keymaster

    We do test toolchain updates with VisualGDB and it should normally work out-of-the-box. Most strange errors like this one happen when trying to apply several changes at the same time and ignoring various error messages, or by modifying the project structure directly, hardcoding the paths that should be normally referenced via variables.

    If you often modify the projects manually, please make sure you read this page first. It explains the embedded project structure in detail.

    That said, if you can confirm that installing a specific update consistently breaks some functionality, and provide repro steps for us to reproduce the problem on our side, we should be able to fix it.

    in reply to: NanoEvery upload fails #28490
    support
    Keymaster

    We have updated VisualGDB to match the relevant part of the log, however it may still work differently. Please try this build: VisualGDB-5.5.7.3689.msi

     

    in reply to: VisualGDB slow #28489
    support
    Keymaster

    Strange. Just for the record, we have tried running VisualGDB /scanlog on the file you attached, but it only took ~100 msec, so the problem must be elsewhere.

    Also it’s hard to say whether you are using the regular output, or the advanced output window. Please attach the screenshots of the output window and the settings where you disabled the advanced output (make sure you restart VS after changing the output settings) so that we could see what is going on.

    Also please try narrowing down the slowdown, e.g. whether it happens:

    • On first build after starting VS or after some time
    • With any project, or only a specific project type
    • With any amount of output, or only if the build produced large output amounts

    Additionally, if you could make a quick screen video showing the problem, we might be able to narrow it down faster.

    support
    Keymaster

    It looks like you are comparing ARMCC (version 5) with the MDK IDE against ARMClang (version 6) with VisualGDB. Please note that these are 2 different compilers and ARMClang indeed defines __GNUC__, even if used with MDK IDE. Please make sure you use the same compiler in both cases.

    Regarding the import errors, indeed trying to create the imported project file in a location where it already exists will result in an error message. If you would like to overwrite the imported project, please make sure you delete the previous project file before re-importing it into the same location.

    The “$$com.sysprogs.bspoptions.primary_memory$$” error would appear if you select GCC on the first page of the Embedded Project Wizard, and then use the Keil toolchain instead (that does not provide this variable). Please do not do this. Instead, please make sure you select the same compiler type on both pages.

    in reply to: VisualGDB + IAR: startup_stm32h743xx.s not included #28486
    support
    Keymaster

    Hi,

    Normally, VisualGDB should build the .s files as long as they are included in the project.

    If it doesn’t happen, please double-check that the file type is set to “C/C++ compiler” and it is not excluded from building:

    If you can confirm that the file type is consistently set incorrectly (e.g. when importing some project), please let us know the steps to reproduce it and we should be able to fix it.

    Attachments:
    You must be logged in to view attached files.
    in reply to: NanoEvery upload fails #28483
    support
    Keymaster

    No problem, we can try creating it on our side and attaching the binary, however it will take 1-2 business days, as it will go through a different queue.

Viewing 15 posts - 2,026 through 2,040 (of 7,832 total)