<?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 use nrfutil to do DFU over custom dongle?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32604/how-to-use-nrfutil-to-do-dfu-over-custom-dongle</link><description>I have a custom dongle that connects to the PC through a USB-UART chip. It is based on the nRF51822. I have another board based on the nRF52832. This board needs to be able to receive a DFU over BLE through the dongle and no other means for functional</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Mar 2018 14:28:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32604/how-to-use-nrfutil-to-do-dfu-over-custom-dongle" /><item><title>RE: How to use nrfutil to do DFU over custom dongle?</title><link>https://devzone.nordicsemi.com/thread/126140?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 14:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:952f0159-9cc7-46cf-9f18-d07dfe8c23b3</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Yes, you can use nrfutil. Have a look at &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2Fnrfutil%2Fnrfutil_dfu_ble.html"&gt;Performing a DFU over BLE&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In order for nrfutil to work you need connectivity firmware on the connectivity device. The connectivity firmware included with nrfutil is made for our DKs and Dongles, but we also provide the source code so that you can modify and build for custom boards.&lt;/p&gt;
&lt;p&gt;It is the same connectivity firmware as is used for &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;pc-ble-driver&lt;/a&gt;. For nRF51 it is based off of the ser_s130_hci example in SDK 11.0., with &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/hex/sd_api_v2/sdk110_connectivity.patch"&gt;sdk110_connectivity.patch&lt;/a&gt; applied on top. That patch does changes to the example and sets up the Keil 5 project for building the connectivity firmware. If you use another toolchain then in main.c you must change the &amp;quot;#if defined (__CC_ARM )&amp;quot; and translate the arm compiler specific &amp;quot;__attribute__((packed))&amp;quot; to what is correct for the toolchain that you are using.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrfutil to do DFU over custom dongle?</title><link>https://devzone.nordicsemi.com/thread/126015?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 16:51:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dab67f4-a415-46c7-9df1-7252d3400fc8</guid><dc:creator>Abhishek Satish</dc:creator><description>&lt;p&gt;Hey there. I meant that I can put firmware on it and I cannot change it at a later time.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use nrfutil to do DFU over custom dongle?</title><link>https://devzone.nordicsemi.com/thread/125935?ContentTypeID=1</link><pubDate>Mon, 26 Mar 2018 11:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70b2f99e-551e-40db-a344-37bfecf6833d</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So in this case, the nRF52 board is the DFU target, the nRF51 Dongle is connectivity device for the pc, and the pc will act as DFU controller.&lt;/p&gt;
&lt;p&gt;How to do this, and if it is possible, depends on the firmware on the connectivity device. When you write that the dongle has firmware on it that cannot be overwritten, do you mean that you can not decide what firmware to put on it? If you must keep the current firmware, what firmware is it, what does it do, what protocols does it use, etc.?&lt;/p&gt;
&lt;p&gt;Or, do you mean that you can put firmware on it, but you have to decide which one and it can not be changed at a later point in time?&lt;/p&gt;
&lt;p&gt;Or, do you mean something else?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>