<?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>MCUBoot reverting slots immediately after image swap</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103785/mcuboot-reverting-slots-immediately-after-image-swap</link><description>Hi, 
 OS: sdk-nRF 2.3.0 
 OTA slots: primary slot 0 on the uC; secondary slot 1 on external flash 
 Chip: nrf52840 
 Build OS: MacOs 
 Problem 
 We are using LwM2M to perform DFU which has been working fine until recently when we tweaked the partition</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Sep 2023 11:02:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103785/mcuboot-reverting-slots-immediately-after-image-swap" /><item><title>RE: MCUBoot reverting slots immediately after image swap</title><link>https://devzone.nordicsemi.com/thread/446237?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 11:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43c1e170-e884-4303-9d43-286808540cdd</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="motters"]After a 2 days of messing around with&amp;nbsp;dfu issues i may have fixed it. I have no idea why but the following seem to be required:[/quote]
&lt;p&gt;I have been assigned to this case and saw this response. Is your issue resolved? Do I need to look into this? Please let me know about this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot reverting slots immediately after image swap</title><link>https://devzone.nordicsemi.com/thread/446061?ContentTypeID=1</link><pubDate>Thu, 14 Sep 2023 12:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3185df9d-eb76-4bb0-83fd-67b6cebb6daf</guid><dc:creator>motters</dc:creator><description>&lt;p&gt;After a 2 days of messing around with&amp;nbsp;dfu issues i may have fixed it. I have no idea why but the following seem to be required:&lt;/p&gt;
&lt;p&gt;In mcuboot prj.conf&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Removal of CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y&lt;/li&gt;
&lt;li&gt;Add in&amp;nbsp;CONFIG_BOOT_WATCHDOG_FEED=y&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In app prj.cong&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add&amp;nbsp;CONFIG_ROM_START_OFFSET=0x200&lt;/li&gt;
&lt;li&gt;Removal of&amp;nbsp;CONFIG_PM_OVERRIDE_EXTERNAL_DRIVER_CHECK=y&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Not sure which 1,2 or 3 fixes it. But want to update the thread.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;On sys_reboot&amp;nbsp;is now only does it once&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1694695873266v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;Any executing the update only swaps slot data once&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1694695856045v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>