<?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>DFU to nRF51822 Bluetooth Smart Beacon?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10596/dfu-to-nrf51822-bluetooth-smart-beacon</link><description>Hi 
 what&amp;#39;s the best way to update the application on a nRF51822 beacon? I tried using the nRF Beacon Android application but wherever I put my hex file from Keil it was shown as greyed out (e.g. in Drive) until eventually I copied it to the internal</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Dec 2015 07:35:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10596/dfu-to-nrf51822-bluetooth-smart-beacon" /><item><title>RE: DFU to nRF51822 Bluetooth Smart Beacon?</title><link>https://devzone.nordicsemi.com/thread/39446?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2015 07:35:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1eb62cfc-550a-4572-b18f-c5a48447b7e3</guid><dc:creator>bluetooth_mdw</dc:creator><description>&lt;p&gt;Thanks Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU to nRF51822 Bluetooth Smart Beacon?</title><link>https://devzone.nordicsemi.com/thread/39445?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 08:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cb8f15d-f21f-4a1d-b31c-249b42d41115</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Then it&amp;#39;s likely the old version with FW that only supports application update. You can verify this by uploading the pre-comiled application .hex from beacon FW v.1.0. In the app, browse the .hex file and select application, and say no when your are prompted for the init file.&lt;/p&gt;
&lt;p&gt;Unfortunately, it&amp;#39;s not possible to update to later version without updating the bootloader and softdevice using an external programmer first (&lt;a href="https://devzone.nordicsemi.com/blogs/686/programming-the-nrf51822-beacon-kit-with-the-nrf51/"&gt;https://devzone.nordicsemi.com/blogs/686/programming-the-nrf51822-beacon-kit-with-the-nrf51/&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU to nRF51822 Bluetooth Smart Beacon?</title><link>https://devzone.nordicsemi.com/thread/39444?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 08:39:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7756ee0f-6b84-4f5d-9e00-ec8cd1dad906</guid><dc:creator>bluetooth_mdw</dc:creator><description>&lt;p&gt;I got sent a couple of these beacons by someone at Nordic quite a long time ago so they&amp;#39;re probably very early versions. They have no sticker on the back. On the front it says 400059 and 0138RUBR. Is there anything else you can think of?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU to nRF51822 Bluetooth Smart Beacon?</title><link>https://devzone.nordicsemi.com/thread/39443?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 08:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d9147b7-77af-4b6e-97d6-a9cfa3e99df3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Have you re-programmed the beacon kit or is it the same FW that it was shipped with? The first revision of the beacon kit was shipped with the bootlaoder from SDK 6.1.0 which didn&amp;#39;t have the init file. Should be a sticker on the back of the kit saying what board number it is. If it&amp;#39;s later 1.1 or later it will use the bootlaoder from SDK 7.1.0. That could explain the CRC error, and you should only provide the .hex in your app.&lt;/p&gt;
&lt;p&gt;In case you have a newer board revision you can try to upload the pre-compiled application .hex found in the &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51822-Bluetooth-Smart-Beacon-Kit/nRF51822-BK-FW/29888"&gt;Beacon FW&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU to nRF51822 Bluetooth Smart Beacon?</title><link>https://devzone.nordicsemi.com/thread/39442?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 08:23:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91fa1716-a82d-4588-9cd6-6ee0aa34737a</guid><dc:creator>bluetooth_mdw</dc:creator><description>&lt;p&gt;I got &amp;quot;DFU Invalid CRC Error&amp;quot; from the nRF Beacon application.&lt;/p&gt;
&lt;p&gt;My command to generate the zip file was:&lt;/p&gt;
&lt;p&gt;C:\nRF51_SDK_9.0.0_2e23562\examples\ble_peripheral\ble_app_altbeacon&amp;gt;nrfutil dfu genpkg altbeacon.zip --application nrf51422_xxac_s110.hex --application-version 0xFFFFFFFF --dev-revision 0xFFFF --dev-type 0xFFFF --sd-req 0xFFFE&lt;/p&gt;
&lt;p&gt;Any ideas? Getting closer I think!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU to nRF51822 Bluetooth Smart Beacon?</title><link>https://devzone.nordicsemi.com/thread/39441?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 08:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faa5c060-d88e-44db-ad55-7c4804595b9d</guid><dc:creator>bluetooth_mdw</dc:creator><description>&lt;p&gt;Hey Vidar, that was really quick, thank you! So maybe I have been reading old documentation..... thanks for this. I&amp;#39;ll give it a try right now :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU to nRF51822 Bluetooth Smart Beacon?</title><link>https://devzone.nordicsemi.com/thread/39440?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 08:11:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68f64ba5-485f-4a95-9c6c-832fe6986861</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/bledfu_example_init.html?cp=4_1_0_4_3_1_1_3"&gt;Additional safety-checking&lt;/a&gt; of FW images was added in SDK version 7 and later and therefore requiring the a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/bledfu_example_image.html?cp=4_1_0_4_3_1_1_2"&gt;distribution packet&lt;/a&gt;(.zip) including the init file.&lt;/p&gt;
&lt;p&gt;Generic command for creating a distribution packet (no version checks):&lt;/p&gt;
&lt;p&gt;nrfutil dfu genpkg .zip --application .hex  --application-version 0xFFFFFFFF --dev-revision 0xFFFF --dev-type 0xFFFF --sd-req 0xFFFE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>