support

Forum Replies Created

Viewing 15 posts - 6,541 through 6,555 (of 7,813 total)
  • Author
    Posts
  • in reply to: Feature request: Cortex ITM/SWO support #7572
    support
    Keymaster

    Hi,

    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).

    support
    Keymaster

    Good to know it works. If you run into further problems, let us know.

    in reply to: Raspicam example not working #7559
    support
    Keymaster

    Please try setting the “run GDB as root with sudo” flag in VisualGDB Project Properties.

    in reply to: STM32 Memory Problem #7558
    support
    Keymaster

    Yes, 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.

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7557
    support
    Keymaster

    Hi,

    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.

    in reply to: VisualGDB error: cc1plus.exe: out of memory allocating #7556
    support
    Keymaster

    Cool, thanks for sharing this.

    in reply to: VisualGDB can't debug parts of a library #7555
    support
    Keymaster

    Hi,

    Good to know it works, if you encounter any other problems, feel free to create a new topic.

    in reply to: STM32F4 with J-Link, device selection #7554
    support
    Keymaster

    Hi,

    Strange, we have never managed to reproduce that. Which version of the Segger software are you using?

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7536
    support
    Keymaster

    Hi,

    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.

    in reply to: VisualGDB can't debug parts of a library #7535
    support
    Keymaster

    Hi,

    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.

    in reply to: LIBSSH2_ERROR_SOCKET_SEND during deploy #7534
    support
    Keymaster

    Hi,

    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.

    in reply to: Launch failed when flashing without debugging #7533
    support
    Keymaster

    Hi,

    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.

    in reply to: ESP8266 SDK update, context switching #7532
    support
    Keymaster

    Hi,

    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.

    in reply to: CLang autocomplet… #7531
    support
    Keymaster

    Hi,

    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.

    in reply to: STM32F4 with J-Link, device selection #7530
    support
    Keymaster

    Hi,

    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.

Viewing 15 posts - 6,541 through 6,555 (of 7,813 total)