EmbeddedRelated.com
Forums

Reg:Watchdog Timer

Started by sundarixx_4 January 30, 2008
Hi all,

I am new for MSP430F2370.i want to know why we are stooping
watchdog timer in every application programming (like as i/o, uart ,
etc).

Please help me to clear my doubt

Thanks and Regards,

S.Soms

Beginning Microcontrollers with the MSP430

Come on. The least you can do is google the term "watchdog timer" and
understand what a watchdog timer is. It will take you to wikipedias
definition of it.

Michael k.

--- In m..., "sundarixx_4" wrote:
>
> Hi all,
>
> I am new for MSP430F2370.i want to know why we are stooping
> watchdog timer in every application programming (like as i/o, uart ,
> etc).
>
> Please help me to clear my doubt
>
> Thanks and Regards,
>
> S.Soms
>
Hi,

That's because the WDT is always turned on following a reset. Remember that the main purpose of a watchdog timer is to reset the CPU in case of an application failure. Notice that not all failures can be detected, but changes are that after a failure, the application code will probably stop servicing the watchdog, leading to a WDT timeout (after a while) and to a CPU reset.

If you are going to use the watchdog to "watch" your application, that's ok, simply put some instructions (preferably just one, but that depends on your application) to clear the WDT count and you are in the game.

Now, if you are not going to use the watchdog, then you MUST disable it (or configure it to the interrupt mode) or it will periodicaly reset the CPU and your application will not work as expected.

Best regards,

Fio Pereira
----- Original Message -----
From: sundarixx_4
To: m...
Sent: Wednesday, January 30, 2008 8:07 AM
Subject: [SPAM] 15.0 [msp430] Reg:Watchdog Timer
Hi all,

I am new for MSP430F2370.i want to know why we are stooping
watchdog timer in every application programming (like as i/o, uart ,
etc).

Please help me to clear my doubt

Thanks and Regards,

S.Soms


------
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.15/1249 - Release Date: 29/1/2008 09:51




I am a newbe too. Actually I knew this one but thanks for taking the
time to give a clear explanation for us to share.
--- In m..., Fio Pereira wrote:
>
> Hi,
>
> That's because the WDT is always turned on following a reset.
Remember that the main purpose of a watchdog timer is to reset the CPU
in case of an application failure. Notice that not all failures can be
detected, but changes are that after a failure, the application code
will probably stop servicing the watchdog, leading to a WDT timeout
(after a while) and to a CPU reset.
>
> If you are going to use the watchdog to "watch" your application,
that's ok, simply put some instructions (preferably just one, but that
depends on your application) to clear the WDT count and you are in the
game.
>
> Now, if you are not going to use the watchdog, then you MUST disable
it (or configure it to the interrupt mode) or it will periodicaly
reset the CPU and your application will not work as expected.
>
> Best regards,
>
> Fio Pereira
>
>
> ----- Original Message -----
> From: sundarixx_4
> To: m...
> Sent: Wednesday, January 30, 2008 8:07 AM
> Subject: [SPAM] 15.0 [msp430] Reg:Watchdog Timer
>
>
> Hi all,
>
> I am new for MSP430F2370.i want to know why we are stooping
> watchdog timer in every application programming (like as i/o, uart ,
> etc).
>
> Please help me to clear my doubt
>
> Thanks and Regards,
>
> S.Soms
>
>
>
>
>
>
>
------
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.15/1249 - Release Date:
29/1/2008 09:51
>
>
>
>



Thank you for your kind reply

________________________________

From: m... on behalf of tintronic
Sent: Wed 1/30/2008 6:29 PM
To: m...
Subject: [msp430] Re: Reg:Watchdog Timer

Come on. The least you can do is google the term "watchdog timer" and
understand what a watchdog timer is. It will take you to wikipedias
definition of it.

Michael k.

--- In m... , "sundarixx_4" wrote:
>
> Hi all,
>
> I am new for MSP430F2370.i want to know why we are stooping
> watchdog timer in every application programming (like as i/o, uart ,
> etc).
>
> Please help me to clear my doubt
>
> Thanks and Regards,
>
> S.Soms
>
Hi,

Thank you for your obvious explanation.Really it is very nice

Thanks and Regards,

S.Soms

________________________________

From: m... on behalf of Fio Pereira
Sent: Wed 1/30/2008 7:09 PM
To: m...
Subject: Re:[msp430] Reg:Watchdog Timer

Hi,

That's because the WDT is always turned on following a reset. Remember that the main purpose of a watchdog timer is to reset the CPU in case of an application failure. Notice that not all failures can be detected, but changes are that after a failure, the application code will probably stop servicing the watchdog, leading to a WDT timeout (after a while) and to a CPU reset.

If you are going to use the watchdog to "watch" your application, that's ok, simply put some instructions (preferably just one, but that depends on your application) to clear the WDT count and you are in the game.

Now, if you are not going to use the watchdog, then you MUST disable it (or configure it to the interrupt mode) or it will periodicaly reset the CPU and your application will not work as expected.

Best regards,

Fio Pereira

----- Original Message -----
From: sundarixx_4
To: m...
Sent: Wednesday, January 30, 2008 8:07 AM
Subject: [SPAM] 15.0 [msp430] Reg:Watchdog Timer

Hi all,

I am new for MSP430F2370.i want to know why we are stooping
watchdog timer in every application programming (like as i/o, uart ,
etc).

Please help me to clear my doubt

Thanks and Regards,

S.Soms

----------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.15/1249 - Release Date: 29/1/2008 09:51