<?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 upgrade firmware throught external spi flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14621/how-to-upgrade-firmware-throught-external-spi-flash</link><description>hi,
when i run the application , i used the external spi flash to download the firmware from my company&amp;#39;s server, then make a upgrade flag to the spi flash and reset the chip.
how can i write a basic bootloader to move the firmware to the application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jun 2016 11:33:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14621/how-to-upgrade-firmware-throught-external-spi-flash" /><item><title>RE: how to upgrade firmware throught external spi flash</title><link>https://devzone.nordicsemi.com/thread/55795?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 11:33:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcf2e44a-0b0b-4d28-b9b8-53015f47ff10</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Dasu,&lt;/p&gt;
&lt;p&gt;We don&amp;#39;t have that type of bootloader yet.
You may have to write your own code for the bootloader to copy the image from the external SPI flash to the internal one.&lt;/p&gt;
&lt;p&gt;Do you have softdevice on your chip ? If you do, you can follow what we have with the current bootloader on how to forward the vector table and branch the program counter to start application.
If you don&amp;#39;t have a softdevice, you can have a look at our example  &lt;a href="https://devzone.nordicsemi.com/question/33621/how-to-make-the-nrf51822-flash-jump-successful-without-softdevice/?answer=33678#post-id-33678"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>