<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>Watch Dog Timer!</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/42145/watch-dog-timer</link><description> Hi, I need to know how to use the WDT in the P89LPC932. I have selected its internal oscillator as the clock source. However, I do not know if it would consume more power than selecting the PCLK as its clock source. 
Also, how can I find out if the WDT</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/156121?ContentTypeID=1</link><pubDate>Thu, 16 Oct 2003 07:51:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:20ed3ff6-f88f-429c-b39d-a2b1665185ee</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;Erik I lost you here!&lt;br /&gt;
1) you have the softstart status bit? What is that&lt;/i&gt;&lt;br /&gt;
Please read the manual&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;2) why would you want to, it never should...I just want to keep a record of the times the WDT served the micro.&lt;/i&gt;&lt;br /&gt;
look at the warmstart bit.&lt;br /&gt;
&lt;i&gt;Also, how many times should I call &amp;quot;initialize the puppy&amp;quot;... I mean the feeding process should be endless or just once.&lt;/i&gt;&lt;br /&gt;
should be fed often enough not to time out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/155882?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2003 14:33:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:34893575-d23c-4f83-a2c3-2892bc48f674</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;Erik I lost you here!&lt;br /&gt;
1) you have the softstart status bit? What is that&lt;br /&gt;
&lt;br /&gt;
2) why would you want to, it never should...I just want to keep a record of the times the WDT served the micro.&lt;br /&gt;
Also, how many times should I call &amp;quot;initialize the puppy&amp;quot;...I mean the feeding process should be endless or just once.&lt;br /&gt;
Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/155615?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2003 14:11:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:56c6047f-0659-4c44-b05b-dee643ac1038</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;That is good to know. Now I think I know where to use it. but what about keeping track of every time when the WDT underflows...how would you do that&lt;/i&gt;&lt;br /&gt;
1) you have the softstart status bit&lt;br /&gt;
2) why would you want to, it never should&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/155290?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2003 13:45:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8edde661-3433-4154-9eb7-2511f9def1a0</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;That is good to know. Now I think I know where to use it. but what about keeping track of every time when the WDT underflows...how would you do that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/154903?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2003 08:36:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b75b9149-9c5b-4b6c-ad5c-927594bd5217</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;can you give me hints on where could be those strategic places in a program&lt;/i&gt;&lt;br /&gt;
NOT in ISRs, that will defeat the purpose&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/154904?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2003 08:36:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1ba5ad27-4043-48a9-8783-7c460bd7ed3e</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;can you give me hints on where could be those strategic places in a program&lt;/i&gt;&lt;br /&gt;
how can I? it varies from program to program.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/154410?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2003 13:52:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:20f64617-1de8-4fb1-acdb-74017105ff7b</guid><dc:creator>Walt Conley</dc:creator><description>&lt;p&gt;Goto &lt;a href="http://www.embedded.com" target="_blank"&gt;http://www.embedded.com&lt;/a&gt; and do a search on watchdog to access this and other nice articles on the subject.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.embedded.com/design_library/esd/hi/OEG20030115S0042" target="_blank"&gt;http://www.embedded.com/design_library/esd/hi/OEG20030115S0042&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
-Walt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/153848?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2003 12:13:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e51cf7fd-ea04-48fe-8e56-6dbea31cddbb</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;Erik can you give me hints on where could be those strategic places in a program? Also, what about keeping track of the times when the WDT underflows...how would I do that.&lt;br /&gt;
Thank you, you have been a great help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/153197?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2003 11:52:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1675fb33-b51e-4a28-9d02-7e678ae7aafc</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;I am still a bit confused. What about in my real application when should I called or initialized the WDT.&lt;br /&gt;
For what I understand the WDT should always overflow. If it does not (underflowing) then it means a software error while executing occured. therefore, the WDT will cause an system reset. Right?&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Feed the puppy or it bites&lt;br /&gt;
&lt;br /&gt;
The way a watchdog is used is that at strategic places in your program you feed it (feed sequence: see dxatasheet).  If to much time passes between feeds a reset happens.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/152480?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2003 09:18:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3ee50639-14b0-4109-97f8-f4c037e1cda0</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;Erik below is the program I am using to test the WDT. I run it by using only the simulator and it worked fine (I think). This is the sample program &amp;quot;blinky&amp;quot; where port 2 shifts from right to left and left to right. The way I have it here is as follows: as soon as it finishes shifting from right to left, it initializes the WDT and after an overflow, occurs it resets the program.&lt;br /&gt;
I am still a bit confused. What about in my real application when should I called or initialized the WDT.&lt;br /&gt;
For what I understand the WDT should always overflow. If it does not (underflowing) then it means a software error while executing occured. therefore, the WDT will cause an system reset. Right?&lt;br /&gt;
How can I keep a count of WDT underflowing... is there an interrupt for it, or just when it is used as a timer. If so what else should be included there. I have never worked with WDT before so this is new to me.&lt;br /&gt;
&lt;br /&gt;
Thanks for your help.&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;Reg932.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;String.h&amp;gt;&lt;br /&gt;
UCFG1 = 0x88;&lt;br /&gt;
&lt;br /&gt;
void init(void);&lt;br /&gt;
void brkrst_init(void);&lt;br /&gt;
void Initialize_the_Puppy(void);&lt;br /&gt;
#define KICK_THE_PUPPY WFEED1 = 0x0A5;        WFEED2 = 0x05A;&lt;br /&gt;
void delay (unsigned int cnt)&lt;br /&gt;
{&lt;br /&gt;
  while (--cnt);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void Main(void)&lt;br /&gt;
{&lt;br /&gt;
brkrst_init();&lt;br /&gt;
{&lt;br /&gt;
	unsigned char i;&lt;br /&gt;
  P2M1 = 0;&lt;br /&gt;
  for(;;)&lt;br /&gt;
	{&lt;br /&gt;
   for (i = 0x01; i; i &amp;lt;&amp;lt;= 1)&lt;br /&gt;
    	{ P2 = i;				// simulate running lights&lt;br /&gt;
      		delay (50000);&lt;br /&gt;
    	}&lt;br /&gt;
    	Initialize_the_Puppy();&lt;br /&gt;
   for (i = 0x80; i; i &amp;gt;&amp;gt;= 1)&lt;br /&gt;
    	{ P2 = i;&lt;br /&gt;
      		delay (50000);&lt;br /&gt;
    	}&lt;br /&gt;
&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void brkrst_init(void)					// This function allows ISP entry through the UART break detect&lt;br /&gt;
{&lt;br /&gt;
	//AUXR1 |= 0x40;								// enable reset on break detect, pg. 102&lt;br /&gt;
	SCON = 0x50;									// select the BRG as UART baud rate source, pg. 60&lt;br /&gt;
	SSTAT = 0x00;									//Timer1&lt;br /&gt;
	BRGR0 = 0x70;									// 9600 BAUD at @ 7.373MHz internal RC oscillator&lt;br /&gt;
	BRGR1 = 0x04;&lt;br /&gt;
	BRGCON = 0x03;									// enable BRG, pg. 59&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void Initialize_the_Puppy(void)&lt;br /&gt;
{&lt;br /&gt;
EA = 0;&lt;br /&gt;
WDCON = 0x05; 		//start WDT, and select WD oscillator&lt;br /&gt;
WDL = 0xFF;&lt;br /&gt;
KICK_THE_PUPPY&lt;br /&gt;
EA = 1;&lt;br /&gt;
AUXR1 = 0x08;&lt;br /&gt;
AUXR1 ^= ~0x08;&lt;br /&gt;
while(1); 			// for test&lt;br /&gt;
}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/152479?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2003 07:50:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9bb546aa-c6e7-47a3-8ee0-fc3c13381c57</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;OK, Erik I will do this today and let you know thank you. I still have not resolved my problem with the external interrupt and Power Down, but that will be a different question at a different time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/151690?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2003 16:09:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:084735aa-332e-4050-a09e-dec1cc2f43e0</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;then a software reset should happens by if I set up AUXR1 correctly&lt;/i&gt;&lt;br /&gt;
No, the bit - not &amp;quot;pin&amp;quot; - indicates that a sw reset took place, ir does not make it happen.&lt;br /&gt;
&lt;br /&gt;
If you just want to test the watchdog insert a while(); temporarily.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/147215?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2003 15:19:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1b569f7b-1423-4af2-b40c-b758ed9ed262</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;I will toggle the SFR AUXR1. But do you think it will be a good exercise...?&lt;br /&gt;
Let me just make sure...if the WDT resets (works fine) then a software reset should happens by if I set up AUXR1 correctly...right?&lt;br /&gt;
Then toggle that pin. And this should repit.&lt;br /&gt;
Right?&lt;br /&gt;
Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/145852?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2003 14:53:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7bfd5b98-a8c3-4215-869b-d3683de4e61d</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;There is register called AUXR1 which has a bit for sotfware reset&lt;/i&gt;&lt;br /&gt;
The bit is a bit more intricate than that.  You must toggle it after a cold reset to get any use out of it.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;br /&gt;
&lt;br /&gt;
PS in &amp;#39;standard 51 language&amp;#39; AUXR1 is not not a register, it is a SFR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/143900?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2003 12:38:29 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8dc849fb-7e1a-4e53-883f-c9fd73682bcf</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;Erik, I had to go way from this question, because as you have seen I have to take care of other parts of my program like the external interrupt.&lt;br /&gt;
To see if the WDT resets (i guess (meaning it is working fine)) could I cause a software reset? what about if it does not work fine...how do I do that.&lt;br /&gt;
There is register called AUXR1 which has a bit for sotfware reset. This will be a good way to know if the WDT is reseting! or do you have a better idea.&lt;br /&gt;
Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/141274?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 14:01:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a835f834-1640-450b-b097-42163303c34a</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;I am willing to help, but do not have the time to read the datasheet for you&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/137721?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 13:26:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e59dd635-8f30-4216-9dac-4fecd01c917b</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;Are you talking about the Reset Pin Enable (RPE) bit or the R_EX (external reset flag)?&lt;br /&gt;
&lt;br /&gt;
Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/134227?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 13:08:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6e9313a1-569c-4d1f-8bb2-10224b6c0109</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;there is/are a/some bit(s) for &amp;quot;reset cause&amp;quot;&lt;br /&gt;
read up on therm and you will know how&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/122121?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 12:34:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cc799124-1c91-4001-afc1-449267f709b3</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;I have no Idea how to find out if it does reset? uhmm...what about an LED lighting after a reset? if this is a good idea, where in the code should I place that instruction...sorry, but I have no idea, but I want to learn this please.&lt;br /&gt;
Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/110501?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 12:07:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9ab89649-bdfc-4547-a43e-2faf4142f12d</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;Only the a5/5a load is required to keep the watchdog alive&lt;br /&gt;
so the code should be&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;
#define KICK_THE_PUPPY WFEED1 = 0x0A5;        WFEED2 = 0x05A;

void Initialize_the_Puppy(void)
{
EA = 0;
WDCON = 0x05; //start WDT, and select WD oscillator
WDL = 0xFF;
KICK_THE_PUPPY
EA = 1;
while(1); // for test
}&lt;/pre&gt;
&lt;br /&gt;
now, with the above code the watchdog should reset, but how do you propose to see if it does?&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/95779?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 10:11:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:af98e3fa-2423-4aad-a832-2e8452d0db37</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;Erik, this is what I did. I do not understand what is going on here. cacn you explain. I am sorry, but this is more complicated than I thought. I opened the WDT peripheral, but all I see is numbers running and running. Help.&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;Reg932.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void init(void);&lt;br /&gt;
void brkrst_init(void);&lt;br /&gt;
void Kick_the_Puppy(void);&lt;br /&gt;
&lt;br /&gt;
void Main(void)&lt;br /&gt;
{&lt;br /&gt;
init();&lt;br /&gt;
brkrst_init();&lt;br /&gt;
Kick_the_Puppy();&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void init(void)&lt;br /&gt;
{&lt;br /&gt;
	P1M1 = 0x00;									// Quasi-bidirectional&lt;br /&gt;
	P1M2 = 0x00;&lt;br /&gt;
	P2M1 = 0x00;									// push pull output&lt;br /&gt;
	P2M2 = 0xFF;&lt;br /&gt;
	P0M1 = 0x00;&lt;br /&gt;
	P0M2 = 0xFF;									//Output&lt;br /&gt;
	ES = 1;											// enable UART interrupt&lt;br /&gt;
	EA = 1;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void brkrst_init(void)					// This function allows ISP entry through the UART break detect&lt;br /&gt;
{&lt;br /&gt;
	//AUXR1 |= 0x40;								// enable reset on break detect, pg. 102&lt;br /&gt;
	SCON = 0x50;									// select the BRG as UART baud rate source, pg. 60&lt;br /&gt;
	SSTAT = 0x00;									//Timer1&lt;br /&gt;
	BRGR0 = 0x70;									// 9600 BAUD at @ 7.373MHz internal RC oscillator&lt;br /&gt;
	BRGR1 = 0x04;&lt;br /&gt;
	BRGCON = 0x03;									// enable BRG, pg. 59&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void Kick_the_Puppy(void)&lt;br /&gt;
{&lt;br /&gt;
EA = 0;&lt;br /&gt;
WDCON = 0x05; 					//start WDT, and select WD oscillator&lt;br /&gt;
WDL = 0xFF;&lt;br /&gt;
WFEED1 = 0x0A5;					//feed sequence&lt;br /&gt;
WFEED2 = 0x05A;&lt;br /&gt;
EA = 1;&lt;br /&gt;
while(1);&lt;br /&gt;
}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/95764?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 10:11:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:215c5567-fc17-4aa7-b8e7-1547bd75bdd6</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;do you know where can I find samples of this function.&lt;/i&gt; Not a function, make a macro of the two writes (see datasheet).&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/71853?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 09:48:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3345caf1-6453-463a-92d8-e54d89df7ea8</guid><dc:creator>J.C. Horta</dc:creator><description>&lt;p&gt;Erik, do you know where can I find samples of this function. On how to use the WDT.&lt;br /&gt;
I am working on the &amp;quot;KICK_THE_PUPPY&amp;quot;.&lt;br /&gt;
Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watch Dog Timer!</title><link>https://community.arm.com/thread/40911?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2003 09:32:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:922b3545-3a58-4739-937e-4eb3c08984be</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;for debugging purposes, I recommend that you make a macro e.g. KICK_THE_PUPPY so that you can enable the watchdog for non-debug and disable it for debug in one place (the first &amp;#39;kick&amp;#39; enables the wd forever).  A simple way to test the WD functioning during development is just to start kicking it and it must then time out.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>