![]() |
Download from RC back to computer?
I know it's been covered, but searching is rather tough for it, and I took the time to try.
We just started our 5 hour fix-it window, and our test sled (last year's bot) has a broken gearbox. We're going to switch out test sled to our tetrabot, but we don't have the code backed up anywhere. While it wouldn't be that hard to reprogram it, we'd like to extract the code to dump back onto it after we're done. Is this possible to do, and if so, how do we do it? Ladies and gentlemen, you have 5 hours to provide answers.:p |
Re: Download from RC back to computer?
You can use IFI Device Reader to read the hex file from the robot(I think).
I have never tried it and you won't be able to modifiy code, but it should work. |
Re: Download from RC back to computer?
There is no way to get the source code back off the RC. You can get the hex file back but its not something that you can edit.
http://ifirobotics.com/docs/device-reader.zip |
Re: Download from RC back to computer?
Thanks. I'll give it a try. We don't need to edit the source code, we just needed to keep a copy of the hex so that we could reload it after we're done.
|
Re: Download from RC back to computer?
Wow. I didn't know that this existed! Very cool.
Jacob |
Re: Download from RC back to computer?
Note that you can also (through long, tedious, and often error-prone methods) generate assembly code from the HEX file. Not that I think that anyone really uses assembly for RC programming when C is available, but if you just absolutely need to change one constant or something and re-download (assuming you know PIC assembly reasonably well), it is an option.
|
Re: Download from RC back to computer?
To avoid this type of problem in the future, maybe it would be a good idea if teams taped a CD with the code on it to the robot before mothballing it?
That way, 5 years down the line when no one on the team had the code, it will be sitting there on the CD with the robot. Just a thought! :) |
Re: Download from RC back to computer?
Quote:
|
Re: Download from RC back to computer?
Quote:
Just be warned: The 2004-2005 controllers used the PIC18F8520, while the 2006-2007 controllers use the PIC18F8722. Code compiled for one will not work on the other. It may be easier to swap the controllers. |
Re: Download from RC back to computer?
We used subversion, but when we tried using branches late in the project, we had a lot of trouble getting things to merge back and sync up. If you have a pointer to any documents that cover this with examples I would greatly appreciate hearing about it.
We used the command line and tortise SVN for a windows GUI. I've read the SVN manual and tortise documentation about branches, but I think I'm missing something since I don't think it should be so hard. Quote:
|
Re: Download from RC back to computer?
We used the device reader to unload code (and subsequently reloaded that code later). We found it worked well and was easy to use.
Our plan (never fully realized) was to archive a binary copies of "good" versions, after they had proven themselves by running in a robot. We have been burned on a few occasions by archiving out of the build (after testing on the robot) only to find out later that what we archived was not exactly what we had been testing. Either someone had made "just one little tweak" while we were off testing, or the person who did the archiving got a path a bit wrong and saved a different version than intended. Saving the binary off the robot eliminates any chance of confusion. You save exactly what was running. |
| All times are GMT -5. The time now is 00:25. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi