<?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>changing assigned dfu button in secure bootloader example SDK17.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89919/changing-assigned-dfu-button-in-secure-bootloader-example-sdk17-1</link><description>good day, 
 is it possible to change the assigned DFU button (Button4) to other button or gpio in the secure bootloader example? if yes, where do i need to do it? 
 thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jul 2022 01:16:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89919/changing-assigned-dfu-button-in-secure-bootloader-example-sdk17-1" /><item><title>RE: changing assigned dfu button in secure bootloader example SDK17.1</title><link>https://devzone.nordicsemi.com/thread/377745?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 01:16:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff6fa30d-0725-4c0a-8c2f-b0d0d062b2ac</guid><dc:creator>xtian</dc:creator><description>&lt;p&gt;got it. thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing assigned dfu button in secure bootloader example SDK17.1</title><link>https://devzone.nordicsemi.com/thread/377671?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 13:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a85d3d9-0ebe-40cb-b390-7240ae7fa8c9</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;HI Kristian,&lt;/p&gt;
&lt;p&gt;You will need to implement some timer/delay check in the code to do this.. &lt;span&gt;you can use a delay of say 1s and run the loop 5 time, and after the 5 loops, it can return true (button pressed for 5 s).. This is the simple way to do this, but can cause higher power consumption since the CPU does not go into sleep in those5 sec.. If you want the CPU to go to sleep while waiting, you will need to use the timer&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing assigned dfu button in secure bootloader example SDK17.1</title><link>https://devzone.nordicsemi.com/thread/377286?ContentTypeID=1</link><pubDate>Sun, 17 Jul 2022 05:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b5cb1e9-a480-4c68-866d-efc4e9333152</guid><dc:creator>xtian</dc:creator><description>&lt;p&gt;&lt;span&gt;pressing and holding the dfu button for 5 seconds and continue with the application if it is not pressed for 5s&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing assigned dfu button in secure bootloader example SDK17.1</title><link>https://devzone.nordicsemi.com/thread/376951?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 12:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5671b31c-35e2-4697-b16f-5e4ee9de5bff</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Kristian,&lt;/p&gt;
&lt;p&gt;Did you mean enter dfu mode only after pressing and holding the dfu button for 5 seconds and continue with the application if it is not pressed for 5s or enter dfu 5s &lt;em&gt;after&lt;/em&gt; pressing the dfu button.?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Swathy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing assigned dfu button in secure bootloader example SDK17.1</title><link>https://devzone.nordicsemi.com/thread/376912?ContentTypeID=1</link><pubDate>Thu, 14 Jul 2022 09:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9388dfbb-769d-43b4-9f79-6388844d94d7</guid><dc:creator>xtian</dc:creator><description>&lt;p&gt;thanks, can now enter dfu mode&lt;/p&gt;
&lt;p&gt;is there also a way to add a delay in entering dfu mode? let&amp;#39;s say i want to enter dfu mode 5 seconds after holding the dfu button. if its less than 5 sec, then continue with the app&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: changing assigned dfu button in secure bootloader example SDK17.1</title><link>https://devzone.nordicsemi.com/thread/376765?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 11:39:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29ccdad2-4408-4d92-b833-91a9ab27fdcf</guid><dc:creator>SwRa</dc:creator><description>&lt;p&gt;Hi Kristian,&lt;/p&gt;
&lt;p&gt;Yes, it is possible to change the DFU button.. You will need to define a different&amp;nbsp;&lt;span&gt;NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN in sdk_config.h in the bootloader to do this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Swathy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>