<?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>nrf9160 DFU using external flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124230/nrf9160-dfu-using-external-flash</link><description>Hi, 
 Board: nRF9160-DK (PCA10090 - v1.0.0) SDK Version: nRF Connect SDK 3.1.0 
 Goal 
 We’re trying to configure the nRF9160 to use external storage as the secondary partition for MCUboot, with the aim of performing DFU over LwM2M. 
 We’ve previously</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Sep 2025 20:29:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124230/nrf9160-dfu-using-external-flash" /><item><title>RE: nrf9160 DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/548288?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 20:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b6b7f59-e096-471e-ba00-5eb458c9b40d</guid><dc:creator>motters</dc:creator><description>&lt;p data-start="95" data-end="105"&gt;Hi Juha,&lt;/p&gt;
&lt;p data-start="107" data-end="130"&gt;Thanks for the reply and info.&lt;/p&gt;
&lt;p data-start="132" data-end="253"&gt;We have sensors attached via SPI and had assumed QSPI was used for external flash, which turns out not to be the case.&lt;/p&gt;
&lt;p data-start="255" data-end="497"&gt;For anyone else who runs into this issue: the nRF9160-DK board does &lt;strong data-start="323" data-end="330"&gt;not&lt;/strong&gt; use QSPI for external flash, but instead uses generic SPI:&lt;br data-start="389" data-end="392" /&gt; &lt;a class="decorated-link" href="https://docs.nordicsemi.com/bundle/ug_nrf9160_dk/page/UG/nrf91_DK/hw_description/external_memory.html" target="_new" data-start="392" data-end="495"&gt;https://docs.nordicsemi.com/bundle/ug_nrf9160_dk/page/UG/nrf91_DK/hw_description/external_memory.html&lt;span class="ms-0.5 inline-block align-middle leading-none"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p data-start="499" data-end="735"&gt;So as Juha said, when following this guide, in step 1, choose &lt;strong data-start="708" data-end="715"&gt;SPI&lt;/strong&gt; rather than QSPI for nrf9160-dk dev board.&lt;br data-start="529" data-end="532" /&gt; &lt;a class="decorated-link" href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-3-dfu-with-external-flash/" target="_new" data-start="532" data-end="685"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-3-dfu-with-external-flash/&lt;span class="ms-0.5 inline-block align-middle leading-none"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br data-start="685" data-end="688" /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p data-start="737" data-end="752"&gt;Cheers,&lt;/p&gt;
&lt;p data-start="737" data-end="752"&gt;Sam&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 DFU using external flash</title><link>https://devzone.nordicsemi.com/thread/548206?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 11:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b8d8644-7759-4904-aa61-de01b7ba1cc3</guid><dc:creator>Juha Y</dc:creator><description>&lt;p class="mb-2 whitespace-pre-wrap"&gt;Hi,&lt;/p&gt;
&lt;p class="mb-2 whitespace-pre-wrap"&gt;Is there a specific reason why both &lt;code&gt;CONFIG_SPI=y&lt;/code&gt; and &lt;code&gt;CONFIG_NORDIC_QSPI_NOR=y&lt;/code&gt; are enabled?&lt;/p&gt;
&lt;p class="mb-2 whitespace-pre-wrap"&gt;I noticed that I can reproduce this error when SPI isn&amp;#39;t enabled in the MCUBOOT configuration file (&lt;code&gt;sysbuild/mcuboot.conf&lt;/code&gt;). For reference, please see Exercise 3, step 1.2.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Juha&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>