<?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>Debug mode on nRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1838/debug-mode-on-nrf51822</link><description>Hi, 
 There were similar questions already anwsered but none of them work for me. So the situation is as follows. When i program the chip though SWD interface the chip probably enters debug mode and the power consumption is around 1mA which is a lot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Mar 2014 11:05:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1838/debug-mode-on-nrf51822" /><item><title>RE: Debug mode on nRF51822</title><link>https://devzone.nordicsemi.com/thread/7962?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 11:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aac9ef5-0032-4c67-be8b-d3813d582a07</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;That&amp;#39;s an older version of nrfjprog, we&amp;#39;re currently on v3.1.1.35916. Try installing the latest SDK (nrfjprog bundled with the installer).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug mode on nRF51822</title><link>https://devzone.nordicsemi.com/thread/7961?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 10:59:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30f5d4b9-d2b9-410a-bf0c-b8c4f7ac0cc5</guid><dc:creator>Martin Tramšak</dc:creator><description>&lt;p&gt;My nrfjprog version is 3.0.1.33364&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug mode on nRF51822</title><link>https://devzone.nordicsemi.com/thread/7960?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 10:53:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d532210e-0609-4d85-9778-96af55f6a3d8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Doing a --pinreset should do the trick.
However, I have never seen the error you&amp;#39;re referring to before.
Can you post the version number of nrfjprog? (nrfjprog --version)&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug mode on nRF51822</title><link>https://devzone.nordicsemi.com/thread/7959?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 09:31:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:540e88eb-407a-4f88-be09-5fe571c39951</guid><dc:creator>Martin Tramšak</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for replying. Trying that command resulted in error: pin_reset_ignore_pall (return code 8) which is a strange error since i cannot find it anywhere on the internet.&lt;/p&gt;
&lt;p&gt;In the meantime i rescued my prototype by trying recover command which seemed to have done the trick. So i did some more testing with the NRF_POWER-&amp;gt;RESET register. Setting it to 1 seems to raise the power consumption from around 2mA to 4mA which is strange. Furthermore others than suggested toggling the reset pin to zero. From my understanding this is one of the progamming pins, but none of them helped lowering power consumption.&lt;/p&gt;
&lt;p&gt;Thank you from your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debug mode on nRF51822</title><link>https://devzone.nordicsemi.com/thread/7958?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2014 14:02:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a27bbb91-f38b-4319-9769-a3ac10b3600a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;You should be able to exit debug mode by using nrfjprog&amp;#39;s pinreset command (called from cmd.exe):
&lt;code&gt;nrfjprog --pinreset&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best regards
Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>