View Single Post
  #3   Spotlight this post!  
Unread 20-01-2008, 01:27
Steve_Alaniz Steve_Alaniz is offline
Registered User
FRC #2848 (All Sparks)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 1997
Location: Dallas
Posts: 211
Steve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond reputeSteve_Alaniz has a reputation beyond repute
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.