Go to Post Mentors build mentors. - Siri [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2008, 00:16
Brad Voracek Brad Voracek is offline
.999~=1
FRC #0399 (Eagle Robotics)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Lancaster, CA (SoCal)
Posts: 328
Brad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of light
Send a message via AIM to Brad Voracek
Code Error Light..

... Hi guys. Lately after running the robot for around 20 seconds, the robot switches to program state and the red "Code Error" light comes up.


At first we thought it was the radio, or extranneous code, but I don't think that's it, and I'm at a loss to what it could be. Our backup battery light is red, and no matter how many batteries we charge and plug in it's still red... Hmph. I don't understand, and any help would be appreciated.
__________________
.999~ (Repeating) is equal to one (1).


Team 399 - Eagle Robotics
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2008, 00:18
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Code Error Light..

When this happens, does your OI show a main battery voltage of 8.2 or 8.3?
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2008, 03:28
Brad Voracek Brad Voracek is offline
.999~=1
FRC #0399 (Eagle Robotics)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Lancaster, CA (SoCal)
Posts: 328
Brad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of light
Send a message via AIM to Brad Voracek
Re: Code Error Light..

Quote:
Originally Posted by jgannon View Post
When this happens, does your OI show a main battery voltage of 8.2 or 8.3?
Yes. It does actually, now that I think of it, so we always end up changing the main battery but we know that can't be it... Hm.



As for the other suggestions, I'll try them in the morning, thanks =)
__________________
.999~ (Repeating) is equal to one (1).


Team 399 - Eagle Robotics
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2008, 03:31
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Code Error Light..

Quote:
Originally Posted by Brad Voracek View Post
Yes. It does actually, now that I think of it, so we always end up changing the main battery but we know that can't be it... Hm.
Sounds like the famous 8.2V bug.

http://www.chiefdelphi.com/forums/sh...ad.php?t=44954
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2008, 03:38
Brad Voracek Brad Voracek is offline
.999~=1
FRC #0399 (Eagle Robotics)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Lancaster, CA (SoCal)
Posts: 328
Brad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of lightBrad Voracek is a glorious beacon of light
Send a message via AIM to Brad Voracek
Re: Code Error Light..

=/ oye.
thanks, I had read about that before but had forgotten about it until now... Time to do some debugging! ;P

*sigh*
__________________
.999~ (Repeating) is equal to one (1).


Team 399 - Eagle Robotics
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2008, 00:21
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Code Error Light..

Quote:
Originally Posted by Brad Voracek View Post
... Hi guys. Lately after running the robot for around 20 seconds, the robot switches to program state and the red "Code Error" light comes up.


At first we thought it was the radio, or extranneous code, but I don't think that's it, and I'm at a loss to what it could be. Our backup battery light is red, and no matter how many batteries we charge and plug in it's still red... Hmph. I don't understand, and any help would be appreciated.
Hmm... that is odd. Try reloading the master code, and then reloading your user code. But I don't think that fix will do much. I believe you may have a bad RC. Try your old radio. Make sure you have your backup battery installed properly (Polarity correct to RC, make sure the wire didn't pull out, so check continuity from the pins to the female connectors). Try a master reset on the RC (Press Reset, and while holding reset, push program, release reset, but keep holding program, and wait until the green light stops flashing) Reload the master and user code.

Hopefully that helps.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2008, 00:49
iTHOS=awesome iTHOS=awesome is offline
Registered User
FRC #1258
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Seattle
Posts: 16
iTHOS=awesome is an unknown quantity at this point
Send a message via MSN to iTHOS=awesome
Re: Code Error Light..

We have been getting this a lot recently as well. What I found to be a problem was a few lines that revolved around a timer using interrupts. If you have anything like that delete it and try again. Also if there is anything that the robot controller will not be able to do (i.e. divide by zero, use any kind of registry code such as windows clock, etc). If none of that is the problem then I am not sure and wish you the best of luck.
__________________
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in code light on, trouble finding error Bryan Herbst Programming 16 12-10-2007 21:59
Coder Error Light paulcd2000 Programming 7 10-02-2007 15:52
GTS Code Error (the red light of doom!) Denz Programming 9 07-04-2006 17:39
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07
C++ Code Error? Adam Shapiro Programming 9 20-01-2003 13:24


All times are GMT -5. The time now is 11:57.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi