<?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>Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108054/flash-area-error-while-doing-dfu-using-nrf-connect</link><description>Dear support team, 
 I am getting an error while performing DFU using nRF Connect. 
 
 My SDK version is 2.4.2, I need to do DFU using BLE simultaneously, for that i tried to modify Example mcuboot_smp_ble_simultaneous , but without modifying anything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 May 2025 20:30:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108054/flash-area-error-while-doing-dfu-using-nrf-connect" /><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/537253?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 20:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d86936a-d30b-4d93-930b-f7c46f5c3ee7</guid><dc:creator>AlejandroM</dc:creator><description>&lt;p&gt;This is still an issue in SDK 2.9.0, when you try to do an mcumgr image list or upload any FW, &lt;strong&gt;but it does not affect it&amp;#39;s functionality.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It is worth mentioning, that in some smaller firmware adding the flash_sim.overlay for the application with low memory consumption gets rid of the message, but in applications that consume more RAM, the message still appears:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;GW [15:40:55.824,859] &amp;lt;inf&amp;gt; [mcumgr smp] mcuboot_util: Image index: 0, Swap type: none
GW [15:40:55.825,195] &amp;lt;inf&amp;gt; [mcumgr smp] mcuboot_util: Image index: 1, Swap type: none
GW [15:40:55.825,195] &amp;lt;err&amp;gt; [mcumgr smp] mcumgr_img_grp: Failed to open flash area ID 3: -2
GW [17:16:41.167,358] &amp;lt;inf&amp;gt; [mcumgr smp] mcuboot_util: Image index: 1, Swap type: none
GW [17:16:43.895,568] &amp;lt;inf&amp;gt; [mcumgr smp] mcumgr_img_grp: Erased 0x36000 bytes of image slot
GW [17:16:43.986,389] &amp;lt;inf&amp;gt; [mcumgr smp] mcumgr_img_grp: Erased 0x1000 bytes of image slot trailer&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The rest of the update works fine for both App and Net Core, but the error is off-putting.&lt;br /&gt;&lt;br /&gt;And even trying to build bigger consumption memory application won&amp;#39;t build and fail with:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;
c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `noinit&amp;#39; will not fit in region `RAM&amp;#39;
c:/ncs/toolchains/b620d30767/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM&amp;#39; overflowed by 84764 bytes
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/497827?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 12:52:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64d38023-8319-431e-968c-537a6c4c257b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Nothing yet, no&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/497418?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2024 06:49:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00b86aaa-1524-4402-994e-dc324beec37c</guid><dc:creator>Krishnachandran_a</dc:creator><description>&lt;p&gt;is there any solution to exclude these workaround from code.?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/469063?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 14:40:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba9188f0-2dde-4cdf-b63f-6300e88e1e17</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="KjellArne"]We would appreciate a ticket to remove the incorrect error message in a future nrf connect sdk release&lt;br /&gt;[/quote]
&lt;p&gt;I have now created an internal ticket. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468990?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 10:48:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b72be1-b095-4cc1-8223-69268c6dfd22</guid><dc:creator>KjellArne Amina</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;br /&gt;Good of you to confirm our suspicions. As we said, the DFU works so it does not block our progress. However, it is generating some support requests for our product, when customers and testers think that there is an issue with the firmware update.&lt;br /&gt;&lt;br /&gt;We would appreciate a ticket to remove the incorrect error message in a future nrf connect sdk release&lt;br /&gt;&lt;br /&gt;Best regrards&lt;br /&gt;Kjell Arne&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468663?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 14:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d6af847-c847-4198-ab9b-d5f2bc3ba12c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I ran the example myself now, and I saw the same error:&amp;nbsp;&amp;quot;Failed to open flash area ID 1: -2&amp;quot;.&lt;/p&gt;
&lt;p&gt;Digging into the error code, the error is that the mcumgr drivers try to open mcuboot_primary_1, which is in simulated RAM-flash. And this can not be opened as such.&lt;/p&gt;
&lt;p&gt;When we upload a new image with the app, the upload button will trigger multiple SMP Command being sent to the nRF. Among these is the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/services/device_mgmt/smp_groups/smp_group_1.html#state-of-images"&gt;image state&lt;/a&gt; command. &lt;br /&gt;With this, the nRF tries to return information about all images to the phone. &lt;br /&gt;Since the nRF cannot read the RAM-flash, as this is a &amp;quot;trick&amp;quot; we use to update the network core, it will return an error.&lt;/p&gt;
&lt;p&gt;This should not interfere in your DFU from what I can see.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468651?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 14:17:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac774aa9-6d59-47db-af48-1d99d40b8d0d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Let&amp;#39;s keep this ticket for the &amp;quot;Failed to open flash area ID 1: -2&amp;quot; error specifically.&lt;/p&gt;
&lt;p&gt;If you face other build errors, please create a new ticket. &lt;br /&gt;This will help us keep Devzone tidy. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468506?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 05:36:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e589bbe0-6c68-4bc3-88e7-4c51c90853d2</guid><dc:creator>Krishnachandran_a</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Regards for the update. In this case, we still have one more question. Specifically, the following workaround is present in the overlay file.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
    chosen {
        nordic,pm-ext-flash = &amp;amp;mx25r64;
    };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When compiling without this, we encounter compilation errors. The code for the nRF5340DK is functioning properly with this. Consequently, will you kindly provide some light on this?&lt;/p&gt;
&lt;p&gt;I am grateful for your support. Regards in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468265?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 16:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42a8241b-f6c5-4892-b6b6-610c36570dd4</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="KjellArne"]I have not had a chance to run the sample yet, but have a comment. It seems the log in your post is from power on. The error message shows itself, at least in our case, when uploading a new image. Note that the DFU completes successfully, but we get some support cases and confusion from users.[/quote]
&lt;p&gt;Krish has got the difference. I just have not enabled logging in my application, so the mcumgr module does not complain visibly.&lt;/p&gt;
&lt;p&gt;Then I will see the same I suspect.&lt;/p&gt;
&lt;p&gt;I will do that next week and look into what this is.&lt;/p&gt;
&lt;p&gt;Note: Since DFU still works this is not my top priority, but I will do it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468166?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 08:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34736a77-a9a7-4009-87cc-972e27460a5e</guid><dc:creator>KjellArne Amina</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;br /&gt;I have not had a chance to run the sample yet, but have a comment. It seems the log in your post is from power on. The error message shows itself, at least in our case, when uploading a new image. Note that the DFU completes successfully, but we get some support cases and confusion from users.&lt;/p&gt;
&lt;p&gt;We see the same behavior with nRF Connect, nRF Connect Device Manager and &lt;span class="go"&gt;mynewt-mcumgr-cli&lt;br /&gt;&lt;br /&gt;Thanks for the sample, it&amp;#39;s always a good idea to eliminate what we can.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468151?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 03:22:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4056a9dd-4328-4648-82c3-b362101f8df2</guid><dc:creator>Krishnachandran_a</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/108054/flash-area-error-while-doing-dfu-using-nrf-connect/468117"]Do you see the same error with my sample?[/quote]
&lt;p&gt;Yes,&amp;nbsp; Could you please enable Log and try. ie. CONFIG_LOG=y in project config file.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468117?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 16:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9474ec8d-4322-4683-87a3-176843553ad3</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I am trying to reproduce this, with v2.4.2, the nRF5340DK and my &lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/nrf5340/mcuboot_smp_ble_simultaneous"&gt;Simultaneous DFU for app and net core of nRF5340 sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I get the following log from the application core:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;: RDSR 40 QE 1 need 1: no-change
I: Starting bootloader
I: Swap type: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Change this to see it change.
Bluetooth initialized
Advertising successfully started
D: RDSR 40 QE 1 need 1: no-change
I: Starting bootloader
I: Swap type: perm
I: Swap type: perm
I: Image upgrade secondary slot -&amp;gt; primary slot
I: Erasing the primary slot
I: Copying the secondary slot to the primary slot: 0x152cc bytes
D: writing magic; fa_id=4 off=0xf3ff0 (0xffff0)
D: erasing secondary header
D: erasing secondary trailer
I: Image upgrade secondary slot -&amp;gt; primary slot
I: Erasing the primary slot
I: Copying the secondary slot to the primary slot: 0x304ac bytes
D: writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
I: Turned on network core
I: Turned off network core
D: erasing secondary header
D: erasing secondary trailer
I: Bootloader chainload address offset: 0xc000
*** Booting nRF Connect SDK v2.5.0 ***
BBB this to see it change.
Bluetooth initialized
Advertising successfully started
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In which I can not see the error you see.&lt;/p&gt;
&lt;p&gt;That means something is different here. I think finding the difference might help us figure out what is happening.&lt;/p&gt;
&lt;p&gt;Can you see any differences?&lt;br /&gt;Do you see the same error with my sample?&lt;br /&gt;Do you use custom hardware?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/468026?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 10:34:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eec7ff3-a721-4b9a-8246-7837577a3a51</guid><dc:creator>KjellArne Amina</dc:creator><description>&lt;p&gt;I had a private post but was asked to continue the discussion here.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;We see the same behavior, the error prints both with &amp;quot;Test &amp;amp; Confirm&amp;quot; as well as &amp;quot;Confirm Only&amp;quot;. The update is successful.&lt;br /&gt;&lt;br /&gt;We were suspicious that the DFU process tried to query the active net core slot. This was because a call to boot_read_bank_header() with the PM_mcuboot_primary_1_ID slot (slot 1 for our device) gives the same return code, but it seems to be unrelated.&lt;br /&gt;&lt;br /&gt;I looked for the source of the error message and it seems to be an unintended consequence of handling the state of the device.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;img_mgmt_state_write()&amp;nbsp;&amp;nbsp; in img_mgmt_state.c&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Seems like the function tries to fetch the current image state &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; as a respons to the img_mgmt_state_write() smp command/function call&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;code&gt;img_mgmt_state_read()&amp;nbsp;&amp;nbsp;&amp;nbsp; in img_mgmt_state.c&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Iterates through the first updatable_imgage_number*2 slots, so 4 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for our device&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;img_mgmt_read_info()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in img_mgmt.c&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;img_mgmt_erased_val()&amp;nbsp;&amp;nbsp;&amp;nbsp; in zephyr_img_mgmt.c&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Prints the error message&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We are using nRF Connect SDK 2.4.1&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;Kjell Arne&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467863?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 09:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9b4a75d-f9e0-4461-9b3c-6eae1e9068a9</guid><dc:creator>Krishnachandran_a</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the update.&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/108054/flash-area-error-while-doing-dfu-using-nrf-connect/467861"]Do you see the same error if you use &amp;quot;Confirm only&amp;quot;?[/quote]
&lt;p&gt;Tried both methods, and in both methods we are getting the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467861?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 09:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:535debd6-132d-42ae-bcc2-ede185986697</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Krishnachandran_a"]We are using &amp;quot;Test and Confirm&amp;quot; mode.[/quote]
&lt;p&gt;I suspect that the error you get are related to the operations done by this.&lt;br /&gt;Do you see the same error if you use &amp;quot;Confirm only&amp;quot;? Since &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/device_guides/working_with_nrf/nrf53/nrf5340.html#fota-updates"&gt;Simultaneous multi-image DFU&lt;/a&gt; does not support reverting, it is no need to use &amp;quot;test&amp;quot; either way.&lt;/p&gt;
[quote user="Krishnachandran_a"]&lt;p&gt;Actually No.(Custom board we are not using external flash), we didn&amp;#39;t&amp;nbsp; find specific example or configuration to use internal flash. , we tried to remove bellow mentioned code from overlay file. that time we are getting compilation error.&amp;nbsp;&lt;span&gt;&amp;nbsp;If there is an example tailored for internal flash, we would be grateful for your assistance in sharing it with us.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;/&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;chosen&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;nordic,pm-ext-flash&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;mx25r64&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;I suggest that you eliminate this error with external flash first, and then move on to internal flash.&lt;/p&gt;
&lt;p&gt;I know we have a custom sample (zip file) for internal flash FOTA for the nRF5340 somewhere, I just need to find it first. I think it should be in a public ticket somewhere.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467830?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2024 05:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6740730-12d7-485a-aa24-07bea50f70ba</guid><dc:creator>Krishnachandran_a</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/108054/flash-area-error-while-doing-dfu-using-nrf-connect/467732"]When you DFU the dfu_application.zip from the mobile app, which mode do you choose?[/quote]
&lt;p&gt;We are using &amp;quot;Test and Confirm&amp;quot; mode.&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/108054/flash-area-error-while-doing-dfu-using-nrf-connect/467732"]This means that you see the same error both with and without pm_static.yml, right?[/quote]
&lt;p&gt;Yes, right.&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/108054/flash-area-error-while-doing-dfu-using-nrf-connect/467732"]Why exactly do you want to add pm_static.yml now?[/quote]
&lt;p&gt;Our aim is to perform DFU without using External flash, hence we tried both ie, with and without pm_static.yml&lt;/p&gt;
[quote userid="106736" url="~/f/nordic-q-a/108054/flash-area-error-while-doing-dfu-using-nrf-connect/467732"]Have you started configuring to use internal flash yet?[/quote]
&lt;p&gt;Actually No.(Custom board we are not using external flash), we didn&amp;#39;t&amp;nbsp; find specific example or configuration to use internal flash. , we tried to remove bellow mentioned code from overlay file. that time we are getting compilation error.&amp;nbsp;&lt;span&gt;&amp;nbsp;If there is an example tailored for internal flash, we would be grateful for your assistance in sharing it with us.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;/&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;chosen&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;nordic,pm-ext-flash&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;mx25r64&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467732?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 12:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c56da00-3cb3-4d43-9ca3-54c46c39f946</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;When you DFU the dfu_application.zip from the mobile app, which mode do you choose?&lt;/p&gt;
[quote user="Krishnachandran_a"]Additionally, we are employing a pm_static.yml as follows. However, after providing this configuration, we are encountering the same error[/quote]
&lt;p&gt;This means that you see the same error both with and without pm_static.yml, right?&lt;br /&gt;Why exactly do you want to add pm_static.yml now? I usually recommend not using static partitioning when developing, but waiting to when you are soon ready to release, then test with static partitioning. Static partitioning is after all&amp;nbsp; mostly used to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/bootloaders/bootloader.html#static-partition-requirement-for-dfu"&gt;make sure that partitioning does not change&lt;/a&gt;.&lt;/p&gt;
[quote user="Krishnachandran_a"]Our goal is to perform DFU_OTA using internal flash;[/quote]
&lt;p&gt;Have you started configuring to use internal flash yet? &lt;br /&gt;Do you see the same error for both internal and external flash configurations?&lt;/p&gt;
&lt;p&gt;Hi Geir, thanks for saying you have seen the same. Did you create a devzone ticket when you saw the issue?&lt;br /&gt;Which SDK version did you see the issue for?&lt;/p&gt;
[quote user="Geir Strand"] We do believe that this is because mcumgr is trying to read the net core flash, which is not available from the app core.[/quote]
&lt;p&gt;MCUmgr does not know that the slot is in net core flash. Instead, it thinks that the slot is in RAM.&amp;nbsp; However, it not impossible that might lead to&amp;nbsp; similar behavior.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467700?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 09:19:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fdb6d1a-81f7-4985-813a-f2911d7b2150</guid><dc:creator>Krishnachandran_a</dc:creator><description>&lt;p&gt;Update ..1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Our goal is to perform DFU_OTA using internal flash; we prefer not to utilize nrf5340dk. Additionally, we are employing a pm_static.yml as follows. However, after providing this configuration, we are encountering the same error&lt;/span&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0x10200
  end_address: 0x66000
  region: flash_primary
  size: 0x55E00
mcuboot:
  address: 0x0
  end_address: 0x10000
  region: flash_primary
  size: 0x10000
mcuboot_pad:
  address: 0x10000
  end_address: 0x10200
  region: flash_primary
  size: 0x200
mcuboot_primary:
  address: 0x10000
  end_address: 0x66000
  orig_span: &amp;amp;id001
  - mcuboot_pad
  - app
  region: flash_primary
  size: 0x56000
  span: *id001
mcuboot_primary_app:
  address: 0x10200
  end_address: 0x66000
  orig_span: &amp;amp;id002
  - app
  region: flash_primary
  size: 0x55E00
  span: *id002
mcuboot_secondary:
  address: 0x66000
  end_address: 0xBC000
  size: 0x56000
mcuboot_secondary_1:
  address: 0xBC000
  end_address: 0xFC000
  size: 0x40000
otp:
  address: 0xff8100
  end_address: 0xff83fc
  region: otp
  size: 0x2fc
pcd_sram:
  address: 0x20000000
  end_address: 0x20002000
  region: sram_primary
  size: 0x2000
ram_flash:
  address: 0x40000
  end_address: 0x40000
  region: ram_flash
  size: 0x0
rpmsg_nrf53_sram:
  address: 0x20070000
  end_address: 0x20080000
  placement:
    before:
    - end
  region: sram_primary
  size: 0x10000
settings_storage:
  address: 0xFC000
  end_address: 0x100000
  region: flash_primary
  size: 0x4000
sram_primary:
  address: 0x20002000
  end_address: 0x20070000
  region: sram_primary
  size: 0x6e000
mcuboot_primary_1:
  address: 0x0
  size: 0x40000
  device: flash_ctrl
  region: ram_flash&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467688?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 08:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17e8427d-4750-4f6a-a936-92e7d719199a</guid><dc:creator>Geir Strand</dc:creator><description>&lt;p&gt;We have seen this as well. We do believe that this is because mcumgr is trying to read the net core flash, which is not available from the app core. &lt;a href="https://devzone.nordicsemi.com/members/sigurd-hellesvik"&gt;Sigurd Hellesvik&lt;/a&gt;&amp;nbsp;- this might be that the development team has forgotten about nRF5340 and dual core?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467674?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 07:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a22c3e2-c24a-4032-a085-fbb49f13ffd7</guid><dc:creator>Krishnachandran_a</dc:creator><description>&lt;p&gt;Bulid for&amp;nbsp;&lt;span&gt;nrf5340dk_nrf5340_cpuapp&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467673?ContentTypeID=1</link><pubDate>Tue, 06 Feb 2024 07:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac61c7f1-23cc-430a-ad74-5d080451d5b3</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Do you build for&lt;/p&gt;
&lt;p&gt;nrf5340dk_nrf5340_cpuapp,&lt;br /&gt;nrf5340dk_nrf5340_cpuapp_ns&lt;/p&gt;
&lt;p&gt;or something else?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467627?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 16:30:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cbbd949-e0b4-47b3-a2e0-1d52bc9c8f9c</guid><dc:creator>Krishnachandran_a</dc:creator><description>&lt;p&gt;nRf5340&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash area error while doing DFU using nRF Connect</title><link>https://devzone.nordicsemi.com/thread/467566?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 12:46:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2445d212-99f5-4ebd-8f5d-de284defa499</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which target board do you build for?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>