<?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>Watchdog isn&amp;#39;t being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/122538/watchdog-isn-t-being-fed-during-mcuboot-image-confirmation---loop-reboot</link><description>Hi, I&amp;#39;m trying to implement a watchdog on the nRF54L15. I configured the watchdog with a maximum window of 1000 ms, and I&amp;#39;m feeding it from a low-priority thread every 500 ms. This setup works well under normal conditions. However, I&amp;#39;m encountering an</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jul 2025 17:54:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/122538/watchdog-isn-t-being-fed-during-mcuboot-image-confirmation---loop-reboot" /><item><title>RE: Watchdog isn't being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/thread/541837?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 17:54:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ddecddf-b609-44f4-9e7e-16a3b16ab652</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure where this undefined reference is coming from. Could you please share the full build logs here? Also, enable debug-level logging, this might help identify the exact origin of the errors.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog isn't being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/thread/541504?ContentTypeID=1</link><pubDate>Fri, 04 Jul 2025 16:39:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f8f12ea-9635-4d66-b1de-16e2312a291d</guid><dc:creator>jolive</dc:creator><description>&lt;p data-start="117" data-end="196"&gt;Hi,&lt;br /&gt;Initially, I was using NCS version 2.9.1, and builds&amp;nbsp;without problems.&lt;/p&gt;
&lt;p data-start="198" data-end="283"&gt;After upgrading to NCS 3.0.1, I started encountering the following linker errors:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div dir="ltr"&gt;&lt;em&gt;undefined reference to `z_impl_k_sem_give&amp;#39; &lt;/em&gt;&lt;br /&gt;&lt;em&gt;undefined reference to `z_impl_k_sem_take&amp;#39; &lt;/em&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p data-start="380" data-end="462"&gt;This issue also occurs in the sample:&lt;br data-start="412" data-end="415" /&gt; &lt;em&gt;zephyr/samples/sysbuild/with_mcuboot&lt;/em&gt;&lt;/p&gt;
&lt;p data-start="464" data-end="521"&gt;I added an &lt;em&gt;app.overlay&lt;/em&gt; file with the following content:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;em&gt; / { &lt;/em&gt;&lt;br /&gt;&lt;em&gt; aliases { &lt;/em&gt;&lt;br /&gt;&lt;em&gt; watchdog0 = &amp;amp;wdt30;&lt;/em&gt;&lt;br /&gt;&lt;em&gt; };&lt;/em&gt;&lt;br /&gt;&lt;em&gt; }; &lt;/em&gt;&lt;br /&gt;&lt;em&gt; &amp;amp;wdt30 { status = &amp;quot;okay&amp;quot;; }; &lt;/em&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p data-start="646" data-end="786"&gt;This configuration&amp;nbsp;builds without any issues in NCS 2.9.1. However, in NCS 3.0.1 I have the same errors mentioned above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog isn't being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/thread/541021?ContentTypeID=1</link><pubDate>Tue, 01 Jul 2025 11:16:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0256a4c-07ab-4588-bcaa-3f753175658e</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using here?&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: Watchdog isn't being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/thread/540765?ContentTypeID=1</link><pubDate>Fri, 27 Jun 2025 17:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e61b1d5b-7e35-41ef-a3ba-6683a19253ce</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;No, MCUBoot won&amp;#39;t feet the WDT by default.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog isn't being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/thread/540753?ContentTypeID=1</link><pubDate>Fri, 27 Jun 2025 15:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17999381-a6dc-4ea3-9617-77a533b94394</guid><dc:creator>jolive</dc:creator><description>&lt;p data-start="85" data-end="91"&gt;Hello,&lt;/p&gt;
&lt;p data-start="93" data-end="191"&gt;As I understand it, MCUboot is supposed to feed the watchdog during the OTA update process, right?&lt;/p&gt;
&lt;p data-start="193" data-end="489"&gt;In my case, if I increase the watchdog&amp;rsquo;s timeout window to 2000 ms, the update completes successfully without any issues. However, with a 1000 ms window - which is the maximum acceptable value for my application - the system resets, suggesting that MCUboot isn&amp;rsquo;t feeding the watchdog as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog isn't being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/thread/540744?ContentTypeID=1</link><pubDate>Fri, 27 Jun 2025 14:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa6b81e4-7673-41eb-a73e-d1d8e709f92a</guid><dc:creator>jolive</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p data-start="160" data-end="218"&gt;I added the following configurations to my mcuboot.conf:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div dir="ltr"&gt;
&lt;div&gt;
&lt;div&gt;CONFIG_BOOT_WATCHDOG_FEED=y&lt;/div&gt;
&lt;div&gt;CONFIG_WATCHDOG=y&lt;/div&gt;
&lt;div&gt;CONFIG_WDT_NRFX=y&lt;/div&gt;
&lt;div&gt;CONFIG_NRFX_WDT30=y&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;I also added this alias in my device tree overlay:&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div dir="ltr"&gt;aliases { &lt;br /&gt; watchdog0 = &amp;amp;wdt30; &lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;
&lt;p data-start="386" data-end="490"&gt;However, the issue still persists &amp;mdash; the watchdog is not being fed during MCUboot&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watchdog isn't being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/thread/540730?ContentTypeID=1</link><pubDate>Fri, 27 Jun 2025 13:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b71df70-2363-4653-b090-3dce1c01b38f</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When the device restarts after a firmware update, MCUboot, runs first. At this point, the main application hasn&amp;#39;t started yet, so the watchdog isn&amp;#39;t being fed. If the time taken by MCUboot and the system startup exceeds the watchdog timeout of 1000 ms, the watchdog assumes something has gone wrong and resets the system. This reset brings the device back to the beginning of the boot process, causing it to loop continuously without ever fully starting the application.&lt;br /&gt;So what happens when you give&amp;nbsp;the watchdog more time (&amp;gt;1000ms), the system has enough time to finish booting and start the app, which feeds the watchdog. No more resets.&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: Watchdog isn't being fed during MCUboot image confirmation - loop reboot</title><link>https://devzone.nordicsemi.com/thread/540545?ContentTypeID=1</link><pubDate>Thu, 26 Jun 2025 08:15:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18015294-afa4-4ef5-8113-03ea3eaab1b9</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;MCUboot does not know about the watchdog. Read the sysbuild chapters in the documentation.&lt;/p&gt;
&lt;p&gt;I believe you can influence the device tree (via overlay) and the project config enough to include watchdog support when MCUboot runs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>