<?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>External SPI Flash to use with LittleFS on nRF9160 w/ MCUboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62212/external-spi-flash-to-use-with-littlefs-on-nrf9160-w-mcuboot</link><description>Hey all, 
 I&amp;#39;ve been bringing up the nRF9160 Feather and noticed some curious issues with adding an external partition when MCUboot is enabled. 
 I first tested the external chip without MCUboot using the example provided at this path: ncs/zephyr/samples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jun 2020 20:57:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62212/external-spi-flash-to-use-with-littlefs-on-nrf9160-w-mcuboot" /><item><title>RE: External SPI Flash to use with LittleFS on nRF9160 w/ MCUboot</title><link>https://devzone.nordicsemi.com/thread/256548?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 20:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b7c2e12-4ff6-4334-b10a-1d8c2af8cf8a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hey&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/sigurdon"&gt;Sigurd&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After researching it a bit more it seems related to the partition manager. Even without an external flash, I&amp;#39;m finding that the wrong partition address and size are being referenced.&lt;/p&gt;
&lt;p&gt;It seems as if this is not the first time someone has had issues with the Nordic Partition Manager. It looks like this was a discussion about this a while back &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58972/using-ncs-1-2-smp_svr-example-compiled-with-custom-board-dt"&gt;here.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Seems like there&amp;#39;s more &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html?highlight=pm_static"&gt;information here&lt;/a&gt;&amp;nbsp;related to all of this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External SPI Flash to use with LittleFS on nRF9160 w/ MCUboot</title><link>https://devzone.nordicsemi.com/thread/255119?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 02:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d54f2fe0-86a4-4528-9c07-c2639d9dd666</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hey Sigurd!&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I actually like to leave the DFU capabilities alone. The external flash would be for application storage only. For whatever reason though, as you can see above, it defaults to&amp;nbsp;NRF_FLASH_DRV_NAME instead of&amp;nbsp;W25Q16JV.&lt;/p&gt;
&lt;p&gt;When I disable MCUBoot&amp;nbsp;I&amp;#39;m Abe to run the LittleFS example. Not so much when it is. I figured it had to do something with the Nordic based scripts that assign partitions for SPM, MCUboot etc etc&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll be getting back to it in a bit. I&amp;#39;ve been working on some of the Bluetooth bits.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External SPI Flash to use with LittleFS on nRF9160 w/ MCUboot</title><link>https://devzone.nordicsemi.com/thread/254181?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 08:50:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a001af2c-3fac-447a-b966-e0289c99c34c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately, I don&amp;rsquo;t have a w25q16jv flash device, but we have an on-board 64 Mb external flash memory (MX25R6435F) on the nRF52840 DK and nRF5340 PDK that perhaps can be used to recreate this.&lt;/p&gt;
&lt;p&gt;Is the goal to store a DFU image in the external flash ? If yes, did you try it without using littlefs?&lt;/p&gt;
&lt;p&gt;If you want to configure MCUboot to use external flash for the secondary slot , take a look at the chapter &amp;ldquo;Flash partitions used by MCUboot&amp;rdquo; at this page &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader.html#adding-mcuboot-as-an-upgradable-bootloader"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader.html#adding-mcuboot-as-an-upgradable-bootloader&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>