Go to Post FIRST is about family, making new friendships, belonging somewhere, doing something you love, and finding out what your real love is in life, so when you're old and wrinkly you can look back at high school and say "This is when I found myself." - Winged Wonder [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,186
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, 06:52
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: AAAUUUGGGHHH!!! RC NOT RUNNING!!!

Quote:
Originally Posted by Anthony Kesich
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.
first released an error in the default code where the variables were not initlized at the begening of autonomus mode. check to see if you have the latest version of the default code.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #9   Spotlight this post!  
Unread 01-03-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!!!

I'm running my own code, and Uer_Autonomous_Code() and Default_Routine() have been totally rewritten. (I call default_routine Map_IO()).
  #10   Spotlight this post!  
Unread 01-03-2004, 10:36
10intheCrunch's Avatar
10intheCrunch 10intheCrunch is offline
Who's John V-Neun?
AKA: Alex Baxter
None #0254 (Cheesy Poofs)
Team Role: College Student
 
Join Date: Feb 2004
Rookie Year: 2004
Location: San Jose, CA
Posts: 129
10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough10intheCrunch is a jewel in the rough
Send a message via AIM to 10intheCrunch
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.
__________________
~Alex Baxter
Programming, Arms operation, Team 254
  #11   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.
__________________

  #12   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?
  #13   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.
  #14   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
  #15   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)
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 09:40.

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