<?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>Custom Button in DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53266/custom-button-in-dfu</link><description>Hello, I am using dfu in custom board and physically we have other button. I have changed NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN in DFU app , but after update-ing the application doesn&amp;#39;t start. When I am using dfu without this modification, application is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Oct 2019 07:20:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53266/custom-button-in-dfu" /><item><title>RE: Custom Button in DFU</title><link>https://devzone.nordicsemi.com/thread/215413?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 07:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:234f2936-a668-42f6-83e3-82b526767dbb</guid><dc:creator>Dev1</dc:creator><description>&lt;p&gt;Hi Simon,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;It is works now. Seems I had problems with power. &lt;br /&gt;&lt;br /&gt;Thank you for your help.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Button in DFU</title><link>https://devzone.nordicsemi.com/thread/215409?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 06:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52b4f556-0421-4f9e-9ae4-54960e2a1a51</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll have to configure the NFCT pins as GPIOs in both the application and DFU projects.&lt;/p&gt;
[quote user="SGA"]Even I only add varaible in Preprocessor Definitions without changing the PIN the result is same.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;What do you mean here? Does the DFU not work even if you leave the pin config to the state it was originally in? Also, please tell me if you see any errors when compiling/flashing your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Button in DFU</title><link>https://devzone.nordicsemi.com/thread/215371?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 18:00:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca881ab0-e5d3-441d-b941-03fc0195b02f</guid><dc:creator>Dev1</dc:creator><description>&lt;p&gt;Hi Simon,&amp;nbsp;&lt;br /&gt;The result is same, when I am done some modification in dfu.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Even I only add varaible in Preprocessor Definitions without changing the PIN the result is same.&amp;nbsp;&lt;br /&gt;Maybe I need to change some parts in Linker part too?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Button in DFU</title><link>https://devzone.nordicsemi.com/thread/215266?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 11:25:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea97e9d8-e647-4711-98b1-5eb0f05a2b80</guid><dc:creator>Dev1</dc:creator><description>&lt;p&gt;Hi Simon,&amp;nbsp;&lt;br /&gt;Thank you so much for your help.&lt;br /&gt;&lt;br /&gt;I am going to try.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best Regards,&amp;nbsp;&lt;br /&gt;Syuzanna&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Button in DFU</title><link>https://devzone.nordicsemi.com/thread/215251?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 10:48:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed877e6f-df09-4cf9-bfa5-db8396798fc4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Syuzanna&lt;/p&gt;
&lt;p&gt;I believe this is because Pin P0.10 (and P0.09 for that matter) is configured as an NFC pin by default.&amp;nbsp;When using SEGGER Embedded Studio, go to Project &amp;gt; Edit Options &amp;gt; Code &amp;gt; Preprocessor &amp;gt; Preprocessor Definitions and add the CONFIG_NFCT_PINS_AS_GPIOS variable in order to use the NFC pins as GPIOs.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Button in DFU</title><link>https://devzone.nordicsemi.com/thread/215249?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 10:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfa9c32f-afd1-4bc2-b11e-9eeb223c6896</guid><dc:creator>Dev1</dc:creator><description>&lt;p&gt;Hi Simonr,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you for quick response.&lt;br /&gt;&lt;br /&gt;I am using SDK v15.&amp;nbsp;&lt;br /&gt;Yeah, I have changed the&amp;nbsp;&lt;span&gt;NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN&amp;nbsp; in sdk_config.h from 16 to 10 in DFU project.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;It build successfully, all is ok, dfuTarg is apeared and when I uploading the firmware of application it says that all is ok, but after it application doesn&amp;#39;t start.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Also I have found in other forums that I need to change BOOTLOADER_BUTTON from main.c. But in my version there is no such macro.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks,&amp;nbsp;&lt;br /&gt;Syuzanna&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Button in DFU</title><link>https://devzone.nordicsemi.com/thread/215226?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 08:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4e0e68c-a578-4572-9b57-3fcee1c9de1f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Syuzanna&lt;/p&gt;
&lt;p&gt;Are you doing this modification in the sdk_config.h file of your DFU application project? At what pin on your custom board is the DFU button located? Also, please add which SDK version you&amp;#39;re using and tell me exactly what happens (do you encounter any errors, etc.) when you have set the DFU button to a custom value?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>