Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
You could select the “custom mode” as the debug method and specify “gdb –interpreter mi $(TargetPath)” as your command and “target remote :<port>” as the target selection command.
Then VisualGDB won’t take any extra steps like trying to run a GDB stub.
support
KeymasterHi,
Please open VisualGDB Project Properties and check the build command there. If you are not sure, please send us your .vgdbsettings file so that we could help you locate the command.
support
KeymasterHi,
No problem. If you encounter further problems, feel free to contact us.
support
KeymasterHi,
Good to know you got it to work. If you encounter further problems, feel free to let us know.
support
KeymasterHi,
According to the STM32F7-Discovery schematics, an LED is connected to GPIOI1. Please select it in the wizard, or adjust the code afterwards.
support
KeymasterHi,
The extensibility interfaces are not documented as they are used by a fairly small amount of our users. If you have specific questions about those, feel free to ask here or direct them to our support.
support
KeymasterThis is a known bug in 4.3 that has been fixed in 5.0.
support
KeymasterHi,
Thanks for the link, we will investigate it and see if we can add similar functionality to VisualGDB.
support
KeymasterHi,
Please try using OpenOCD as it is more stable than Texane ST-Link.
support
KeymasterPlease add the following commands to the GDB Startup commands (after target selection) in VisualGDB Project Properties:
mon semihosting enable mon semihosting IOClient 2
Then call the initialise_monitor_handles() function in your main():
#include <stdio.h> extern "C" void initialise_monitor_handles(); int main(void) { initialise_monitor_handles(); printf("test\n"); }
Finally switch the GDB Session window to “All GDB Interaction” to see the semihosting output from the Segger GDB stub.
You can also change “IOClient 2” to “IOClient 1” to direct semihosting output to a telnet port 2333.
support
KeymasterThanks for letting us know. We usually update our STM32 libraries quarterly. We will ensure that the next update includes the latest Cube files for F0.
August 25, 2015 at 22:05 in reply to: nrf51 Proximity Sample – Error modifying project settings #6857support
KeymasterHi,
Please try relocating the BSP to a directory with a shorter path (e.g. c:\nrf51) as described in this tutorial: http://visualgdb.com/tutorials/arm/multiuser/
support
KeymasterAre you using OpenOCD or Segger software? Segger software should have their own implementation of semihosting (activated by “monitor semihosting enable” command).
August 20, 2015 at 18:10 in reply to: Cannot context-open header files included in the project, clang engine #6851support
KeymasterHi,
We tried reproducing your example, but could not get anything to fail. Hence I would assume that the problem is caused by some detail omitted in your message (e.g. relative paths, some extra spaces or tabs, file name lengths). If you could send us an archive with the exact files that fail for you, we should be able to fix it fairly fast.
Clang IntelliSense parses the entire project when:
- You search for a definition (not declaration with Ctrl-F12) of a function that is not defined in the current translation unit.
- The function is not static.
If this happens in some other case, please give us an example file and we should be able to fix it quickly.
We know that our IntelliSense engine has some bugs that are not present in Eclipse and that’s why we always ask for detailed repro steps that help us nailing down those bugs and fixing them. As long as we can reproduce the bug on our side, we typically release a hotfix within 24 hours. Hence if you could provide us with the exact file that causes the bugs on your side, most likely we will resolve it very fast.
support
KeymasterWe do not allow switching toolchains for existing projects because different toolchains have different settings formats and switching them may introduce serious bugs. We would recommend creating a new project and then importing the existing files into it. If you absolutely want to override the toolchain, you can edit the <mcu>.xml and <mcu>.mak files in your project directory replacing the references manually.
-
AuthorPosts