<?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>Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35808/regarding-buttonless-dfu-bootloader-example-in-sdk12</link><description>Hii, 
 We are using currently nRF SDK12 and nrfutil for performing DFU over ble. we are able to do it by pressing button on nrf51822 Dk kit at time of restart and putting it in to Bootloader mode. 
 Now we trying to implement out buttonless DFU. I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Jul 2018 13:44:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35808/regarding-buttonless-dfu-bootloader-example-in-sdk12" /><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138791?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 13:44:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c20858e8-d376-4247-9215-802f3f39032c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;It depends a bit on your application. you should add the dfu service in services_init(). Then add ble_dfu_evt_handler(), and add it to your dispatch_function.&lt;/p&gt;
&lt;p&gt;After adding this service, it should take care of the bootloader actions.&amp;nbsp;You probably also need the nrf_dfu_flash_buttonless.c file, like in the buttonless_dfu example.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You basically need to merge the two examples, and try to compile. When it works, try the dfu via nRF Connect, and let me know if it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138763?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 12:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d63986e-c7c5-4de8-af1f-76cd1b21c113</guid><dc:creator>Sachin bejgamwar</dc:creator><description>&lt;p&gt;No i didnt have done it yet, I will do it, please tell me what i need to do after adding all files and services you have mention. i mean how i will put my device in to bootloader mode after adding this files and services..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138759?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 11:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f41fafe-8967-4cd7-a0c9-0551af4980b4</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;You need to add the buttonless_dfu service to your services.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Copy the parts inside&amp;nbsp;services_init() from the experimental_ble_app_buttonless_dfu example.&lt;/p&gt;
&lt;p&gt;You will also need to add the files ble_dfu.c and ble_dfu.h files to your project.&lt;/p&gt;
&lt;p&gt;Have you already done this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138756?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 11:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3e3584d-597e-4328-ba74-487d2dd9c651</guid><dc:creator>Sachin bejgamwar</dc:creator><description>&lt;p&gt;Yes, exactly...Please tell me the procedure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138660?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 06:39:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13eb4b72-5e2f-4ad4-b650-34f6fb3f8a4f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. Do you intend to use buttonless DFU? You need some way of entering bootloader mode within your application. However, entering bootloader mode requires a reset, but you can do this in application. You don&amp;#39;t need to manually turn the device off and on.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138540?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 13:57:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78bb4b42-136c-456f-8559-f172283879ee</guid><dc:creator>Sachin bejgamwar</dc:creator><description>&lt;p&gt;Yes device is advertising after getting DFU update. but to put it again in DFU mode we need to press button while restarting. we are not using buttonless DFU right now. what we need is -switching to bootloader without a system reset nrf51822. so that we can again put our device in to DFU bootloader mode &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138537?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 13:54:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb3ff4e4-4e48-4ba0-adc5-4af57c85c8d3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;If you are running the buttonless example, you use BLE to enter bootloader mode.&lt;/p&gt;
&lt;p&gt;Connect to the device, like you did before, but it should now be advertising with the name &amp;quot;buttonless_dfu&amp;quot;. You should be able to select the DFU option like before. Do you see the device advertising after the first DFU update?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138528?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 13:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01dbd31e-295a-40c1-9dcf-a9d7f30b3a6e</guid><dc:creator>Sachin bejgamwar</dc:creator><description>&lt;p&gt;Hii ,thanks for your reply... i am able to proceed all of this step without any problem... now what i want to do is to- enter DFU bootloader mode from the application... . right now i need to press down the button at time of restart to put my device in to bootloader mode. please tell me regarding this. thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138514?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 13:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e89868a-df25-4076-89a4-9496256d7516</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The buttonless dfu example doesn&amp;#39;t contain a bootloader. You need to program the bootloader from examples\dfu\bootloader_secure&lt;/p&gt;
&lt;p&gt;Then you can either update to the buttonless_dfu example via the DFU service via nRF Connect, or program the hex&amp;nbsp; file from the buttonless_dfu example, in addition to the bootloader settings .hex file which you can generate from the following guide:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2Fnrfutil%2Fnrfutil_settings_generate_display.html"&gt;http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2Fnrfutil%2Fnrfutil_settings_generate_display.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I suggest you try the following:&lt;/p&gt;
&lt;p&gt;1) erase board: nrfjprog -e&lt;/p&gt;
&lt;p&gt;2) program softdevice: nrfjprog --program &amp;lt;path_to_softdevice_s132.hex&amp;gt; --verify&lt;/p&gt;
&lt;p&gt;3) program bootloader generated from examples\dfu\bootloader_secure: nrfjprog --program &amp;lt;path to hex file&amp;gt; --verify&lt;/p&gt;
&lt;p&gt;4) reset the device: nrfjprog --reset&lt;/p&gt;
&lt;p&gt;5) connect to&amp;nbsp;DfuTarg in nRF Connect and update via the DFU service.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me know if you get stuck at one point.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/138251?ContentTypeID=1</link><pubDate>Fri, 29 Jun 2018 10:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e500f37-6426-4bb1-ae18-d8e4c20509d4</guid><dc:creator>Sachin bejgamwar</dc:creator><description>&lt;p&gt;Hi, i think i am doing a wrong procedure to do a Button less DFU. What i am currently doing is -&lt;/p&gt;
&lt;p&gt;1)earasing the device completely&lt;/p&gt;
&lt;p&gt;2)updating nrf51822 softdevice&lt;/p&gt;
&lt;p&gt;3)updating bootloader with compiled hex file of example given in SDK12 ble peripheral (experimental buttonless dfu)&lt;/p&gt;
&lt;p&gt;4) then i try to connect it with nrfutil with command that i was giving it to perform DFU .&lt;/p&gt;
&lt;p&gt;I think i dont need to update the bootloader with that example hex file, if that so please let me know the steps to perform buttonless DFU process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/137948?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 14:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cccd4843-108c-4b0c-84ed-4474eab46fdf</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;By the way, can you try to perform the DFU process with your buttonless DFU with nRF Connect? Just connect to it, and press the DFU icon near the top of the box from my screenshot, and select the dfu package.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding buttonless dfu bootloader example in SDK12</title><link>https://devzone.nordicsemi.com/thread/137942?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 14:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83cae241-ae37-4aa2-82ed-5b3aa406c40d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems like it can&amp;#39;t find the cccd handle for the Secure DFU Control point.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you changed anything in the bootloader?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please try to connect to the DFU targ with nRF Connect for Desktop, and see what Services it has? Does it look like the screenshot below?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-e80a258b2a0748fdadd89a5fc6f50f14/pastedimage1530109906685v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you please attach a screenshot of this window with your DfuTarg?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>