support

Forum Replies Created

Viewing 15 posts - 5,926 through 5,940 (of 7,826 total)
  • Author
    Posts
  • in reply to: C++11 Intellisense in Visual Studio 2015 #9472
    support
    Keymaster

    Hi,

    Please try the latest v5.2R2 and retest your toolchain. It should generate the following definition for __cplusplus

    #undef __cplusplus
    #define cplusplus <version>

    This should fully override the default value on all VS versions.

    in reply to: VisualGDB V5.2 #9471
    support
    Keymaster

    Hi,

    The “import folder recursively” feature is available starting from the Custom edition. You can always upgrade your VisualGDB here: https://sysprogs.com/splm/mykey

    Regarding MBED_CONF_NORDIC_UART_HWFC, it’s a known issue of the current mbed 5.2 beta BSP. It can be safely ignored and will be resolved in the final release.

    in reply to: Debugger setup for Black Magic Probe? #9468
    support
    Keymaster

    Hi,

    Please try switching the debug method to full-custom mode. Then specify the following:

    Arguments –interpreter mi $(TargetPath)
    Working directory $(ProjectDir)
    Target selection command source connect.gdb
    Start command Assume the target is already stopped

    Then create a file called connect.gdb in your project directory and paste the attaching commands there:

    target extended-remote COM3
    attach 1

    Then finally go to the Additional GDB Commands page and add the following post-target command:

    load
    in reply to: Switch debugger between Linux and Windows #9467
    support
    Keymaster

    Hi,

    You may want to create a separate Linux and Windows configurations for that. Please check this tutorial: http://visualgdb.com/tutorials/porting/linux/

    support
    Keymaster

    Hi,

    VisualGDB supports STL containers out-of-the-box and provides 2 mechanisms to support custom structures:

    If you believe some of those are not working properly, feel free to start another topic with details and we will investigate.

    in reply to: C99 in ARM GCC MSBuild project #9461
    support
    Keymaster

    Hi,

    You can do that via Visual Studio Project Properties -> C/C++->Advanced->Language standard for C files.

    in reply to: Custom pre-synchronization action? #9457
    support
    Keymaster

    OK, we have added it to this build: http://sysprogs.com/files/tmp/VisualGDB-5.2.13.1294.msi

    in reply to: nordic NRF51-DK compile Error softdevice issue #9456
    support
    Keymaster

    Hi,

    Please try the final VisualGDB 5.2 release. It contains the fix mentioned here.

    in reply to: Could not find mmal libraries #9453
    support
    Keymaster

    Hi,

    This could be caused by a problem that was solved in VisualGDB 5.2. Please try updating to it and resynchronize your toolchain sysroot.

    in reply to: Undefined references to QtSQL – Raspberry Pi #9452
    support
    Keymaster

    Hi,

    No problem. Library names can sometimes be confusing. Generally searching for *.so and *.a files containing the missing function name usually finds the correct one quickly.

    in reply to: cannot download ARM build tools (404) #9451
    support
    Keymaster

    Hi,

    Most likely your VisualGDB is using the old package catalog that refers to an older version of the toolchain that has been removed due to problems with mbed.

    Please install the toolchain via Tools->Embedded Tools Manager->Online. This will reload the up-to-date package catalog and install the latest version that includes all the fixes.

    in reply to: Prebuilt GNU Toolchains #9442
    support
    Keymaster

    Hi,

    Our toolchain is based on the regular GCC sources + some patches (see the gcc.patch file inside the toolchain directory).

    Although we don’t ship this file with our toolchain, we have uploaded it to the following path for your convenience: http://sysprogs.com/files/tmp/newlib.h

    in reply to: program doesn't work without debugger #9441
    support
    Keymaster

    Hi,

    Please try updating to the latest gcc 6.3.0-r3 toolchain. We have fixed a problem that might have been causing this.

    in reply to: how to get exception information on esp8266 when crashes? #9432
    support
    Keymaster

    Hi,

    It does, but if the same port is open by gdb that expects special gdbserver packets, it’s somewhat tricky to get that output out.

    Please try running the ‘set debug remote 1’ command to force gdb to dump the communication with the gdbserver. This might force it to display the exception information “as is” instead of simply discarding it.

    in reply to: Debugging ESP8266 with OpenOCD and J-Link #9430
    support
    Keymaster

    Hi,

    Sorry, ESP8266 devices are simply not reliable and highly undocumented and often stop working sporadically. If reliability is a priority, we recommend trying the CC3200 chip from TI. It’s more expensive, but is much more reliable.

    Regarding the questions below:

    1. OpenOCD does require the libusb driver for Segger J-Link and will not work with the default Segger driver.
    2. Our OpenOCD implementation only supports software breakpoints for functions in RAM. We recommend moving the actively debugged functions to RAM for the duration of debugging.
    3. Unfortunately there is no official documentation on ESP8266 watchdogs. Our OpenOCD implementation uses the watchdog feeding mechanism used by the Espressif GDB stub. It is sufficient to step through examples like HTTP server, but it could be that some code in the internal ESP8266 libraries activates some mode that conflicts with this mechanism.

    Sorry, as mentioned before, the lack of official documentation and general low reliability makes ESP8266 debugging not as smooth as for ARM devices. We try to provide workarounds for most known problems, but in many cases things don’t work as expected.

Viewing 15 posts - 5,926 through 5,940 (of 7,826 total)