<?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>Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101687/mass-storage-initialization-error-with-nsib-and-mcuboot</link><description>Board: nRF52840Dk 
 ncs: v2.3.0. 
 
 Hi, I am working on a project in which i need to update bootloader itself and application from the external flash. I also need to make partition where i can store my files using FatFs file system. 
 My project configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Nov 2023 23:18:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101687/mass-storage-initialization-error-with-nsib-and-mcuboot" /><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/454800?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 23:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfe52f5b-394b-44a1-a386-8c5df2812ef4</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;With things like this, I think it is reasonable for you to move forward with a cherry-picking version of NCS v2.3.0. To sync up, are there any issues left with that setup?&amp;nbsp;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Next, just for the purpose of providing information, and not suggesting a different direction, I want to explain about the&amp;nbsp;support of FAT FS&amp;nbsp;with Partition Manager in NCS v2.5.0.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/"&gt;Sigvartmh&amp;#39;s own PR 38&lt;/a&gt; contains experimental support to&amp;nbsp;automatically create a FAT FS partition. In NCS v2.5.0, without that patch, you will still be able to setup a FAT FS partition&amp;nbsp;manually using a static Partition Manager configuration YML.&lt;/p&gt;
&lt;p&gt;While &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/11802/"&gt;the sample code in PR 11802&lt;/a&gt; doesn&amp;#39;t work. I can get FAT FS working with Partition Manager just fine using a slightly different pm_static.yml file like this:&lt;br /&gt;(note the affiliation attribute of the storage partition)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0x00000000
  end_address: 0x000f0000
  region: flash_primary
  size: 0x000f0000
storage:
  address: 0x000f0000
  end_address: 0x00100000
  region: flash_primary
  size: 0x00010000
  
  affiliation: 
    - disk
  extra_params: {
    disk_name: &amp;quot;SD&amp;quot;,
    disk_cache_size: 4096,
    disk_sector_size: 512,
    disk_read_only: 0
  }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I have checked with the author, and the issue is registered and in investigation. However, right now, the feature works as above.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/453906?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 09:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba82a02e-f60d-4a42-ac3b-36f517f0fb49</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Okay.&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/101687/mass-storage-initialization-error-with-nsib-and-mcuboot/453891"]The pull request you linked seems internal to Sigvartmh&amp;#39;s repository. The support for flash disk API should have been completed in NCS v2.5.0.[/quote]
&lt;p&gt;Without this patch, I am getting code build error.&lt;/p&gt;
[quote userid="9456" url="~/f/nordic-q-a/101687/mass-storage-initialization-error-with-nsib-and-mcuboot/453891"]I see that the change to swap_misc.c was provided by Sigvartmh below. I believe Sigvartmh is investigating whether the change has to be made permanently or not, so we cannot confirm whether it will be merged in NCS yet.[/quote]
&lt;p&gt;Please let me know, if you get any solution for the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/453891?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 08:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72078e22-df5e-44ff-9ff8-7ea868443ec5</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Mithi,&lt;/p&gt;
&lt;p&gt;If the project is&amp;nbsp;in its final development stage, then I cannot recommend changing SDK. Your project will need to weigh the cost and benefits.&lt;/p&gt;
&lt;p&gt;The pull request you linked seems internal to Sigvartmh&amp;#39;s repository. The support for flash disk API should have been completed in NCS v2.5.0.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;Where did you get that change in swap_misc.c from, and why do you think you need to apply it to NCS v2.5.0?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I see that the change to swap_misc.c was provided by Sigvartmh below. I believe Sigvartmh is investigating whether the change has to be made permanently or not, so we cannot confirm whether it will be merged in NCS yet.&lt;/p&gt;
&lt;p&gt;Also, as Priyanka has&amp;nbsp;said earlier, on DevZone, we also cannot comment on which NCS release will contain which change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/453873?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2023 05:06:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50e7de5f-da85-416c-a665-41ede26c46e8</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Sigvartmh/Hieu,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The project is in its final development stage.&lt;/p&gt;
&lt;p&gt;I downloaded the NCS v2.5.0, but it requires at least one cherry-pick:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/"&gt;https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I also need to change swap_misc.c:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1698987693756v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Can I expect these two changes in the upcoming NCS release?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/453835?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 18:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2887995-cfb9-430c-bbfd-f79d8ec2fe4a</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Mithi,&lt;/p&gt;
&lt;p&gt;I must remind you that if the question is not directly related to the main topic of this case (FAT FS with Partition Manager in NCS v2.3.0), you should have opened a new question.&amp;nbsp;I will give a quick answer, but please&amp;nbsp;open a new post for follow-up, if it is unrelated to the main topic.&lt;/p&gt;
&lt;p&gt;When the bootloader is updated:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;During the first reboot,&amp;nbsp;the &amp;quot;new MCUboot&amp;quot; is still in the secondary slot, where it was downloaded. Then the &amp;quot;old MCUboot&amp;quot; swap the &amp;quot;new MCUboot&amp;quot; to the correct slot.&lt;/li&gt;
&lt;li&gt;During the second reboot, the &amp;quot;new MCUboot&amp;quot; is in the correct slot, and NSIB boots it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When the application is updated, MCUboot can swap the application into the correct slot, and boot it right away.&lt;/p&gt;
&lt;p&gt;By the way, what stage is your project at? NCS v2.5.0 has been released, where the two-stage bootloader support for nRF5340 is completed. You can use it and don&amp;#39;t have to worry about any cherry picking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/453826?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 17:08:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca6a34a8-d4c7-4196-aa7e-c3fa2a136c0a</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Thank you for the clarification.&lt;/p&gt;
&lt;p&gt;For the mcuboot update we need an extra reboot the device, how can we know that we need to reboot the device again&amp;nbsp; to change the slot for mcuboot?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/453814?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 15:58:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaeb6bf8-d5b8-453c-978e-3e8c666cf806</guid><dc:creator>sigvartmh</dc:creator><description>&lt;p&gt;You cannot just write the zip file to Flash, unfortunately, as MCUBoot does not support this. Also, MCUBoot has no system to&amp;nbsp;receive both updates in the secondary slot and select the correct one.&lt;/p&gt;
&lt;p&gt;I think you have misinterpreted the documentation:&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&amp;gt;This file can be used by FOTA servers (for example, nRF Cloud) to serve both s0 and s1 to the device. The device can then select the firmware file for the slot that is currently not in use.&lt;br /&gt;&lt;br /&gt;This&amp;nbsp;tries to explain that&amp;nbsp;the device needs to request either S0 or S1 from the server, depending on which slot is active. So you cannot just provide it with both (in Flash), and it will select the correct one. Your FOTA solution could provide both files and then the device could select the correct one based on the active slot.&lt;br /&gt;&lt;br /&gt;As an example, the nRF Cloud server&amp;nbsp;uses the manifest.json file to provide the device with the correct file according to what it requests.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/453805?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2023 15:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f22c30dc-dc84-49af-bee3-f3835e3781d4</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Thanks,&amp;nbsp;&lt;span&gt;Sigvartmh, Now I am able&amp;nbsp;to update the mcuboot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We need separated binary files for updating slot S0 and S1, but I prefer not to monitor these for FOTA updates.&lt;/p&gt;
&lt;p&gt;I found a solution for the same:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1698938368633v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But When I am writing &amp;quot;dfu_mcuboot.zip&amp;quot; file to flash, I don&amp;#39;t see any&amp;nbsp;&lt;/span&gt;updates.&lt;/p&gt;
&lt;p&gt;Please help me, do I need to write any parser for this or It will write same as&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/config_and_build_system.html#mcuboot-output-build-files"&gt;signed_by_mcuboot_and_b0_s0_image_update.bin&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/config_and_build_system.html#mcuboot-output-build-files"&gt;signed_by_mcuboot_and_b0_s1_image_update.bin&lt;/a&gt;&amp;nbsp;file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/453554?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2023 15:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6561071-c89c-48a0-ac5c-31cec1d1d8a7</guid><dc:creator>sigvartmh</dc:creator><description>&lt;p&gt;Seems it&amp;#39;s trying to do a trailer erase out of bounds within the storage space of the new bootloader.&lt;br /&gt;&lt;br /&gt;I assume you tried to investigate some more with your configuration? If not here is one with a larger FS you can still change the PM_static file just make sure you align the sizes.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nsib_5F00_mcuboot_5F00_with_5F00_log_5F00_larger_5F00_fs.zip"&gt;devzone.nordicsemi.com/.../nsib_5F00_mcuboot_5F00_with_5F00_log_5F00_larger_5F00_fs.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I was able to get it working with scratch at least if you apply this patch to mcuboot&lt;br /&gt;&lt;pre class="ui-code" data-mode="diff"&gt;diff --git a/boot/bootutil/src/swap_misc.c b/boot/bootutil/src/swap_misc.c
index 733a3974..39e89582 100644
--- a/boot/bootutil/src/swap_misc.c
+++ b/boot/bootutil/src/swap_misc.c
@@ -66,15 +66,17 @@ swap_erase_trailer_sectors(const struct boot_loader_state *state,
     sector = boot_img_num_sectors(state, slot) - 1;
     trailer_sz = boot_trailer_sz(BOOT_WRITE_SZ(state));
     total_sz = 0;
-    do {
-        sz = boot_img_sector_size(state, slot, sector);
-        off = boot_img_sector_off(state, slot, sector);
-        rc = boot_erase_region(fap, off, sz);
-        assert(rc == 0);
-
-        sector--;
-        total_sz += sz;
-    } while (total_sz &amp;lt; trailer_sz);
+    if(!(fa_id_primary == PM_S1_ID || fa_id_primary == PM_S0_ID)) {
+	    do {
+		    sz = boot_img_sector_size(state, slot, sector);
+		    off = boot_img_sector_off(state, slot, sector);
+		    rc = boot_erase_region(fap, off, sz);
+		    assert(rc == 0);
+
+		    sector--;
+		    total_sz += sz;
+	    } while (total_sz &amp;lt; trailer_sz);
+    }

     return rc;
 }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want the PM with scratch are I have it here:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="python"&gt;EMPTY_0:
  address: 0x19200
  end_address: 0x1a000
  placement:
    before:
    - s1_pad
  region: flash_primary
  size: 0xe00
EMPTY_1:
  address: 0x2a200
  end_address: 0x2b000
  placement:
    before:
    - mcuboot_pad
  region: flash_primary
  size: 0xe00
app:
  address: 0x2b200
  end_address: 0xfa000
  region: flash_primary
  size: 0xcee00
app_image:
  address: 0x2b200
  end_address: 0xfa000
  orig_span: &amp;amp;id001
  - app
  region: flash_primary
  size: 0xcee00
  span: *id001
b0:
  address: 0x0
  end_address: 0x8000
  placement:
    after:
    - start
  region: flash_primary
  size: 0x8000
b0_container:
  address: 0x0
  end_address: 0x9000
  orig_span: &amp;amp;id002
  - b0
  - provision
  region: flash_primary
  size: 0x9000
  span: *id002
fatfs_storage:
  address: 0xb1000
  affiliation:
  - disk
  device: DT_CHOSEN(nordic_pm_ext_flash)
  extra_params:
    disk_cache_size: 0x1000
    disk_name: NAND
    disk_read_only: 0x0
    disk_sector_size: 0x200
  placement:
    align:
      start: 0x1000
    before:
    - tfm_storage
    - end
  region: external_flash
  size: 0x74f000
mcuboot:
  address: 0x9200
  end_address: 0x19200
  placement:
    before:
    - mcuboot_primary
  region: flash_primary
  sharers: 0x1
  size: 0x10000
mcuboot_pad:
  address: 0x2b000
  end_address: 0x2b200
  placement:
    align:
      start: 0x1000
    before:
    - mcuboot_primary_app
  region: flash_primary
  sharers: 0x2
  size: 0x200
mcuboot_primary:
  address: 0x2b000
  end_address: 0xfa000
  orig_span: &amp;amp;id003
  - app
  - mcuboot_pad
  region: flash_primary
  size: 0xb1000
  span: *id003
mcuboot_primary_app:
  address: 0x2b200
  end_address: 0xfa000
  orig_span: &amp;amp;id004
  - app
  region: flash_primary
  size: 0xcee00
  span: *id004
mcuboot_secondary:
  address: 0x0
  device: DT_CHOSEN(nordic_pm_ext_flash)
  placement:
    align:
      start: 0x4
  region: external_flash
  share_size:
  - mcuboot_primary
  size: 0xb1000
nvs_storage:
  address: 0xfa000
  end_address: 0x100000
  placement:
    before:
    - end
  region: flash_primary
  size: 0x6000
provision:
  address: 0x8000
  end_address: 0x9000
  placement:
    after:
    - b0
    align:
      start: 0x1000
  region: flash_primary
  size: 0x1000
s0:
  address: 0x9000
  end_address: 0x19200
  orig_span: &amp;amp;id005
  - mcuboot
  - s0_pad
  region: flash_primary
  size: 0x10200
  span: *id005
s0_image:
  address: 0x9200
  end_address: 0x19200
  orig_span: &amp;amp;id006
  - mcuboot
  region: flash_primary
  size: 0x10000
  span: *id006
s0_pad:
  address: 0x9000
  end_address: 0x9200
  placement:
    after:
    - b0_container
    align:
      start: 0x1000
  region: flash_primary
  share_size:
  - mcuboot_pad
  size: 0x200
s1:
  address: 0x1a000
  end_address: 0x2a200
  orig_span: &amp;amp;id007
  - s1_pad
  - s1_image
  region: flash_primary
  size: 0x10200
  span: *id007
s1_image:
  address: 0x1a200
  end_address: 0x2a200
  placement:
    after:
    - s1_pad
    - s0
  region: flash_primary
  share_size:
  - mcuboot
  size: 0x10000
s1_pad:
  address: 0x1a000
  end_address: 0x1a200
  placement:
    after:
    - s0
    align:
      start: 0x1000
  region: flash_primary
  share_size:
  - mcuboot_pad
  size: 0x200
mcuboot_scratch:
  address: 0xdc000
  end_address: 0xfa000
  placement:
    after:
    - app
    align:
      start: 0x1000
  region: flash_primary
  size: 0x1e000
sram_primary:
  address: 0x20000000
  end_address: 0x20040000
  region: sram_primary
  size: 0x40000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I think the patch should work with MCUBoot using move however I haven&amp;#39;t tested this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/452697?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2023 05:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b41c239-b33a-455a-aca4-ddd365f5b249</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Sigvartmh,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Did you get a chance to investigate the issue?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/450434?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 06:42:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b1908c0-710b-402f-bc89-fddc7f5a1121</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tested the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nsib_5F00_mcuboot_5F00_mass_5F00_1_5F00_modified.zip"&gt;nsib_mcuboot_mass_1_modified.zip&lt;/a&gt;&amp;nbsp;project by disabling the assert which you mentioned but could not get success.&lt;/p&gt;
&lt;p&gt;When I tried&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nsib_5F00_mcuboot_5F00_with_5F00_log.zip"&gt;nsib_mcuboot_with_log.zip&lt;/a&gt;&amp;nbsp;project, the host displayed a mass storage disk size of approx. 45 KB, preventing me to pasting the binary file into the disk because of size.&lt;/p&gt;
&lt;p&gt;I am expecting that, after allocating required size to the mcuboot secondary partition, all flash memory will be available for the file system i.e. approx. 7MB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/449595?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 14:04:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8801f7a-21a1-4106-9125-3bc244928498</guid><dc:creator>sigvartmh</dc:creator><description>&lt;p&gt;I was able to do it but I see that I disabled asserts which is why you probably are experiencing the same error as I encountered trying to look into your issues:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;I: Starting swap using move algorithm.
assertion &amp;quot;rc == 0&amp;quot; failed: file &amp;quot;WEST_TOPDIR/bootloader/mcuboot/boot/bootutil/src/swap_move.c&amp;quot;, line 367, function: boot_move_sector_up
and
assertion &amp;quot;rc == 0&amp;quot; failed: file &amp;quot;WEST_TOPDIR/bootloader/mcuboot/boot/bootutil/src/swap_misc.c&amp;quot;, line 73, function: swap_erase_trailer_sectors
abort()&lt;/pre&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nsib_5F00_mcuboot_5F00_with_5F00_log.zip"&gt;devzone.nordicsemi.com/.../nsib_5F00_mcuboot_5F00_with_5F00_log.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;removing the asserts will allow it to swap at least once(haven&amp;#39;t tested more) but it&amp;#39;s not ideal. &lt;br /&gt;&lt;br /&gt;attached you can find a project wtih log enabled but figuring out why this asserts would require some more investigations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/449260?ContentTypeID=1</link><pubDate>Sun, 08 Oct 2023 10:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5915d5b0-90a5-4547-a3ea-6b02d1ecbdc4</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;My objective is to update mcuboot and application by binary file stored in external flash. I want to use external flash in two partition 1- for file system and 2- for mcuboot secondary partition.&lt;/p&gt;
&lt;p&gt;I tried your modified project code but not able to update bootloader but able to update application.&lt;/p&gt;
&lt;p&gt;To debug the failure on updating MCUBOOT, I enabled the log of mcuboot, but encountered a flash overflow error.&lt;/p&gt;
&lt;p&gt;Are you able to update MCUBOOT?, if so please let me know which SDK you are using(ncs installed by toolchain manger or installed the main sdk by west) and which cherry-pick you have selected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/449174?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2023 12:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72c1f6ac-8924-42b5-84e7-d07fb80aab43</guid><dc:creator>sigvartmh</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nsib_5F00_mcuboot_5F00_mass_5F00_1_5F00_modified.zip"&gt;devzone.nordicsemi.com/.../nsib_5F00_mcuboot_5F00_mass_5F00_1_5F00_modified.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is a modified version of your project that can do MCUBoot and Application updates. It features a much smaller MCUBoot without logging.&lt;br /&gt;&lt;br /&gt;The problem is that I don&amp;#39;t know what you intended with your setup, so I kept it as close to what you initially setup as possible, but I had to modify MCUBoot to fit the alignment requirements. This is not necessarily needed, as you could have also made it bigger, but it depends on your project and what you intend to do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/448918?ContentTypeID=1</link><pubDate>Thu, 05 Oct 2023 04:51:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44ee9c34-9384-4289-af4a-db8c7d635bee</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Could you please fix this issue in pm_static.yml file for both application and bootloader upgrade, and please share the updated file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/448878?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 15:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dd6a079-fc5f-4d0f-9d49-a8e4f8c3f0d0</guid><dc:creator>sigvartmh</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting nRF Connect SDK v2.4.99-dev2-68-g386b811dfb17 ***
Attempting to boot slot 0.
Attempting to boot from address 0x9200.
Verifying signature against key 0.
Hash: 0x8f...3b
Firmware signature verified.
Firmware version 11
Booting (0x9200).
*** Booting nRF Connect SDK v2.4.99-dev2-68-g386b811dfb17 ***
[00:00:00.250,854] &amp;lt;inf&amp;gt; mcuboot: Starting bootloader
[00:00:00.252,868] &amp;lt;inf&amp;gt; mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[00:00:00.253,326] &amp;lt;inf&amp;gt; mcuboot: Secondary image: magic=good, swap_type=0x1, copy_done=0x3, image_ok=0x3
[00:00:00.253,356] &amp;lt;inf&amp;gt; mcuboot: Boot source: none
[00:00:00.255,340] &amp;lt;inf&amp;gt; mcuboot: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
[00:00:00.255,798] &amp;lt;inf&amp;gt; mcuboot: Secondary image: magic=good, swap_type=0x1, copy_done=0x3, image_ok=0x3
[00:00:00.255,828] &amp;lt;inf&amp;gt; mcuboot: Boot source: none
[00:00:00.256,561] &amp;lt;inf&amp;gt; mcuboot: Image index: 1, Swap type: test
[00:00:00.409,942] &amp;lt;inf&amp;gt; mcuboot: Starting swap using move algorithm.
[00:00:00.409,973] &amp;lt;wrn&amp;gt; mcuboot: Not enough free space to run swap upgrade
[00:00:00.409,973] &amp;lt;wrn&amp;gt; mcuboot: required 69632 bytes but only 65536 are available
*** Booting nRF Connect SDK v2.4.99-dev2-68-g386b811dfb17 ***
[00:00:00.000,518] &amp;lt;inf&amp;gt; flashdisk: Initialize device NAND
[00:00:00.000,518] &amp;lt;inf&amp;gt; flashdisk: offset 0, sector size 512, page size 4096, volume size 7516160
[00:00:00.004,608] &amp;lt;wrn&amp;gt; main: Image build time: Oct  4 2023 13:39:34
[00:00:00.004,669] &amp;lt;inf&amp;gt; main: Set up button at gpio@50000000 pin 11&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So I tired to run your setup on a newer version of MCUBoot which gives this error message which probably means that the swap before happened with a too small space meaning it copies some wrong data into the flash resulting in an invalid image.&lt;/p&gt;
&lt;p&gt;see:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.409,973] &amp;lt;wrn&amp;gt; mcuboot: Not enough free space to run swap upgrade
[00:00:00.409,973] &amp;lt;wrn&amp;gt; mcuboot: required 69632 bytes but only 65536 are available&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;So using MCUBoot with Swap using Move requires empty 1 free flash page(4k) at the end of the image for swapping. So what needs to be fixed is your pm_static.yml file. Details on the algorithm here: &lt;a href="https://www.youtube.com/watch?v=YgILPGzCdxc"&gt;https://www.youtube.com/watch?v=YgILPGzCdxc&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;more info with regards to the flash block here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/95599/partition-manager-not-using-flash-efficiently"&gt;Partition Manager not using flash efficiently&lt;/a&gt;y&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/446673?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2023 13:05:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77fdc3de-83a2-4d80-8df1-75f2dffc7398</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Hi Sigvartmh,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ve uploaded the sample code, please look into this, if i am doing any wrong configuration:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nsib_5F00_mcuboot_5F00_mass_5F00_1.zip"&gt;devzone.nordicsemi.com/.../nsib_5F00_mcuboot_5F00_mass_5F00_1.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/446401?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2023 04:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc5df1d4-0da9-4b57-a6eb-6ad3d5024afa</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Hi Sigvartmh,&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve installed the ncsV2.4.2 by the Toolchain manger and cherry-pick the patch in nrf directory by the following way:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a. For &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/11802/"&gt;https://github.com/nrfconnect/sdk-nrf/pull/11802/&lt;/a&gt; :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;git cherry-pick ea4d4c4fafd07b20ba9c7a1a6bb284cbeeb87c63&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;git cherry-pick d1f11e92a9de0eb6d5d6ec40cf7715b56b79f45f&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b. For &lt;/span&gt;&lt;a href="https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/"&gt;https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/&lt;/a&gt; :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;git remote add upstream &lt;a href="https://github.com/sigvartmh/fw-nrfconnect-nrf-1"&gt;https://github.com/sigvartmh/fw-nrfconnect-nrf-1&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;git fetch upstream&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;git cherry-pick 42c15a1adf1f1f4a0a620721b9b08ed8f756b9e5&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After building and running the code(include NSIB, MCUBOOT and MSD),&lt;span&gt; got the same error as before merging patch:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1695011475775v2.png" alt=" " /&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;Now I removed the ncsV2.4.2 and installed the latest nRF connect SDK manually by entering the flowing commands:&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;west init -m &lt;a href="https://github.com/nrfconnect/sdk-nrf"&gt;https://github.com/nrfconnect/sdk-nrf&lt;/a&gt; --mr main&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;2- west&lt;/span&gt; &lt;span&gt;update&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the latest SDK, the patch from &lt;/span&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/11802/"&gt;https://github.com/nrfconnect/sdk-nrf/pull/11802/&lt;/a&gt;&amp;nbsp; has already been merged, So I only required to add patch from &lt;a href="https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/"&gt;https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After building and running the code, the above encountered flash disk related error has gone.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m now able to update the application but encountered an error of &amp;quot;Unable to find bootable image&amp;quot;&amp;nbsp; when trying to update the bootloader.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When I attempted to verify this issue using the SMP server sample, encountered the same error also while trying to update the bootloader by mcumgr:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1695011333509v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The issue I am facing is, after writing the bootloader image, &lt;/span&gt;named&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/config_and_build_system.html#mcuboot-output-build-files"&gt;signed_by_mcuboot_and_b0_s1_image_update.bin&lt;/a&gt;, and rebooting the device, device swap the image and directly jumps to S1, gives error &amp;quot;Unable to find bootable image&amp;quot;&amp;nbsp;and device stop here.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ideally, it should initially jump to the application after swap, reboot the device again to load the new version of MCUBOOT and jump to application.&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/445982?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 06:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ca56ba4-7288-47c8-a574-b0f814f84edf</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;&lt;em&gt;Hi Priyanka,&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;    	    	        &lt;div style="padding: 1em; margin: 1em 0; color: #444; background-color: #fff; border: solid 1px #ddd;"&gt;
	    	        As this is merged: https://github.com/nrfconnect/sdk-nrf/pull/11802/ it will be resolved in the NCS 2.5 release. However if you want to start testing it out you can cherry-pick this patch.
	    &lt;/div&gt;
	As Sigvartmh suggested me for the cherry-pick the patch, So i think he/she will reply in this ticket, if not so then i&amp;#39;ll create new ticket for the same.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/445980?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 06:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183ed87f-501b-467b-a466-7150486bc9b3</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Mithilesh,&lt;/p&gt;
&lt;p&gt;I would suggest you to create a new ticket for the same, as it is a bit different from the topic of this case, and also it will help future seekers fins answers better.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/445925?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 17:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76985516-144b-4f59-b831-2faa15b6e5be</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve installed ncs v2.4.1 by toolchain manager, I am trying to cherry-pick the patch in nrf directory, but getting the following error:&lt;/p&gt;
&lt;p&gt;C:\ncs_v2.4.1\v2.4.1\nrf&amp;gt;git cherry-pick 2d5f2cb4718bc9e84c449fecd6f99058f57b3638&lt;br /&gt;fatal: bad object 2d5f2cb4718bc9e84c449fecd6f99058f57b3638&lt;/p&gt;
&lt;p&gt;Could you please guide me on how to cherry-pick this patch and specify the directory?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/443167?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 12:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9df9595-b51a-470e-a8cb-80c1dc7548b6</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;We cannot comment about the roadmaps. But you could contact your Regional Sales Manager (RSM) in order to know about this.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/443086?ContentTypeID=1</link><pubDate>Fri, 25 Aug 2023 05:35:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b946cec5-3402-49c3-a9a8-a70f2eaad7ac</guid><dc:creator>Mithilesh Yadav </dc:creator><description>&lt;p&gt;Thank You! I will check it once I get time. Does it work with LittleFs?&lt;/p&gt;
&lt;p&gt;When is nordic planning to release the NCS v2.5?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/442904?ContentTypeID=1</link><pubDate>Thu, 24 Aug 2023 08:45:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbf98637-e60c-4e42-8e4e-e8fd30730b2c</guid><dc:creator>sigvartmh</dc:creator><description>&lt;p&gt;As this is merged: &lt;a id="" href="https://github.com/nrfconnect/sdk-nrf/pull/11802/"&gt;https://github.com/nrfconnect/sdk-nrf/pull/11802/&lt;/a&gt; it will be resolved in the NCS 2.5 release. However if you want to start testing it out you can cherry-pick this patch.&lt;br /&gt;&lt;br /&gt;I made a prototype implementation for how you could potentially integrate parts of this into the build system see:&lt;br /&gt;&lt;a id="" href="https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/"&gt;https://github.com/sigvartmh/fw-nrfconnect-nrf-1/pull/38/&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;and here is the diff to the MSC sample in zephyr:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="diff"&gt;diff --git a/samples/subsys/usb/mass/prj.conf b/samples/subsys/usb/mass/prj.conf
index 0954afcd0e..a8bc60848d 100644
--- a/samples/subsys/usb/mass/prj.conf
+++ b/samples/subsys/usb/mass/prj.conf
@@ -12,3 +12,4 @@ CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR=y
 CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

 CONFIG_MAIN_STACK_SIZE=1536
+CONFIG_PM_PARTITION_FATFS_DISK_NAME=&amp;quot;NAND&amp;quot;
diff --git a/samples/subsys/usb/mass/src/main.c b/samples/subsys/usb/mass/src/main.c
index 0d8d6ba982..b40681ef76 100644
--- a/samples/subsys/usb/mass/src/main.c
+++ b/samples/subsys/usb/mass/src/main.c
@@ -28,8 +28,8 @@ LOG_MODULE_REGISTER(main);
 FS_LITTLEFS_DECLARE_DEFAULT_CONFIG(storage);
 #endif

-#define STORAGE_PARTITION              storage_partition
-#define STORAGE_PARTITION_ID           FIXED_PARTITION_ID(STORAGE_PARTITION)
+#define STORAGE_PARTITION              fatfs_storage
+#define STORAGE_PARTITION_ID           FIXED_PARTITION_ID(FATFS_STORAGE)

 static struct fs_mount_t fs_mnt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mass storage initialization error with nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/437123?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 06:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b78c3ce-2564-42a1-99cf-acb525162d39</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Mithilesh,&lt;/p&gt;
&lt;p&gt;Hieu is on vacation and I am looking into the case for the time being. I have inquired your request internally and will get back to you as soon as I get a response. Please expect a slight delay as we are currently short staffed because of the summer holidays here in Norway.&lt;/p&gt;
&lt;p&gt;Thank you very much for your patience and understanding.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>