|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Help on MPlab
Quote:
It seems to me that the problem isn't MPLab, it is in fact your processor. I don't know which one, but a PIC18F8520 doesn't sound like a computer processor, so that's quite confusing. |
|
#2
|
|||||
|
|||||
|
Re: Help on MPlab
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. |
|
#3
|
|||
|
|||
|
Re: Help on MPlab
that would make sense the cd i have is from several years ago,v7.51
i tried one of our 2004 programming labtops and it says unable to open file, isnt there something where the file name cant be too long? last i dont have this years cd for the compiler at my house, is there some online download version? Devo |
|
#4
|
|||||
|
|||||
|
Re: Help on MPlab
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. |
|
#5
|
|||
|
|||
|
Re: Help on MPlab
im trying to download to a 2006 controller, i jsut have so many different years on the items its not working. im working on getting my camera working, but i cant even get basic drive code on the rc
the cd i have says 2004 v 2.0 the controller i have is 2006 the code i have is 2007, i think i need the 2006 code now i need the 2006 compiler, or would the earlier years work? devo Last edited by Devo1098 : 24-02-2007 at 12:21. |
|
#6
|
|||||
|
|||||
|
Re: Help on MPlab
The 2004 will not work. You need a newer one, try to get the one from this year.
|
|
#7
|
|||||
|
|||||
|
Re: Help on MPlab
I'll backup Kevin.
You need at least the compiler (v2.4) from last year or this year for it to work. It has some extra capabilities the camera code depends on. You can run 2007 code on the 2006 controller without any problem, because those two controllers are identical. You will need ifi_loader v1.1. The original 2006 CD had an older loader with a bug, but 2007's is okay. |
|
#8
|
|||
|
|||
|
Re: Help on MPlab
if i run to the shop and pick up this years mplab and compiler, will it work on the 2006 controller? then i would jsut have to go to ifi robotics and download the ifi loader, correct?
devo |
|
#9
|
|||||
|
|||||
|
Re: Help on MPlab
If you get this year's CD it'll have everything you need, including the right ifi_loader.
Just be sure to uninstall the older stuff before running the install. |
|
#10
|
||||
|
||||
|
Re: Help on MPlab
For the 2006/2007 robot controllers, make sure you have PIC18F8722 and not PIC18F8520 on the Select Device window in Config at the top bar.
|
|
#11
|
|||||
|
|||||
|
Re: Help on MPlab
The PIC is the processor inside the RC....
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MPLAB 7.20 Help please? | groovy69 | Programming | 14 | 22-01-2007 02:00 |
| Help with MPLAB | burningpig | Programming | 9 | 17-01-2007 13:10 |
| Please help; HUGE mplab problem | brennerator | Programming | 5 | 09-01-2007 01:25 |
| MPLAB IDE HELP | Idaman323 | Programming | 2 | 16-02-2005 18:01 |
| Need Mplab help ASAP !! | L33T-meh- | Programming | 3 | 03-02-2004 21:39 |