<?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>Bootloader takes to long to go to the application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38597/bootloader-takes-to-long-to-go-to-the-application</link><description>Hello, 
 
 I&amp;#39;m using the nRF51422 with a dfu dual bank bootloader with SDK 11. I can programm the uController with the Softdevice and the bootloader and afterwards load successfully load the application over dfu on the device. After the package ist transported</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Sep 2018 13:55:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38597/bootloader-takes-to-long-to-go-to-the-application" /><item><title>RE: Bootloader takes to long to go to the application</title><link>https://devzone.nordicsemi.com/thread/149073?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 13:55:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80480083-3b35-407d-81b4-927150587188</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Glad you found the problem. We already use GPREGRET to signal the bootloader to enter DFU mode, see &amp;quot;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_application.html?cp=4_0_10_4_3_1_2"&gt;adding DFU service support to an application&lt;/a&gt;&amp;quot;. Is this what you want to do?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bootloader will by default enter DFU mode if GPREGRET is set to&amp;nbsp;0xB1 (BOOTLOADER_DFU_START).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader takes to long to go to the application</title><link>https://devzone.nordicsemi.com/thread/149068?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 13:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2981b72a-c890-4330-92e8-ba4bfabb75b4</guid><dc:creator>Matze</dc:creator><description>&lt;p&gt;thanks that was helpfull. I found my mistake: I am useing an custom board and the Pin 20 was already taken so the programm thought the button was pressed.&lt;/p&gt;
&lt;p&gt;I want to let the application set a flag which tells the bootloader that there is an update avalible. I want to use the one of the 8 bits form NRF_POWER-&amp;gt;GPREGRET but I don&amp;#39;t know which of them I could use without distubing dfu_dual_bank_ble_s130_pca10028.&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t find a list of usage of the bits. Can you tell me one?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader takes to long to go to the application</title><link>https://devzone.nordicsemi.com/thread/149006?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 11:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eea1f846-d152-406a-af90-363a6558cf59</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The bootloader will by default enter DFU mode on boot if one of the following conditions are met (times out from DFU mode after 2 minutes):&lt;/p&gt;
&lt;p&gt;1. if NRF_POWER-&amp;gt;GPREGRET == BOOTLOADER_DFU_START.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;BOOTLOADER_BUTTON is pulled low on&amp;nbsp;startup&lt;/p&gt;
&lt;p&gt;Are you using a custom board, or are you testing on a development kit. In case you are using a custom board, is&amp;nbsp;BOOTLOADER_BUTTON enabled and do you have it connected to a button that is active low?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>