<?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>Buttonless bootloader on custom board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69003/buttonless-bootloader-on-custom-board</link><description>Hi Nordic tech support team, 
 I am currently testing DFU in my custom board (DWM1001) with secure bootloader and buttonless DFU. I was able to completely test the secure bootloader example present in C:\nRF_SDK\examples\dfu\secure_bootloader\pca10040_s132_ble</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jan 2021 14:19:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69003/buttonless-bootloader-on-custom-board" /><item><title>RE: Buttonless bootloader on custom board</title><link>https://devzone.nordicsemi.com/thread/289791?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 14:19:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ee1476d-b1ca-484b-bce3-8ddb5f183303</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi RMV,&amp;nbsp;&lt;br /&gt;Please create a new case when you have a question. Posting it on someone&amp;#39;s case may end up no reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BUTTON_PULL is defined in the board. h file, for example if you are using pca10040 board, it&amp;#39;s defined in pca10040.h&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define BUTTON_PULL&amp;nbsp; &amp;nbsp; NRF_GPIO_PIN_PULLUP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless bootloader on custom board</title><link>https://devzone.nordicsemi.com/thread/289595?ContentTypeID=1</link><pubDate>Sun, 17 Jan 2021 22:40:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e5e446c-0262-4236-8a88-bd3cb7bc0785</guid><dc:creator>RVM</dc:creator><description>&lt;p&gt;I am trying to achieve something similar on my custom board. I have worked around many of the hiccups I am stuck due to a build error.&lt;/p&gt;
&lt;p&gt;When compiling the file &amp;#39;nrf_bootloader.c&amp;#39; the build fails with this error:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nRF5_SDK/16.0.0/components/libraries/bootloader/nrf_bootloader.c:231:30: error: &amp;#39;BUTTON_PULL&amp;#39; undeclared (first use in this function)&lt;br /&gt;&amp;nbsp; 231 |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BUTTON_PULL,&lt;/p&gt;
&lt;p&gt;I have a custom board and my plan is to do DFU over BLE.&lt;/p&gt;
&lt;p&gt;My question is: Why do I have to worry about defining the BUTTON_PULL to begin with since I have no intention of using any GPIO to trigger entry into DFU. Do I even need to compile this specific file for my build?&lt;/p&gt;
&lt;p&gt;RMV&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless bootloader on custom board</title><link>https://devzone.nordicsemi.com/thread/284094?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 13:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:024eb05d-3c54-4834-bae3-6305cc74548e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rahul,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Please have a look inside ble_app_buttonless project. The service is declared in ble_dfu.c (ble_dfu_buttonless_init()) , depends on if you do DFU with or without bond you would need ble_dfu_bonded.c or ble_dfu_unbonded.c&lt;/p&gt;
&lt;p&gt;2. It&amp;#39;s inside&amp;nbsp;ble_dfu_buttonless_bootloader_start_finalize() we don&amp;#39;t reset immediately but gracefully disconnect before we reset.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Its the nRF Connect feature to support DFU buttonless. Are you planning to build your own app/DFU app? You can refer to the DFU profile inside nRF Toolbox. The nRF Connect is not really you should send to the end customer. It&amp;#39;s a debug tool.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless bootloader on custom board</title><link>https://devzone.nordicsemi.com/thread/283800?ContentTypeID=1</link><pubDate>Tue, 08 Dec 2020 12:41:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7767ba15-be58-44e0-97e1-14f88e74bccf</guid><dc:creator>Rahul Chowdary</dc:creator><description>&lt;p&gt;Hi Mr. Bui,&lt;/p&gt;
&lt;p&gt;Thanks for the information. Now, I got full clarity on how it is working and I could be able to successfully test the buttonless DFU example. I want to implement the same functionality into a template application. So here are my doubts.&lt;/p&gt;
&lt;p&gt;When I connect to the Nordic_Buttonless in nRF connect for android, I could see the &amp;quot;Secure DFU service&amp;quot; as shown in image 1 with characteristic &amp;quot;Buttonless DFU&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8765.jpg" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/2425.jpg" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I click on the characteristic &amp;quot;Buttonless DFU&amp;quot; it is giving the option to launch the bootloader and just launching the bootloader when yes is given. On the other hand when I click the DFU symbol present on top right corner it is asking to select the firmware zip package and when selected the zip package, it is automatically launching the booltoader and connecting to the bootloader and updating the application. Now, I want to know below things.&lt;/p&gt;
&lt;p&gt;1) Which file is responsible for adding the DFU service and Buttonless dfu characteristic to it (I believe it is nrf_dfu_ble.c) ?&lt;/p&gt;
&lt;p&gt;2) When we send the characteristic to lanuch into bootloader mode, we will write the magic value to the retention register (GPREGRET) and do the soft reset. So, in which file we are doing this process ?&lt;/p&gt;
&lt;p&gt;3) How can I just add the buttonless DFU characteristic without the DFU symbol on top right corner ?&lt;/p&gt;
&lt;p&gt;Thanks in advance for your help.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Rahul Chowdary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless bootloader on custom board</title><link>https://devzone.nordicsemi.com/thread/282910?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 14:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dba46798-7429-4fbc-b960-4514d9dea09c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rahul,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please be aware that when you testing buttonless application, you still need to flash the normal bootloader. There is no such thing as &amp;quot;&lt;span&gt;&amp;nbsp;buttonless dfu bootloader&amp;quot;. The buttonless&amp;nbsp;example provided in the SDK is an example of how to implement buttonlessDFU service into your application.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;So what you need to do is to implement the buttonless service into your blinky (i assume it&amp;#39;s a BLE application) application. And you still need to flash the normal bootloader.&amp;nbsp;&lt;br /&gt;You can choose to make the bootloader setting or not (if you don&amp;#39;t make the bootloader setting you will need to flash the application via DFU process instead of flashing it directly via&amp;nbsp;the programmer).&lt;br /&gt;&lt;br /&gt;I have a tutorial here that may have some extra information about &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h75sjziavjbukzaywg6xlx19np0fm4"&gt;that&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>