<?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>Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16245/nordic-dual-bank-dfu-master-example-code</link><description>Hi, I have a project where an STM32 controller has the updated binary file for nRF1822 in flash and it will upgrade the firmware on nRF1822 with the serial implementation of Nordic provided dual bank DFU. May I know where I can get example code that has</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Jun 2019 20:03:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16245/nordic-dual-bank-dfu-master-example-code" /><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/192502?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 20:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60f6fea4-4f0d-4a95-b53b-1549ce413bc6</guid><dc:creator>Cecylia</dc:creator><description>&lt;p&gt;Okay, just &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48528/spi-dfu-master-slave-code-compatible-with-15-3"&gt;did&lt;/a&gt;. &amp;nbsp;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/192303?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 09:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6d947a8-1c98-4124-96ed-10d57510a8dc</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/cecyliaw"&gt;Cecylia&lt;/a&gt;: Please create a new ticket for this request.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/192167?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 20:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c0bbe6a-3b00-4201-ac1b-ccd855a981ed</guid><dc:creator>Cecylia</dc:creator><description>&lt;p&gt;Hi Hung, can we get the updated version for 15.3 for this? And perhaps in SES instead of Keil since SES is &lt;em&gt;free&lt;/em&gt;.&lt;br /&gt;I actually need it for 52840 but at least if it comes in 15.3 I can try to port it.&amp;nbsp; Right now&amp;nbsp;it doesn&amp;#39;t compile in 15.3 because of NRFX_SPI include issues.&amp;nbsp; Or, please let me know if I should open a new ticket for this.&amp;nbsp; Thanks!&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1560285062643v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/187947?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 13:19:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae0b0db4-6088-4d88-aa03-92d8efa5d6b0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Code for doing DFU from a nRF5x to a nRF5x via UART/SPI (DFU Master) can be found at appendix 5 in &lt;a href="https://devzone.nordicsemi.com/nordic/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;this blog&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/131574?ContentTypeID=1</link><pubDate>Wed, 09 May 2018 15:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3caa6079-7ca5-471e-9396-af3d5802f313</guid><dc:creator>Rob Philip</dc:creator><description>&lt;p&gt;Bjorn:&lt;/p&gt;
&lt;p&gt;Is that still the current working python code? Github claims it to be pretty old.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/131379?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 14:29:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:951c86c9-ee27-4dc9-86ed-7b74d0f7bb2b</guid><dc:creator>Rob Philip</dc:creator><description>&lt;p&gt;No problem. I thought I&amp;#39;d ask before rolling my own. Let&amp;#39;s hope it won&amp;#39;t be too difficult ... ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/131362?ContentTypeID=1</link><pubDate>Tue, 08 May 2018 12:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88e6fcae-f144-4fc5-89de-e44986204fa6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/rbphilip"&gt;Rob Philip&lt;/a&gt;: I am afraid that we still do not have any DFU host example in our nRF5 SDK. We do however have DFU support in our nRF SDK for Mesh, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_examples_dfu_README.html?cp=4_1_0_4_5"&gt;this&lt;/a&gt; Infocenter page.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/131254?ContentTypeID=1</link><pubDate>Mon, 07 May 2018 15:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66a4dc01-6ca6-4e42-b6b7-06cefb96cbfc</guid><dc:creator>Rob Philip</dc:creator><description>&lt;p&gt;Hej Bjorn.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;It&amp;#39;s two years later and I have the same issue - updating the firmware of an nRF51 over BLE from my nRF52840. Any chance that someone has come up with a &amp;quot;host&amp;quot; example in the last two years?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/62071?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2016 11:29:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d70c23c-fdc0-4b61-8c2c-49e22300576c</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/62072?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2016 10:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f84f9155-96da-4582-9102-979b6a6a33b7</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Thank you for your answer! I&amp;#39;ll have a look into that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/62073?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2016 08:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8df73b74-74fb-463a-889c-3708f8d987e0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@andresovela (Andy): No, we do not have any example where a nRF5x device updates the firmware of another nRF5x device. I suggest that you take a look at the BLE DFU Service Profile and Service Documentation, found &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_transport_bleprofile.html?cp=4_0_1_4_3_1_4_0"&gt;here&lt;/a&gt;. It explains which charactersitics that should be written to and when they should be written to in order to initiate the DFU process. You could also take a look at the discussion in &lt;a href="https://devzone.nordicsemi.com/question/93789/is-there-an-nrf51822-dfu-master-source-code/"&gt;this&lt;/a&gt; question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/62069?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 14:09:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bbbb4e1-f569-4256-bd3d-37fa8446a81c</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;No, I mean the exact same situation as described by Uzair but using BLE instead of serial. When a host MCU has the binary and wants to flash another MCU by means of the DFU. Both MCUs are NRF51822.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/62068?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 13:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a60e34fd-01bd-4754-9195-66858f9064d2</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@andresovela (Andy): Do you mean updating the firmware of the Host MCU over BLE?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/62070?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2016 13:28:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a04a4d7-0f23-485f-9534-fd0390347c19</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Hi Bjorn, do you know if there is any example for the host MCU using BLE?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic dual bank DFU master example code</title><link>https://devzone.nordicsemi.com/thread/62067?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 12:09:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2e66b40-50f5-461a-8582-085f6406124e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Unfortunatly, we do not have any examples for the &amp;quot;host&amp;quot; MCU for serial DFU since this the MCU used will vary from design to design.&lt;/p&gt;
&lt;p&gt;I suggest that you take a look at our python implementation of the serial DFU in our nrfutil tool, found &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/tree/0_5_2/nordicsemi/dfu"&gt;here&lt;/a&gt; on Github.&lt;/p&gt;
&lt;p&gt;You can find a description of the serial packet format and in which order they should be sent on &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_transport_serial.html"&gt;this&lt;/a&gt; Infocenter page.&lt;/p&gt;
&lt;p&gt;-Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>