support

Forum Replies Created

Viewing 15 posts - 5,251 through 5,265 (of 7,816 total)
  • Author
    Posts
  • in reply to: mbed: Debugging ST Nucleo_STM32F746ZG #11405
    support
    Keymaster

    Hi,

    This happens because once you hit ‘Step over’ or ‘Step in’, an interrupt occurs and OpenOCD is trying to step over the interrupt handler to get back to your code.

    You could try disabling this behavior by temporary setting the ‘$PRIMASK’ register to 1 via the Watch window and then stepping. However this will delay the interrupt handler until you set PRIMASK back to 0, so some buffer overruns/underruns may occur.

    in reply to: Problem: ESP32 Wroom with OpenOCD #11402
    support
    Keymaster

    Hi,

    This could be caused by the ESP32 configuration, or by incompatibility with TUMPA (we do not officially support it and have not heard of anyone successfully using it). The easiest way to get it to work would be to get the same hardware as shown in our tutorials and ensure your wiring 100% matches the one shown there. Once you get it to work, it would be easier to switch the debug adapter (or the ESP32 board) and quickly pinpoint what exactly is causing the problem.

    in reply to: Reduce size of C++ binaries in Stand-alone project #11400
    support
    Keymaster

    Hi,

    Yes, please try adding “compactcpp” to the list of library names in VisualGDB Project Properties. This should be equivalent to checking the “reduce size of C++ binaries” checkbox.

    • This reply was modified 8 years, 1 month ago by support.
    in reply to: DEBUGGING EXITED WITHOUT ANY BREAKPOINT HITS #11397
    support
    Keymaster

    Hi,

    According to the log, it looks like the program exits with an error code. Please try checking whether it prints any error messages (in the “gdbserver” part of the log), like “cannot open display” or “cannot load library”.

    in reply to: VisualGDB: Saving live variables from VS to disk #11394
    support
    Keymaster

    Hi,

    You can do that by opening Debug->Windows->Visual Watch (not Live Variables), adding “Foo” to the visual watch list, right-clicking on it and selecting “export data”.

    in reply to: printf not printing floats under mbed #11393
    support
    Keymaster

    Hi,

    This may happen because the default implementation of printf() in the newlib-nano library does not support floating-point numbers. Please try explicitly switching to the “newlib-nano with floating-point support” via VisualGDB Project Properties.

    in reply to: VS 2017 #11392
    support
    Keymaster

    Hi,

    We have thoroughly tested VS2017 with VisualGDB and aside from the crashes that happen when importing large projects (confirmed by MS, fix scheduled in VS15.3), it works. Feel free to share the details of the errors you get and we will help you resolve them.

    support
    Keymaster

    Hi,

    As Clang is not widely used for embedded targets yet, any custom build we would make would likely trigger lots of bugs that are not otherwise triggered with regular Clang targets. Hence you can try building it from sources at your own risk (VisualGDB should recognize it as a proper toolchain), however we won’t officially support it until it becomes more popular.

    support
    Keymaster

    Hi,

    Just to clarify: does this happen when building, or is it an IntelliSense-only issue? In the latter case, please try opening VisualGDB Project Properties and regenerating MSBuild-related files on the MSBuild Settings page (if you are using MSBuild).

    in reply to: error MSB3073 exited with code 1 #11378
    support
    Keymaster

    Hi,

    One big cause of tricky problems could be this one:

    warning : Found a source file with spaces in the path: “C:\Users\Raivis-STROPS\Desktop\power board kods\Power_board_V1.7\..\..\..\..\AppData\Local\VisualGDB\EmbeddedBSPs\arm-eabi\com.sysprogs.arm.stm32\STM32F0xxxx\StartupFiles\startup_stm32f030xc.c”.

    GNU Make really doesn’t support paths with spaces, so this may cause very strange bugs. Other than that, please try opening VisualGDB Project Properties and changing the MCU type back and forth. This should force VisualGDB to regenerate the relevant parts of the project.

    • This reply was modified 8 years, 1 month ago by support.
    in reply to: Programming AVR Flash #11377
    support
    Keymaster

    Hi,

    You are welcome. It is a part of the VisualGDB design philosophy to allow tweaking and customizing the parts that may not work out-of-the-box, so that our users could get convenient experience even for rare scenarios that we don’t support directly. Our AVR support package is also open-source, so feel free to check it as a reference if you decide to customize further features.

    You are also welcome to post any issues you encounter here and although we don’t guarantee seamless out-of-the-box operation for AVR devices, we should be able to suggest reasonable workarounds.

    in reply to: VisualGDB: Saving live variables from VS to disk #11376
    support
    Keymaster

    Hi,

    Thanks for clarifying this. Just to confirm, you are not looking into exporting historical data, but rather a contents of a large array, right?

    in reply to: "Invisible" project properties #11375
    support
    Keymaster

    Hi,

    Sorry for the confusion, we will try to clarify.

    Visual Studio views the non-MSBuild VisualGDB projects as NMake projects (Visual Studio itself does not know the details about GNU Make vs CMake vs QMake and simply invokes VisualGDB to do the build). In order for those projects to work correctly, their VS-level settings should be configured as shown below:

    If the ‘output’ is not set to a .vgdbsettings file, VisualGDB won’t treat this project as its own project and won’t show the settings command. If you manually manipulate the VS project configurations via the VS GUI, you could accidentally break those settings, causing VisualGDB to stop treating the project as a VisualGDB-based project.

    Normally if you hold ‘Shift’ while right-clicking on the project, VisualGDB will show its context menu command and try to load the settings from the default file path (<project>-<configuration>.vgdbsettings). If the corresponding .vgdbsettings file is missing, VisualGDB will show default project settings that won’t reflect any of your project’s customizations. Hence the easiest way to check if the .vgdbsettings file is still valid and readable is to open the VisualGDB Project Properties while holding ‘shift’ and check that the settings look correct (e.g. the project type is set to the type you are using and not the default “Windows project”).

    support
    Keymaster

    Hi,

    Thanks for the suggestion, we have added a new setting for ignored extensions in the upcoming v5.3 build that defaults to .cpp, .c, .cxx and .cc files.

    in reply to: nRF52840 soft device #11371
    support
    Keymaster

    Hi,

    VisualGDB normally does this automatically. Simply ensure that the softdevice is selected via your project properties and it will link it into your project.

Viewing 15 posts - 5,251 through 5,265 (of 7,816 total)