<?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 DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19824/buttonless-dfu---transfer-succeeds-but-no-ble-device-available-after</link><description>I&amp;#39;m working the the NRf52 dev board and SDK12.2. I was able to successfully load the standard DFU example and then use the NRF Toolbox on an android to load the example HR zip file to the device. Then verify it worked using the HR portion of the app.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Feb 2017 21:15:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19824/buttonless-dfu---transfer-succeeds-but-no-ble-device-available-after" /><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77110?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2017 21:15:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12b09ecf-2be6-4752-bb25-9217e55d2338</guid><dc:creator>TFETT</dc:creator><description>&lt;p&gt;@Hung Bui Response: resolved the issue&lt;/p&gt;
&lt;p&gt;&amp;#39;m sorry that I didn&amp;#39;t check which compile you used. If you use KEIL there is no problem with the example, but for gcc there is an issue with the linker file. You can follow the answer in this case here.
You should add the BOOTLOADER_SETTINGS in the ble_app_buttonless_dfu_gcc_nrf52.ld file as instructed in the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77109?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 08:41:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:455a8c14-4864-4637-be01-ff90e363c7dd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi TFETT,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry that I didn&amp;#39;t check which compile you used. If you use KEIL there is no problem with the example, but for gcc there is an issue with the linker file.
You can follow the answer in this case &lt;a href="https://devzone.nordicsemi.com/question/95193/sdk12pca10040ble_app_buttonless_dfu-not-resetting-to-bootloader/?answer=95279#post-id-95279"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You should add the BOOTLOADER_SETTINGS in the ble_app_buttonless_dfu_gcc_nrf52.ld file as instructed in the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77104?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 16:02:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46f3032b-9f47-4010-935e-910177c391d3</guid><dc:creator>TFETT</dc:creator><description>&lt;p&gt;All other examples seem to work without any issues. I can try to debug and see if that provides any clues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77103?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 15:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff9f870f-aebc-44dd-a042-34524e3371df</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It works here. Have you tried with just the example and softdevice S132 v3.0 (no bootloader) ?&lt;/p&gt;
&lt;p&gt;Do other examples work for you ?&lt;/p&gt;
&lt;p&gt;If it still doesn&amp;#39;t work, please try to debug and find what cause the issue. You can have a look at this &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt;guide&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77102?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 15:40:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a858070-4a14-4834-99d8-278ce06553b9</guid><dc:creator>TFETT</dc:creator><description>&lt;p&gt;I tried as you suggested and even tried it from a clean SDK 12.2 build to ensure I hadn&amp;#39;t made any changes,  but in both cases I do not see a device advertising. Is it possible for you to test on your end if flashing the buttonless dfu on your end works with SDK 12.2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77105?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 08:44:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7020d6ea-c9af-4ae9-80fd-ef164217d792</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi TFETT,&lt;/p&gt;
&lt;p&gt;Sorry I was assuming you was testing with the provided pre-made .zip that works with the default DFU bootloader (the default key).&lt;/p&gt;
&lt;p&gt;We call the program that handle the DFU task (and start first) is bootloader, as the name of the DFU bootloader project is bootloader_secure.&lt;/p&gt;
&lt;p&gt;There could be an issue with the DFU buttonless example that you were testing with. My suggestion is to test with another BLE example, such as the ble_app_hrs.
Next step is test with just the buttonless DFU example without flashing the bootloader (simply flash softdevice then the buttonless DFU example). Just to make sure it can advertise something.&lt;/p&gt;
&lt;p&gt;Note that you can debug an application after it&amp;#39;s flashed on the device via DFU as normal application. You may need to set optimization level to 0 to step in the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77101?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 00:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8155b69c-aa7b-4194-9d93-05e0c1ef98d8</guid><dc:creator>TFETT</dc:creator><description>&lt;p&gt;If that were the case I would expect it to fail when I load BLE Blinky which I also signed with the private key I generated (which it doesn&amp;#39;t). At a higher level I&amp;#39;m a bit confused as to how to &amp;quot;compile a bootloader&amp;quot; I see the info about creating a bootloader settings file and merging it with the tools, but I&amp;#39;m not sure even how to generate the .hex file for a bootloader. Is bootloader and DFU interchangeable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77108?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 16:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42c8fc43-8d31-4631-b00f-a562db2b139c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;When you generate a .zip file for DFU updating, you embedded it with the signature from a private key that you generated. So you need to update the bootloader with the public key that you get from that private key. Then recompile the bootloader and flash the new bootloader.&lt;/p&gt;
&lt;p&gt;Otherwise the bootloader will reject your image. It&amp;#39;s described at step 5 &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/ble_sdk_app_dfu_bootloader.html?cp=4_0_0_4_3_1"&gt;here&lt;/a&gt;.
To generate the public key file from the private key, you can have a look &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/lib_crypto.html#lib_crypto_key"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The code should be&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil keys display --key pk --format code c:\vault\priv.pem --out_file public_key.c
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then you replace the default public key file in the DFU bootloader code with the one you create, recompile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77107?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 15:47:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61deebac-e5f8-4f85-bfde-1a0f7e533417</guid><dc:creator>TFETT</dc:creator><description>&lt;p&gt;No I haven&amp;#39;t. When I flash the board I simply issue a nrfjprog --eraseall -f nrf52. I then flash it with a softdevice from a different project. And lastly flash it with the secure DFU application.  Should I be specifically flashing a bootloader. The odd thing is the BLE Blinky example works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Buttonless DFU - Transfer Succeeds, but no BLE device available after</title><link>https://devzone.nordicsemi.com/thread/77106?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 08:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc9ba19d-8fdb-40a9-b8d4-4b4c8522a767</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you updated the bootloader with your generated public key ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>