<?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>exit from debug mode (S110)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6156/exit-from-debug-mode-s110</link><description>Hi, 
 I&amp;#39;m using the softdevice s110.
The power consumption is sometimes a little weird (around 1 mA). I think that the chip is in debug mode.
How can I know if the chip is really in this mode ?
In this case, is it possible to disable this mode by</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jun 2015 06:40:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6156/exit-from-debug-mode-s110" /><item><title>RE: exit from debug mode (S110)</title><link>https://devzone.nordicsemi.com/thread/21565?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2015 06:40:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb3d5ae8-321c-44d2-9926-58c5c379bafd</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;That is an input pin to the nRF chip, so on devkits it is controlled by Segger ATMEL chip else if you use debugIN port then the debugger controls it. If you do not intend to use SWDCLK at all after programming, just connect it to ground GND (maybe temporarily). That should guarantee that it remains stable. And no you cannot disable that pin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: exit from debug mode (S110)</title><link>https://devzone.nordicsemi.com/thread/21564?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2015 02:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cf392f4-715d-45c9-bf85-4d50ecafff5a</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Hi Aryan, is there some way to avoid nRF51822 to enter the debug mode? from the reference manual &amp;quot;To guarantee that the device remains in normal mode, the SWDCLK line must be held low at all times &amp;quot;, but in my application, as the power is unstable in some times, the device could be reset, so it may enter  the debug mode, can i disable the SWDCLK pin in some way?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: exit from debug mode (S110)</title><link>https://devzone.nordicsemi.com/thread/21567?ContentTypeID=1</link><pubDate>Thu, 25 Jun 2015 02:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94af6c76-7a5a-4db8-96d6-70c4c6879cc3</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Hi, ting, what does the &amp;quot;hardware problem&amp;quot; mean ? a pull down register on the SWDCLK pin?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: exit from debug mode (S110)</title><link>https://devzone.nordicsemi.com/thread/21566?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2015 12:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98d56fbb-df77-4a96-b435-0bf24b2c8cfa</guid><dc:creator>ting&amp;#178;</dc:creator><description>&lt;p&gt;Hello,
Sorry for the late answer. We found out it is a hardware problem on our system.
Thank you for all your answers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: exit from debug mode (S110)</title><link>https://devzone.nordicsemi.com/thread/21562?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2015 11:29:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f83cf1d-70ac-44f6-ba95-28df82c40ac9</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi ting, do you have more info on this thead?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: exit from debug mode (S110)</title><link>https://devzone.nordicsemi.com/thread/21563?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2015 08:59:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e5ae20d-ffd0-48e2-a822-7419780d84de</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Try to perform the exit procedure assuming that the system is in Debug mode and see if the current consumption decreases, if not something else is drawing the current. With this we can atleast eliminate the the device is not in debug mode. below is the procedure to do it.&lt;/p&gt;
&lt;p&gt;Normal mode can always be resumed by performing a &amp;quot;hard-reset&amp;quot; through the SWD interface:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enable reset through the RESET register in the POWER peripheral.&lt;/li&gt;
&lt;li&gt;Hold the SWDCLK and SWDIO/nRESET line low for a minimum of 100 μs.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: exit from debug mode (S110)</title><link>https://devzone.nordicsemi.com/thread/21561?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2015 23:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a48faa6-c777-4c46-b250-8af114398b1f</guid><dc:creator>ta2</dc:creator><description>&lt;p&gt;What are you using as your programmer/debug device? Is it connected to your device when you are seeing the ~1mA current draw?&lt;/p&gt;
&lt;p&gt;The little J-Link Lite boards that ship with some of the developer kits draw power from the nRF51 VDD. That confused me at one point since the Segger &amp;quot;black box&amp;quot; style J-Link devices don&amp;#39;t do that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>