<?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>Powering up by using external power the dongle enters DFU mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66162/powering-up-by-using-external-power-the-dongle-enters-dfu-mode</link><description>Hi to everyone: 
 As the title suggest I&amp;#39;m using the NRF52840 PCA10059 dongle and everything works as expected. 
 The issue comes that I&amp;#39;ve modified the dongle to instead of drawing power from the USB connector, to use power derived from other board.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Sep 2020 09:05:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66162/powering-up-by-using-external-power-the-dongle-enters-dfu-mode" /><item><title>RE: Powering up by using external power the dongle enters DFU mode</title><link>https://devzone.nordicsemi.com/thread/271714?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2020 09:05:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c27a604-14f9-4cd0-8357-a11eabf84790</guid><dc:creator>Fconta</dc:creator><description>&lt;p&gt;Hi, thanks for the input.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a bit strage that the issue is within the bootloader and specifically with the pins that where refered, mainly because reset is not exposed, and P0.18, is under the board is also is nothing connected there.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll have a goo and see what I might discover.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Powering up by using external power the dongle enters DFU mode</title><link>https://devzone.nordicsemi.com/thread/270774?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 09:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b7878d-a2e6-4366-a29d-b1f50dcbb53e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Fconta,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s hard to debug without the access the debug interface. I would suggest to try testing the same setup on the PCA10056 or the best is to solder a header on P1. You can get the header from one of the DK.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Powering up by using external power the dongle enters DFU mode</title><link>https://devzone.nordicsemi.com/thread/270749?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 08:11:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:568e6a58-a826-4fab-a221-44bf940e5f86</guid><dc:creator>Fconta</dc:creator><description>&lt;p&gt;Hi: &lt;/p&gt;
&lt;p&gt;Thanks for the input. Just to add a few more information: The only thing connected is an UART device at pins 0.29 and 0.31, nothing else. All other pins are unused. Also, probably not important to the issue, I&amp;#39;m using Zephyr RTOS and uploading the firmware through DFU. All of this works fine and behaves as expected.&lt;/p&gt;
&lt;p&gt;The issue looks like some timing issue between the powering up and the reset line state? Because If I connect the dongle in a &amp;quot;cold&amp;quot; state (disconnected from any power for a few seconds) it enters DFU mode, but if I disconnect it and connect it rapidly if runs the program. As reported nothing is connected to any other pins including the P1.02 pin that is exposed on the back. So maybe the RESET line is held low for too long when powering up externally?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Powering up by using external power the dongle enters DFU mode</title><link>https://devzone.nordicsemi.com/thread/270645?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 14:34:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e462fbb0-6f94-45c3-bbf4-82bd7949dc18</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Fconta,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have a look at the dfu_enter_check() in nrf_bootloader.c you can find the list of reasons the dongle would enter DFU mode:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/679x541/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c19da06527d249588b9bae13b6f076aa/pastedimage1600698541983v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you have uploaded the app via DFU mode then it should pass the first check.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suspect that the dongle entered DFU mode because either the check number 2 or check number 3.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that on the dongle pin P0.19, P0.21,P0.23, P0.25 are all connected to the reset pin P0.18. If any of these pin turned low it may trigger a pin reset and put the dongle to DFU mode. Also check if you have P1.02 connected to something or not. It&amp;#39;s the&amp;nbsp;NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN 34 by default.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/521x350/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c19da06527d249588b9bae13b6f076aa/pastedimage1600698877794v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a bit difficult to debug the bootloader on the dongle if you don&amp;#39;t have the debugger connected to it. So you can either solder a header on P1 port to connect a debugger to it, or you can try to simulate the same hardware on a PCA10056 and can reproduce the issue on the PCA10056 to debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>