support

Forum Replies Created

Viewing 15 posts - 5,281 through 5,295 (of 7,855 total)
  • Author
    Posts
  • support
    Keymaster

    Hi,

    Yes, but only if you are using Visual Studio to build the projects and both projects are included in the .sln file and selected for build.

    BTW, if you are planning to do remote builds, the VisualGDB MSBuild backend actually generates temporary Makefiles (this reduces latency compared to running each compiler instance separately from the Windows side), so you can copy them manually to your Linux target and build them without VisualGDB as well. This only applies for remotely build projects though.

    in reply to: Flashing ESP32 DevKitC without jtag debugger? #11429
    support
    Keymaster

    Hi,

    The .bin file produced by MSBuild won’t be helpful, however you can use the esptool.py tool to program the ELF file (usually same name as the .bin file and no extension). To get the exact esptool.py arguments for programming the file, please try programming any project built with the command-line ESP-IDF tools and check the build/programming log.

    in reply to: Support for STM32L496xx #11428
    support
    Keymaster

    Hi,

    No problem, we will make an experimental build of OpenOCD based on the latest upstream sources and will post a link here in the next 24 hours.

    in reply to: VisualGDB 5.3 Status? #11422
    support
    Keymaster

    Hi,

    We are currently in the last stages of the new CMake project subsystem and are experimenting with accessing the Linux filesystem directly, so you can open the remote projects without keeping a separate Windows checkout of the sources. We will most likely release a public preview next week.

    support
    Keymaster

    Hi,

    Yes, you can use the regular project dependencies/references window in Visual Studio.

    BTW, is there any special reason why you cannot use MSBuild? It provides most of the functionality that GNU Make does.

    support
    Keymaster

    Hi,

    Sorry, this is not supported for GNU Make. You can try hacking the Makefile at your own risk to achieve that, but we generally recommend switching to MSBuild as it provides a straight-forward way for defining per-file arguments.

    in reply to: STM32 BSP outdated #11416
    support
    Keymaster

    Hi,

    We usually update the BSPs quarterly, so the next update will be released within the next 1-2 months.

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

    Hi,

    Thanks for confirming this, we will note down that TUMPA is compatible with ESP32.

    Regarding single-core mode, you can actually try editing the <SysGCC>\esp32\esp32-bsp\OpenOCD\share\openocd\scripts\target\esp32.cfg file (uncomment the set ESP32_ONLYCPU 1 line), although we have not fully tested this mode and it may result in strange bugs.

    support
    Keymaster

    Hi,

    Please ensure you are using the MSBuild subsystem (not GNU Make). Then you can use the regular VS properties for individual files or groups of files to edit various settings.

    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, 4 months 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.

Viewing 15 posts - 5,281 through 5,295 (of 7,855 total)