Forum Replies Created
-
AuthorPosts
-
support
KeymasterThis could happen if some of your file paths contained spaces. Please double-check that the toolchain, project and the code generated by STM32Cube does not reside in paths with spaces (or switch to the MSBuild system that supports paths with spaces since VisualGDB 5.3).
support
KeymasterHi,
Please try rebuilding the project. The .bin file should be generated in the same directory as the regular ELF file (with no extension).
If nothing helps, please try enabling diagnostic MSBuild output via Tools->Options->Projects and Solutions -> Build and Run and check for the details on the “GenerateBinFile” target.
support
KeymasterHi,
Please double-check that you have X11 installed on Raspberry Pi. Does running other programs (like xterm) over SmarTTY work?
support
KeymasterHi,
Yes, the embedded RTOS plugins require the Custom edition or higher. Starting with v5.2 the plugin is shipped with VisualGDB and can recognize FreeRTOS-based projects automatically from looking at the symbols, so as long as you are using the correct edition, no manual configuration is needed anymore.
support
KeymasterHi,
The “Error: JTAG scan chain interrogation failed: all zeroes” error almost always means wiring issues. Please double-check your connection, ensure no other peripherals share the JTAG lines. If nothing helps, please try using a logic analyzer to see if there is any JTAG activity on the corresponding pins.
support
KeymasterHi,
It should be on the Debug Settings page of VisualGDB Project Properties. If not, please attach a screenshot of this page (we have recently added attaching functionality to the forum) and we will advise.
July 1, 2017 at 04:44 in reply to: Use program files directory instead of %APPDATA% for BSP's? #11630support
KeymasterHi,
The Program Files directory is normally not writable (unless you launch VS as Administrator which is often not the case), so we store the downloaded files under $(LOCALAPPDATA).
We intentionally don’t pre-install ALL of the BSPs with VisualGDB as they often get updated and none of our users will probably need ALL of the BSPs for ALL supported platforms at the same time.
The STM32 BSP is indeed huge, but as the modern HDDs/SSDs are huge as well and the scenario of one computer/multiple users is relatively rare, we don’t want to change the current layout. As a possible quick workaround we could recommend creating symbolic links between the BSP directory under %LOCALAPPDATA%\VisualGDB and a shared BSP location outside the users’ appdata directories.
BTW, we are currently experimenting with storing $(BSP_ROOT) paths in the .vcxproj files instead of the relative paths to relocated BSPs and are planning to include this in the upcoming Preview 3 of v5.3. This should solve the problem you mentioned.
support
KeymasterHi,
Normally, checking the VisualGDB Diagnostics Console for the exact list of commands executed by VisualGDB adn re-running them manually should explain what is going on. Most likely some of the system tools (like gdbserver) got corrupt and resulted in invoking ld.so instead.
June 29, 2017 at 22:16 in reply to: How do you enable the 64-bit version of CppEngineHost.exe in Preview 2? #11625support
KeymasterHi,
This could be related to a recently fixed bug in the 64-bit engine. Please try downloading this build: http://sysprogs.com/files/tmp/VisualGDB-5.3.2.1620.msi
If the crashes still happen, please try deleting the CodeDB directory and reopening the solution.
June 29, 2017 at 19:00 in reply to: Use program files directory instead of %APPDATA% for BSP's? #11622support
KeymasterHi,
Yes, you can relocate the BSP as shown in this tutorial (requires Custom edition): https://visualgdb.com/tutorials/arm/multiuser/
support
KeymasterHi,
Looks like the image did not get uploaded properly. Could you please try attaching it to the post via the “attachments” button below?
June 29, 2017 at 18:27 in reply to: How do you enable the 64-bit version of CppEngineHost.exe in Preview 2? #11617support
KeymasterHi,
You can enable it via Tools->Options->Text Editors->C/C++ (VisualGDB)->Other->Use 64-bit Clang Engine. Note that you will need to reopen your solution in order for this setting to take effect.
support
KeymasterHi,
OK, we have added support for IntelliSense-only precompiled headers to VisualGDB 5.3 Preview 2.
support
KeymasterHi,
Thanks for reporting this, looks like our bug. We have updated our profiler package. You can download it via Tools->Manage VisualGDB Packages.
support
KeymasterHi,
The problem with converting an arbitrary Makefile-based project is that different Make-based projects store settings like CFLAGS slightly differently, so extracting them fully and reliably quickly gets too complicated. We have long-term plans for a tool that would reconstruct a project based on build logs (showing all gcc invocations), but it will not work on 100% of projects as Make projects often include custom build steps.
We have checked the internals of cmake-cli and will contribute an exporter module that will construct a VisualGDB project (similar to what it does for IAR projects) if the mbed community is OK with this.
-
AuthorPosts