<?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>nrf51-ble-app-temp Example - DFU App returns error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8041/nrf51-ble-app-temp-example---dfu-app-returns-error</link><description>SoftDevice : S110 7.1 
 
 
 SDK 7.2 
 
 
 Example : nrf51-ble-app-temp 
 
 
 Using IAR 7.1 
 
 
 (Before debugging with IAR, I downloaded both the bootloader.hex and s110 7.1 hex with nrfjprog.exe) 
 
 Modified SDK files : bootloader_util_arm</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jul 2015 23:05:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8041/nrf51-ble-app-temp-example---dfu-app-returns-error" /><item><title>RE: nrf51-ble-app-temp Example - DFU App returns error</title><link>https://devzone.nordicsemi.com/thread/28816?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 23:05:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:944ef853-c5df-477f-bbc2-b1c42b6d48b1</guid><dc:creator>MANGO</dc:creator><description>&lt;p&gt;I wish I could. The problem is time. I&amp;#39;m afraid whether I could migrate everything in time.&lt;/p&gt;
&lt;p&gt;I was trying to apply the DFU on my own project.&lt;/p&gt;
&lt;p&gt;Also, since I&amp;#39;m using the revision 2 MCU. So doesn&amp;#39;t SDK 9 fit on it?&lt;/p&gt;
&lt;p&gt;Anyway, the good news is that , thanks to you,&lt;/p&gt;
&lt;p&gt;the DFU has occurred successfully in this example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-temp Example - DFU App returns error</title><link>https://devzone.nordicsemi.com/thread/28815?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 14:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c020d6da-7acd-438c-9aa3-6ec59ddf371f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I think the easiest solution to this problem is to just download &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v9.x.x/nRF51_SDK_9.0.0_2e23562.zip"&gt;nRF51_SDK_9.0.0&lt;/a&gt; as it already supports IAR. Then you will only have to do changes mentioned in my answer below. I tried the example I sent you with iOS and did not experience any issues. However, looks like it does not work if opened in a different version of IAR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-temp Example - DFU App returns error</title><link>https://devzone.nordicsemi.com/thread/28814?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 07:28:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a471b878-e7a6-44f5-ab98-cfd35b6ff594</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are you using SDK 8.1.0/9.0.0? With bonding the service changed indication needs to be sent from the bootloader, which it did not do in SDK 7.x.x. You can try the hrs without bonding if you use the example images found in \examples\dfu\ble_dfu_send_hex\test_images_update\dfu_test_app_hrm_s110.zip&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-temp Example - DFU App returns error</title><link>https://devzone.nordicsemi.com/thread/28813?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 07:15:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a246ba3f-9aa2-46f9-8d74-fac4f17c0e2a</guid><dc:creator>MANGO</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Regardless whether the peripheral pairs or bond with the central (in this case, the iPhone),&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;does iOS caches the attribute table? This is the reason why, after changing the device&amp;#39;s name,&lt;/p&gt;
&lt;p&gt;the iPhone shows the past name, is it?&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;This example uses Heart Rate Service. Due to this reason, I cannot clear bonding&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;in settings -&amp;gt; Bluetooth because this service only pairs. Then what should I do?&lt;/p&gt;
&lt;p&gt;Added : Sorry for not mentioning. I was using SDK7.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-temp Example - DFU App returns error</title><link>https://devzone.nordicsemi.com/thread/28812?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 07:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:982908e9-721b-4cf0-ba41-c2f8dd15c753</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;iOS caches the attribute table if the service changed characteristic is not being used. So it could be that your phone is &amp;#39;seeing&amp;#39; an old attribute table . You can try to clear any bonding in settings-&amp;gt;bluetooth and then do a reboot. - This should force a re-discovery of the services.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51-ble-app-temp Example - DFU App returns error</title><link>https://devzone.nordicsemi.com/thread/28817?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2015 12:53:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c74d9dd0-50b9-4ff4-8f66-606820889dcb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00085.html"&gt;Bond sharing&lt;/a&gt; between application and bootloader was added in SDK 7.0.0 which relies on the assembly routines in dfu_ble_svc.c (bootloader) to fetch the bond data. IAR support for this was added in SDK 8.1.0&lt;/p&gt;
&lt;p&gt;I have attached the bootloader from SDK 8.1.0  configured for running on PCA10001 with the 2nd rev chip in addition to the ble_app_hrs .zip package which can be used for testing of DFU.&lt;/p&gt;
&lt;p&gt;nRF Loader for iOS is deprecated and should only be used for legacy support. nRFtoolbox/Master control panel(not available on iOS)  are now the recommend applications for doing DFU.&lt;/p&gt;
&lt;p&gt;Changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enabled CPU blocking due to PAN #44 and #45, see ble_stack_init()&lt;/li&gt;
&lt;li&gt;Changed board pinout&lt;/li&gt;
&lt;li&gt;Adjusted the linker so the RAM usage would not exceed 16K.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Attachments:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dfu_5F00_iar_5F00_pca10001.zip"&gt;dfu_iar_pca10001.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/IAR_5F00_ble_5F00_app_5F00_hrs.zip"&gt;IAR_ble_app_hrs.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that the &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00099.html"&gt;init file&lt;/a&gt; became a requirement in SDK version 7.0.0 and later. Details on how to create a init file for your own application is  documented &lt;a href="https://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.1.0/s110/html/a00098.html"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>