<?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>DFU completes, new image boots, reverts to old image on restart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100532/dfu-completes-new-image-boots-reverts-to-old-image-on-restart</link><description>Hi, 
 1. nrf Connect SDK 1.9.1. MBR could have been from an earlier SDK. 
 2. New image upload from nrf Connect works fine, and new image boots once upload has completed. 
 3. When power is removed, device takes ~5 seconds to power up. It powers up with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Jun 2023 13:12:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100532/dfu-completes-new-image-boots-reverts-to-old-image-on-restart" /><item><title>RE: DFU completes, new image boots, reverts to old image on restart</title><link>https://devzone.nordicsemi.com/thread/429796?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 13:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c9201eb-1ab6-45f9-ad6f-249ada057c32</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="nick_bike"]Is&amp;nbsp;boot_write_img_confirmed the droids I am looking for?[/quote]
&lt;p&gt;Based on the documentation,&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/services/device_mgmt/dfu.html#c.boot_write_img_confirmed"&gt;boot_write_image_confirmed()&lt;/a&gt;&amp;nbsp;marks the image as confirmed and installs the image permanently.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU completes, new image boots, reverts to old image on restart</title><link>https://devzone.nordicsemi.com/thread/429793?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 13:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25820e09-104c-4a6a-8814-2068a3e136f8</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="nick_bike"]The later build (when flashed in fresh) seems to successfully confirm. [/quote]
&lt;p&gt;What do you refer to as original and what later build? What happens in each of the builds? How does later build seem to confirm?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU completes, new image boots, reverts to old image on restart</title><link>https://devzone.nordicsemi.com/thread/429763?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 12:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:827142a8-36b8-4f6f-9e90-44966308c46b</guid><dc:creator>nick_bike</dc:creator><description>&lt;p&gt;Is&amp;nbsp;boot_write_img_confirmed the droids I am looking for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU completes, new image boots, reverts to old image on restart</title><link>https://devzone.nordicsemi.com/thread/429759?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 12:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fc06666-2bae-48bc-9eca-072297bd4c8e</guid><dc:creator>nick_bike</dc:creator><description>&lt;p&gt;Thanks for this. Is this an option I should have enabled in the original MCUboot build? The later build (when flashed in fresh) seems to successfully confirm. I have devices out the field so need to ideally find a way to get this to work. Maybe the new&amp;nbsp;image (which runs at least once) can set the image as confirmed? Is this possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU completes, new image boots, reverts to old image on restart</title><link>https://devzone.nordicsemi.com/thread/429755?ContentTypeID=1</link><pubDate>Wed, 07 Jun 2023 11:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37982708-69fd-4e52-86e8-af5d5cc38a0a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There is a procedure on&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html#device-firmware-upgrade-dfu"&gt;device DFU&lt;/a&gt;&amp;nbsp;which is shown in the documentation. Swapping the image to slot 1 will not happen on next reset unless new image has been&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html#confirm-new-image"&gt;confirmed&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>