Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | Costate and Watchdog

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

Costate and Watchdog - bluetech_th - Jun 5 1:06:32 2008

Dear all,

I have some question. If I have several costates , and I would like to
place the watchdog in my code .
How can I protect from bug or endless loop in very costates ?
Where is the best place to hit the watchdog ?
Now I hit watchdog outside costate , is it OK ?

Please advise me . Thank you.

Sakorn

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



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: Costate and Watchdog - mehiegl - Jun 5 4:12:06 2008

One way is to use the Virtual Watchdog functions. You can have up to
10 virtual watchdogs if I remember correctly. See VdGetFreeWd() in
the DC function look-up.

Mark
--- In r...@yahoogroups.com, "bluetech_th"
wrote:
>
> Dear all,
>
> I have some question. If I have several costates , and I would
like to
> place the watchdog in my code .
> How can I protect from bug or endless loop in very costates ?
> Where is the best place to hit the watchdog ?
> Now I hit watchdog outside costate , is it OK ?
>
> Please advise me . Thank you.
>
> Sakorn
>

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



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Re: Costate and Watchdog - Sakorn Theerachaisakul - Jun 6 10:25:43 2008

Thank you very much
 
Sakorn
--- On Thu, 6/5/08, mehiegl <m...@netscape.net> wrote:

From: mehiegl <m...@netscape.net>
Subject: [rabbit-semi] Re: Costate and Watchdog
To: r...@yahoogroups.com
Date: Thursday, June 5, 2008, 1:11 AM

One way is to use the Virtual Watchdog functions. You can have up to
10 virtual watchdogs if I remember correctly. See VdGetFreeWd( ) in
the DC function look-up.

Mark
--- In rabbit-semi@ yahoogroups. com, "bluetech_th" <bluetech_th@ ...>
wrote:
>
> Dear all,
>
> I have some question. If I have several costates , and I would
like to
> place the watchdog in my code .
> How can I protect from bug or endless loop in very costates ?
> Where is the best place to hit the watchdog ?
> Now I hit watchdog outside costate , is it OK ?
>
> Please advise me . Thank you.
>
> Sakorn
>



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )