Go to Post Honestly, I can't understand why anyone wouldn't want to be a mentor. The fools don't know what they are missing. - Steven Smith [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 29-01-2006, 00:53
nukem nukem is offline
Registered User
#1676
 
Join Date: Jan 2005
Location: Hillsdale, NJ
Posts: 43
nukem is on a distinguished road
Robot Controller Brickified?

Today after the integration and testing team were done testing different values we got from the camera I tried to load some new code on implemented new features I programmed today. I hit the program button and went to download the new code with ifi-pictools(the Linux hex code loader). The problem is that after it got to 44/1300(the size of the program) it just froze, nothing happened. We tried it on another Linux computer and it had the same thing. Just the other day everything was working fine. Why is it that I can no longer load any code(default or own) onto the controller? Is it possible for us to fix it or do we have to send it back to ifi-robotics for repairs?

Thanks
  #2   Spotlight this post!  
Unread 29-01-2006, 02:02
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: Robot Controller Brickified?

IIRC, the size of the buffer in the C version is currently hardcoded at some size. I don't remember what, though. (I contributed the non-functional Python port. )

Basically, increase the 4096 constant in main.c and recompile until it's fixed (and then tell us so we can get a new version).

Any of the C developers have a better answer?
  #3   Spotlight this post!  
Unread 29-01-2006, 02:15
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Robot Controller Brickified?

Quote:
Originally Posted by nukem
Why is it that I can no longer load any code(default or own) onto the controller? Is it possible for us to fix it or do we have to send it back to ifi-robotics for repairs?
You need to perform a master reset. Hold both the RESET and PROG buttons on the RC for about five seconds. Release the RESET button, wait another five seconds, and then release the PROG button. The Battery light should go green, the Program light should go orange, and the rest should stay unlit.

Hope this helps!
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #4   Spotlight this post!  
Unread 29-01-2006, 13:18
nukem nukem is offline
Registered User
#1676
 
Join Date: Jan 2005
Location: Hillsdale, NJ
Posts: 43
nukem is on a distinguished road
Re: Robot Controller Brickified?

Quote:
Originally Posted by Eldarion
You need to perform a master reset. Hold both the RESET and PROG buttons on the RC for about five seconds. Release the RESET button, wait another five seconds, and then release the PROG button. The Battery light should go green, the Program light should go orange, and the rest should stay unlit.

Hope this helps!
I tried that and it didn't work.
  #5   Spotlight this post!  
Unread 29-01-2006, 18:52
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Robot Controller Brickified?

Quote:
Originally Posted by nukem
I tried that and it didn't work.
That's odd. Another thing you could try is holding down the program button while applying power to the RC, although you may have already tried that.

Beyond those two things, I have no clue.
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
  #6   Spotlight this post!  
Unread 29-01-2006, 19:15
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Robot Controller Brickified?

It didn't work how - after you did the master reset, which lights were on? You're supposed to go green on battery, yellow on program, and the rest should be entirely off. Did it crash, did it boot up normally, or what?
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #7   Spotlight this post!  
Unread 30-01-2006, 16:37
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,019
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: Robot Controller Brickified?

Quote:
Originally Posted by Eldarion
You need to perform a master reset. Hold both the RESET and PROG buttons on the RC for about five seconds. Release the RESET button, wait another five seconds, and then release the PROG button. The Battery light should go green, the Program light should go orange, and the rest should stay unlit.

Hope this helps!
It did indeed. I can't say why it did not appear to correct the problem for nukem, but when he did it again in a quiet environment, it restored full functionality. Funny, we tried that Friday as well (found it on another post somewhere) and it didn't correct it then, either.

Bottom line is that we're back in business, THANK YOU ELDARION

Don
__________________

I am N2IRZ - What's your callsign?
  #8   Spotlight this post!  
Unread 31-01-2006, 23:52
nukem nukem is offline
Registered User
#1676
 
Join Date: Jan 2005
Location: Hillsdale, NJ
Posts: 43
nukem is on a distinguished road
Re: Robot Controller Brickified?

It seems that the reason it did not work last friday was that we had to load the code directly after resetting everything, I hit the program button. Anyway thanks for the help!
  #9   Spotlight this post!  
Unread 01-02-2006, 00:20
Eldarion's Avatar
Eldarion Eldarion is offline
Electrical Engineer / Computer Geek
AKA: Eldarion Telcontar
no team (Teamless Orphan)
Team Role: Alumni
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Númenor
Posts: 558
Eldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond reputeEldarion has a reputation beyond repute
Send a message via AIM to Eldarion Send a message via Yahoo to Eldarion
Re: Robot Controller Brickified?

Quote:
Originally Posted by nukem
It seems that the reason it did not work last friday was that we had to load the code directly after resetting everything, I hit the program button. Anyway thanks for the help!
That makes sense. I was going to mention that, but forgot.

Sorry!
__________________
CMUCam not working? Tracks sporadically? Try this instead: http://www.falconir.com!
PM me for more information if you are interested (it's open source!).

Want the FIRST Email blasts? See here: http://www.chiefdelphi.com/forums/sh...ad.php?t=50809

"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value."
-- Thomas Paine

If it's falling apart it's a mechanical problem. If it's spewing smoke it's a electrical problem.
If it's rampaging around destroying things it's a programming problem.

"All technology is run on 'Magic Smoke' contained within the device. As everyone knows, whenever the magic smoke is released, the device ceases to function."
-- Anonymous

I currently speak: English, some German, Verilog, x86 and 8051 Assembler, C, C++, VB, VB.NET, ASP, PHP, HTML, UNIX and SQL
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
Robot Controller NotaNerd Control System 6 04-11-2004 16:53
Best Robot Ever(again) Corey Balint General Forum 26 04-08-2004 23:03
Interfacing a PC with last year's Robot Controller punarhero Technical Discussion 2 21-04-2004 00:05
2004 Robot Controller CNCBoy461 Electrical 18 02-12-2003 16:36
Visibility of Robot Controller and Reset Button Tracy Rules/Strategy 1 17-02-2003 07:36


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

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