Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
You should be able to automate this command via the Additional GDB Commands in VisualGDB Project Properties, so there is no need to change anything on our side.
BTW, VisualGDB 5.1 supports a new fast semihosting mechanism that is based on the same technology as Live Variables. It uses a circular buffer inside your program to send semihosting output without stopping the program, resulting in much higher speeds. Please consider giving it a try (you will need to enable it on the Embedded Frameworks page).
January 27, 2016 at 22:21 in reply to: VS2010 poco Beaglebone Cross Compile. Build fail Header file not found #7560support
KeymasterGood to know it works. If you run into further problems, let us know.
support
KeymasterPlease try setting the “run GDB as root with sudo” flag in VisualGDB Project Properties.
support
KeymasterYes, that should help. Also VisualGDB 5.1 Preview 2 automatically verifies _estack by trying to write at _estack – 4 and check that the memory gets actually modified.
January 27, 2016 at 22:14 in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7557support
KeymasterHi,
Yes, the library should be suited for ARM devices. Furthermore, it should be compiled with the matching CPU type, ABI and floating point settings.
Please ask the vendor for a specific library for Raspberry Pi or the library sources so that you can build it yourself.
support
KeymasterCool, thanks for sharing this.
support
KeymasterHi,
Good to know it works, if you encounter any other problems, feel free to create a new topic.
support
KeymasterHi,
Strange, we have never managed to reproduce that. Which version of the Segger software are you using?
January 25, 2016 at 21:50 in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7536support
KeymasterHi,
Then we would recommend asking the camera vendor for a C++ project example showing how to use their library. You can then import that example into a VisualGDB project and step through it to understand how it works.
support
KeymasterHi,
No worries, we’ll help you get it right.
First of all, please use just the function name without brackets (e.g. TestFunc, not TestFunc()). Then if it does not help, run “nm <library name>” without grep to see if the library symbols can be viewed at all.
If ‘nm’ does not provide reasonable output, you can also run “objdump -t <library name>” to list the symbols using another method.
You can also run “stat <library name>” to see the modification time of the library. If you are using the old version you should clearly see it from the modification time.
Remember, your code inside the library must actually call the TestFunc(), as otherwise it will be discarded by the linker as an unused function.”
If nothing helps, please share the output of the nm and objdump commands here.
support
KeymasterHi,
This error means that the SSH server simply drops the connection. The only way to diagnose this is to reproduce it on a simpler setup (1 machine, 1 project) and experiment with the SSH server settings to see what causes the error. Perhaps deploying a large file or trying to deploy several files sequentially causes the problem.
support
KeymasterHi,
Thanks, we have reproduced and fixed it in the upcoming Beta 1 (after Preview 2). As a workaround, please use the Debug->Program without debugging command.
support
KeymasterHi,
You should be able to replace the contents of the <SysGCC>\esp8266\esp8266-bsp\RTOS-SDK folder with the new RTOS SDK in order to update it.
As for the context switching, preventing it may interfere with some internal logic of the ESP8266 drivers, so we would not recommend doing that. To be 100% sure, we would recommend asking he Espressif support, as they have developed the SDK and should know the exact answer.
support
KeymasterHi,
Not sure which exact setting you mean, but we have added a button to VisualGDB 5.1 Preview 2 that controls whether the code completion popup appears when you press Ctrl-Space or automatically when you start typing.
Simply use the leftmost button with the lightning icon in the completion popup to switch this mode.
support
KeymasterHi,
Normally you can select the device in VisualGDB Project Properties -> Debug settings. Then VisualGDB will remember it and pass it to the Segger tool so it won’t ask it each time.
Let us know if this does not work.
-
AuthorPosts