Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Code Error Light.. (http://www.chiefdelphi.com/forums/showthread.php?t=64228)

Brad Voracek 16-02-2008 00:16

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.

jgannon 16-02-2008 00:18

Re: Code Error Light..
 
When this happens, does your OI show a main battery voltage of 8.2 or 8.3?

RyanN 16-02-2008 00:21

Re: Code Error Light..
 
Quote:

Originally Posted by Brad Voracek (Post 699940)
... 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.

iTHOS=awesome 16-02-2008 00:49

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.

Brad Voracek 16-02-2008 03:28

Re: Code Error Light..
 
Quote:

Originally Posted by jgannon (Post 699941)
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 =)

jgannon 16-02-2008 03:31

Re: Code Error Light..
 
Quote:

Originally Posted by Brad Voracek (Post 700014)
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

Brad Voracek 16-02-2008 03:38

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*


All times are GMT -5. The time now is 22:58.

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