<?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>BLE DFU Extension Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17862/ble-dfu-extension-issue</link><description>Hi, 
 I have added &amp;quot;DFU&amp;quot; functionality to my existing BLE application Test.rar . 
 &amp;quot;I am using nrf52 SDK v11.0&amp;quot;. 
 I have programmed the device with softdevices (S132.hex) and application and it doesn&amp;#39;t work. I am sure I have something wrong but don</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Nov 2016 13:33:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17862/ble-dfu-extension-issue" /><item><title>RE: BLE DFU Extension Issue</title><link>https://devzone.nordicsemi.com/thread/68862?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 13:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f594a918-17b5-4fac-aa17-e976bd526bcb</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Siva, I recommend that you use the ble_app_hrs example with DFU support as a reference when adding DFU to you own application. You can find it in the following folder in the &lt;strong&gt;nRF5_SDK_v11_0_0\examples\ble_peripheral\ble_app_hrs\pca10040\s132_with_dfu\arm5_no_packs&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU Extension Issue</title><link>https://devzone.nordicsemi.com/thread/68861?ContentTypeID=1</link><pubDate>Tue, 22 Nov 2016 11:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8150034b-5fa7-4221-ba9e-aa7eb9507db6</guid><dc:creator>Siva</dc:creator><description>&lt;p&gt;The problem in my application is at line 1146 where &amp;quot;service_init()&amp;quot; had been defined. In this function I have added DFU functions which causing the problem. If I remove the dfu functionality it works as usual.&lt;/p&gt;
&lt;p&gt;I think the problem is, I am not placing the dfu functions in the correct location. Here are the locations where I have defined dfu parameters/functions.&lt;/p&gt;
&lt;p&gt;Parameters --&amp;gt; from Lines 53 to 74
Functions    --&amp;gt;  1. advertising_stop------line 79
2. reset_prepare---------line 97
3. Service Initialization------line578
4. BLE stack events-----------line755
5. BLE_Support----------------line786
6. Calling reset_prepare-----line987&lt;/p&gt;
&lt;p&gt;Are the above declarations correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE DFU Extension Issue</title><link>https://devzone.nordicsemi.com/thread/68860?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2016 10:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8581895d-2284-4d88-8fb2-b2a7f98e3798</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you explain in detail what you mean when you say &amp;quot;it doesn&amp;#39;t work&amp;quot;? Are you getting any errors when you attempt to perform DFU?&lt;/p&gt;
&lt;p&gt;Yes, you have to flash both the bootloader and the softdevice to your nRF5x device for OTA DFU to function properly. You have to compile the bootloader project found in &lt;code&gt;nRF5_SDK_v11_0_0\examples\dfu\bootloader\pca10040\dual_bank_ble_s132&lt;/code&gt;and then flash it your board  the same way you flash an application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>