<?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>Devices stuck in high current debug mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43461/devices-stuck-in-high-current-debug-mode</link><description>Hi. I have an urgent issue where after using the JLINK disk programming function on the NRF52-DK, my device is stuck in high current (3ma) debug mode until power is cycled. I have several devices out in the field that are stuck in this mode due to non</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jun 2021 19:47:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43461/devices-stuck-in-high-current-debug-mode" /><item><title>RE: Devices stuck in high current debug mode.</title><link>https://devzone.nordicsemi.com/thread/317325?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 19:47:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29198e21-b7fb-435c-8ae8-e0b7e32b6b99</guid><dc:creator>erickcinco</dc:creator><description>&lt;p&gt;A bit late of a response. My team encountered this issue a couple months ago. We found it to be a bug in the driver for the JLINK&amp;nbsp;Debugger we were using to program. Ultimately it was fixed by updating past v10.9.0 of the nRF Command Line Tools which updated the JLINK drivers.&lt;/p&gt;
&lt;p&gt;This was our experience of how the&amp;nbsp;issue manifests:&lt;/p&gt;
&lt;p&gt;If the reset after programming flag is enabled and the programming pins are removed before&amp;nbsp;the reset is completed at just the right time a JLINK error is generated and the JLINK&amp;nbsp;will be&amp;nbsp;glitched. Any subsequent programming would then cause target devices to remain in high current (3mA) debug mode. Only a full power cycle of the JLINK&amp;nbsp;debugger returned the debugger to a&amp;nbsp;safe state.&lt;/p&gt;
&lt;p&gt;We were able to reproduce this consistently after realizing what glitches the JLINK.&lt;/p&gt;
&lt;p&gt;The change notes for nrf-command-line-tools v10.9.0 states it has been fixed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would add a check for any errors returned by nrfjprog and power cycle your&amp;nbsp;JLINK if anything arises.&lt;/p&gt;
&lt;p&gt;I would also power cycle your target device right after programming and before casing up as a precaution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devices stuck in high current debug mode.</title><link>https://devzone.nordicsemi.com/thread/202369?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 09:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44bb37de-c98f-4731-8972-1730f9405d9d</guid><dc:creator>mikeg78</dc:creator><description>&lt;p&gt;I have a similar problem with a battery powered device that has debug pins exposed but no way of disconnecting the battery without damaging the device. How is a debug reset performed? I have found that shorting the debug pins to ground followed by the reset pin does not consistently get the chip out of this 3mA state, nor does the device consistently enter this state after programming. Is this a silicon bug?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devices stuck in high current debug mode.</title><link>https://devzone.nordicsemi.com/thread/170321?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 11:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38468b5b-b2db-452f-a7bc-a6d39579d09b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry, my bad, I have tried to dig a bit more on this. It need to be a power cycle or brown out reset. You can do a debug reset from the SWD pins but you do not have access to that. So there are no other way other than powre cycle and BOR unfortunately.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devices stuck in high current debug mode.</title><link>https://devzone.nordicsemi.com/thread/170276?ContentTypeID=1</link><pubDate>Mon, 11 Feb 2019 08:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183b9663-5a4a-4029-af05-9f3d5dda62d7</guid><dc:creator>modles</dc:creator><description>&lt;p&gt;Could there be an undocumented way to get the&amp;nbsp;&lt;span&gt;SW-DP to de-assert CxxPWRUPREQ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devices stuck in high current debug mode.</title><link>https://devzone.nordicsemi.com/thread/170159?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 15:26:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f53ef59-84db-48cf-9ec8-6e142080aefe</guid><dc:creator>modles</dc:creator><description>&lt;p&gt;I&amp;#39;m afraid this does not reduce the current. Only a power cycle seems to reduce the power usage. &amp;nbsp;So my feeling is its the SWJ-DP not the Debug you highlight.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devices stuck in high current debug mode.</title><link>https://devzone.nordicsemi.com/thread/170124?ContentTypeID=1</link><pubDate>Fri, 08 Feb 2019 12:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0faefe9-89d8-46ce-bb19-b209a139f92a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If you do not have access to the device, then i think only below two options are left for you&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8cc4a6f296034217847146f1035b1661/pastedimage1549629829433v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Watchdog reset and a Pin Reset.&lt;/p&gt;
&lt;p&gt;!) watchdog reset, you can initialized and enable the watchdog only once (based on a persistent variable) will reset the device only one and on the wakeup will never start the watchdog.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;pull the reset pin low as configured in NRF_UICR-&amp;gt;PSELRESET[0] and PSELRESET[1]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devices stuck in high current debug mode.</title><link>https://devzone.nordicsemi.com/thread/170017?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 20:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:064d0c67-a225-44a3-8450-4156340989ef</guid><dc:creator>modles</dc:creator><description>&lt;p&gt;Basically I need to find a way to shutdown/reset the DAP via firmware!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>