Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Robot Controller Brickified? (http://www.chiefdelphi.com/forums/showthread.php?t=42883)

nukem 29-01-2006 00:53

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

Astronouth7303 29-01-2006 02:02

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. :p )

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?

Eldarion 29-01-2006 02:15

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!

nukem 29-01-2006 13:18

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.

Eldarion 29-01-2006 18:52

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. :o

steven114 29-01-2006 19:15

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?

DonRotolo 30-01-2006 16:37

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

nukem 31-01-2006 23:52

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!

Eldarion 01-02-2006 00:20

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! :o


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi