<?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>Connecting and disconnecting SWD debugger resets the device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113065/connecting-and-disconnecting-swd-debugger-resets-the-device</link><description>Hello, 
 We have many nrf9160 based devices currently on the market running for our customers. These devices are facing some problems that we are trying to debug right now by letting them run overnight and reading the RTT logs from it. 
 However, as soon</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Jul 2024 08:43:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113065/connecting-and-disconnecting-swd-debugger-resets-the-device" /><item><title>RE: Connecting and disconnecting SWD debugger resets the device</title><link>https://devzone.nordicsemi.com/thread/495767?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2024 08:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d360bdde-4050-4fae-9d85-ed40984cc0f1</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;It should be possible to achieve a no reset situation I believe. So there are a few things I want you to test to see if this is something related to the J-Link RTT viewer sw or something else.&lt;br /&gt;&lt;br /&gt;- Does it reset when using nrfjprog, like flashing or reading any APB register.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;From what I can find it does not seem that a reset should happen by default. And I know that a reset does not happen by default when using nrfjprog.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;a href="https://forum.segger.com/index.php/Thread/8947-ABANDONED-RTT-Viewer-Resetting-Target/"&gt;https://forum.segger.com/index.php/Thread/8947-ABANDONED-RTT-Viewer-Resetting-Target/&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;- Can you test with some other application. Use a simpler sample to see if the and enable RTT logging, then see if the reset happens then as well.&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp;It could be that there is an error&amp;nbsp;happens during attachment and that is causing the reset.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting and disconnecting SWD debugger resets the device</title><link>https://devzone.nordicsemi.com/thread/494431?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 18:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:202238f8-3b72-4e44-a694-f71859fb7d0a</guid><dc:creator>SidAHakim</dc:creator><description>&lt;p&gt;Hi Jonathan, &lt;br /&gt;&lt;br /&gt;We use the Jlink ultra plus debugger. We enabled RTT logging for debugging, hence we use J-link RTT Viewer to view the output logs.&amp;nbsp;&lt;span&gt;For uploading the firmware on the device, we use the nrfjprog command line tool.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For the device itself - We run our own firmware developed on connect sdk 2.4.2. The device is a 9160 based custom board and its functionalities include running gpio input and output pins, communicating to server over LTE, running Edge impulse model etc.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you need any further information.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Best regards,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Sid&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connecting and disconnecting SWD debugger resets the device</title><link>https://devzone.nordicsemi.com/thread/494319?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 10:48:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:039c3593-324e-4912-9855-a1caf2a18a0e</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;It is possible to have a reset not happen, and I dont belive that it resets on disconnect by default.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What programmer\debugger are you using?&lt;br /&gt;&lt;br /&gt;What software\program are you using when debugging?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>