<?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>OTA DFU of the precompiled hex to the nRF51822 Bluetooth Smart Beacon Kit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62485/ota-dfu-of-the-precompiled-hex-to-the-nrf51822-bluetooth-smart-beacon-kit</link><description>HI, 
 I purchased the nRF51822 Bluetooth Smart Beacon Kit ( I knew it&amp;#39;s discontinued ) to perform a quick and simple POC (put my custom 31 bytes for the beacon to advertise the same manner I POC&amp;#39;ed with a laptop -&amp;gt; ( hcitool -i hci0 cmd 0x08 0x0008 {31</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jun 2020 09:49:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62485/ota-dfu-of-the-precompiled-hex-to-the-nrf51822-bluetooth-smart-beacon-kit" /><item><title>RE: OTA DFU of the precompiled hex to the nRF51822 Bluetooth Smart Beacon Kit</title><link>https://devzone.nordicsemi.com/thread/254947?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 09:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38a6658b-827e-4a1d-a92a-6e2fd7c54b5b</guid><dc:creator>Shailevy</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Zipping the precompiled wit he snippet you sent and DFU&amp;#39;ing it helped and the beacon is transmitting again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, using the same snippet I can&amp;#39;t seem to run my own compiled HEX on the beacons. As far as I was able to under I need to compile a pca20006 s100 makefile for compatibility.&lt;/p&gt;
&lt;p&gt;In SDK10 I found&amp;nbsp;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;sdk10/examples/ble_peripheral/experimental_ble_app_eddystone/pca20006/s110/armgcc&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;But compiling it and DFU&amp;#39;ing it to the beacon the bacon will not advertise anything again.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;Trying to use the customized SDK for this product compiling is too hard, the Makefiles ha wrong directory depth in them and I wasn&amp;#39;t able to get it to compile.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;&lt;br /&gt;( nRF51822 Beacon v1.1.1/Source Code/nrf51_beacon/ble_app_beacon/pca20006/s110/armgcc )&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;But I&amp;#39;m not sure there is any point in trying if I can&amp;#39;t seem to find another &amp;quot;&lt;span&gt;pca20006/s110/armgcc&amp;quot;&amp;nbsp;example that works&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU of the precompiled hex to the nRF51822 Bluetooth Smart Beacon Kit</title><link>https://devzone.nordicsemi.com/thread/254900?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 07:57:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af71a439-e2a2-456f-a850-0ccddf10477a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;So you are able to do the DFU, but after the DFU, the device does not start to advertise ? Is that correct?&lt;/p&gt;
&lt;p&gt;Could you try to create the DFU package like this?&lt;/p&gt;
&lt;p&gt;Snippet:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil dfu genpkg .zip --application .hex --application-version 0xFFFFFFFF --dev-revision 0xFFFF --dev-type 0xFFFF --sd-req 0xFFFE&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU of the precompiled hex to the nRF51822 Bluetooth Smart Beacon Kit</title><link>https://devzone.nordicsemi.com/thread/254851?ContentTypeID=1</link><pubDate>Sun, 14 Jun 2020 11:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46e1f906-8c4c-4c5e-8265-241c35dbed2f</guid><dc:creator>Shailevy</dc:creator><description>&lt;p&gt;&lt;span&gt;I&amp;#39;m using the discontinued reference kit: nRD51822 BLUETOOTH Smart Beacon Kit&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t know which of device it comes with but judging from download it&amp;#39;s s110&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I guess I will first retry the pre-compiled HEX in the package (It flashed fine but I didn&amp;#39;t check if it&amp;#39;s advertising) and see&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t really want to solder the lines even if I find them (it&amp;#39;s a really small board)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So I guess I&amp;#39;m a little stuck for now&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU of the precompiled hex to the nRF51822 Bluetooth Smart Beacon Kit</title><link>https://devzone.nordicsemi.com/thread/254850?ContentTypeID=1</link><pubDate>Sun, 14 Jun 2020 11:01:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a04399a-2003-4d1f-9d2c-3a3265bf0e1b</guid><dc:creator>Turbo J</dc:creator><description>[quote userid="91095" url="~/f/nordic-q-a/62485/ota-dfu-of-the-precompiled-hex-to-the-nrf51822-bluetooth-smart-beacon-kit/254842"]The main thing I wasn&amp;#39;t able to understand is why the build targets of&amp;nbsp;the examples there were for NRF51422.[/quote]
&lt;p&gt;NRF51822 is the same chip, just without the ANT+ license. Not relevant for BTLE applications.&lt;/p&gt;
[quote userid="91095" url="~/f/nordic-q-a/62485/ota-dfu-of-the-precompiled-hex-to-the-nrf51822-bluetooth-smart-beacon-kit/254842"]armgcc_s130_nrf51822_xxaa/armgcc_s110_nrf51822_xxaa and so on[/quote]
&lt;p&gt;Those are for different &lt;em&gt;softdevices&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;You need to know exactly which softdevice is in the flash, otherwise any application (using BT LE) won&amp;#39;t work. Warning: This includes the OTA bootloader.&lt;/p&gt;
&lt;p&gt;Personally, I recommend soldering those SWD lines (SWDIO, SWDCLK) and using a J-Link debugger for programming and debugging. This also allows a fresh start with any softdevice version (just do a chip erase).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU of the precompiled hex to the nRF51822 Bluetooth Smart Beacon Kit</title><link>https://devzone.nordicsemi.com/thread/254842?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2020 21:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78924783-957c-4093-8045-1bf9db5e0e1b</guid><dc:creator>Shailevy</dc:creator><description>&lt;p&gt;OK, After a long weekend trying to figure this out I gave up and I hope someone can help me.&lt;/p&gt;
&lt;p&gt;I will explain some of the things I tried but in all honesty, I think it will great if someone can do me a huge favor just send me a zip/hex file of that updated this product to advertise my 31 bytes (Contact me and I will send them with a huge thanks and a beer/coffee gift)&lt;/p&gt;
&lt;p&gt;Every complied example I tried didn&amp;#39;t advertise anything. I tried examples from the product&amp;#39;s specific SDK , from SDK 10, SDK 12.3... I tried changing the linker script of PCA20006 example to&amp;nbsp;armgcc_s130_nrf51822_xxaa/armgcc_s110_nrf51822_xxaa and so on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;About this discontinued product-specific SDK(nRF51822 Beacon v1.1.1): The product download is a zip file with an MSI installer and things are pretty much windows oriented.&lt;/p&gt;
&lt;p&gt;The main thing I wasn&amp;#39;t able to understand is why the build targets of&amp;nbsp;the examples there were for NRF51422.&lt;/p&gt;
&lt;p&gt;Because it&amp;#39;s not a dev board I&amp;#39;m unable to provide any info about why the beacon didn&amp;#39;t start advertising anything, I only tried &amp;quot;app&amp;quot; firmware, didn&amp;#39;t touch the bootloader&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU of the precompiled hex to the nRF51822 Bluetooth Smart Beacon Kit</title><link>https://devzone.nordicsemi.com/thread/254751?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2020 13:24:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10723a4b-cfe5-4534-86a7-4b7b0cba68c7</guid><dc:creator>Shailevy</dc:creator><description>&lt;p&gt;I got it to work&lt;/p&gt;
&lt;p&gt;After searching the DevZone I figured I need to use an older nrfutil&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;dfu genpkg --application .\nrf51822_beacon_app.hex app.zip&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And the uses nRF Beacon to update the firmware and got a success message.&lt;/p&gt;
&lt;p&gt;I guess my next step now is to figure out how to use the toolchains and create my own hex file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>