My New Watchdog Driver for XP

Post Reply
Zibeo
Posts: 29
Joined: Wed Nov 25, 2009 11:26 am

My New Watchdog Driver for XP

Post by Zibeo »

I've developed an XP driver for the watchdog timer. Unfortunately it's a little buggy and I can't kernel debug as there's no serial port on the Fit PC 2.

I wrote a batch file that keeps resetting the timer for 60 seconds every 40 seconds. It works for about 10-15 minutes then for some unknown reason the computer reboots.

I've also tried enabling the timer 1 time but the results vary. Sometimes it reboots, sometimes it appears to shut down (no LEDs) but then reboots after a minute, sometimes it shuts down completely, and sometimes nothing happens.

I'm at a loss for why this would occur, but I have zero experience with C and writing drivers. Perhaps someone can help fix this driver up so we can all use the watchdog on XP.
Attachments
watchdog.zip
(182.77 KiB) Downloaded 497 times

Zibeo
Posts: 29
Joined: Wed Nov 25, 2009 11:26 am

Re: My New Watchdog Driver for XP

Post by Zibeo »

Update: If I run the commands to load the driver and reset the batch file 4 times in a row (immediately), it works as desired. This leads me to believe that sometimes the reset command isn't being accepted by the watchdog when it's reset only once at a time.

Maybe someone with driver development experience knows why this might happen?

Post Reply

Return to “Windows XP”