<?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>NRF9160 watchdog + OTA Update fails</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81521/nrf9160-watchdog-ota-update-fails</link><description>Hi, 
 I try to do a OTA Update with watchdog enabled . The OTA Update runs and boots image B but this is stopped after watchdog timeout (1Sek). In my code the watchdog runs after some boot init so after the OTA it gets not directly reinitialized. 
 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Nov 2021 15:14:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81521/nrf9160-watchdog-ota-update-fails" /><item><title>RE: NRF9160 watchdog + OTA Update fails</title><link>https://devzone.nordicsemi.com/thread/338624?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 15:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99a40f6c-b3aa-4085-9722-3d66787fb4ea</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>[quote user="danielboe"]which version of the SDK I need and where can I configure this?&amp;nbsp;[/quote]
&lt;p&gt;You should be able to do this configuration in NCS v1.7.0.&lt;/p&gt;
&lt;p lang="en-GB"&gt;The parameter is located in &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v1.7.99-ncs3/boot/zephyr/Kconfig#L691"&gt;../bootloader/mcuboot/boot/zephyr/Kconfig&lt;/a&gt;&amp;nbsp;and can be enabled via &lt;em&gt;&amp;lt;application root&amp;gt;/child_image/mcuboot.conf&lt;/em&gt;, as &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.7.0/applications/serial_lte_modem/child_image/mcuboot.conf"&gt;demonstrated&lt;/a&gt; by the Serial LTE modem application.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog + OTA Update fails</title><link>https://devzone.nordicsemi.com/thread/338554?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 12:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cab4192-38a1-4a13-ab2f-7a0d47ef3862</guid><dc:creator>danielboe</dc:creator><description>&lt;p&gt;Okay thanks. which version of the SDK I need and where can I configure this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use NRF Connect 1.7.0 and I cant set the option in prj.conf&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog + OTA Update fails</title><link>https://devzone.nordicsemi.com/thread/338508?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 09:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25b9cf1e-690a-47e8-ac7a-2506fce5494e</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Daniel,&lt;/p&gt;
[quote user="danielboe"]can you explain a bit more here?[/quote]
&lt;p lang="en-GB"&gt;Once the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fwdt.html&amp;amp;cp=2_0_0_5_19_2&amp;amp;anchor=concept_b4n_xzw_sr"&gt;watchdog&lt;/a&gt; is started it can not be stopped and it neither will be by a &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf9160%2Fpmureset.html&amp;amp;cp=2_0_0_4_4_7&amp;amp;anchor=reset_behaviour"&gt;soft reset&lt;/a&gt; leading to a FOTA image swap. I assume that the firmware image validation takes a little bit too long time triggering a watchdog reset. &lt;a href="https://git.furworks.de/zephyr/mcuboot/commit/d21442a95411fc0fae6e8f1a09aa22747394e5c0"&gt;CONFIG_BOOT_WATCHDOG_FEED&lt;/a&gt; will feed the watchdog during that time avoiding this.&lt;/p&gt;
&lt;p lang="en-GB"&gt;As an alternative (which I normally would not recommend), you could try to perform an application reset by triggering the watchdog instead, which will&amp;nbsp;stop the peripheral during image swapping.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog + OTA Update fails</title><link>https://devzone.nordicsemi.com/thread/338427?ContentTypeID=1</link><pubDate>Wed, 10 Nov 2021 16:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27f3f0c1-9b42-41f5-93dc-591a55bd8374</guid><dc:creator>danielboe</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;can you explain a bit more here? I can&amp;acute;t find any documentation to this and dont understand what is it doing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks and best regards&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;daniel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 watchdog + OTA Update fails</title><link>https://devzone.nordicsemi.com/thread/338242?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 15:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:494b8cdc-6232-4a81-8d9b-0c5fd2e4c6da</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Daniel,&lt;/p&gt;
&lt;p lang="en-GB"&gt;In MCUboot v1.7.0, &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/mcuboot/release-notes.html?highlight=watchdog"&gt;watchdog feed&lt;/a&gt; has been added via &lt;a href="https://git.furworks.de/zephyr/mcuboot/commit/d21442a95411fc0fae6e8f1a09aa22747394e5c0"&gt;CONFIG_BOOT_WATCHDOG_FEED&lt;/a&gt;. This should solve the problem you are facing.&lt;/p&gt;
&lt;p lang="de-DE"&gt;Viele Grüße,&lt;/p&gt;
&lt;p lang="de-DE"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>