Thread: Watchdog!?!?!?!
View Single Post
  #19   Spotlight this post!  
Unread 02-03-2009, 02:21
Arthur S's Avatar
Arthur S Arthur S is offline
Registered User
FRC #0004 (Element)
Team Role: Programmer
 
Join Date: Apr 2008
Rookie Year: 2007
Location: Northirdge California
Posts: 31
Arthur S is on a distinguished road
Send a message via AIM to Arthur S
Re: Watchdog!?!?!?!

This happened to us(team 4) about 3 years ago. Our lead programmer was using interrupts while trying to program the gear tooth sensor we had on our robot. This did not work out to well because the code had to finish within 23.6 milliseconds(if i remember correctly), but due to the interrupts it made the code exceed that time limit. This is what tripped the watchdog and caused a code error. You might wanna check any of your code that uses interrupts and make sure that no interrupts are interrupting interrupts(boy does that sound confusing). Hope i helped in any way.
__________________
all models are wrong, but some are useful.
-George E. P. Box

Last edited by Arthur S : 02-03-2009 at 03:12.
Reply With Quote