<?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>Transferring data over to external memory using DFU (SPI)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25206/transferring-data-over-to-external-memory-using-dfu-spi</link><description>Our hardware has an externa memory connected to the nRF51 by SPI, we also use DFU to update the firmware creating the zip pack (We have buttonless dfu working as well) and we have full color display. The images to be displayed take a large part of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Sep 2017 09:29:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25206/transferring-data-over-to-external-memory-using-dfu-spi" /><item><title>RE: Transferring data over to external memory using DFU (SPI)</title><link>https://devzone.nordicsemi.com/thread/99345?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 09:29:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10d811d5-e54e-46b9-933c-cacf29ee528f</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What you are suggesting should be possible, but naturally you will have to modify the bootloader. Today our bootloader solution supports 4 &amp;quot;filetypes&amp;quot;: Softdevice, Bootloader, Application, and Softdevice+Bootloader, so you will have to add support for your image files and make the bootloader store them in external flash instead of internal flash.&lt;/p&gt;
&lt;p&gt;The DFU works like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The peer application unpacks the .zip-file.&lt;/li&gt;
&lt;li&gt;The initialization .dat-file is transferred and stored in flash.&lt;/li&gt;
&lt;li&gt;The new firmware .bin-file is transferred and stored in flash.&lt;/li&gt;
&lt;li&gt;&amp;lt;- Insert implementation of transfer and storage of image files in external flash.&lt;/li&gt;
&lt;li&gt;The nRF51 resets itself.&lt;/li&gt;
&lt;li&gt;Bootloader verifies the received files.&lt;/li&gt;
&lt;li&gt;Bootloader updates firmware and bootloader settings.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>