<?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>how to add DFU service to existing code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16330/how-to-add-dfu-service-to-existing-code</link><description>hi,
i am working on example programs. i want to add dfu service to example hrs code.
added ble_dfu, bootloader_util_arm, dfu_app_handler.c files to example ble_hrs code. on keil IDE. by seeing this link
 devzone.nordicsemi.com/.../a00076.html 
 while</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Sep 2016 11:58:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16330/how-to-add-dfu-service-to-existing-code" /><item><title>RE: how to add DFU service to existing code</title><link>https://devzone.nordicsemi.com/thread/62406?ContentTypeID=1</link><pubDate>Thu, 15 Sep 2016 11:58:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5536429c-031a-4534-956f-a0a3e8288e9f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Duplicate of &lt;a href="https://devzone.nordicsemi.com/question/94338/problem-adding-dfu-service-to-existing-project/"&gt;https://devzone.nordicsemi.com/question/94338/problem-adding-dfu-service-to-existing-project/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add DFU service to existing code</title><link>https://devzone.nordicsemi.com/thread/62409?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2016 15:28:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5762c904-259c-4c33-b558-5a340231adc1</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;i even added bootloader_utill.c, dfu_app_handler.c, and added  required files needed for dfu service to ble_app_hrs_with out dfu. this is compiled with out any problem. flashed to the pca10028. still it is not displaying the device name in nRFTool box application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add DFU service to existing code</title><link>https://devzone.nordicsemi.com/thread/62408?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2016 15:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0f9ad51-c83c-41d3-b824-af70bc31a220</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hi, i successfully added dfu service to existing project by observing this link &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.1.0/s110/html/a00076.html"&gt;devzone.nordicsemi.com/.../a00076.html&lt;/a&gt;.
the problem is after flashing the code to PCA10028. keil project is showing that flash is finished but. nRFTool box application not even display ing the device name.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add DFU service to existing code</title><link>https://devzone.nordicsemi.com/thread/62405?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 09:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:025bbf0a-530f-484a-a5e4-1030684639d0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You have to use the documentation from the correct SDK version. You are using SDK v10.0.0 and you should therefore use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/bledfu_appextending.html"&gt;this&lt;/a&gt; guide for Adding DFU support to yourr application. If you run into any issues, then I recommend that you follow @nospam2000 &amp;#39;s advice and compare your example to an example that already has DFU support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add DFU service to existing code</title><link>https://devzone.nordicsemi.com/thread/62407?ContentTypeID=1</link><pubDate>Sun, 11 Sep 2016 11:03:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fa83c29-f011-41d1-b6e4-a804f0acef0f</guid><dc:creator>nospam2000</dc:creator><description>&lt;p&gt;The best way to start is to use one of the project files of the hrs example which already includes DFU. You can find them under nRF5_SDK_11.0.0_89a8197/examples/ble_peripheral/ble_app_hrs/pca10028/s130_with_dfu&lt;/p&gt;
&lt;p&gt;The #define BLE_DFU_APP_SUPPORT is used to enable the DFU support in this example.&lt;/p&gt;
&lt;p&gt;The error &amp;quot;cannot open source file&amp;quot; is problably because you didn&amp;#39;t include the directory which contains the header file to the include search path which might also explain the other errors.
I don&amp;#39;t know Keil, but in the gcc Makefile it is done this way:
INC_PATHS += -I$(abspath ../../../../../../components/ble/ble_services/ble_dfu)&lt;/p&gt;
&lt;p&gt;Just compare the two folders  examples/ble_peripheral/ble_app_hrs/pca10028/s130_with_dfu/S130/armv4 and
examples/ble_peripheral/ble_app_hrs/pca10028/s130_with_dfu/S130_with_dfu/armv4 to see the different project settings (the main.c sourcecode is identical!).&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>