support

Forum Replies Created

Viewing 15 posts - 6,331 through 6,345 (of 7,857 total)
  • Author
    Posts
  • in reply to: Dynamic library debug #8258
    support
    Keymaster

    Not sure what you meant. Adding a non-existent path to IntelliSense should have no effect and be the same as not adding any path there.

    in reply to: VisualGDB Path Mapping #8257
    support
    Keymaster

    Hi,

    Are you using a cross-compiler that runs on Windows, or compiling on Linux remotely via SSH?

    in reply to: Yocto-Linux #8256
    support
    Keymaster

    Hi,

    Good to know it works. Let us know if you encounter further problems.

    Note that we do recommend using Debian-based Linux distros like Ubuntu as they have convenient package managers that can install most of the commonly used software.

    in reply to: Preinitialization with Segger #8251
    support
    Keymaster

    Hi,

    Thanks for letting us know. Yes, the after-initialization commands are indeed executed after ALL of the commands from the debug method.

    As a better workaround, you can define a variable like “com.yourname.init_mcu” in your custom device definition and then add $$com.yourname.init_mcu$$ to the startup commands in the EDP. Then you won’t have to hardcode the device-specific commands in the EDP file.

    We currently don’t have any plans for changing the current behavior as it looks like a fairly rare scenario and the workaround is also very simple, however if you believe it’s a big annoyance (or anyone else encounters a similar issue), please let us know so that we could reconsider this.

    in reply to: nRF51 Soft Devices #8250
    support
    Keymaster

    Hi,

    It looks like Nordic has discontinued the S110 softdevice in the latest SDK. Please use S130 instead or install the previous version of the SDK.

    in reply to: Yocto-Linux #8249
    support
    Keymaster

    Hi,

    Most likely the new image does not have the OpenSSH server installed. You can install it by logging on via a COM port and running “sudo apt-get install openssh-server”.

    in reply to: Yocto-Linux #8242
    support
    Keymaster

    OK, this confirms that you can connect from your Windows machine. Could you run “telnet 192.168.0.100 2000” on the Linux machine and see if gdbserver reports an incoming connection like it does when connecting from Windows?

    in reply to: Can VGDB cope with >1 STlink attached at a time? #8241
    support
    Keymaster

    Please check the actual output of OpenOCD. It should contain information about the specific error. If you are not sure, please post the output here so that we could help you.

    in reply to: Yocto-Linux #8235
    support
    Keymaster

    OK, so you can telnet to 192.168.0.100:2000 from the target itself, but not from Windows, right? If yes, please try disabling the firewall on the target.

    in reply to: Yocto-Linux #8233
    support
    Keymaster

    OK, this means that the connection between the gdb machine and the target machine cannot be established. Please try the following:

    1. Manually launch “gdbserver :2000 <deployed binary>” on the target
    2. Try connecting to 192.168.0.100:2000 via telnet from the gdb machine. If this does not work, try connecting from the Windows machine. If this does not work either, try connecting from the target machine itself.

    If the only machine you can connect from is the target machine itself, please check your network & firewall settings. If you can connect from Windows, but not from Linux, check that both machines are on the same network and that no firewall between them is blocking connections.

    support
    Keymaster

    This does not look like something coming from VisualGDB. Which version of VisualGDB are you using?

    in reply to: Yocto-Linux #8229
    support
    Keymaster

    If VisualGDB asks for a process to attach, it means that your debug settings have “Attach to a process” selected. Please open VisualGDB Project Properties and change gdb launch mode to “Debug a new instance”. This should resolve the problem.

    in reply to: Can VGDB cope with >1 STlink attached at a time? #8228
    support
    Keymaster

    Please use Tools->Embedded Tools Manager->Check for updates.

    Please also update VisualGDB to 5.1r6 as the previous versions have a known issue that sometimes corrupts OpenOCD settings with the new OpenOCD.

    in reply to: Yocto-Linux #8224
    support
    Keymaster

    Hi,

    Normally VisualGDB will automatically deploy everything when you start debugging.

    If GDB reports the “Connection timed out.” error, most likely either the gdbserver failed to initialize properly, or your firewall is blocking the connection. Does the gdbserver window in Visual Studio show any errors, or is it reporting a successfully opened socket on port 2000?

    in reply to: Source Patch bug and some more #8223
    support
    Keymaster

    Hi,

    Thanks for reporting this, we have fixed the second issue and will fix the first one in v5.2.

    If you want to try an internal build with the first one resolved, let us know.

Viewing 15 posts - 6,331 through 6,345 (of 7,857 total)