-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: run openocd from a remote pc #36
Comments
This is certainly something I will consider for future versions - but don't know exactly when I will get to it. Thanks for the suggestion. |
With cppdbg, you would start openocd manually and adjust "miDebuggerServerAddress": "localhost:3333" to point to the remote hosts gdb server. |
Hi Marus, |
This is something that is still fairly low priority for me to officially support. There is technically a hidden "external" server type which may be able to support this now - something similar to the following for your launch.json may work (The syntax highlighting may show
(If you don't want to flash the remote target with the firmware; then you can use In this case though it doesn't know that it is specifically connecting to OpenOCD - so some features may to work properly that would otherwise work in an OpenOCD configuration (e.g. RTOS support, SWO output) |
@Marus the Getting "controller class is not a constructor". |
Has anyone gotten this to work? I assume you fill in your ip address as such.
|
I use it all the time from more than a year ago. Here is what is in the change log
|
I have been using the extension and found it to be very nice and valuable tool. Now, I wanted to run openocd from another computer in the same network. I was able to achieve this by modifying the source-code and changing the ip address and port numbers while at the same time disabling the local openocd. This is working fine but I was wondering if this is something you can consider for future releases. This can be in the form of providing optional arguments to disable the local openocd and provide the remote address and port numbers. The remote openocd can be started manually.
Thanks
The text was updated successfully, but these errors were encountered: