support

Forum Replies Created

Viewing 15 posts - 2,206 through 2,220 (of 7,873 total)
  • Author
    Posts
  • support
    Keymaster

    Hi,

    Most likely, you have converted the project to a stand-alone one, losing the ability to edit the frameworks. You can recheck it on the first page of VisualGDB Project Properties. If it shows the list of GCC flags rather than a list of devices, it is a stand-alone project that only includes a snapshot of a specific BSP configuration and cannot be automatically configured further.

    in reply to: Flashing Fail #27966
    support
    Keymaster

    Hi,

    Sorry, this looks like a bug in OpenOCD. As the OpenOCD’s FLASH programming logic is maintained by ST, we don’t have many insights into it, however based on our previous experience, trying to rearrange various sections of your program (e.g. making sure they are aligned and none of them is too small) should fix it.

    You can also try building OpenOCD from sources as shown here. Alternatively, please consider trying Segger J-Link. It comes with its own GDB stub that is more reliable than OpenOCD, and usually just works out-of-the-box.

    in reply to: How to "Break on unhandled exception" #27963
    support
    Keymaster

    Hi,

    Please try using the “Signals and Exceptions”  button (lightning icon) in the GDB Session window. This will open gdb-specific exception settings that let you configure specific exceptions.

    in reply to: Changed remote machine now intellisense is gone #27957
    support
    Keymaster

    VisualGDB stores the cached headers under %LOCALAPPDATA%\VisualGDB\RemoteSourceCache\<host name>. If you would like to avoid re-downloading them, consider simply copying or symlinking some of the directories there.

    in reply to: STM32 not behaving after optimization #27956
    support
    Keymaster

    It is hard to say why optimization of the GPIO driver would cause any problems, but in case you want to look deeper into it, you can try overriding optimization level for individual functions by marking them with __attribute__((optimize(“O2”))).

    in reply to: Why Quick Debug open cpp files on core analyse #27955
    support
    Keymaster

    No problem. Please try using the “Remember Quick Debug Sources” option described here to override this behavior.

    in reply to: Changed remote machine now intellisense is gone #27951
    support
    Keymaster

    Hi,

    The easiest way to solve this would be to create another similar project from scratch using the VisualGDB Project Wizard. It would automatically test the connection to the target, cache the necessary include directories and make sure that all projects using this target would load correctly.

    in reply to: Starting a C Project #27950
    support
    Keymaster

    Hi,

    You can select the language standard (that includes several options for both C and C++) on the first page of the VisualGDB Linux Project Wizard.

    support
    Keymaster

    Hi,

    With the ESP32 projects, VisualGDB uses the regular ESP-IDF build commands to configure and build the project. Please try building the projects manually and compare the build command line with the one shown in the VisualGDB Build Output window.

    If VisualGDB is missing some build steps, or runs some command lines incorrectly, please let us know and we will be happy to fix it.

    If the ESP-ADF projects build on Linux, but don’t build with the Windows-based toolchain, it is likely a bug of the ESP-ADF itself and it should be reported to Espressif instead.

    in reply to: Newbe question about BSP versions #27946
    support
    Keymaster

    Hi,

    Please try updating to VisualGDB 5.5 Preview 4. It will automatically check the BSP version when opening the project and will suggest retargeting it to the version you have installed.

    That said, switching to a newer BSP always comes with a risk of minor compatibility issues. Getting the older BSP as described here could be a safer bet.

    in reply to: Remote debugging in the time of covid-19 #27940
    support
    Keymaster

    Hi,

    Sorry about that, the new build of the OpenOCD package requires an updated VisualGDB debug engine. Please try this build: VisualGDB-5.5.5.3577.msi.

    If it still doesn’t work, please check if the Debug->Windows->Live Watch->Globals view works (and updates the variables properly).

    in reply to: Additional Include Directories for ASM #27939
    support
    Keymaster

    Hi,

    VisualGDB would normally apply the regular C/C++ include directories and preprocessor macros to assembly files as well. If you want to add the include directory only to assembly files, you can instead add -I<directory> to Configuration Properties -> C/C++ -> Assembler -> Additional Assembly Flags.

    If it doesn’t work, please let us know what exactly you added in the settings and whether any similar directories are listed in the VisualGDB\Debug\<assembly file>.gcc.rsp file (that should contain all command-line flags passed to the assembler).

    in reply to: Zynq-7000 support #27933
    support
    Keymaster

    Hi,

    No problem. You can import an existing Zynq SDK into VisualGDB by following this tutorial. Once you create a basic project, you can export it into a project template for easier reuse.

    We can also convert your hardware-specific BSP generated by the Zynq tools into a VisualGDB-level BSP (similar to the STM32 BSP and others) as a part of our paid BSP service. Feel free to contact our sales if you would like to get a quote on that.

    You can run various scripts (and do all kinds of other custom actions) before/after build, and also at various stages of the debug process. See the Custom Build Steps and Custom Debug Steps pages of VisualGDB Project Properties for a detailed list of customization options.

    Let us know if you need any further details and we will be happy to help.

    in reply to: Unable to capture with ST NUCLEO-L476 #27930
    support
    Keymaster

    Hi,

    This should not be related to the protocol analyzers or specific I/O. It looks like the board never responds to the asynchronous I/O request. It could happen if the board had a pre-release version of the chip that would behave differently from the final one, or if the power/wiring was unreliable.

    Does that specific board behave unreliably when trying any other firmware (e.g. STM32 samples)? Does Analyzer2Go also hang when trying to use the record mode with no input signals at all?

    in reply to: Remote debugging in the time of covid-19 #27929
    support
    Keymaster

    Hi,

    The fast semihosting and using the custom FLASH drivers requires a secondary telnet connection to OpenOCD that runs in parallel with the regular GDB connection.

    Normally, VisualGDB would automatically configure OpenOCD to open a telnet port, and would then connect to it. However, for remote setups this won’t work. As a workaround, please try this build: https://sysprogs.com/files/tmp/OpenOCDPackage2.dll

    Then locate the PreferredTelnetPort element in the .vgdbsettings file and set it to a non-zero value (e.g. 4444). Add the following element next to it:

    <TelnetHostName>[IP address of the machine actually running OpenOCD]</TelnetHostName>

    Make sure that port is open in the firewall on the remote machine, so that VisualGDB can connect to it (you can recheck it with the actual telnet tool).

Viewing 15 posts - 2,206 through 2,220 (of 7,873 total)