<?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>Updating one nRF52 DK board with another nRF52 DK board automatically via OTA DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76166/updating-one-nrf52-dk-board-with-another-nrf52-dk-board-automatically-via-ota-dfu</link><description>I am trying to update on nRF52 DK board with another, separate nRF52 DK board using OTA firmware updates. Essentially, I am trying to replicate how the nRF Connect Desktop app flashes firmware onto these boards. Here are the steps that I want to conduct</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Jun 2021 18:17:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76166/updating-one-nrf52-dk-board-with-another-nrf52-dk-board-automatically-via-ota-dfu" /><item><title>RE: Updating one nRF52 DK board with another nRF52 DK board automatically via OTA DFU</title><link>https://devzone.nordicsemi.com/thread/314557?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 18:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25cb7279-090a-4bd0-9d41-4d4e8938b3c9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This implementation is from nrfutil, which is a python script running on a PC. All the DFU logic etc is on the PC, and the nRF is only used as a BLE connectivity device using the pc-ble-driver. The upgrade image is stored on a PC in this case and never resided on the nRF.&lt;/p&gt;
&lt;p&gt;If your use case is to have a computer connected, and run the DFU process from there, this is useful. If not, then you cannot reuse anything, though you can look at the DFU master implementation as a reference for how you would implement it on the nRF.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating one nRF52 DK board with another nRF52 DK board automatically via OTA DFU</title><link>https://devzone.nordicsemi.com/thread/314525?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 14:28:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1acbaea1-51f9-4bb4-9f11-208377ee9dd8</guid><dc:creator>tjhasan</dc:creator><description>&lt;p&gt;I had a feeling that this was the case. &lt;br /&gt;&lt;br /&gt;That being said, the &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/blob/master/nordicsemi/dfu/dfu_transport_ble.py"&gt;dfu_transport_ble.py&lt;/a&gt; defines a function &amp;#39;send_firmware&amp;#39; as follows:&lt;br /&gt;&lt;pre class="ui-code" data-mode="python"&gt;def send_firmware(self, firmware):&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In this function, how is the &amp;quot;firmware&amp;quot; passed to the function? Is it via the local path to the firmware on my system (PC)?&lt;/p&gt;
&lt;p&gt;Is there an example that uses the dfu_transport_ble.py in any capacity that I can use as a reference?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating one nRF52 DK board with another nRF52 DK board automatically via OTA DFU</title><link>https://devzone.nordicsemi.com/thread/314453?ContentTypeID=1</link><pubDate>Wed, 09 Jun 2021 12:15:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b4f946a-6cd6-4470-881a-6664728602ab</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Nordic does not provide any code example on how to do this. You need to store the whole image (bin file + init packet/.dat file from the dfu .zip image) on the DFU master and send that to the nRF being upgraded. Exactly how you transfer and store this on the DFU master is up to you and could depend on your specific requirements. (Depending on the size of the image it could also be that you would need to store it on external flash rather than the internal one).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>