<?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>The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120388/the-old-version-of-mcuboot-cannot-successfully-load-the-new-matter-ota-firmware-unless-a-confirmed-ota-firmware-is-uploaded</link><description>This issue is a follow-up to the previous one： 341132 
 When upgrading our device from Matter 1.1 to Matter 1.3 firmware via OTA, the MCUBoot program in the old firmware fails to load the new version. The MCUBoot log indicates that the new firmware cannot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Apr 2025 12:26:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120388/the-old-version-of-mcuboot-cannot-successfully-load-the-new-matter-ota-firmware-unless-a-confirmed-ota-firmware-is-uploaded" /><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/531686?ContentTypeID=1</link><pubDate>Mon, 14 Apr 2025 12:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f5267b2-310f-41be-bc2b-94c1eb02c7c4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the team:&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;One suspicion is that due to the fact that fprotect is enabled soon after the application boot it may happen that it will block the memory area and will not allow to confirm the new software image. The Matter application has common module that takes care of that and confirms the image before the fprotect is enabled. NCS 2.7.0 samples use it, so it should confirm the image properly. Are you using unmodified window covering sample from NCS 2.2.0 and 2.7.0 in your test or you have migrated your window covering application from 2.2.0 to 2.7.0 on your own? The goal would be to make sure that OtaConfirmNewImage method from the samples/matter/common/src/dfu/ota/ota_util.cpp is called in your application in the right moment. It&amp;#39;s done by the DoInitChipServer from matter_init.cpp file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt; Another suspicious might be that the image size is too big for the given partition.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Do you have any logs from the application that contain error messages related to the image confirmation? Which SoC do you use?&lt;/p&gt;
&lt;p&gt;Please also include your &lt;code&gt;build/APP/zephyr/.config&lt;/code&gt;&amp;nbsp;and &lt;code&gt;build/zephyr/.config&lt;/code&gt;&amp;nbsp;files.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/531512?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 11:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6956faaf-f883-49f3-9691-64009d8532fa</guid><dc:creator>Andy Liu</dc:creator><description>&lt;p class="" data-start="130" data-end="256"&gt;Hi Amanda,&lt;/p&gt;
&lt;p class="" data-start="130" data-end="256"&gt;&lt;br /&gt;Thanks for your support over the past week. While we appreciate the suggestions provided so far, the issue remains unresolved.&lt;/p&gt;
&lt;p class="" data-start="258" data-end="541"&gt;Given that this problem is already affecting several customers with products currently on the market, we would sincerely appreciate a more definitive solution. Your prompt and SOLID guidance would be invaluable in helping us move forward.&lt;/p&gt;
&lt;p class="" data-start="258" data-end="541"&gt;Andy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/531498?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 10:38:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abfd2e3a-027d-41ff-bd93-d42e5fc34922</guid><dc:creator>SemiBrain</dc:creator><description>&lt;div data-lark-html-role="root"&gt;&lt;span class="text-only" data-eleid="4"&gt;We&amp;rsquo;ve verified that the relevant configuration is enabled, but it doesn&amp;rsquo;t resolve our issue.&lt;/span&gt;&lt;span class="text-only" data-eleid="2"&gt; &lt;br /&gt;&lt;/span&gt;&lt;span class="text-only" data-eleid="6"&gt;Our concern remains that, even with identical static partitions, the new version of the application fails to boot correctly during the Test swap stage.&lt;/span&gt;&lt;span class="text-only" data-eleid="5"&gt; &lt;br /&gt;&lt;/span&gt;&lt;span class="text-only" data-eleid="8"&gt;Have you attempted upgrading a Matter application from NCS 2.2 to NCS 2.7? If so, were you able to reproduce the issue we&amp;rsquo;re encountering?&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/531428?ContentTypeID=1</link><pubDate>Thu, 10 Apr 2025 18:17:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d843130-3847-4fad-b81c-0966675f3b11</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Try to enable&amp;nbsp;&lt;span&gt;SB_CONFIG_MATTER_OTA in the&amp;nbsp;sysbuild.conf if you are using sysbuild in v2.7.0. It should also &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/sysbuild/CMakeLists.txt#L409"&gt;enable&amp;nbsp;CONFIG_CHIP_OTA_REQUESTOR&lt;/a&gt;&amp;nbsp;for &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.7.0/samples/matter/common/src/app/matter_init.cpp#L201"&gt;this OtaConfirmNewImage function&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/531117?ContentTypeID=1</link><pubDate>Wed, 09 Apr 2025 05:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fe4423f-6bda-48dd-b9c3-c3ac1e41802a</guid><dc:creator>Andy Liu</dc:creator><description>&lt;p class="" data-start="195" data-end="205"&gt;Hi Amanda,&lt;/p&gt;
&lt;p class="" data-start="207" data-end="305"&gt;I&amp;rsquo;d like to share the results of our recent OTA testing to provide better context for our request.&lt;/p&gt;
&lt;p class="" data-start="307" data-end="446"&gt;We evaluated the OTA behavior under three different conditions. Please note that the &lt;strong data-start="392" data-end="419"&gt;exact same flash layout&lt;/strong&gt; was used across all tests:&lt;/p&gt;
&lt;p class="" data-start="453" data-end="475"&gt;&lt;strong data-start="453" data-end="473"&gt;Test Condition 1&lt;/strong&gt;&lt;/p&gt;
&lt;ul data-start="476" data-end="656"&gt;
&lt;li class="" data-start="476" data-end="538"&gt;
&lt;p class="" data-start="478" data-end="538"&gt;&lt;strong data-start="478" data-end="502"&gt;Window Covering App:&lt;/strong&gt; NCS SDK v2.2.0 (default settings)&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="539" data-end="591"&gt;
&lt;p class="" data-start="541" data-end="591"&gt;&lt;strong data-start="541" data-end="555"&gt;OTA Image:&lt;/strong&gt; NCS SDK v2.2.0 (default settings)&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="592" data-end="656"&gt;
&lt;p class="" data-start="594" data-end="656"&gt;&lt;strong data-start="594" data-end="605"&gt;Result:&lt;/strong&gt;&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/2705.svg" title="White check mark"&gt;&amp;#x2705;&lt;/span&gt;&amp;nbsp;OTA succeeded. The new firmware ran as expected.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="" data-start="663" data-end="685"&gt;&lt;strong data-start="663" data-end="683"&gt;Test Condition 2&lt;/strong&gt;&lt;/p&gt;
&lt;ul data-start="686" data-end="893"&gt;
&lt;li class="" data-start="686" data-end="748"&gt;
&lt;p class="" data-start="688" data-end="748"&gt;&lt;strong data-start="688" data-end="712"&gt;Window Covering App:&lt;/strong&gt; NCS SDK v2.2.0 (default settings)&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="749" data-end="801"&gt;
&lt;p class="" data-start="751" data-end="801"&gt;&lt;strong data-start="751" data-end="765"&gt;OTA Image:&lt;/strong&gt; NCS SDK v2.7.0 (default settings)&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="802" data-end="893"&gt;
&lt;p class="" data-start="804" data-end="893"&gt;&lt;strong data-start="804" data-end="815"&gt;Result:&lt;/strong&gt;&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/274c.svg" title="X"&gt;&amp;#x274c;&lt;/span&gt;&amp;nbsp;OTA failed. After reboot, the firmware rolled back to the original version.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="" data-start="900" data-end="922"&gt;&lt;strong data-start="900" data-end="920"&gt;Test Condition 3&lt;/strong&gt;&lt;/p&gt;
&lt;ul data-start="923" data-end="1238"&gt;
&lt;li class="" data-start="923" data-end="985"&gt;
&lt;p class="" data-start="925" data-end="985"&gt;&lt;strong data-start="925" data-end="949"&gt;Window Covering App:&lt;/strong&gt; NCS SDK v2.2.0 (default settings)&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="986" data-end="1173"&gt;
&lt;p class="" data-start="988" data-end="1065"&gt;&lt;strong data-start="988" data-end="1002"&gt;OTA Image:&lt;/strong&gt; NCS SDK v2.7.0 with the following additional configurations:&lt;/p&gt;
CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE=y &lt;br /&gt;CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS=&amp;quot;--confirm&amp;quot;&lt;/li&gt;
&lt;li class="" data-start="986" data-end="1173"&gt;&lt;strong data-start="1176" data-end="1187"&gt;Result:&lt;/strong&gt;&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/2705.svg" title="White check mark"&gt;&amp;#x2705;&lt;/span&gt;&amp;nbsp;OTA succeeded. The new firmware ran as expected.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="" data-start="1245" data-end="1272"&gt;&lt;strong data-start="1245" data-end="1272"&gt;Our Questions/Requests:&lt;/strong&gt;&lt;/p&gt;
&lt;ol data-start="1274" data-end="1728"&gt;
&lt;li class="" data-start="1274" data-end="1485"&gt;
&lt;p class="" data-start="1277" data-end="1485"&gt;Based on the results of Test Condition 2, we believe that the OTA image built with NCS SDK v2.7.0 is not compatible with a firmware base running SDK v2.2.0.&amp;nbsp; We&amp;#39;d like know the root cause.&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="1487" data-end="1728"&gt;
&lt;p class="" data-start="1490" data-end="1728"&gt;While adding the two configuration options mentioned in Test Condition 3 does allow the OTA to succeed, we don&amp;#39;t believe this is the &lt;strong data-start="1624" data-end="1649"&gt;recommended or proper&lt;/strong&gt; solution. Could you advise on the official fix for this case?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="" data-start="1730" data-end="1791"&gt;We appreciate your support and look forward to your guidance.&lt;/p&gt;
&lt;p class="" data-start="1793" data-end="1813"&gt;Best regards,&lt;br data-start="1806" data-end="1809" /&gt; Andy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530883?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 18:13:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f71adc-897d-4a46-b6b5-18db3d37dd2f</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="Andy Liu"]&lt;p&gt;Even with the same static partition layout, we still observe that the workaround we mentioned in the original ticket is required. Specifically, we need to add the following options to the new firmware build:&lt;/p&gt;
&lt;div style="max-width:100%;overflow:auto;max-height:none;"&gt;&lt;pre&gt;&lt;code&gt;CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE=y
CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS=&amp;quot;--confirm&amp;quot;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;[/quote]
&lt;p&gt;As your colleague, Andy, said, it needs to confirm the image that uses the same partition layout.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530870?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 15:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa07478d-8fdb-4b61-a270-1f59894cbcb6</guid><dc:creator>SemiBrain</dc:creator><description>&lt;p&gt;We have attempted to flash the new image together with the old version of mcuboot, and this combination functions as expected.&lt;br data-start="1189" data-end="1192" /&gt; As for the log information, if you are referring to the logs from the successful startup of the new image after flashing, I will provide them shortly.&lt;br data-start="1342" data-end="1345" /&gt; If the log refers to the issue where the new image fails to load correctly, this is already detailed in the text box at the beginning of the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530850?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 13:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0caf5db-fe33-452a-82f4-64f5ac914646</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Are you able to flash and run the new image without issue before DFU?&lt;/p&gt;
[quote user="SemiBrain"]As noted by my colleague Andy, despite maintaining identical flash static partition configurations, the new image continues to malfunction in test swap mode.[/quote]
&lt;p&gt;Could you provide the log?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530696?ContentTypeID=1</link><pubDate>Sat, 05 Apr 2025 15:36:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c21de69-f375-481e-9954-fb01ca098006</guid><dc:creator>SemiBrain</dc:creator><description>&lt;p&gt;&lt;span&gt;Yes, this remains the critical issue we aim to resolve with Nordic&amp;#39;s support.&lt;br /&gt;&lt;em&gt;As noted by my colleague Andy, despite maintaining identical flash static partition configurations, the new image continues to malfunction in test swap mode.&lt;/em&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530674?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 19:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:234af870-63e4-4f72-8a19-7ea53da373b7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;That&amp;#39;s true. If the new image cannot boot in the test mode, the function will not work. You need to figure out why the new image cannot work and check if using the same static partition.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530626?ContentTypeID=1</link><pubDate>Fri, 04 Apr 2025 12:47:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2528952b-4ec1-40be-aadf-60516edbbf0a</guid><dc:creator>SemiBrain</dc:creator><description>&lt;p&gt;&lt;span&gt;The function can only execute successfully if the App is running normally. However, during the test swap phase, the new app fails to launch properly, which prevents the function from running as intended.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530483?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 14:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae889506-c231-406a-bef5-0c446523fa82</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can call&amp;nbsp;&lt;a title="Marks the currently running image as confirmed." href="https://docs.zephyrproject.org/apidoc/latest/group__mcuboot__api.html#ga95ccc9e1c7460fec16b9ce9ac8ad7a72"&gt;boot_write_img_confirmed()&lt;/a&gt;, see this example&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.9.1/samples/matter/common/src/dfu/smp/dfu_over_smp.cpp#L150"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v2.9.1/samples/matter/common/src/dfu/smp/dfu_over_smp.cpp#L150&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530336?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 01:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db0f90f6-31f9-42dc-a623-f425d7d24397</guid><dc:creator>Andy Liu</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Thanks for your prompt response. I&amp;#39;m a colleague of SemiBrain.&lt;/p&gt;
&lt;p&gt;Even with the same static partition layout, we still observe that the workaround we mentioned in the original ticket is required. Specifically, we need to add the following options to the new firmware build:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE=y
CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS=&amp;quot;--confirm&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;We&amp;rsquo;d like to confirm whether there are any alternative solutions that would more robustly address this issue. Could you provide some guidance?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt; Andy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530299?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 15:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:375cdb0a-6248-42c8-9dd4-bb190c3b84da</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It has to use the same static partition to build with the new image for updating. In other words, the partition cannot be modified to the updated image. Otherwise, it will fail to update.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The old version of MCUBoot cannot successfully load the new Matter OTA firmware unless a confirmed OTA firmware is uploaded</title><link>https://devzone.nordicsemi.com/thread/530121?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2025 06:08:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:420e4b52-2c1b-4ad0-b019-a9a891fe7900</guid><dc:creator>SemiBrain</dc:creator><description>&lt;p&gt;Here&amp;rsquo;s a concrete example:&lt;br /&gt; &lt;br /&gt;If the slot partition size of the new firmware is smaller than that of the old firmware, the previously mentioned configuration options alone will not resolve the issue where the old MCUBoot version fails to load the new firmware. The size discrepancy prevents the old MCUBoot from correctly retrieving the necessary confirmation data. &lt;br /&gt;&lt;br /&gt;To ensure OTA updates function correctly, we need an alternative approach to address this issue and enable the old MCUBoot version to successfully load the new firmware.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Old version partition size&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;mcuboot:
    address: 0x0
    size: 0x9000
    region: flash_primary
mcuboot_pad:
    address: 0x9000
    size: 0x200
app:
    address: 0x9200
    size: 0xebe00
mcuboot_primary:
    orig_span: &amp;amp;id001
        - mcuboot_pad
        - app
    span: *id001
    address: 0x9000
    size: 0xec000
    region: flash_primary
mcuboot_primary_app:
    orig_span: &amp;amp;id002
        - app
    span: *id002
    address: 0x9200
    size: 0xebe00
user_param:
    address: 0xf5000
    size: 0x2000
    region: flash_primary
factory_data:
    address: 0xf7000
    size: 0x1000
    region: flash_primary
settings_storage:
    address: 0xf8000
    size: 0x8000
    region: flash_primary
mcuboot_secondary:
    address: 0x0
    size: 0xec000
    device: MX25R80
    region: external_flash
external_flash:
    address: 0xec000
    size: 0x14000
    device: MX25R80
    region: external_flash&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Net version partision size&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;mcuboot:
    address: 0x0
    size: 0x7000
    region: flash_primary
mcuboot_pad:
    address: 0x7000
    size: 0x200
app:
    address: 0x7200
    size: 0xece00
mcuboot_primary:
    orig_span: &amp;amp;id001
        - mcuboot_pad
        - app
    span: *id001
    address: 0x7000
    size: 0xed000
    region: flash_primary
mcuboot_primary_app:
    orig_span: &amp;amp;id002
        - app
    span: *id002
    address: 0x7200
    size: 0xece00
user_param:
    address: 0xf4000
    size: 0x2000
    region: flash_primary
factory_data:
    address: 0xf6000
    size: 0x1000
    region: flash_primary
settings_storage:
    address: 0xf7000
    size: 0x8000
    region: flash_primary
vendor_production_data:
    address: 0xff000
    size: 0x1000
    region: flash_primary
mcuboot_secondary:
    address: 0x0
    size: 0xed000
    device: MX25R80
    region: external_flash
external_flash:
    address: 0xed000
    size: 0x13000
    device: MX25R80
    region: external_flash
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>