support

Forum Replies Created

Viewing 15 posts - 5,491 through 5,505 (of 7,816 total)
  • Author
    Posts
  • in reply to: OpenOCD + Segger JLink + ESP32 #10686
    support
    Keymaster

    Hi,

    JAYLINK_ERR_DEV might indicate a driver issue. Are you able to use J-Link with OpenOCD (not Segger gdb stub) to debug normal ARM devices? If yes, it could be wiring problem instead.

    in reply to: Fast Semihosting and Embedded Profiler Warnings #10685
    support
    Keymaster

    Hi,

    Thanks, we are aware of this. As those warning don’t really have any side effects and don’t appear unless the extra warnings are enabled, we recommend simply suppressing them via per-file settings.

    If you don’t want to do that, you can send us the patch adding the necessary attributes and we will include it in our release branch, but we don’t have any plans of addressing them on our side, as we prioritize other features over it. Sorry.

    in reply to: BSP for MTK 2523 #10684
    support
    Keymaster

    Hi,

    In order to keep VisualGDB price competitive, we only directly support the most popular devices and offer various customization mechanisms to allow our customers to easily add support for the devices that are not directly supported.

    The easiest way to create a project for an unsupported device is to follow our legacy device tutorial.

    Our BSP generators on github have a very basic Wiki page that outlines the basic concepts, but generating a full-blown BSP would much harder than just setting up a manual project (and exporting it to a template).

    We also provide a service for creating BSPs for rare devices on demand, so if you don’t want to go through this process yourself, feel free to contact our sales to get a quote for a custom BSP.

    in reply to: Intellisense stopped working #10679
    support
    Keymaster

    Hi,

    Sorry, that was Ctrl-Space, not Ctrl-Tab.

    in reply to: Intellisense stopped working #10677
    support
    Keymaster

    Hi,

    Please try pressing ‘Ctrl-Tab’ while typing your code to activate IntelliSense popup explicitly. If it helps, please click the lightning icon at the bottom of the popup to enable the “show suggestions as you type” mode.

    support
    Keymaster

    Hi,

    OK, we’ve tried reproducing this with the following extra line in Makefile:

    ifeq ($(TARGETTYPE),APP)
    $(BINARYDIR)/$(TARGETNAME): $(all_objs) $(EXTERNAL_LIBS)
        $(LD) -o $@ $(LDFLAGS) $(START_GROUP) $(all_objs) $(LIBRARY_LDFLAGS) $(END_GROUP)
        @echo "LEDBlink.cpp", line 10 : warning : #177-D: function "naughty_function"  was declared but never referenced
    endif

    The vgdbsettings file contains the following element:

      <BuildMessageTemplateFile>BuildMessageRegexes.xml</BuildMessageTemplateFile>

    The BuildMessageRegexes.xml defines GCCMessage as follows:

      <GCCMessage>"(.*)", line ([0-9]+) : (error|warning) : (.*)$</GCCMessage>

    This does actually produce the expected results (the message is converted to VS format in the Build Output window and VS recognizes it):

    1>e:\projects\temp\EmbeddedProject19\LEDBlink.cpp(10): warning : #177-D: function "naughty_function"  was declared but never referenced

    Please try checking your code against the examples shown here (note that this forum engine converts the ” character to a slightly different one and it won’t work if you simply copy-paste it). If it does not work, please try reducing the problem to a GCC project with an ‘echo’ line injected into the Makefile and send us the entire repro project so that we could help you troubleshoot this.

    in reply to: Stack pointer check with Keil toolchain #10660
    support
    Keymaster

    Hi,

    The solution you have found should work. You can also override the _estack symbol name by editing the .vgdbsettings file (search for the ‘EndOfStackSymbol’ element).

    in reply to: Build: 0 errors; IntelliSense: 126 errors #10659
    support
    Keymaster

    Hi,

    Looks like the Clang IntelliSense might be having troubles locating some header files. Are you using a Makefile-based project or an MSBuild-based one?

    Does changing the MCU forth and back (so that VisualGDB regenerates all settings) resolve this?

    in reply to: Intellisense stopped working #10658
    support
    Keymaster

    Hi,

    It’s hard to say what could be causing this without seeing further details. One cause could be the header directories. Regenerating the project settings (e.g. by changing the MCU forth and back) could resolve this.

    If it does not help, please let us know the exact details of the errors you are getting and we will help you.

    support
    Keymaster

    Hi,

    Our UART tutorial is indeed old and covers the older STM32 StdPeriph library. We will eventually add another version of it showing how to use the newer HAL library, but currently our best advice would be to look up the UART example for your board (select “use examples from STM32Cube” on the sample selection page of VisualGDB Project Wizard) and use the code from it.

    support
    Keymaster

    Hi,

    Thanks for reporting this, looks like the updated BuildMessageRegexes.xml file contained a small error. We have updated the version linked from our tutorial. Let us know if it works.

    in reply to: ESP32 Custom Build Step #10646
    support
    Keymaster

    Hi,

    This error happens when VisualGDB tries to move the generated binary from the .data section to .rodata. Looks like the ESP32 objcopy tool has troubles parsing the ESP32 ELF files.

    Similarly to the previous step, please try locating the .data2rodata.rsp file and experiment with the command line to find a setting that works.

    in reply to: UpdateSysroot can't complete: path too long #10645
    support
    Keymaster

    Hi,

    This sometimes happens when the target system has loops in symbolic links (e.g. /usr/include/subdir linked back to /usr/include, resulting in an infinite /usr/include/subdir/subdir/subdir/… loop). In most of the cases those errors can be safely ignored.

    in reply to: Switching to cross compiling #10644
    support
    Keymaster

    Hi,

    You can try adding a new cross-compiler-based Linux configuration to an existing project as shown in this tutorial: https://visualgdb.com/tutorials/porting/linux/

    in reply to: VisualGDB not seen in Visual Studio 2017 #10643
    support
    Keymaster

    Hi,

    Please try selecting “reinstall” in the VisualGDB installer or simply uninstall VisualGDB and install it back. This should fix the integration issues.

Viewing 15 posts - 5,491 through 5,505 (of 7,816 total)