support

Forum Replies Created

Viewing 15 posts - 5,266 through 5,280 (of 7,819 total)
  • Author
    Posts
  • 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.

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

    Hi,

    Just to double-check, are you using the latest esp32-gcc5.2.0.exe toolchain? A recent update to the ESP-IDF was interfering with the FLASH programming and it was only fixed in the 5.2.0 toolchain.

    in reply to: ESP32 WROVER + JLINK OpenOCD problems #11361
    support
    Keymaster

    Hi,

    The _estack message can be safely ignored. It refers to a mechanism that automatically checks for incorrect end-of-stack setting on ARM devices, however it does not work on ESP8266/ESP32 due to a different linker script layout.

    in reply to: Programming AVR Flash #11360
    support
    Keymaster

    Hi,

    No problem, let us know if you run into any further issues with “program without debugging”.

    With the popularity, yes, AVaRICE is much less popular than tools like OpenOCD. Arduino is indeed very popular, but it does not support low-level debugging and based on the feedback we got, most Arduino users expect the development tools to be free and there would not be much interest for a professional-grade tool like VisualGDB.

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

    Hi,

    This could happen if the .vgdbsettings file got corrupt or the NMake project settings were modified so that the .vgdbsettings file is no longer specified as the project output.

    When you hold Shift, does the VisualGDB Project Properties window show the correct settings? Does opening View->Other Windows->VisualGDB Diagnostics Console and right-clicking on the project again show any error messages?

    support
    Keymaster

    Hi,

    The VisualGDB embedded frameworks are actually based on the mbed features and libraries reported by the mbed build system, so it could be a bit confusing in case of Ethernet libraries.

    Please try referencing the “LWIP Support” framework instead of “Ethernet support” to get the mbed v5 sources (you can search for file names in the BSP.XML file to get the framework names required to include certain sources).

    Regarding the new release, we usually update the popular BSPs quarterly. Hence the next mbed update will be released around the end of Summer.

    in reply to: Programming AVR Flash #11345
    support
    Keymaster

    Hi,

    The main reason for worse AVR support is actually the underlying tools. VisualGDB relies on existing tools like OpenOCD or Segger J-Link software to handle the low-level communications and brings a usability level on top of it. The AVR devices use a completely different stack of tools that are much less popular and hence much less reliable, so VisualGDB inherits many of their limitations.

    BTW, you can work around the ‘program without debugging’ error message by editing the <SysGCC>\avr\avr-bsp\debuggers\avarice\edp.xml file as follows:

      <SupportedDebugMethods>
        <DebugMethod>
          <DetachCommand></DetachCommand>

    VisualGDB will then skip the ‘mon detach’ command when programming the FLASH without debugging.

    in reply to: OpenOCD Config Help #11344
    support
    Keymaster

    Hi,

    The “JTAG scan chain interrogation failed: all ones” error usually indicates a wiring issue (some of the JTAG pins are not connected properly). We would recommend starting with the ESP32 board from Sparkfun that we officially support and once you get it to work reliably, moving on to a different one.

    in reply to: Adding mbed-tls to ARM mbed Project #11341
    support
    Keymaster

    Hi,

    It is not directly supported yet. The mechanism used by our BSP generator does not report it as a separate framework, so VisualGDB does not show it in the list. We may fix this in the next release, although currently the easiest way to get it to work is simply add the sources to the project manually.

    in reply to: ESP32 WROVER + JLINK OpenOCD problems #11340
    support
    Keymaster

    Hi,

    According to the log, it looks like a hardware wiring problem. Please double-check all your wiring and use a logic analyzer to see if the JTAG signals are going through.

    Another advice would be to get a board directly tested by us (e.g. Sparkfun ESP32-Thing ), get the debugging to work with it first and then switch over to ESP32-WROVER.

    in reply to: Add New Item C #11326
    support
    Keymaster

    Hi,

    GCC should actually support #pragma once when compiling .c files as well, so normally you won’t need this.

    in reply to: Add New Item C #11322
    support
    Keymaster

    Hi,

    Not sure what you mean by the “standard template”. Could you please provide an example?

    in reply to: Programming AVR Flash #11318
    support
    Keymaster

    Hi,

    Our AVR support is not as good as ARM as AVR devices are generally less popular and the underlying tools VisualGDB uses to do the low-level communication are somewhat more buggy. Can you confirm that programming FLASH on the same device while debugging works, but the program without debugging doesn’t? Or are both options broken?

Viewing 15 posts - 5,266 through 5,280 (of 7,819 total)