|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
What does orange-green-orange-green mean for the program state LED? When I download my competition code with printf, I get that. When I download without, I get an infinate loop error. HELP?!?!? And the default code works [edit]I'm hitting refresh till i get a response! im frantic! i pnaicing! im not spellchacking! HELP!!!!!!! [/edit]Last edited by Astronouth7303 : 25-02-2004 at 20:47. |
|
#2
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
I'm getting the same problem too, only for me, it runs without the autonomous code, it gives the code error thing when i load the default IR code, and does the flashy thingie when i put my autonomous code into it (even if i dont ever call it). So dont think you're the only one.
-Kesich I'm gonna kill my engineers; lets see if they take 6 weeks to build it next year.... |
|
#3
|
|||
|
|||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
try updating the firmware.. or if you already did try hitting it with a hammer until it works
|
|
#4
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
Already updated firmware. And i don't use hammers on electronics
|
|
#5
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
Say, There is a compile option for large/small space. Would that have to do with this?
|
|
#6
|
||||
|
||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
Never heard of the error before, but you might want to try the hard reset as detailed in Team Update #7. G2G
|
|
#7
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
I've done the hard reset, updated the firmware, everything. This sort of error is just not listed. And i also do not get a RAM dump before you ask.
|
|
#8
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
Quote:
|
|
#9
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
I'm running my own code, and Uer_Autonomous_Code() and Default_Routine() have been totally rewritten. (I call default_routine Map_IO()).
|
|
#10
|
||||
|
||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
Sorry if this is overly obvious, but make absolutely sure that you have both a Getgata(&rxdata) and a Putdata(&txdata) function call in whatever loop you are executing. If the user doesn't handle data properly it shuts itself down.
|
|
#11
|
||||
|
||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
Quote:
Try downloading the default code (sorry if you already tried this). It might be that somehow your code is entering an infinite loop/it takes too long to process something and the master processor shuts it down. We had this happen to us do to a hardware component malfunstioning and our code wasn't built to handle the values it was recieving. --EDIT-- That second error would be indicated by a flashing orange LED, so I don't think that is it. |
|
#12
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
After e-mailing IFI about it, it turns out in Kevin's interupt code, I accidently set timer1 to High Priority
. I would post it here, but I'd rather save it until after regional (maybe just Buck-eye, not West MI). I'll test it tonight and tell you about it.What about the other Problem? If I don't include a #define, printf_lib doesn't get compiled (My design), and I get a green-orange-green-orange I described in the first post. IFI says they can't recreate it. Help? |
|
#13
|
|||
|
|||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
I got the same error and fixed it by following these steps:
1)Press and hold the RESET and PROG buttons at the same time. 2)Release RESET; continue to hold PROG until the "Battery Power" light becomes a solid green 3)Release PROG 4)Hit Reset I don't know if this will help but it fixed the problem for me so i hope that it does for u too. ![]() |
|
#14
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
tried and tried again. still nothing. and i never changed kevin's timer interupt code, but ill check anyways.
|
|
#15
|
|||||
|
|||||
|
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!
I believe the timer initialization needs to be changed to enable them.
Aparently, that bug fixed both problems (Sort of, with printf() I get garbage) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DC Motor running as a Generator | IrisLab | Motors | 16 | 12-01-2004 12:23 |
| A vampire running for office | MissInformation | Chit-Chat | 2 | 30-08-2003 14:36 |
| auton mode running motors incorrectly | BK36 | Programming | 2 | 12-03-2003 02:43 |
| The WebCam is Up and running | archiver | 2001 | 0 | 23-06-2002 23:08 |
| Was anyone else thinking about running off with a segway? | Elyse Holguin | Dean Kamen's Inventions | 5 | 14-05-2002 22:54 |