Thread: Invalid Address
View Single Post
  #3   Spotlight this post!  
Unread 14-04-2008, 11:27
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,727
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Invalid Address

Quote:
Originally Posted by Farnak View Post
I'm just following the included Getting Started Guide for the MPLab.
MPLAB is a generic product, so the examples assume you are using a PIC straight out of the box. That's not the case for the First or Vex controllers.
If you want to use the Getting Started examples as they are, then you'll need a PIC development board. I'd suggest getting a Pickit2 development set. Choose one that comes with the programmer to download your code combined with a development board to do the MPLAB exercises on.

Program memory on the FRC/Vex Robot Controller is reserved for other purposes before 0x800. There are also other restrictions due to the FIRST specific architecture of this particular controller that will make it difficult to use.

If you want to use it to learn to code on an FRC Robot Controller then it's probably easiest to start with Kevin Watson's basic default code and study how that works. Specifically, ifi_frc_simple.zip.
There are also the tutorials on FIRST's page that use the IFI default code as a basic start.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 15-04-2008 at 09:49. Reason: added specifics & Pickit2 note