-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
IDE / OSX / ZERO remove the openocd.bin popup #4330
Comments
I think openocd opens up a port on localhost for three different protocols (gdbserver, telnet and one more). One of them is disabled in the openocd script, but not the others. They should all be disabled, but possibly not in the config file but on the commandline. I'll pick this one up along with my other openocd improvements. |
@matthijskooijman I started looking at this briefly. Although the OpenOCD documentation suggests you can disable the I can look into submitting a patch upstream for this, unless you want to? |
Hm, I seem to vaguely remember some discrepancies between docs and code in this area. Perhaps gdp_port 0 works? It would be worth submitting a bug report or patch upstream if actual behaviour does not match docs, though. Feel free to do so, then I'll think about how / where to put the actual disabling directive :-) |
Unfortunately Sounds good, I'll keep you posted on the patch progress here. |
You might want to check the other options as well, IIRC openocd binds to three ports by default (telnet_port, gdb_port and one other). |
It's definitely the This is the commit in OpenOCD which removed the 0 / disabled option for |
Not sure if I understand that commit fully, but it appears that tcl_port and telnet_port got special handling for "disabled", but gdb_port did not. In fact, I suspect that previously, "disabled" worked because the integer parsing failed and returned 0, which was interpreted as disabled for all options? |
I've submitted the following OpenOCD patch upstream: http://openocd.zylin.com/#/c/3175/ We can add the parameter in the SAMD core's |
@cmaglie http://openocd.zylin.com/#/c/3175/ has been merged so we can pull in the change into the Arduino version of openocd. |
From a user perspective it's not obvious what this binary is and why it needs to accept incoming connections. Plus, it's annoying to click it away with every upload to the ZERO board.
The text was updated successfully, but these errors were encountered: