<?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>Upgraded firmware image not confirmed by MCUBoot DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78575/upgraded-firmware-image-not-confirmed-by-mcuboot-dfu</link><description>Hello, We are building an OTA firmware update mechanism that relies on MCUBoot and the DFU Target API . We take the implementation of fota_download as an example. 
 Currently our code is based on nRF Connect SDK 1.5.0. We are able to transmit a firmware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Aug 2021 10:57:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78575/upgraded-firmware-image-not-confirmed-by-mcuboot-dfu" /><item><title>RE: Upgraded firmware image not confirmed by MCUBoot DFU</title><link>https://devzone.nordicsemi.com/thread/326963?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 10:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:724c1e55-c0b3-4c80-bd98-5fcf7a0426af</guid><dc:creator>Anthony</dc:creator><description>&lt;p&gt;Hey Esisk, yes I figured out the problem by using static partitions as suggested by Heidi. In addition to my reply above, here are the Kconfig options that I used:&lt;/p&gt;
&lt;p&gt;# Bootloader&lt;br /&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;br /&gt;# Device firmware upgrade&lt;br /&gt;CONFIG_DFU_TARGET=y&lt;br /&gt;CONFIG_DFU_TARGET_MCUBOOT=y&lt;br /&gt;CONFIG_FLASH=y&lt;br /&gt;CONFIG_IMG_ERASE_PROGRESSIVELY=y&lt;br /&gt;CONFIG_IMG_MANAGER=y&lt;br /&gt;CONFIG_MCUBOOT_IMG_MANAGER=y&lt;br /&gt;CONFIG_SIGN_IMAGES=y&lt;/p&gt;
&lt;p&gt;The CONFIG_MCUBOOT_ options were not needed to confirm the image successfully. Still, now we need to configure the build system to sign the firmware with our own keys.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upgraded firmware image not confirmed by MCUBoot DFU</title><link>https://devzone.nordicsemi.com/thread/326960?ContentTypeID=1</link><pubDate>Fri, 27 Aug 2021 10:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e9c05d5-217f-475d-a27f-0a1a197615e3</guid><dc:creator>Anthony</dc:creator><description>&lt;p&gt;Hi !&lt;br /&gt;&lt;br /&gt;Thank you very much for your answer. The configuration of static partitions in the new firmware project allowed to solve the problem. The new image is now successfully confirmed by the boot_write_img_confirmed() method.&lt;br /&gt;&lt;br /&gt;I followed the documentation you provided, and as suggested in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#configuring-static-partitions"&gt;Configuring static partitions&lt;/a&gt; I copied the &amp;quot;build/partitions.yml&amp;quot; file from the old firmware project into the root directory of the new firmware project, under the name &amp;quot;pm_static.yml&amp;quot;. At first I was a bit confused because $APPLICATION_SOURCE_DIR refers to the root directory of the project and not to the src/ directory, but now it works as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upgraded firmware image not confirmed by MCUBoot DFU</title><link>https://devzone.nordicsemi.com/thread/326802?ContentTypeID=1</link><pubDate>Thu, 26 Aug 2021 12:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7ad44e3-b8e7-49af-91bf-d0f6cf3bdaad</guid><dc:creator>esisk</dc:creator><description>&lt;p&gt;Hey Anthony, I&amp;#39;m having a very similar issue. Did you figure out the problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upgraded firmware image not confirmed by MCUBoot DFU</title><link>https://devzone.nordicsemi.com/thread/326169?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 11:38:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52fb4747-aa95-4c77-9611-c28ede0c3c00</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I wonder if your &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#static-configuration"&gt;static configuration&lt;/a&gt;&amp;nbsp;is the issue? How did you set this up?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>