Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
Looks like you are using Resharper that is not fully compatible with GCC-specific code. Please try disabling it for VisualGDB projects.
support
KeymasterHi,
The RTX/FreeRTOS switch actually comes from the device manufacturer. VisualGDB examples are based on the ones included in the original device SDK and if a certain feature is discontinued in the newer SDK version, VisualGDB will drop it as well. If you let us know the exact device you are using, we may be able to point you to an older SDK that supports RTX.
support
KeymasterHi,
The experience we got with OpenOCD, ST-Link and SWO was that after a while the ST-Link suddenly stopped working until we physically re-plugged it. It was also very inconsistent – sometimes it worked, and the other time it did not, so it looked like some bug of the ST-Link firmware. As we tried it more than a year ago, it could have been fixed in the latest ST-Link firmware.
Regarding the launcher output, please consider putting your program to Custom Debug Steps -> Remote Console -> Use the following command to start the console. It will put your program to a separate pane in Visual Studio and will provide better experience than just the launcher output.
support
KeymasterHi,
No problem, we could add a tutorial. Let us know which project you are trying to import and we will see if we can make a detailed tutorial on that.
support
KeymasterHi,
Sorry, when it comes to ESP8266 and ESP32, each new version of the framework comes with its own set of issues, so we only officially support the ones that we retest and repackage. You can try experimenting with different settings and libraries at your own risk to get it to work, or simply wait until we repackage the final esp-idf release and resolve all the issues we discover. As it requires substantial effort on our side to resolve those issues each time, we only do that for major SDK releases. Sorry.
support
KeymasterHi,
Please check the OpenOCD window for errors related to FLASH programming. This should explain why the initial programming fails.
Please also double-check that you are not comparing the .user_data section after it is rewritten by your program and no longer matches the contents recorded in the ELF file.
support
KeymasterHi,
This happens because the esp-idf repo does not actually contain all the libraries. Instead they are automatically downloaded first time you build a project with it.
Hence the recommended procedure is to build one of the sample projects from esp-idf on Linux and then copy the esp-idf directory on Windows and try generating a BSP from it.
We will look into updating our ESP32 toolchain once the esp-idf 2.0 reaches the final release stage.
February 16, 2017 at 17:28 in reply to: Project dependencies not building with VisualGDB.exe in commandline #10435support
KeymasterHi,
Perhaps something in your setup is removing the environment variable before launching msbuild?
Please try running “echo %VISUALGDB_DIR%” just before launching MSBuild. This should output the VISUALGDB_DIR variable.
February 16, 2017 at 05:38 in reply to: Project dependencies not building with VisualGDB.exe in commandline #10428support
KeymasterHi,
This is by design. VisualGDB relies on Visual Studio to handle the project dependencies. Please either create a .bat file that will build all the projects, or build the .sln file by running devenv.exe or msbuild.exe from command line.
support
KeymasterHi,
Thanks. Are you using the latest VisualGDB 5.2R8? If not, please try updating. You can also force VisualGDB to update the file references by clicking on a different MCU on the first page of VisualGDB Project Properties and then selecting the current one back and pressing “Apply”.
support
KeymasterHi,
This is indeed strange. Could you please attach your .vgdbsettings file or send it to us via the support form? This should help us see if this is a VisualGDB bug.
support
KeymasterHi,
OK, thanks for the GDB log. It looks like the FLASH programming code does not report any errors (code 0 below):
-data-evaluate-expression “\*\(\(unsigned\ \*\)0x3fff8014\)” ^done,value=”0″
so normally the program should work. Are you able to communicate with the board using the esptool.py? If yes, could you try reading the FLASH memory at addresses 0 and 0x10000 and comparing it with the OMC-<address>.bin files? This should explain if the FLASH gets programmed at all.
We have also ordered a NodeMCU board and should get it by the end of March. We will check it once it arrives as post a detailed tutorial.
support
KeymasterHi,
The “Invalid configuration” would happen if you have accidentally deleted the file with per-configuration flags. The easiest workaround would be to re-create the project.
Please note that for new projects we recommend using MSBuild as it is faster and more flexible.
support
KeymasterHi,
Sorry, this is not supported on MSBuild yet. As a workaround, please try running pkg-config and adding the flags manually.
support
KeymasterHi,
This is expected as GNU Make uses absolute paths in the dependency files. Please try rebuilding the project (Build->Rebuild All) instead of just building it.
-
AuthorPosts