I have no clue where i am now, the code isnt compiling, and when you do try to download to the rc you get an error divide by zero. now im have no code on the rc and hove no clue how to get some on. a different programmer said try re downloading the software, but i dont know the sites to download or the complier to get, or even the right order to download. im jsut so lost
its something with the complier, i havent gotten to the loading part yet,
Clean: Deleting intermediary and output files.
Executing: “c:\mcc18\bin\mcc18.exe” -p=18F8722 /i"C:\mcc18\h" “main.c” -fo=“main.o” -D_FRC_BOARD -D_LARGE_CODE -D_DONT_USE_TMR0 -mL -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
This version of the compiler supports only the PIC18F8520 processor.
Halting build on first failure as requested.
BUILD FAILED: Sat Feb 24 10:22:41 2007
thats the message i get with defualt code 2007
my mplab isv7.51 but it was a cd from the kickoff, how do i get the newer compiler, or is it jsut the version i have
That sounds like you might have an older version of the C18 compiler, not the one that came on the latest CBOT CD from this year’s Kit-of-Parts.
PIC18F8520 is what we used on the 2004/2005 robots.
PIC18F8722 is what we have on the 2006/2007 robots.
Your MPLAB version doesn’t much matter.
I’d uninstall and reinstall just the C18 piece from the CBOT disk.
You’ll need the C18 v2.4 compiler from either this year or last year’s CBOT CD. There is no online or other legal source.
We’re unfortunately dependent on an older version of the C18 compiler, and the lastest version (3.x) available for online trial is not compatable with the IFI libraries we use, and will not work.
You can only use the 2004 version (C18 v2.2) with an older robot controller.
If you are just trying to use it to find compile errors, then you might be able to get by. Try creating a new project (Project Wizard) using the IFI Default Code files.