Reply by groenenberg25 January 20, 20052005-01-20

Thanks! it worked!
Peter

--- In rabbit-semi@rabb..., "Bob Hohentanner"
<bhohentanner@a...> wrote:
> chkWDTO() will give you what you need. If it returns 1 if the ED
timed
> out and 0 if it didn't. There are similar functions for testing
hard or
> soft reset also.
>
> ________________________________
>
> From: groenenberg25 [mailto:peter_groenenberg@h...]
> Sent: Thursday, January 20, 2005 8:35 AM
> To: rabbit-semi@rabb...
> Subject: [rabbit-semi] Re: How to detect a HW watchdog timeout > Yes, thats what I mean.
>
> --- In rabbit-semi@rabb..., "Bob Hohentanner"
> <bhohentanner@a...> wrote:
> > Do you mean check if the Rabbit is restarting as a result of a WD
> > timeout?
> >
> >
> > ________________________________
> >
> > From: groenenberg25 [mailto:peter_groenenberg@h...]
> > Sent: Thursday, January 20, 2005 8:18 AM
> > To: rabbit-semi@rabb...
> > Subject: [rabbit-semi] How to detect a HW watchdog timeout
> >
> >
> > Hi,
> >
> > I think this is a basic question, but i can fugure out how it
works.
> >
> > I want to use the WH watchdog timer in my program. Does anyone
know
> > how I can detect if it timed out?
> >
> > When I check the GCSR register (of my RCM 3700), nothing changes.
> >
> > I want my dynamic C program to do the following as it starts:
> >
> >
> > Yes -> Do something
> > /
> > Check if WD timer timed out->
> > \
> > No -> Do someting else
> >
> >
> >
> > thanks,
> > Peter
> >
> >
> >
> >
> >
> >
> > ________________________________
> >
> > > . > ________________________________
>
> > .



Reply by Bob Hohentanner January 20, 20052005-01-20

chkWDTO() will give you what you need. If it returns 1 if the ED timed out and 0 if it didn’t. There are similar functions for testing hard or soft reset also.

 

From: groenenberg25 [mailto:p...@hotmail.com]
Sent: Thursday, January 20, 2005 8:35 AM
To: r...@yahoogroups.com
Subject: [rabbit-semi] Re: How to detect a HW watchdog timeout

 


Yes, thats what I mean.

--- In r...@yahoogroups.com, "Bob Hohentanner"
<bhohentanner@a...> wrote:
> Do you mean check if the Rabbit is restarting as a result of a WD
> timeout?


> ________________________________
>
> From: groenenberg25 [mailto:peter_groenenberg@h...]
> Sent: Thursday, January 20, 2005 8:18 AM
> To: r...@yahoogroups.com
> Subject: [rabbit-semi] How to detect a HW watchdog timeout

>
> Hi,
>
> I think this is a basic question, but i can fugure out how it works.
>
> I want to use the WH watchdog timer in my program. Does anyone know
> how I can detect if it timed out?
>
> When I check the GCSR register (of my RCM 3700), nothing changes.
>
> I want my dynamic C program to do the following as it starts:
>
>                                 
>                                Yes -> Do something
>                               /
> Check if WD timer timed out->
>                               \
>                                No  -> Do someting else
>
>
>
> thanks,
> Peter
>
>
>
>
>
>
> ________________________________
>
> > .



Reply by groenenberg25 January 20, 20052005-01-20

Yes, thats what I mean.

--- In rabbit-semi@rabb..., "Bob Hohentanner"
<bhohentanner@a...> wrote:
> Do you mean check if the Rabbit is restarting as a result of a WD
> timeout? > ________________________________
>
> From: groenenberg25 [mailto:peter_groenenberg@h...]
> Sent: Thursday, January 20, 2005 8:18 AM
> To: rabbit-semi@rabb...
> Subject: [rabbit-semi] How to detect a HW watchdog timeout > Hi,
>
> I think this is a basic question, but i can fugure out how it works.
>
> I want to use the WH watchdog timer in my program. Does anyone know
> how I can detect if it timed out?
>
> When I check the GCSR register (of my RCM 3700), nothing changes.
>
> I want my dynamic C program to do the following as it starts: > Yes -> Do something
> /
> Check if WD timer timed out->
> \
> No -> Do someting else >
> thanks,
> Peter >
> ________________________________
>
> > .



Reply by Bob Hohentanner January 20, 20052005-01-20

Do you mean check if the Rabbit is restarting as a result of a WD timeout?

 

 

From: groenenberg25 [mailto:p...@hotmail.com]
Sent: Thursday, January 20, 2005 8:18 AM
To: r...@yahoogroups.com
Subject: [rabbit-semi] How to detect a HW watchdog timeout

 


Hi,

I think this is a basic question, but i can fugure out how it works.

I want to use the WH watchdog timer in my program. Does anyone know
how I can detect if it timed out?

When I check the GCSR register (of my RCM 3700), nothing changes.

I want my dynamic C program to do the following as it starts:

                                
                               Yes -> Do something
                              /
Check if WD timer timed out->
                              \
                               No  -> Do someting else
thanks,
Peter




Reply by groenenberg25 January 20, 20052005-01-20

Hi,

I think this is a basic question, but i can fugure out how it works.

I want to use the WH watchdog timer in my program. Does anyone know
how I can detect if it timed out?

When I check the GCSR register (of my RCM 3700), nothing changes.

I want my dynamic C program to do the following as it starts: Yes -> Do something
/
Check if WD timer timed out->
\
No -> Do someting else
thanks,
Peter