If you have gnupg installed, then it might be claiming the USB interface now that the device is an OpenPGP key. Try killing gpg-agent, unplugging, and plugging back in.<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 20, 2018, 3:40 PM Patrick van Staveren <<a href="mailto:trick@vanstaveren.us">trick@vanstaveren.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi there,<div dir="auto"><br></div><div dir="auto">I am new to Gnuk so forgive me if this is a newbie mistake...</div><div dir="auto"><br></div><div dir="auto">I have successfully built and programmed Gnuk onto a ST-Link V2 clone (target=ST_DONGLE). I have programmed it with OpenOCD using another ST-Link V2 :) it works.</div><div dir="auto"><br></div><div dir="auto">However it now seems that the SWD interface on the Gnuk target board is disabled so I can't connect with OpenOCD to reprogram it. OpenOCD behaves as if I'm not plugged into any device.</div><div dir="auto"><br></div><div dir="auto">Is this by design? I assume it might be, to close this off as a vector of attack. Is there a way to open it back up? I don't mind losing the key I've generated on it as this is just experimental so far.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br><div data-smartmail="gmail_signature" dir="auto">--<br>Patrick "Trick" van Staveren<br><a href="http://trick.vanstaveren.us/" target="_blank">http://trick.vanstaveren.us/</a></div></div></div>
_______________________________________________<br>
Gnuk-users mailing list<br>
<a href="mailto:Gnuk-users@gnupg.org" target="_blank">Gnuk-users@gnupg.org</a><br>
<a href="https://lists.gnupg.org/mailman/listinfo/gnuk-users" rel="noreferrer" target="_blank">https://lists.gnupg.org/mailman/listinfo/gnuk-users</a></blockquote></div>