support

Forum Replies Created

Viewing 15 posts - 2,836 through 2,850 (of 7,853 total)
  • Author
    Posts
  • in reply to: STM32G0 OpenOCD patches #25711
    support
    Keymaster

    Thanks for sharing the patches. We have integrated them into our OpenOCD fork (20190828-0.10.0 available via VisualGDB Package Manager).

    in reply to: Set firmware offset #25709
    support
    Keymaster

    Hi,

    This is by design. Most microcontrollers expect the interrupt vector table pointing to the entry point to be at a specific address (typically, beginning of FLASH) and placing arbitrary data there will prevent the program from starting.

    The Embedded Memory Explorer shows the memory layout as defined in the BSP and ignores any manual changes to the linker script. Normally, we advise using the Additional Memories page of VisualGDB Project Properties (Custom edition and higher) to add extra memories to your project and have VisualGDB automatically update the linker script, generate macros for placing variables into those memories and also update the Embedded Memory Explorer.

    in reply to: printf & breakpoint text in MS Visual Studio #25708
    support
    Keymaster

    Hi,

    Normally F10 and F11 should work as usual. Perhaps the debug session doesn’t start properly, or the initial breakpoint doesn’t hit (i.e. the program is still running in the background)? If you are not sure, please try attaching a screenshot of the VS window with the step commands disabled and we will help you understand what is going on.

    The printf() output should be redirected to Visual Studio as long as you reference the Advanced Semihosting and Profiling framework via VisualGDB Project Properties -> Embedded Frameworks, or enable the regular semihosting via the first page of VisualGDB Project Properties. Let us know if you need more details on this.

    in reply to: C++17 support #25705
    support
    Keymaster

    Hi,

    From the VisualGDB side, there are no limitations regarding the C++17 support. As long as you are satisfied with the level of support provided by the GCC version you are using, it should be totally OK.

    The ‘experimental’ label was added to VisualGDB settings when the C++17 support was still incomplete in most of GCC releases and should not apply to the latest GCC anymore. We have updated VisualGDB internally to remove the ‘experimental’ label.

    in reply to: Keep Remote Console open after debugging? #25699
    support
    Keymaster

    No problem, we have fixed the duplicate window issue in this build: VisualGDB-5.4.112.3249.msi

    in reply to: Problem with Threads in VisualGDB for Linux #25698
    support
    Keymaster

    Please try adding “pthread” to the “library names” field on the Build Settings page of VisualGDB Project Properties. You can read more about various linker-related settings here: http://visualgdb.com/support/linkerinputs/

    in reply to: mbed: newlib-nano with floating-point support #25694
    support
    Keymaster

    Hi,

    Sorry, the Advanced Mbed project subsystem relies on mbed itself to orchestrate the build and hence VisualGDB only allows changing the settings supported by the mbed-cli itself.

    Based on a quick research, it looks like supporting floating point printf/scanf with mbed-cli requires a minor modification to the build scripts (see this Github issue). Please try applying it to the mbed copy used by your project and mbed-cli launched by VisualGDB should automatically pick up the updated build rules next time you build the project.

    in reply to: VisualGDB Support for Kendryte K210 #25693
    support
    Keymaster

    Hi,

    No problem, we will help you understand how VisualGDB handles the K210 build and how to get the setup you described.

    When you create a VisualGDB project for the K210 device, it automatically downloads a copy of the K210 SDK into %LOCALAPPDATA%\VisualGDB and references it from the project. The SDK copy contains an XML list of the sources and build settings required for K210 projects, so VisualGDB can automatically generate a VS project that would replicate the build result from the original K210 SDK.

    Based on your description, you have likely imported another copy of the SDK as a generic project (importing the list of source files, but not the build settings that were captured from the original K210 SDK) and hence the build produces an invalid binary.

    If you would like to have a separate copy of the K210 SDK and be able to modify it yourself, please instead try creating a regular VisualGDB project and then converting it to a stand-alone one as shown in this tutorial. This will copy the SDK files into the BSP subdirectory in your project folder and will also copy all the necessary build settings, so that the build result will be equal to the regular project. while letting you tweak that specific copy of the SDK according to your needs.

    If you encounter any further issues, please feel free to let us know. The K210 support is very new and all feedback will be highly appreciated.

    support
    Keymaster

    Please let us know your license key so that we could check your support status.

    in reply to: Creating Embedded Bootloader Projects with MSBuild #25687
    support
    Keymaster

    Good to know it works. Just in case anyone else is looking for the same functionality, our bootloader tutorial describes the steps necessary to merge the bootloader with the main application.

    in reply to: Keep Remote Console open after debugging? #25682
    support
    Keymaster

    Hi,

    Yes, please use the following setting:

    VisualGDB Project Properties -> Debug Settings -> Program Output -> Keep Remote Console window after debugging ends

    Regarding F5, normally unless you explicitly activate the console window by clicking on it, F5 should be handled by the Visual Studio itself and should result in continuing from the breakpoint.

    support
    Keymaster

    VisualGDB will officially support ESP-IDF 3.3 and 4.0 once they are released as stable releases. Until then, you can try using VisualGDB with those ESP-IDF versions, however some functionality may not work as expected, as Espressif often changes the internal structure of ESP-IDF during the pre-release stage.

    in reply to: Debugger/programmer devices support #25678
    support
    Keymaster

    Hi,

    VisualGDB supports Segger J-Link and any programming interface supported by OpenOCD (that includes FT2232-based devices such as Olimex ARM-USB-OCD-H and almost every other popular debug probe). The only exceptions are U-Link (as it’s based on proprietary protocols not supported by OpenOCD) and generic CMSIS-DAP (it’s technically supported, although is very slow due to the USB HID poll rate limitations).

    You can read more about the supported devices and debug interfaces here: http://visualgdb.com/hwsupport/

    in reply to: Cannot flash ESP8266 #25673
    support
    Keymaster

    Strange, now it looks like the {upload.verbose} got expanded to an empty string. Please try removing the “{upload.verbose}” part completely from the programming command line (also remove the quotes).

    in reply to: Using CMSIS DSP library with VisualGDP #25667
    support
    Keymaster

    The easiest way to achieve that would be to embed the simulated data into your program as an embedded resource and then reference the Fast Semihosting framework via VisualGDB Project Properties -> Embedded Frameworks and output the results via the regular printf() calls. The output will be shown in the Semihosting Output window inside Visual Studio and can be saved to a file at the end of the debug session (see VisualGDB Project Properties -> Embedded Debug Tweaking).

Viewing 15 posts - 2,836 through 2,850 (of 7,853 total)