View Single Post
  #2   Spotlight this post!  
Unread 23-10-2008, 09:03
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: How to Flash A Controllers Memory

For the 2005 controller, easyC didn't exist, so your only finagle-free option is to use MPLAB. MPLAB itself and the C-Bot compiler must be gotten from a Kit of Parts disc; the most recent one should work fine. IFI Loader can be downloaded from the IFI Robotics Robot Controller page towards the bottom of the page.

In 2005, the PIC processor was of a different model than the more modern RCs. If you are coding in MPLAB, you probably started with the default code that IFI released. To use a modern default code with the old processor, follow the directions in the "Using_a_2005_FRC.txt" file in the root of the default code. For reference, I have included it below.

If you need more help, post back and let us know exactly where you are having problems--what error messages you get, indicator lights, etc. so that we can further assist you.

Using_a_2005_FRC.txt contents:
Quote:
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_8722.lib file and replace it with FRC_Library_8520.lib

or

Remove the FRC_alltimers_8722.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.
__________________
Aren't signatures a bit outdated?

Last edited by JBotAlan : 23-10-2008 at 09:06. Reason: typo