CharlieWilken
05-02-2006, 12:14
To upload this years default code or custom code to the 2004 or 2005 controller it seems like you should be able to just select the right Pic18f8520 for the compiler and thats that. I don't understand why you would do instructions 2 and 3. The needed files seem to already be included in the default set of files???
the following instructions came in the file called Using_last_years_frc which is a part of the default files.
To compile this project to work with your 2005 FRC (18F8520) system do the following:
1. Select the correct device from the MPLAB IDE.
Configure->Select Device->PIC18F8520
2. Replace the library file with the appropriate one.
Remove the FRC_Library.lib file and replace it with FRC_Library_8520.lib
or
Remove the FRC_alltimers.lib file and replace it with FRC_alltimers_8520.lib
3. Remove the 18f8722.lkr file and replace it with the 18f8520.lkr file
4. Rebuild your project and download the HEX file to your controller.
Can anyone shed some light on this?
the following instructions came in the file called Using_last_years_frc which is a part of the default files.
To compile this project to work with your 2005 FRC (18F8520) system do the following:
1. Select the correct device from the MPLAB IDE.
Configure->Select Device->PIC18F8520
2. Replace the library file with the appropriate one.
Remove the FRC_Library.lib file and replace it with FRC_Library_8520.lib
or
Remove the FRC_alltimers.lib file and replace it with FRC_alltimers_8520.lib
3. Remove the 18f8722.lkr file and replace it with the 18f8520.lkr file
4. Rebuild your project and download the HEX file to your controller.
Can anyone shed some light on this?