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.
Does anyone have a good procedure to disable the watchdog timer in the
Virtual Driver?
We are finding the virtual watchdog to be very unreliable and want to
use the hardware watchdog directly.
------------------------------------

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
The easiest way is to disable the periodic isr altogether, assuming you
don't need any of the timing functions it supplies.
The hardware watchdog would need to be disabled as well. It's a two
byte sequence you need to write to one of the WDT registers. If you
look in the DC Help menu under I/O Registers, it described the values
you need to send. This does leave you without any watchdog at all
though, unless you supply an external watchdog.
Otherwise, you would need to modify the VDRIVER.LIB file to omit hits
on the watchdog (and secondary watchdog if it's a 3000 core), which
will re-enable the every time the virtual driver hits the watchdog.
Mark
--- In r...@yahoogroups.com, "azguy987"
wrote:
>
> Does anyone have a good procedure to disable the watchdog timer in the
> Virtual Driver?
> We are finding the virtual watchdog to be very unreliable and want to
> use the hardware watchdog directly.
>
------------------------------------

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