<?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>J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91812/j-link-connection-lost-after-a-few-seconds</link><description>I have been learning to use the nrf52840DK for some time now, though I would consider myself still a beginner. Anyway, something has gone wrong with the kit and I am not sure what. It does not seem to be able to connect with the J-link I&amp;#39;ve been always</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 16 Sep 2022 10:58:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91812/j-link-connection-lost-after-a-few-seconds" /><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/386597?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 10:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62cd1de-c387-4652-a9e3-5d64c49303c0</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="kostathan"]Thank you for all the help. Problem solved. I connected the DK to another PC and everything seems to work just fine now. I thought that the PC played no role in the matter, since my other DK worked just fine with the same PC.[/quote]
&lt;p&gt;I&amp;#39;m very happy that you were able to solve the problem, also note that testing on another computer is step 3 in the thread I shared earlier &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll close this case then,&lt;/p&gt;
&lt;p&gt;Have a good weekend!&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/386576?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 10:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f580574b-5447-454a-abea-09b101af3d88</guid><dc:creator>kostathan</dc:creator><description>&lt;p&gt;Hey Jared!&lt;/p&gt;
&lt;p&gt;Thank you for all the help. Problem solved. I connected the DK to another PC and everything seems to work just fine now. I thought that the PC played no role in the matter, since my other DK worked just fine with the same PC.&lt;/p&gt;
&lt;p&gt;Anyway, thanks again,&lt;/p&gt;
&lt;p&gt;Kostas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/386337?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2022 09:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85d3e83c-00ab-4043-a6c9-dc3a2bba28e1</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what is causing this. How have you supplied the board earlier? Was it always through the J2 USB header?&lt;/p&gt;
&lt;p&gt;If you want, I can take a look at your board if you want to send it to us.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/386104?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 08:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1068d332-56f7-479c-87fa-bb1266f09067</guid><dc:creator>kostathan</dc:creator><description>&lt;p&gt;Hello again.&lt;/p&gt;
&lt;div class="quote-header"&gt;&lt;/div&gt;
&lt;blockquote class="quote"&gt;&lt;/blockquote&gt;
&lt;div class="quote-footer"&gt;[quote userid="73165" url="~/f/nordic-q-a/91812/j-link-connection-lost-after-a-few-seconds/385926"]Have you modified any of the solder bridges on your DK[/quote]&lt;/div&gt;
&lt;div class="quote-footer"&gt;I haven&amp;#39;t modified anything on my DK. The state of the switches is:&lt;/div&gt;
&lt;p&gt;SW10: OFF&lt;/p&gt;
&lt;p&gt;SW8: ON&lt;/p&gt;
&lt;p&gt;SW9: VDD&lt;/p&gt;
&lt;p&gt;SW6: DEFAULT&lt;/p&gt;
&lt;p&gt;I believe that reset is activated, since I can put the kit in bootloader mode with IF BOOT/RESET button.&lt;/p&gt;
&lt;blockquote class="quote"&gt;
&lt;div class="quote-user"&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91812/j-link-connection-lost-after-a-few-seconds/385926"&gt;&lt;/a&gt;&lt;/div&gt;
[quote userid="73165" url="~/f/nordic-q-a/91812/j-link-connection-lost-after-a-few-seconds/385926"]Can you elaborate on this? Are you using a stand alone debugger?[/quote]&lt;/blockquote&gt;
&lt;p&gt;Normally, I use the DK with a USB. Recently, I was provided with Segger&amp;#39;s J-Link EDU module to check its debugging capabilities. Now the DK doesn&amp;#39;t work either with the USB or with the module. There aren&amp;#39;t any problems with the debug probe, since my other DK has worked perfectly with it.&amp;nbsp;Could the problem have been caused by a forced PC reboot that happened while the DK was connected to the PC?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385959?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 12:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f2067b0-95a2-4673-9034-a536ad207f1c</guid><dc:creator>kostathan</dc:creator><description>&lt;p&gt;Hello again.&lt;/p&gt;
[quote userid="73165" url="~/f/nordic-q-a/91812/j-link-connection-lost-after-a-few-seconds/385926"]Have you modified any of the solder bridges on your DK[/quote]
&lt;p&gt;I haven&amp;#39;t modified anything on my DK. The state of the switches is:&lt;/p&gt;
&lt;p&gt;SW10: OFF&lt;/p&gt;
&lt;p&gt;SW8: ON&lt;/p&gt;
&lt;p&gt;SW9: VDD&lt;/p&gt;
&lt;p&gt;SW6: DEFAULT&lt;/p&gt;
&lt;p&gt;I believe that reset is activated, since I can put the kit in bootloader mode with IF BOOT/RESET button.&lt;/p&gt;
[quote userid="73165" url="~/f/nordic-q-a/91812/j-link-connection-lost-after-a-few-seconds/385926"]Can you elaborate on this? Are you using a stand alone debugger? How have you connected the DK to your computer?[/quote]
&lt;p&gt;Normally, I use the DK with a USB. Recently, I was provided with Segger&amp;#39;s J-Link EDU module to check its debugging capabilities. Now the DK doesn&amp;#39;t work either with the USB or with the module. There aren&amp;#39;t any problems with the debug probe, since my other DK has worked perfectly with it.&amp;nbsp;Could the problem have been caused by a forced PC reboot that happened while the DK was connected to the PC?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385926?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 11:10:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8de04ded-32f2-44d3-bf65-e1178fb49554</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Maybe the pin RESET feature isn&amp;#39;t activated in your project. In that case, the pin would just act as a normal GPIO, which would explain your measurements.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you modified any of the solder bridges on your DK and can you list the state of the following switches:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SW10&lt;/li&gt;
&lt;li&gt;SW9&lt;/li&gt;
&lt;li&gt;SW6&lt;/li&gt;
&lt;li&gt;SW8&lt;/li&gt;
&lt;/ul&gt;
[quote user=""]Two days ago, I was able to connect it to my PC and download and debug code naturally. I was even able to use the J-Link EDU kit normally, with both the 19-pin and the 9-pin Cortex-M adaptors.[/quote]
&lt;p&gt;Can you elaborate on this? Are you using a stand alone debugger? How have you connected the DK to your computer?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385904?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 09:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92100ad6-239c-4e8e-95e4-aa87fc0aa271</guid><dc:creator>kostathan</dc:creator><description>[quote userid="73165" url="~/f/nordic-q-a/91812/j-link-connection-lost-after-a-few-seconds/385852"]This is very strange. RESET should be pulled high, if it&amp;#39;s low then the nRF52840 is kept in RESET state. Can you try to pull it high by connecting VDD to RESET and see if it &amp;quot;wakes up&amp;quot; the board.[/quote]
&lt;p&gt;So, something pretty strange is going on. I am listing the voltage measurements I made:&lt;/p&gt;
&lt;p&gt;VDD-GND = 2.98V&lt;/p&gt;
&lt;p&gt;RESET-GND = 0&lt;/p&gt;
&lt;p&gt;VDD-RESET = 0 (I don&amp;#39;t know how the last 3 can be possible at the same time)&lt;/p&gt;
&lt;p&gt;5V-GND=5.01V&lt;/p&gt;
&lt;p&gt;5V-RESET=1.61V (So reset is definitely at high)&lt;/p&gt;
&lt;p&gt;5V-VDD=2.01V&lt;/p&gt;
&lt;p&gt;All the above seem chaotic. I also tried to connect the VDD with RESET and nothing happened.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385852?ContentTypeID=1</link><pubDate>Tue, 13 Sep 2022 07:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3241d9b9-43d3-4ae5-8691-ff61ba57deba</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="kostathan"]The VDD voltage of the kit is at 2.98V(VDD-GND) and the RESET pin&amp;#39;s voltage is 0 (RESET-GND). What baffles me is that the voltage difference between the RESET pin and the VDD pin also appears to be 0.[/quote]
&lt;p&gt;This is very strange. RESET should be pulled high, if it&amp;#39;s low then the nRF52840 is kept in RESET state. Can you try to pull it high by connecting VDD to RESET and see if it &amp;quot;wakes up&amp;quot; the board.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385810?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 18:41:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1e1e758-bcf5-496f-ada6-459e641b6bdf</guid><dc:creator>kostathan</dc:creator><description>&lt;p&gt;Hi again! The &amp;quot;&lt;span&gt;nrfjprog --recover --log&amp;quot; command returns&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1663007934301v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The VDD voltage of the kit is at 2.98V(VDD-GND) and the RESET pin&amp;#39;s voltage is 0 (RESET-GND). What baffles me is that the voltage difference between the RESET pin and the VDD pin also appears to be 0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have any idea on how to proceed?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385768?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 14:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caca38fd-b07d-4898-b0d0-e9e10b2afec4</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Ok, so the computer is able to communicate with the onboard debugger which is good. However, it fails when you try to recover. Can you add the log argument to the recover command:&lt;/p&gt;
&lt;p&gt;nrfjprog --recover --log&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and share the log?&lt;/p&gt;
&lt;p&gt;Also, can measure the voltage on the RESET pin and the VDD pin on your DK.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385751?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 13:27:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5265e3d7-4e7e-44f6-afd2-9abb2297b19d</guid><dc:creator>kostathan</dc:creator><description>&lt;p&gt;Hello! Thank you for your response!&lt;/p&gt;
&lt;p&gt;I run the commands you suggested and the device is listed normally.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1662988765564v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I also followed the steps in the thread you sent (except for the voltage measurement) and nothing worked.&lt;/p&gt;
&lt;p&gt;The first step suggested to check the device manager. In the device manager the device&amp;#39;s port is listed as &amp;quot;JLink CDC UART Port&amp;quot; and its drive as &amp;quot;SEGGER MSD Volume USB Device&amp;quot;.&lt;/p&gt;
&lt;p&gt;I also tried to recover the kit with the nrfjprog --recover --log command and this was returned.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1662988976178v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Should I try the manual recovery shown &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49464/how-to-run-nrfjprog---recover"&gt;here&lt;/a&gt;? Are the commands for the nrf52 the same?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you in advance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385714?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2022 11:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca0ec56b-fa4c-4b31-9ee8-c9d1fb8017a1</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;If you use nRF Command Line Tools, and run:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfjprog --ids&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is the kit listed? If not, what error is returned by the program?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could run the command again with the log attached?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfjprog --ids --log&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Can you share the log?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, could you go through the steps listed in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/24592/my-nrf52-nrf51-dk-kit-doesn-t-work"&gt;this &lt;/a&gt;thread and verify that none of the suggestions mitigated your issue?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: J-Link connection lost after a few seconds</title><link>https://devzone.nordicsemi.com/thread/385483?ContentTypeID=1</link><pubDate>Fri, 09 Sep 2022 10:22:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cc5bccb-ef2f-41ce-b539-c48cbe1b269e</guid><dc:creator>kostathan</dc:creator><description>&lt;p&gt;&lt;span&gt;P.S. I have another DK and it connects normally to the PC, so its not a cable or PC problem.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>