Go to Post The 4-wheel drive systems bounce around like Mexican jumping beans. It is quite fun to watch. - Warren Boudreau [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 02-02-2004, 13:06
doy's Avatar
doy doy is offline
#1208 Ex-Lead Programmer
AKA: Jesse Luehrs
#1208 (The Super Critical Axe Men)
Team Role: Alumni
 
Join Date: Jan 2004
Location: O'Fallon, IL
Posts: 27
doy is on a distinguished road
Send a message via AIM to doy
Unhappy programs being erased

okay, so we compile the program and load it onto the controller, and it runs the program fine. if we power down the controller and power it back up, though, the robot controller program light flashes alternately red and green, and the program wont run unless i reload the .hex file onto the controller. is this normal, or are we doing something wrong, or is it a problem with the controller?
  #2   Spotlight this post!  
Unread 02-02-2004, 13:21
Mike M. Mike M. is offline
insert custom title here
no team
 
Join Date: Sep 2003
Rookie Year: 2003
Location: Clinton, MA
Posts: 243
Mike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant futureMike M. has a brilliant future
Re: programs being erased

do you have the backup 7.2volt battery connected to your controller when you power it down?
__________________
Gael Force 126 2003-2004 Mechanical, Pit Crew, Grady's #2
T-Hawks 1100 2005-2007 Mechanical, Driver, Coach
Rhodewarriors 121 2007 IRI Operator
PiraTech 2023 2008 Mechanical, Coach
Gael Force 126 2009-2010 Mechanical, Photographer
Current [RIDE] Volunteer Coordinator
  #3   Spotlight this post!  
Unread 02-02-2004, 14:04
doy's Avatar
doy doy is offline
#1208 Ex-Lead Programmer
AKA: Jesse Luehrs
#1208 (The Super Critical Axe Men)
Team Role: Alumni
 
Join Date: Jan 2004
Location: O'Fallon, IL
Posts: 27
doy is on a distinguished road
Send a message via AIM to doy
Re: programs being erased

nope... does that have to be plugged in for it to even keep the code in memory? i thought it was just to keep the program from resetting if it lost power
  #4   Spotlight this post!  
Unread 02-02-2004, 14:26
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: programs being erased

Quote:
Originally Posted by doy
nope... does that have to be plugged in for it to even keep the code in memory? i thought it was just to keep the program from resetting if it lost power
It doesn't. I just power down, And so far it's worked ok. Is there anything advanced or weird in your code? are your versions updated? Are you mixing up EDU and FRC code?
  #5   Spotlight this post!  
Unread 02-02-2004, 15:26
IMDWalrus's Avatar
IMDWalrus IMDWalrus is offline
This is a line...
AKA: Paul
FRC #0818 (Genesis '02)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2003
Location: Michigan
Posts: 617
IMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to behold
Send a message via AIM to IMDWalrus
Re: programs being erased

Quote:
Originally Posted by Astronouth7303
Is there anything advanced or weird in your code? are your versions updated? Are you mixing up EDU and FRC code?
Or worse yet...are you mixing PBASIC from last year's code with C? We've done that a few times already (it's not my fault...honest), and the results aren't pretty.

Have you tried just running the default code in your robot?
  #6   Spotlight this post!  
Unread 02-02-2004, 15:51
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: programs being erased

Quote:
Originally Posted by doy
okay, so we compile the program and load it onto the controller, and it runs the program fine. if we power down the controller and power it back up, though, the robot controller program light flashes alternately red and green, and the program wont run unless i reload the .hex file onto the controller. is this normal, or are we doing something wrong, or is it a problem with the controller?
The fact that the program LED is flashing green then red probably means that your code starts running, but fails to communicate with the master processor soon enough, so the master processor resets it. Since it works after downloading, you might start by looking carefully at your initialization code. Also, the suggestion of trying the default code again would be a good idea to confirm that the RC is OK (which I imagine it is). Assuming the default code works, then the fault almost certainly lies with a bug in your software.
  #7   Spotlight this post!  
Unread 02-02-2004, 22:39
Hop_of_752 Hop_of_752 is offline
Registered User
#0752 (Knights of Fury)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Newark
Posts: 11
Hop_of_752 is an unknown quantity at this point
Send a message via AIM to Hop_of_752
Re: programs being erased

Hey, I have a similiar problem the controller blinks red when I upload the program. It saids that the red blinking means a code error, but its the default beacon code. When the tether is hook in the controller goes to red, when the tether is out, its runs fine. Anyone have any clues
  #8   Spotlight this post!  
Unread 04-02-2004, 08:58
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: programs being erased

I'll make the obvious points:
1. Make sure all the cables are hooked up correctly
2. Make sure everything is turned on. Power the Operator Interface up before the robot controller.
3. Make sure the cables work. Try different ones.

I can't think of anything else. Hope you get it working.
__________________

  #9   Spotlight this post!  
Unread 05-02-2004, 20:43
j_pannell's Avatar
j_pannell j_pannell is offline
Team Electrician, Machini
#0115 (Monta Vista Robotics Team (MVRT))
Team Role: Student
 
Join Date: Jan 2004
Location: Cupertino
Posts: 4
j_pannell is an unknown quantity at this point
Re: programs being erased

Quote:
Hey, I have a similiar problem the controller blinks red when I upload the program. It saids that the red blinking means a code error, but its the default beacon code. When the tether is hook in the controller goes to red, when the tether is out, its runs fine. Anyone have any clues
We had the same prolbem, though I frogot how we fixed it. Make sure that you are using the right program for the controler (FRC for FRC, FRCEdu for FRCEdu...).
  #10   Spotlight this post!  
Unread 06-02-2004, 15:13
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: programs being erased

Quote:
Originally Posted by Hop_of_752
Hey, I have a similiar problem the controller blinks red when I upload the program. It saids that the red blinking means a code error, but its the default beacon code. When the tether is hook in the controller goes to red, when the tether is out, its runs fine. Anyone have any clues
I think that I read somewhere that this year's tether's different (Duh!). Check ports, like he said!
  #11   Spotlight this post!  
Unread 09-02-2004, 14:50
doy's Avatar
doy doy is offline
#1208 Ex-Lead Programmer
AKA: Jesse Luehrs
#1208 (The Super Critical Axe Men)
Team Role: Alumni
 
Join Date: Jan 2004
Location: O'Fallon, IL
Posts: 27
doy is on a distinguished road
Send a message via AIM to doy
Re: programs being erased

well... we are using a modified combination of the edu code and the frc code so that we can run the beacon and the receiver on the same controller since our team didnt get an edu controller. the only edu code left in there is the beacon.c and beacon.h (modified to run on the frc of course) though, all the rest is frc code... is there something that we missed when we combined them?
  #12   Spotlight this post!  
Unread 09-02-2004, 14:54
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: programs being erased

Quote:
Originally Posted by doy
well... we are using a modified combination of the edu code and the frc code so that we can run the beacon and the receiver on the same controller since our team didnt get an edu controller. the only edu code left in there is the beacon.c and beacon.h (modified to run on the frc of course) though, all the rest is frc code... is there something that we missed when we combined them?
I posted code that does the same thing here http://www.chiefdelphi.com/forums/showthread.php?t=24727 if you want to try it to see if it behaves the same way in your controller as your version does.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
my first programs website design Raven_Writer Chit-Chat 5 06-12-2003 17:56
Video Editing Programs...share what you use and why... Alexander McGee 3D Animation and Competition 25 09-01-2003 22:27
Dashboard programs and the char variable Ian W. Programming 13 26-06-2002 02:07
new scoring programs in white papers archiver 2001 4 23-06-2002 23:21
Dashboard programs archiver 2000 6 23-06-2002 23:10


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

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