support

Forum Replies Created

Viewing 15 posts - 3,676 through 3,690 (of 7,544 total)
  • Author
    Posts
  • in reply to: Flash #21852
    support
    Keymaster

    Hi,

    The FLASH programming logic used by VisualGDB is actually provided by Espressif (either the OpenOCD FLASH programming commands, or the esptool.py). Please check with Espressif regarding possible ways of optimizing either of those methods.

    in reply to: GoogleTest executor crashes #21844
    support
    Keymaster

    Hi,

    Thanks for attaching the detailed logs. One error shown in the log files is the missing ‘xauth’ executable that would cause problems when running commands that require X11 redirection. Please try disabling X11 support for that host via Tools->VisualGDB->SSH Host Manager.

    If this doesn’t help, please try this build and attach an updated log from the Test Output: http://sysprogs.com/files/tmp/VisualGDB-5.4.4.2411.msi

     

    in reply to: xerces xml parser clang fail #21843
    support
    Keymaster

    Hi,

    The red underlines are normally shown when the Clang IntelliSense discovers errors in the code. Please check the Errors pane in Visual Studio for a specific list of errors. They should explain what is causing the problem (e.g. a missing header file, or an incompatible macro definition).

    If you are not sure, please attach a screenshot of the entire VS window (showing the Solution Explorer, the source file with the navigation bar and the error pane) so we could check for common known issues.

    in reply to: CMake project – FreeRTOS analysis #21842
    support
    Keymaster

    Hi,

    Sorry, the embedded CMake projects are currently somewhat limited compared to Make-based and MSBuild-based (recommended) projects and might result in weird bugs like the one with add_definitions(). We are working on improving this in v5.4, however currently using CMake for embedded targets requires some manual configuration.

    You can enable the generation of relocation records by adding the following flag to LDFLAGS:

    -Wl,-q

    This should have the same effect as clicking “enable generation of relocation records” for MSBuild-based projects.

    support
    Keymaster

    Hi,

    If the log messages are exactly the same (OpenOCD doesn’t report any errors and gdb reports Remote communication error), most likely something in your system (e.g. a firewall) is preventing gdb from connecting to OpenOCD. Please try disabling the firewall to see if it solves the problem.

    If not, please double-check that the port shown in the OpenOCD log matches the port shown in the gdb log. If this is the case, try connecting to the OpenOCD port manually using the telnet command.

    support
    Keymaster

    Hi,

    The test output looks OK. Please try restarting your computer and see if the problem still persists. If it does, please check the OpenOCD output from the debug session (VisualGDB should show it as a tab in the ‘debugging failed’ window). If gdb reports a failed connection to OpenOCD, the OpenOCD output should contain some kind of an error.

    support
    Keymaster

    Hi,

    It looks like gdb fails to connect to OpenOCD. Please check the OpenOCD log for details or try using the ‘test’ button in VisualGDB Project Properties -> Debug.

    in reply to: ESP32 GDB Stub Warning #21829
    support
    Keymaster

    Hi,

    The ESP32 gdb stub (component responsible for debugging via the COM port) does not come from us – it is a part of the ESP-IDF provided by Espressif. As soon as Espressif updates the stub to support fully functional debugging, we will update our tools to support it out-of-the-box. Until that is supported, please use JTAG for debugging.

    If you find the message itself annoying, we can easily add a “do not show again” option.

    in reply to: ESP32 Reduce compile time #21828
    support
    Keymaster

    Hi,

    Normally VisualGDB will add it automatically based on your CPU core count, so no action is required.

    You can also specify it manually via VisualGDB Project Properties -> ESP-IDF Project -> Additional Arguments.

    in reply to: ESP32 menconfig cahnges #21827
    support
    Keymaster

    Hi,

    If you want to change the menuconfig values, simply use the first page of VisualGDB project properties. It contains a graphical editor for the menuconfig entries parsed from your project.

    If you want to add new custom entries, simply add/edit KConfig files in your component directories (see the ESP-IDF documentation for more details on that).

    in reply to: ESP-IDF load error #21826
    support
    Keymaster

    Hi,

    Looks like the Cygwin environment might not be compatible with the UNC paths. Please ensure both the ESP32 toolchain and your project are located on a regular drive letter-based path (e.g. x:\folder\subfolder) and are not using the UNC paths (\\server\share).

    in reply to: ANSI/XTerm Control Sequences in raw terminal ? #21825
    support
    Keymaster

    Hi,

    Sorry, we are not able to create such a tool on-demand. We might be able to support ITM stream demultiplexing as a part of our Segger debug package later, however it is difficult to give any time estimates at this point.

    If you could get the 3rd-party tool you mentioned to the point where it works when launched manually and accessed via telnet, we can help you integrate it into VisualGDB, but unfortunately we won’t be able to do any deeper research/customization for this.

    Generally we advise using our Fast Semihosting framework instead. It is based on background memory reads, so it doesn’t stop the target; it is fully integrated with the VisualGDB GUI (including the ANSI sequences), is independent from the specific debug method and works with the regular printf() and other functions. It should be much easier than integrating external ITM stream processing tools into the VisualGDB workflow.

    support
    Keymaster

    Hi,

    Sorry for the delay. We have discovered an unrelated problem while investigating this, however it should not trigger for MSBuild-based projects.

    We have rechecked the sample and applied the following workarounds:

    • Manually defined sram_layout and VECT_TAB_SRAM (will be fixed in the upcoming BSP update)
    • Replaced SCB_VTOR assignment as follows:
     SCB->VTOR = RAMDTCM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */

    The sample did run correctly after those fixes. If it doesn’t work on your side, please attach an archive with your project (clean the project and remove the .vs folder before archiving) and we can compare it with the project on our side to see what could be causing this.

     

    in reply to: NullReferenceException while import Keil project #21811
    support
    Keymaster

    Hi,

    Sorry about that, looks like a bug introduced by a recent refactoring. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.4.2407.msi

    in reply to: Shared folder mounting error #21810
    support
    Keymaster

    Hi,

    It looks like some sort of a communication issue between your Linux host and the Windows host.

    Please ensure that you can ping the Windows host from the Linux host and that you can connect to port 139. If not, please double-check your firewall settings.

Viewing 15 posts - 3,676 through 3,690 (of 7,544 total)