Go to Post your bot brings all the boys to the yard. - looneylin [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-02-2004, 19:59
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Exclamation HELP!!! RC NOT RUNNING!!!

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   Spotlight this post!  
Unread 25-02-2004, 21:14
Anthony Kesich's Avatar
Anthony Kesich Anthony Kesich is offline
Programmer Turned Engineer
AKA: SonKenshin
#1097 (Site 3 Engineernig)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sacramento, CA
Posts: 186
Anthony Kesich has a spectacular aura aboutAnthony Kesich has a spectacular aura about
Send a message via AIM to Anthony Kesich
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....
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;

Horray for most things! -George Carlin

"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year
  #3   Spotlight this post!  
Unread 25-02-2004, 22:48
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,183
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

try updating the firmware.. or if you already did try hitting it with a hammer until it works
  #4   Spotlight this post!  
Unread 26-02-2004, 07:25
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Already updated firmware. And i don't use hammers on electronics
  #5   Spotlight this post!  
Unread 26-02-2004, 07:28
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Say, There is a compile option for large/small space. Would that have to do with this?
  #6   Spotlight this post!  
Unread 26-02-2004, 09:13
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
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   Spotlight this post!  
Unread 01-03-2004, 00:51
Anthony Kesich's Avatar
Anthony Kesich Anthony Kesich is offline
Programmer Turned Engineer
AKA: SonKenshin
#1097 (Site 3 Engineernig)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sacramento, CA
Posts: 186
Anthony Kesich has a spectacular aura aboutAnthony Kesich has a spectacular aura about
Send a message via AIM to Anthony Kesich
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.
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;

Horray for most things! -George Carlin

"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year
  #8   Spotlight this post!  
Unread 01-03-2004, 11:09
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Quote:
Originally Posted by Astronouth7303
Say, There is a compile option for large/small space. Would that have to do with this?
If your code (not data, meaning variables) is over 32k (I think. It might be 64k) in compiled size, you have to use the large memory model. Check the size of the .HEX file. If it is greater than 32k or 64k and you don't have any large arrays or stuff like that, try the large model.

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.
__________________

  #9   Spotlight this post!  
Unread 01-03-2004, 13:47
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
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?
  #10   Spotlight this post!  
Unread 01-03-2004, 14:51
HuskieRobotics HuskieRobotics is offline
Registered User
#1352
 
Join Date: Feb 2004
Location: Stratford NorthWestern
Posts: 34
HuskieRobotics has a little shameless behaviour in the past
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.
  #11   Spotlight this post!  
Unread 01-03-2004, 19:43
Anthony Kesich's Avatar
Anthony Kesich Anthony Kesich is offline
Programmer Turned Engineer
AKA: SonKenshin
#1097 (Site 3 Engineernig)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sacramento, CA
Posts: 186
Anthony Kesich has a spectacular aura aboutAnthony Kesich has a spectacular aura about
Send a message via AIM to Anthony Kesich
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

tried and tried again. still nothing. and i never changed kevin's timer interupt code, but ill check anyways.
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;

Horray for most things! -George Carlin

"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year
  #12   Spotlight this post!  
Unread 02-03-2004, 07:29
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
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)
  #13   Spotlight this post!  
Unread 02-03-2004, 10:28
InnovationFirst's Avatar
InnovationFirst InnovationFirst is offline
Official FIRST Supplier
no team
 
Join Date: Nov 2002
Location: Greenville, Tx
Posts: 28
InnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond reputeInnovationFirst has a reputation beyond repute
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Since nobody else has mentioned it on this thread, we would like to remind you that whenever you get a flashing red Program State LED indicating a code error, you can find out more information by using the Dashboard Viewer.

Make sure your OI and RC are linked via tether or radio, connect your PC's serial port to the DASHBOARD port on your OI, make sure the OI/RC jumper is set to "RC", and you will see details about the type of error which caused the flashing red LED at the bottom of the Dashboard Viewer window.

This is how we diagnosed Astronouth's problem, and it may also help you, Kesich.

Regards,
The Firmware Team
Innovation First, Inc.
  #14   Spotlight this post!  
Unread 06-03-2004, 23:20
Daniel Daniel is offline
Daniel Katanski
#0240
Team Role: Mentor
 
Join Date: Feb 2004
Location: Monroe, MI
Posts: 32
Daniel is on a distinguished road
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Someone mentioned printf working strangely...

I put printf statements through out my program to trace and debug it.

But the program's output has been appearing erratically all of a sudden! That is sometime it just doesn't perform the printf or skips a function call. Has anyone heard of this before? Any solutions?

So much great code, and so little time to debug it!
  #15   Spotlight this post!  
Unread 02-03-2004, 14:00
bigqueue bigqueue is offline
Registered User
#0811 (A.R.C.)
 
Join Date: Dec 2001
Location: Nashua, NH
Posts: 231
bigqueue will become famous soon enough
Send a message via AIM to bigqueue Send a message via Yahoo to bigqueue
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Quote:
Originally Posted by ToMMan b182
try updating the firmware.. or if you already did try hitting it with a hammer until it works

We tried covering ours with Loctite, and it made all our code problems go away. (Actually, it made all the plastic sides of the robot controller go away, and the code would no longer run.....)

VIOLA...no more nasty code bugs!

-Quentin
__________________
Live free or die....
Closed Thread


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
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


All times are GMT -5. The time now is 08:17.

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