Go to Post Honesty and Integrity is the key to success. If I don't teach my team to be honest, I am a failure! - team4384 [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 19-01-2008, 16:08
NinJA999's Avatar
NinJA999 NinJA999 is offline
Chipmunk NinJA
AKA: Nick Aldwin
FRC #0811 (Team 811)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Windham, NH
Posts: 45
NinJA999 will become famous soon enough
Send a message via AIM to NinJA999
Help--Program Light Stuck

We were working on downloading code, and it got stuck in Program mode. We reset the robot, and the program light is still orange. Whatever we do (shut it off, reset it, reset from the oi, etc.), it will not go out of this mode. And it will not accept any programs. Help!
__________________
Team 811 (Nashua, NH) - Mentor

Previously Team Lead & Programming Lead
  #2   Spotlight this post!  
Unread 19-01-2008, 16:15
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Help--Program Light Stuck

With main power applied, press and hold the Reset and Prog buttons at the same time. Release only the Reset, while continuing to hold the Prog until the Battery Power LED becomes solid green. Now release the Prog button. Now press and release the Reset button.

If that doesn't work, check the IFI site for more info.

Don
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 19-01-2008, 16:17
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Help--Program Light Stuck

Quote:
Originally Posted by NinJA999 View Post
We were working on downloading code, and it got stuck in Program mode. We reset the robot, and the program light is still orange. Whatever we do (shut it off, reset it, reset from the oi, etc.), it will not go out of this mode. And it will not accept any programs. Help!
This may, or may not, be your fault, but there is a fault
where the program light is stuck but it isn't really in program
mode. Hold down the program button for four seconds,
no lights will change, and then give it a try. We have had
this happen to us in the past and this was the cure.

Eugene
  #4   Spotlight this post!  
Unread 19-01-2008, 17:16
NinJA999's Avatar
NinJA999 NinJA999 is offline
Chipmunk NinJA
AKA: Nick Aldwin
FRC #0811 (Team 811)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Windham, NH
Posts: 45
NinJA999 will become famous soon enough
Send a message via AIM to NinJA999
Re: Help--Program Light Stuck

Unfortunately, neither of those seemed to work. Checking IFI's site just led to the same things. We're thinking about doing a warranty repair/replacement.
__________________
Team 811 (Nashua, NH) - Mentor

Previously Team Lead & Programming Lead
  #5   Spotlight this post!  
Unread 19-01-2008, 17:49
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Help--Program Light Stuck

Quote:
Originally Posted by NinJA999 View Post
We were working on downloading code, and it got stuck in Program mode. We reset the robot, and the program light is still orange. Whatever we do (shut it off, reset it, reset from the oi, etc.), it will not go out of this mode. And it will not accept any programs. Help!
What base code are you using? What battery voltage does your OI indicate? Remove all power and let it sit for a minute or two and then try it again. In the extreme, you may need to reload the master code, which is available on IFI's website.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #6   Spotlight this post!  
Unread 19-01-2008, 17:55
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Help--Program Light Stuck

I've had that happen several times. usually the methods above worked. The one time those didn't work I let it sit for a couple of hours, then those methods worked.

EDIT: Once when IFI Loader let me download Vex code to the RC(I didn't think it would let me do that) the only thing I was able to make work was to download the master code. Then I was able to program it.
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 19-01-2008 at 17:58.
  #7   Spotlight this post!  
Unread 19-01-2008, 19:23
NinJA999's Avatar
NinJA999 NinJA999 is offline
Chipmunk NinJA
AKA: Nick Aldwin
FRC #0811 (Team 811)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Windham, NH
Posts: 45
NinJA999 will become famous soon enough
Send a message via AIM to NinJA999
Re: Help--Program Light Stuck

Quote:
Originally Posted by Kevin Watson View Post
What base code are you using?
We're using our code from last year (based on yours). I was uploading the code from yesterday (that had worked before).
Quote:
Originally Posted by Kevin Watson View Post
What battery voltage does your OI indicate?
We had just replaced the battery. We replaced the battery again and it still didn't work.
Quote:
Originally Posted by Kevin Watson View Post
Remove all power and let it sit for a minute or two and then try it again.
We removed the power for about 30 minutes and it still didn't work.
Quote:
Originally Posted by Kevin Watson View Post
In the extreme, you may need to reload the master code, which is available on IFI's website.
Thanks, I am downloading now and will test it tomorrow.
__________________
Team 811 (Nashua, NH) - Mentor

Previously Team Lead & Programming Lead
  #8   Spotlight this post!  
Unread 07-02-2008, 14:13
de_ de_ is offline
Registered User
AKA: Dave Edwards
FRC #1310 (Runnymede Robotics)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Toronto, Ontario
Posts: 256
de_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the roughde_ is a jewel in the rough
Re: Help--Program Light Stuck - here's our experience

Background: Was doing encoder development testing from a laptop USB / serial connection to robot. First time ever (5 yeards) program light stuck on. Code Error light on as well. Didn't realize OI Code Error light always goes during program cycle so first thought of some master code or hardware fault. Been using this USB/Serial cable for years totally glitch free (though some are definitely not glitch free or don't work at all). The laptop connection worked 100% next day on 2004 RC.

After two days of getting nowhere including leaving RC completely disconnected and multiple hard boots on laptop and another person trying the above reset techniques...
Took RC home, connected to home PC with true serial port. Program light still on.
- Tried IFI Loader Controller Verification, verification passed. I am guessing that means that the loader was able to talk to the master code.
- Tried Terminal Window. Every time reset or program button hit, the "IFI>" prompt appeared. Tried download and it worked and program light is now off and RC is working. Cause: don't know, Solution: don't know (wonderful).

Recommendation: If you are totally stuck (sorry for the pun), connect RC to a true serial port and try IFI loader verification and then look for the IFI> prompt. Try to repeat this with any 2004+ previous RC to verify the cable is working. If it won't work on 2008 but does on previous years, call IFI!

Another glitch on our 2008 RC: We were also seeing this other glitch running Kevin Watsons 2007 merged encoder & gyro code: 90% of the time when we did a hard boot (ie main breaker turned on), code error light would be on. Every time we did a soft boot (reset button), the code error light would go out and the RC code would execute properly. Our 2004 RC is not exhibiting any of this using the same code (at least so far).
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
blinking program light tseres Control System 3 08-04-2007 17:45
!HELP! IM STUCK IN A SUBROUTINE!!! !HELP! cdennisxlx2 Programming 21 03-11-2006 17:15
RC stuck in "Program State" AndyB Technical Discussion 8 06-10-2006 14:17
help! Am really stuck!!!! pagemauck Programming 8 29-01-2004 12:38


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

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