Go to Post Our club visited the Seattle Regional this week and they all have the FRC bug now. May God have mercy on our souls... - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How much memory is there really? PhilBot Programming 13 05-02-2007 14:42
How would I interface a flash drive to the RC? JBotAlan Technical Discussion 42 31-01-2007 15:24
program memory Chris Bright Programming 1 25-01-2005 08:54
Linking two controllers together - the how? part DanL Programming 12 15-10-2003 22:17
refresh my memory archiver 2000 2 23-06-2002 22:40


All times are GMT -5. The time now is 19:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi