<?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>Code &amp;amp; dts changes in mcuboot for mapping external flash as SLOT-1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86040/code-dts-changes-in-mcuboot-for-mapping-external-flash-as-slot-1</link><description>Hi, 
 
 I have a nrf52833dk board interfaced with a serial flash through SPI. 
 1. I want to change nordic provided sample dfu app ( nCS_DFU_Sample ) to download new firmware file into the external memory (serial flash). 
 2. I want to change mcuboot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Mar 2022 15:22:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86040/code-dts-changes-in-mcuboot-for-mapping-external-flash-as-slot-1" /><item><title>RE: Code &amp; dts changes in mcuboot for mapping external flash as SLOT-1</title><link>https://devzone.nordicsemi.com/thread/359192?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 15:22:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64dc134a-7b5b-49d9-970d-045ace2126f2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mohammed,&amp;nbsp;&lt;br /&gt;I don&amp;#39;t think it would be a big issue, as long as the library for the SPI flash supports the 2 requirements in the documentation.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code &amp; dts changes in mcuboot for mapping external flash as SLOT-1</title><link>https://devzone.nordicsemi.com/thread/359138?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 13:06:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ca7af38-c492-4398-bfc8-43d0891b126e</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Thanks for the project, will go through.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I see that it says : &amp;quot;&lt;span&gt;The QSPI NOR flash memory driver supports these features&amp;quot;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader_external_flash.html#:~:text=The%20QSPI%20NOR%20flash%20memory%20driver%20supports%20these%20features"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader_external_flash.html#:~:text=The%20QSPI%20NOR%20flash%20memory%20driver%20supports%20these%20features&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But my requirement is SPI NOR flash.&lt;br /&gt;I hope no challenges there.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code &amp; dts changes in mcuboot for mapping external flash as SLOT-1</title><link>https://devzone.nordicsemi.com/thread/359127?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 12:50:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e53856c-29b4-430f-9e15-9d53d38f9732</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mohammed,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You would need to define the external flash memory in an overlay file. Have a look at the documentation &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_bootloader_external_flash.html"&gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;If you have a nRF52840 DK you can test the following example that I made &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84025/changes-in-bootloader--saving-image-in-external-flash-and-transferring-in-internal-via-bootloader/352191#352191"&gt;here.&lt;/a&gt;&amp;nbsp;In the example it support DFU update via UART to the external QSPI flash on the nRF52840 DK and then MCUBoot will swap the image on the external flash with the application when you do the &amp;quot;confirm&amp;quot; command.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>