Sunday, January 15, 2006

2006 RC vs. 2005 RC

As I blogged previously, the 2006 RC is not the same as the 2005 RC. The 2006 RC contains the PIC 18F8722 and the 2005 RC contains the PIC 18F8520.

No matter. I am pretty sure you can still compile 2006 default code for the 2005 RC and test it.

Here's what you would need to do - 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.

I pulled these instructions from the 2006 Default Code 'Other Files'. Under your project workspace (see the picture I posted below), the last line is a file called 'Using_Last_Years_FRC.txt. Open that and you'll find the same instructions.

0 Comments:

Post a Comment

<< Home