<?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>Example for Performing OTA DFU from NRF52840 Dongle to NRF52 peripheral ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70187/example-for-performing-ota-dfu-from-nrf52840-dongle-to-nrf52-peripheral</link><description>Hi All, 
 
 I am able to perform the OTA DFU from the NRF52840 Dongle using the NRF Connect Bluetooth low energy application and default Nordic firmware. 
 I would like to be able to do the same thing from my application without having to use NRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Mar 2021 09:29:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70187/example-for-performing-ota-dfu-from-nrf52840-dongle-to-nrf52-peripheral" /><item><title>RE: Example for Performing OTA DFU from NRF52840 Dongle to NRF52 peripheral ?</title><link>https://devzone.nordicsemi.com/thread/300612?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 09:29:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5feb8ce1-4dbf-4013-af81-d0b0f03ca8fd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Felipe,&amp;nbsp;&lt;br /&gt;The USB bootloader is available in the SDK, you can have a look &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/sdk_app_serial_dfu_bootloader.html?cp=7_1_4_4_4"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The DFU protocol is described &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_dfu_transport.html?cp=7_1_3_5_2"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;And the DFU USB trigger libreary is &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_dfu_trigger_usb.html?cp=7_1_3_5_3"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example for Performing OTA DFU from NRF52840 Dongle to NRF52 peripheral ?</title><link>https://devzone.nordicsemi.com/thread/300531?ContentTypeID=1</link><pubDate>Wed, 17 Mar 2021 21:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89b1d932-398c-480a-89bc-05fe1b28fcf2</guid><dc:creator>  Curiosus</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;a lot for your help, I have just started navigating through the&amp;nbsp;&lt;span&gt;connectivity firmware for nRF Connect&amp;nbsp;&lt;a title="here" href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;here&lt;/a&gt;&amp;nbsp;that you suggested, and I was unable to find anything related to the bootloader, I would like to know if you guys provide the source code for the bootloader that runs on the dongles, As I understand that is where the DFU process happens, so I would be very interested in seeing If could take that source code and add some custom USB-VCP Commands to perform specific tasks , alternatively&amp;nbsp;some documentation in regards to the BLE-DFU Service structure and or examples would be very helpful.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example for Performing OTA DFU from NRF52840 Dongle to NRF52 peripheral ?</title><link>https://devzone.nordicsemi.com/thread/288112?ContentTypeID=1</link><pubDate>Fri, 08 Jan 2021 09:19:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffd727f8-434e-4b37-98ad-f4cd4f7028da</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Felipe,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I will try to sum up here and please correct me if I&amp;#39;m wrong. You now using nRF Connect app with our default connectivity firmware running on the dongle to do DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now you want to develop your own application on PC and your own firmware on the dongle to do the same task (and more custom functionalities)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s the case, you do have some sources of reference that you can use:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- The nRF Connect source code &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ble"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;- nrfutil source code &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;here&lt;/a&gt;. nrfutil can perform the same DFU task as the nRF Connect app. But it&amp;#39;s a command line tool, and from my point of view it&amp;#39;s easier to extract the part of code that handle DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- The connectivity firmware running on the dongle. You can find the source code for the hex file of the connectivity firmware for nRF Connect &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver"&gt;here&lt;/a&gt;. It&amp;#39;s very similar to the connectivity application in our SDK with some patches. The patches is provided in the github repository that I pointed to. If you can build the connectivity firmware as instructed in the repo, you can start modifying it for your own needs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t plan to use the connectivity firmware, and prefer to develop your own stand alone firmware to do the same task, it&amp;#39;s also possible. But you would need to study the DFU protocol and implement that on the dongle. We currently don&amp;#39;t have an example for that yet.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example for Performing OTA DFU from NRF52840 Dongle to NRF52 peripheral ?</title><link>https://devzone.nordicsemi.com/thread/288042?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 21:08:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0ac6de8-6aa4-4103-94c9-e79425ef0ebc</guid><dc:creator>  Curiosus</dc:creator><description>&lt;p&gt;Hi Hung,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the speedy reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am looking for an example&amp;nbsp;for the firmware to achieve a OTA DFU from the dongle to a peripheral that supports OTA DFU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;At the moment, I am able to do so using The BLE application in NRF Connect app and the default NRF Firmware.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to Implement the same in my Custom Firmware Dongle application. Like this:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/OTA_5F00_DFU.png" /&gt;&lt;/p&gt;
&lt;p&gt;I hope that looks a bit clearer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example for Performing OTA DFU from NRF52840 Dongle to NRF52 peripheral ?</title><link>https://devzone.nordicsemi.com/thread/287975?ContentTypeID=1</link><pubDate>Thu, 07 Jan 2021 14:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7b0ee1b-cfbd-4171-b4a9-4ee66192858c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Felipe,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you please clarify are you planning to do OTA DFU from the dongle to the nRF52 with or without the use of a PC ? Meaning the dongle will run stand alone or you plan to use an application running on PC to execute that ?&amp;nbsp;&lt;br /&gt;If you want instead of nRF Connect but develop an application on PC to do the task I would suggest to have a look at the nrfutil application.&amp;nbsp;&lt;br /&gt;We provide the &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;source code&lt;/a&gt; for nrfutil that you can refer and modify it to create your own application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>