<?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>WDT reload value after reprogramming</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62125/wdt-reload-value-after-reprogramming</link><description>Hi, 
 I&amp;#39;m trying to configure the watchdog timer for my application but I am running into some &amp;quot;weird&amp;quot; things. 
 Is it correct that the reload value cannot be set once the wdt is started? This seems to be my experience and this also also what I have read</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Jun 2020 14:49:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62125/wdt-reload-value-after-reprogramming" /><item><title>RE: WDT reload value after reprogramming</title><link>https://devzone.nordicsemi.com/thread/253585?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2020 14:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43593c72-ed3d-487e-95da-451afbd4be38</guid><dc:creator>MichielSch</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks, I did in fact not enable the wdt_enabled, only the legacy setting.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Michiel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT reload value after reprogramming</title><link>https://devzone.nordicsemi.com/thread/253410?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2020 04:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18e6145e-7959-4172-adb2-2ac0dac9f541</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is the legacy configuration &amp;#39;WDT_ENABLED&amp;#39; included in your header? The integration layer may override NRFX_* settings with the legacy settings if both are defined. As an example, the NRFX_WDT_ENABLED would become disabled if WDT_ENABLED was set to 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT reload value after reprogramming</title><link>https://devzone.nordicsemi.com/thread/253384?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 20:03:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54ab2297-9f3b-494a-8c96-56a56d38ec2f</guid><dc:creator>MichielSch</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your answer and the additional information on the reset behavior.&lt;/p&gt;
&lt;p&gt;On the configuration settings:&lt;/p&gt;
&lt;p&gt;All the files are included in the project, I double checked if the right files are added and that I am editing the correct config file.&lt;/p&gt;
&lt;p&gt;In this case I edited the sdk_config file like this to enable the wdt:&lt;/p&gt;
&lt;p&gt;// &amp;lt;e&amp;gt; NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver&lt;br /&gt;//==========================================================&lt;br /&gt;#ifndef NRFX_WDT_ENABLED&lt;br /&gt;#define NRFX_WDT_ENABLED 1&lt;br /&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;when I do this the nrfx_wdt.c file stays &amp;quot;grayed out&amp;quot; because the conditional is not satisfied and the build fails during the link step because the functions in this file are not found. However when I add&lt;/p&gt;
&lt;p&gt;#define NRFX_WDT_ENABLED 1&lt;/p&gt;
&lt;p&gt;as a workaround at the top of the nrfx_wdt.c file the build succeeds and everything works fine. I tried making a clean build, restarting SES and rebooting my pc all without success. Any thoughts or suggestions would be greatly appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks and best regards,&lt;/p&gt;
&lt;p&gt;Michiel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT reload value after reprogramming</title><link>https://devzone.nordicsemi.com/thread/253307?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2020 13:26:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f36a1593-4af6-4175-b053-46001c58f020</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Michiel,&lt;/p&gt;
&lt;p&gt;Thanks for updating the ticket. Yes, once you have started the WD there isn&amp;#39;t much you can in do in SW to stop or reconfigure it except for letting time out. WD is kept running through several of the available reset sources including soft reset, see &lt;span&gt;&lt;a title="Reset behavior" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=4_0_0_4_2_5_7#concept_res_behav"&gt;Reset behavior&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;
[quote user=""]Also somewhat related, making changes to the sdk_config.h file does not seem to do anything sometimes.[/quote]
&lt;p&gt;&amp;nbsp;The header may include some configuration settings that are not referenced in the code. Please make sure you have included the necessary source files for the feature you are trying to configure.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT reload value after reprogramming</title><link>https://devzone.nordicsemi.com/thread/253135?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 20:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a5fe52-7cd1-4fc4-9f48-2e1031a8812a</guid><dc:creator>MichielSch</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, I might have been a bit to soon to complain about the dfu bootloader, I looked at the code (I&amp;#39;m using the one in examples/dfu/secure_bootloader) and it does account for a wdt and it seems to be working pretty well out of the box. So that&amp;#39;s nice since I read a couple of issues on the message board. These might have been on older sdk versions.&lt;/p&gt;
&lt;p&gt;I am still interested in the other questions though.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Michiel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>