Log in

View Full Version : Programming 2004 RC


sanddrag
07-04-2007, 12:24
What do I need in order to program the 2004 Robot Controller and where do I get it?

Thanks.

Joe Ross
07-04-2007, 12:30
You can use the same compiler as the 2006/2007 RC. You can get the 2004 default code from here: http://www.ifirobotics.com/first-legacy.shtml or you can use this year's default code by following the instructions in Using_a_2005_FRC.txt included in the default code.

sanddrag
07-04-2007, 12:47
Thanks for the help, but are you sure? I found this on the bottom of this page: http://ifirobotics.com/rc.shtml

NOTE: To Compile 2004, 2005 or 2006 code, use MPLAB ver 7.20 and C18 Compiler ver 2.40 (newer versions can not be used)

Mark McLeod
07-04-2007, 12:52
Add 2007 to that list. They all can use the same v2.40 compiler, but nothing newer.

jgannon
07-04-2007, 12:55
Thanks for the help, but are you sure? I found this on the bottom of this page: http://ifirobotics.com/rc.shtml
Yes. The software that comes on the CD in the KoP has MPLAB 7.20 and C18 2.40. A newer version of MPLAB will work fine (I've been using 7.50), but it's really the C18 version that matters. If you're still not convinced, remember that the 2006 is the same as the 2007, so if IFI says that something that works for 2006 also works for 2004, you can apply the transitive property to see that this year's stuff works for the 2004. Just be sure to follow Joe's instructions for getting the older default code.

tseres
08-04-2007, 17:53
ya man, the MPLAB that was goven out this year (i forget which version) will work fine. i'm practicing my programming on a 2005 RC and OI, and it's all the same as the newer stuff. just make sure you follow the instructions from that .txt file mentioned above...i really got burned for not following them.

tdlrali
08-04-2007, 23:07
if you want to compile for the 05 RC, make sure you select the 8520 from Configure->Select Device and use the 8520 lib and linker files