support

Forum Replies Created

Viewing 15 posts - 3,991 through 4,005 (of 7,876 total)
  • Author
    Posts
  • in reply to: VisualGDb cannot use Mingw64 version 5.0 #21895
    support
    Keymaster

    Hi,

    Please try restarting Visual Studio. If it doesn’t help, please let us know how did you import the toolchain (automatic installation via VisualGDB, manual import, copied the XML file, etc.) and whether the toolchain is shown in the VisualGDB Package Manager or the toolchain selector in the wizard.

    in reply to: ESP32 project doesn't open after latest Toolchain update #21893
    support
    Keymaster

    Hi,

    Please try running the build command shown in the log file manually and check the output for error messages. Most likely your project either contains constructs incompatible with the newer IDF, or some files cached from the previous build are interfering with the build. In the latter case, please try doing a clean build (Build->Rebuild All). This should remove any cached files.

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

    Hi,

    No problem. This message means that the ProfilerRTOS_FreeRTOS.c file from the profiler framework was either not built, or the USE_FREERTOS macro was not set. Please ensure that the file is include in your target’s file list and try adding USE_FREERTOS to the preprocessor macro list.

    in reply to: Missing Hardware register definition on ESP32 #21880
    support
    Keymaster

    Hi,

    No problem. The ESP32 register definitions are not 100% precise, as they are computed from parsing the ESP-IDF header files. We have updated the code responsible for parsing them to handle some of the previously missing registers (see the R11 toolchain release here).

    However, other registers (e.g. SPI, UART) that use non-trivial rules for computing the base addresses are still not included. As a workaround, please consider editing the <SysGCC>\esp32\esp-bsp\registers.xml file manually or hardcoding the rules for the missing register groups in our header file parser.

    in reply to: OTA or Failsafe Dual Boot for STM32F746 #21879
    support
    Keymaster

    Hi,

    Sorry, VisualGDB doesn’t provide any specific tools for STM32 OTA. We would advise checking the ST examples (they can be conveniently selected on the Sample page of the VisualGDB Project Wizard) and incorporating the code/techniques from them into your code.

    support
    Keymaster

    Hi,

    Sorry, the “download remote directory” command indeed only works with the remote Linux targets. To copy a local folder, please add a custom command line action (xcopy /E <source directory> <target directory>).

    in reply to: C11 extensions & Clang-based IntelliSense #21876
    support
    Keymaster

    Hi,

    This is by design. Our clang engine automatically strips the options that were not tested for compatibility when applying the raw flags reported by CMake.

    There are a few easy workarounds though:

    • You could try adding “-fms-extensions” to the VisualGDB Project Properties -> IntelliSense Settings -> CFLAGS/CXXFLAGS.
    • You could also try editing the CppEngineTuningInfo.xml file in the VisualGDB directory (add -fms-extensions to RelevantCFLAGPrefixes) and restarting Visual Studio.

    Please be advised, that we have not explicitly tested this flag with our engine, so it might cause unexpected side effects.

    in reply to: Illegal characters in path #21871
    support
    Keymaster

    Hi,

    Sorry about that, looks like the proper exception trace for this case wasn’t saved correctly. Please try this build and attach the updated trace: http://sysprogs.com/files/tmp/VisualGDB-5.4.4.2417.msi

    support
    Keymaster

    Hi,

    If it works on the other board, the problem might be caused by some a different configuration/revision + a bug in OpenOCD. If OpenOCD doesn’t show any definitive error messages, you could try building it from the sources (our OpenOCD fork contains convenient CMake build scripts and you can get a compatible MinGW toolchain as described here) and stepping through initialization code to see what triggers the error. Generally, though, please be advised that the ESP32 tools are less reliable than the ARM tools and simply switching to the board that works might be an easier solution.

    support
    Keymaster

    Hi,

    No problem. Let us know if you encounter further issues and we will be happy to help.

    in reply to: Flashing Arduino Zero Clone does not work #21864
    support
    Keymaster

    Hi,

    Thanks for your input. We have redesigned the Raw Terminal/Arduino Terminal window to support automatic reconnecting, easier editing of settings, graying out previous text instead of clearing it and several other usability features. We have also resolved several issues you reported. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.4.2418.msi

    We have also added support for defining reset sequences for Arduino targets. The easiest way to get started with them would be to edit the ArduinoDeviceIDRules.xml file in the VisualGDB directory. Add the <TerminalResetSequence> element under the <Rule> element for the ARM devices (see the ESP32 rule for an example of the TerminalResetSequence syntax) and restart Visual Studio. Next time you open the raw terminal for your Arduino project, it will show the “Reset target” button that will execute the specified script on the COM port. Let us know if you need more details about reset scripting and we will help you get it to work.

    With the VS exceptions, unfortunately we were not able to reproduce them on our side, however it looks like they are caused by the recently added VC++ template bar. Please try checking if the issue can be reproduced on a regular VC++ project (not VisualGDB-based), specifically if you try unloading/reloading it via context menu. If this is the case, please feel free to submit a bug report to Microsoft. If not, please let us know if you manage to get a reliable way to reproduce the problem and we will re-investigate it.

    Let us know if you have any feedback/further suggestions and we will be happy to make VisualGDB even better.

    • This reply was modified 7 years, 3 months ago by support. Reason: Added support for reset sequences
    in reply to: Illegal characters in path #21863
    support
    Keymaster

    Hi,

    Most likely VisualGDB fails to process some path reported by one of the internal components. Please try downloading VisualGDB 5.4 Preview 4 and then check the View->Other Windows->VisualGDB Diagnostics Console for detailed exception traces. Please let us know the stack trace shown there and we should be able to fix this, or suggest a workaround.

    in reply to: Debug FreeRTOS error #21862
    support
    Keymaster

    Hi,

    Sorry, our stack validation logic currently only supports ARM devices. The ESP-IDF is being actively developed and is becoming more popular and mainstream, so we do have long-term plans of porting many ARM-specific features to ESP32, however currently the stack/heap validation tools are limited to those provided by the ESP-IDF itself.

    support
    Keymaster

    Hi,

    The advanced CMake projects are not based on the Visual C++ project type, so the regular Visual C++ IntelliSense won’t work for them, hence VisualGDB does not allow disabling the Clang IntelliSense.

    One option would be to create a regular non-advanced CMake project, however it would miss many usability features of the Advanced CMake Project Subsystem.

    Please feel free to share the details on the issues you encounter with Clang IntelliSense and we will help you resolve them.

     

    in reply to: GoogleTest executor crashes #21855
    support
    Keymaster

    Hi,

    Thanks for the log file. We have fixed the first issue in this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.4.2413.msi

    The second error looks like the test process terminates unexpectedly, breaking the connection. Please try identifying a specific test that causes it and then use the “Debug Tests” instead of “Run Tests” command to try locating the code responsible for closing the process.

Viewing 15 posts - 3,991 through 4,005 (of 7,876 total)