Thread: Encoder Death
View Single Post
  #6   Spotlight this post!  
Unread 13-02-2007, 20:26
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Encoder Death

Quote:
Originally Posted by rfolea View Post
Hi Guys,

We have literally taken the 2007 default code, added Kevin's encoder code per the instructions.

That's it - nothing else has been added and we still see the fault.

Wheels are still the entire time (they have the Banebots encoders on them) we don't touch anything on the OI.

Everything works fine before the fault.

Everything works fine if we reset the fault by pressing the pushbutton.

I have another processor - I think I'll try the software on that.
I'll also try removing all wires and see if the problem persists.

It's as if a watchdog timeout is wrong, and it has more time to timeout after powerup than other times so it fails.

Weird ...
What happens if you just upload the pre-built .hex file included in frc_encoder.zip?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org