<?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>JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83390/jlink-hangs-after-reset-from-nrfjprog-v10-10</link><description>Hi, 
 
 I was using JLink v7.50a with nrfjprog 10.9.0 and debug were working fine on Ubuntu 20.10 using SWD pins and JLink RTT. After changing to Ubuntu 21.10 and installing up to date version of both programs, my JLinkRTTViewer was hanging (no more logs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Nov 2022 09:40:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83390/jlink-hangs-after-reset-from-nrfjprog-v10-10" /><item><title>RE: JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/thread/395498?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2022 09:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:587edeaa-6e4f-4172-a6d1-c552ed40bbe3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;nrfjprog will force the chip out of &lt;span&gt;&lt;a title="Debug Interface mode" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/dif.html?cp=4_0_0_3_7_3#debuginterfacemode"&gt;Debug Interface mode&lt;/a&gt;&lt;/span&gt; when you perform a reset, which is typically what you want after loading a new FW image. But this will also kill any active RTT sessions. If the chip had remained in debug mode it would have increased the overall power consumption of your device.&lt;/p&gt;
&lt;p&gt;The workaround is to keep the debug session active by resetting the device from a Jlink commander session, or re-establish the debugger connection after a nrfjprog reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/thread/395428?ContentTypeID=1</link><pubDate>Sun, 13 Nov 2022 07:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e65946c9-6033-49e9-9a72-c835fa20c90f</guid><dc:creator>lvh831</dc:creator><description>&lt;p&gt;I&amp;nbsp;have the same problem. Either I have to run &amp;quot;r&amp;quot; or&amp;nbsp;&amp;quot;con&amp;quot; in J-Link. I ran JLinkExe with -AutoConnect 1 but that didn&amp;#39;t help. Is the problem is on JLinkExe or on nrjprog?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/thread/390487?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 14:37:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf849072-9c53-4eb8-bda4-7c63bacca5a2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;No, your issue description was clear, and I did report it internally too. It just seems like the nrfjprog team has not had a chance to follow up on it yet. I will send them a reminder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/thread/390332?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 20:48:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccd4c59b-137f-4560-8a13-eaf1ce320c5e</guid><dc:creator>Rodrigo Brochado</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Any updates on this?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if I passed the wrong information here. I meant that the commands &amp;quot;r&amp;quot; and &amp;quot;g&amp;quot; on the jlink commander worked, BUT I still have the problem described above.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tested nrfjprog 10.16 today, because the latest nrfconnect 3.12.0 is compatible to its Jlink version,&amp;nbsp;but the problem persist on nrfjprog 10.16.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/thread/346738?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 15:24:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd1f3964-4211-438a-8aec-038140c9d626</guid><dc:creator>Rodrigo Brochado</dc:creator><description>&lt;p&gt;Nice!&lt;br /&gt;I can confirm that resetting in jlink commander works.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/thread/346700?ContentTypeID=1</link><pubDate>Fri, 07 Jan 2022 12:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1166855-fc6f-4e5a-b8dd-83d154faf68c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I see the same now when testing here. That is, I stop getting RTT messages as soon as I peform the --debugreset. It does however work when I instead perform a softreset from Jlink commander (JLinkExe). Can you try the same?&lt;/p&gt;
&lt;p&gt;Resetting in jlink commander:&lt;/p&gt;
&lt;p&gt;&amp;gt; r /* reset and halt */&lt;/p&gt;
&lt;p&gt;&amp;gt; g /* Start execution */&lt;/p&gt;
&lt;p&gt;I will report this issue internally in the meantime.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/thread/346484?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 13:05:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b2619bb-faaa-46f8-8460-396ba28dcb7f</guid><dc:creator>Rodrigo Brochado</dc:creator><description>&lt;p&gt;Thanks for the answer, Vidar.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tested with --debugreset now and also with --hardreset (although this one should not work&amp;nbsp;based on your info on power precautions) on v10.15.1 with JLink 7.50a, 7.58b and 7.60b, and it didn&amp;#39;t worked either.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLink hangs after reset from nrfjprog v10.10+</title><link>https://devzone.nordicsemi.com/thread/346394?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 10:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ec399b2-0d74-482f-8543-b167736889ba</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you tried to use --debugreset instead? nrfjprog is actually supposed to make the chip exit debug interface mode after a --reset to avoid excessive power consumption after programming (base current in debug mode is ̃around 3 mA). There was however a bug in nrfjprog 10.9 that prevented it from powering down the debug interface, so that would explain why RTT kept working after reset earlier.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>