|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
MPLAB PROGRAMMING PLEASE HELP!!!
I have no idea what I am doing and would be eternally greatful if anyone could help me.
|
|
#2
|
||||
|
||||
|
Re: MPLAB PROGRAMMING PLEASE HELP!!!
We all might love to help you, but you have to explain the problem more then just HELP!!!
- Eric Lynema, Team 107 Programer Last edited by epl692 : 19-01-2008 at 14:19. |
|
#3
|
|||
|
|||
|
Re: MPLAB PROGRAMMING PLEASE HELP!!!
OK TRY THIS..
1) Install MPLAB IDE from the disc Select “no” to any of the view driver…” questions. “Yes” to restart the computer. 2) Install MPLAB C18 Compiler. Use the default directory, you’ll go through “select installation directory”, “select components”, then, in “select configuration options”… SELECT ALL 6 OPTIONS 3) Install Innovation First Loader (NOTE: When “IFI loader setup” comes up you have to click the funny picture to continue…) 4) download FRC CODE from http://www.ifirobotics.com/rc.shtml#Programming 5) unzip all the files to a known directory close to C:... Like C:\FR_Code (just for example.)( There's a reason for this... there's a limit on the number of characters in a file name so the closer to C:\ the better) 6) Start MPLAB. At the top, select “File”, “Open Work Space” and then browse to C:\Frc_Code (Or where ever you downloaded in Step 4) ( It may be under directory Frc_Code_2007_8722) but find FrcCode.mcw 7) This will bring up a workspace with all the necessary files. 8) you can open any file and modify it if you want but just for test purposes, first: 9) select At the top… “Project” and then “Build All” 10) You should get a lot of messages without any errors. 11) Start IFI Loader. 12) Browse to C:\FRC_ Code \FrcCode_2007_8722\FrcCode.hex 13) Connect the programming cable to the programming port on the RC Controller 14) Select download All this reloads the default program back into the RC unit. To modify the code… start at step 6, modify the code and continue with the rest of the steps. |
|
#4
|
||||
|
||||
|
Re: MPLAB PROGRAMMING PLEASE HELP!!!
the default code should give you most of what you need
It will let you drive the robot if you set up the electrical the same way. If you have a specific question I would be happy to help |
|
#5
|
|||
|
|||
|
Re: MPLAB PROGRAMMING PLEASE HELP!!!
When I ried compiling the default code I got two errors:
Error - Coff file format for 'ifi_library.o' is out of date. Error - Could not build member 'ifi_library.o' in library file 'C:\Robots\2008 First programming\FrcCode_2007_8722\FRC_library_8722.lib '. Errors : 2 Where can I find the current ifi code or library? Thanks |
|
#6
|
|||
|
|||
|
Re: MPLAB PROGRAMMING PLEASE HELP!!!
Quote:
Steve |
|
#7
|
||||
|
||||
|
Re: MPLAB PROGRAMMING PLEASE HELP!!!
I'm with Stringer here. I'll try using the ROBOTC programs in MPLAB(and the programs are perfect!) and the program receives 45 errors. What's wrong with it? (Is this what you're having problems with Stringer?)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PLEASE HELP!! Need help programming arm?? | amirjpl | Programming | 12 | 15-03-2007 15:11 |
| MPLAB 7.20 Help please? | groovy69 | Programming | 14 | 22-01-2007 02:00 |
| Please help; HUGE mplab problem | brennerator | Programming | 5 | 09-01-2007 01:25 |
| MPLAB Help, programming and compiling | RedOctober | Programming | 2 | 23-12-2005 17:46 |
| PLEASE HELP US FIND OUR MOMMY (or MPLAB) | superlou | Programming | 3 | 23-02-2004 16:33 |