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

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

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?

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.

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

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?

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

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