<?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>Often failed to connect to J-Link of nRF52840 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78489/often-failed-to-connect-to-j-link-of-nrf52840-dk</link><description>Why does a laptop (MacBook Pro, 2019, macOS Catalina) lose connections with a nRF52840 DK so often? When I try to Build and Debug I often see such kind of errors: 
 
 
 
 Sometimes SES doesn&amp;#39;t see a board and proposes to use a simulator, sometimes it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Nov 2023 08:27:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78489/often-failed-to-connect-to-j-link-of-nrf52840-dk" /><item><title>RE: Often failed to connect to J-Link of nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/456083?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2023 08:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58057139-e0ae-43a1-98d7-f872e355a0a5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please open a new ticket on this if the problems remain, and provide as much information as you can about what you have tried, which errors you get etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Often failed to connect to J-Link of nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/455997?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2023 14:06:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:051eee00-5b86-4cb3-a3f7-31e6096f49f8</guid><dc:creator>Uvis</dc:creator><description>&lt;p&gt;I have a similar issue, where the J-link would not connect or I get error message: &amp;quot;connection timed out&amp;quot;, sometimes it would work other times it would not.&lt;/p&gt;
&lt;p&gt;But this issue is only present when using SES or nrfjprog on Apple Macbook M2 Pro. When using Jlink through command line it always connects with no issues even on the macbook.&lt;/p&gt;
&lt;p&gt;It works fine on Windows laptop&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Often failed to connect to J-Link of nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/325029?ContentTypeID=1</link><pubDate>Mon, 16 Aug 2021 08:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39a509e0-7f27-44d7-8628-d3e7263d528d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for the update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Usually grounding issues like these are only a problem if you connect some other electrical device (such as an oscilloscope) to the same board. If the laptop and the oscilloscope has a different ground voltage you can get into problems.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regardless, just let me know if the issue occurs again, and provide some details regarding the situation in which the problem occurs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Often failed to connect to J-Link of nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/324726?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 20:53:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:484674de-e217-4624-9042-c1814eedc2c2</guid><dc:creator>RAlexeev</dc:creator><description>&lt;p&gt;Thanks for your response!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;It&amp;#39;s funny that today I didn&amp;#39;t have such problem with boards, so there&amp;#39;s sense to try another laptop, since I couldn&amp;#39;t reproduce it. As soon as I notice the same problem I will try another laptop and without laptop charging that time. My colleague said that probably it&amp;#39;s because of MacBook grounding issue, since in Russia MacBook charger adapter has only 2 pin plug (there&amp;#39;s not a ground pin). And he recommended to try to ground the MacBook or try another PC with a proper grounding. I will add details and extra tests, when the problem occurs again.&lt;/p&gt;
&lt;p&gt;It seems that a similar situation happened here, but for me not the first rebooting has helped: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/41538/nrf52840-dk-j-link-not-working"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/41538/nrf52840-dk-j-link-not-working&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Probably, this is a related case also: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/20890/nus-disconnection-happens-when-i-touch-the-pcb"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/20890/nus-disconnection-happens-when-i-touch-the-pcb&lt;/a&gt;. Since right before the describing issue above I noticed the same problem and I was struggling with it. I noticed that a connection between two boards was awful. And it was enough to cover one board by a hand to lose a connection.&lt;br /&gt;And I tried to flash boards with other examples just for experimentation:&lt;br /&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/zephyr-v2.6.0/samples/bluetooth/central"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/zephyr-v2.6.0/samples/bluetooth/central&lt;/a&gt; (without bt_conn_disconnect() function)&lt;br /&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/zephyr-v2.6.0/samples/bluetooth/peripheral"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/zephyr-v2.6.0/samples/bluetooth/peripheral&lt;/a&gt;&lt;br /&gt;And they lost connections too often also. But now it seems everything is okay, although I didn&amp;#39;t fix anything intentionally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Often failed to connect to J-Link of nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/324641?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 10:58:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:944caa61-d6ef-479f-a82e-df8b564f37e1</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the detailed report.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried another laptop to see if the issue is related to the laptop itself?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on your testing it seems you have tried everything else, trying out different cables, boards etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>