<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Unable to connect JLinkGDBServer to nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82515/unable-to-connect-jlinkgdbserver-to-nrf52840</link><description>Hi, 
 
 I&amp;#39;m trying to connect to hook-up a debugger in VSCode to my target but am unable to. The hardware is custom and JLink connects fine with nrfjprog to program and erase the device. 
 I&amp;#39;m using a Linux VM with the SEGGER J-Link USB device passed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Dec 2021 20:42:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82515/unable-to-connect-jlinkgdbserver-to-nrf52840" /><item><title>RE: Unable to connect JLinkGDBServer to nRF52840</title><link>https://devzone.nordicsemi.com/thread/342996?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 20:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0050947b-d86b-40fb-9a18-60be140c84d4</guid><dc:creator>Daniel Veilleux</dc:creator><description>&lt;p&gt;What does the output look like now that you have SWD selected instead of JTAG? Your original invocation worked for me on my Linux machine as long as I selected SWD. &lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started/posts/using-gdb-with-nordic-devices"&gt;I normally use JLinkGDBServerCL though.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect JLinkGDBServer to nRF52840</title><link>https://devzone.nordicsemi.com/thread/342988?ContentTypeID=1</link><pubDate>Fri, 10 Dec 2021 17:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e1cad83-8d70-4eab-9c78-640a066ff039</guid><dc:creator>stdcerr</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I did set the -if to swd but still get the same error. Yes, my device has been fully passed through the VM. I&amp;nbsp;am able to flash, clear and reset the&amp;nbsp;target device fine with the nrfjprog tool&amp;nbsp;using the command line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect JLinkGDBServer to nRF52840</title><link>https://devzone.nordicsemi.com/thread/342482?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 08:38:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e569edf-d3e5-4a8e-a22a-92d6ab8beb0a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You must specify &amp;quot;-if swd&amp;quot; as none of the nRF devices have jtag support.&lt;/p&gt;
&lt;p&gt;Are you sure that your device has been fully passed through the VM? are you able to flash a device normally?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect JLinkGDBServer to nRF52840</title><link>https://devzone.nordicsemi.com/thread/342445?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 02:00:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:422b8437-316d-4451-8391-8c01ea8eac81</guid><dc:creator>stdcerr</dc:creator><description>&lt;p&gt;Hi Daniel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your response but that unfortunately did not resolve my problem either, plus I think I tried to add it as well as replace the existing -if jtag with -if swd but that doesn&amp;#39;t seem to work either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to connect JLinkGDBServer to nRF52840</title><link>https://devzone.nordicsemi.com/thread/342440?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 23:45:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15de398e-4bb8-4f87-b703-ee17dbfe8e84</guid><dc:creator>Daniel Veilleux</dc:creator><description>&lt;p&gt;Add &amp;#39;-if swd&amp;#39; to your arguments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>