<?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>Help with BLE DFU FOTA on External Flash (nRF52840, NCS 2.5.2)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118558/help-with-ble-dfu-fota-on-external-flash-nrf52840-ncs-2-5-2</link><description>I am trying to get DFU FOTA over BLE to work using external flash on an nRF52840 DK with NCS 2.5.2 . I followed multiple sources, but I am unsure about the correct configuration. 
 
 1. Configuration Steps 
 I started by adding these to prj.conf 
 
 This</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Feb 2025 12:11:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118558/help-with-ble-dfu-fota-on-external-flash-nrf52840-ncs-2-5-2" /><item><title>RE: Help with BLE DFU FOTA on External Flash (nRF52840, NCS 2.5.2)</title><link>https://devzone.nordicsemi.com/thread/521295?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 12:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00fa403d-7a50-467c-9dda-7ac3d39fa341</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Good to hear that you made some progress.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with BLE DFU FOTA on External Flash (nRF52840, NCS 2.5.2)</title><link>https://devzone.nordicsemi.com/thread/521263?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 10:02:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d00b765-d0a6-4424-9ebb-90dce00ad68a</guid><dc:creator>jtf</dc:creator><description>&lt;p&gt;I&amp;rsquo;ve made some progress but ran into a new issue. I&amp;rsquo;ll investigate further before asking questions. If needed, I can post it on GitHub.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with BLE DFU FOTA on External Flash (nRF52840, NCS 2.5.2)</title><link>https://devzone.nordicsemi.com/thread/521231?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 08:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:745cd90b-3ea1-45fb-a835-8bd41b64c123</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think &lt;code&gt;CONFIG_DISK_DRIVERS&lt;/code&gt; can be set directly. See the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.5.2/page/kconfig/index.html#CONFIG_DISK_DRIVERS"&gt;Kconfig reference&lt;/a&gt;, it gets enabled by&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/subsys/disk/Kconfig#L4"&gt; &lt;code&gt;DISK_ACCESS&lt;/code&gt;&lt;/a&gt;. Can you share the whole build log here so that I can take a closer look at the issue?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with BLE DFU FOTA on External Flash (nRF52840, NCS 2.5.2)</title><link>https://devzone.nordicsemi.com/thread/521109?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 13:03:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f35e5e82-8e74-4c6f-a926-534d831d5246</guid><dc:creator>jtf</dc:creator><description>&lt;p&gt;Thanks for the thread. The hello_world example compiles, but adding these definitions brings back the same compiler error.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NORDIC_QSPI_NOR=y
# The mx25 erase page size
CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
CONFIG_DISK_DRIVERS=y
CONFIG_DISK_DRIVER_FLASH=y
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help with BLE DFU FOTA on External Flash (nRF52840, NCS 2.5.2)</title><link>https://devzone.nordicsemi.com/thread/521100?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 12:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:158c6c90-5027-485a-ad92-6193273cc1ad</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;While checking the shared pm_static file and the overlay, there are some mismatches in the definition, which could be the cause of the issue you are seeing.&lt;/p&gt;
&lt;p&gt;In the pm_static.yml file, you defined mcuboot_secondary as 0x00000–0xf4000, which overlaps with the external flash region defined as 0xf4000–0x800000. This will cause MCUboot to fail. Additionally, in the pm_static file, external_flash starts after mcuboot_secondary, at 0xf4000, and extends to 0x800000, but external_partition starts at 0x00000000 inside the overlay file.&lt;/p&gt;
&lt;p&gt;I recommend that you take a look at this&lt;strong&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/108287/ncs-2-5-1-sample-application-with-mcuboot-updates-from-external-flash"&gt; old DevZone case&lt;/a&gt;&lt;/strong&gt;, which discusses a similar issue and contains some useful reference links.&lt;/p&gt;
&lt;p&gt;You can use both &lt;code&gt;pm_static.yml&lt;/code&gt; and &lt;code&gt;.overlay&lt;/code&gt; files, but they must not conflict. I recommend using the&amp;nbsp;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;code&gt;pm_static.yml&lt;/code&gt; alone first, if you only need to define a simple set of partitions like MCUBoot, application and storage.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>