View Single Post
  #2   Spotlight this post!  
Unread 27-04-2006, 21:55
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: PIC18F8520 port mapping to VEX microcontroller module.

First off, you'll find a lot of helpful information at Vexlabs, IFI's store dedicated to Vex. There's a FAQ there with some programming info. From what I understand, the master controller handles the RC communication and various other housekeeping tasks. It also has a watchdog timer to shut things down if the User processor is stuck in a loop.

As you surmise, source for the Master processor is not available. Compiled code is available if you really feel like reverse engineering it.

In the Downloads section at Vexlabs, you'll find default source code for the controller. There's an ifi_aliases.h file that aliases variables to pins on the User processor. All the pins on the controller as off the User processor, so you can use them all. There's a few CCP pins, but I didn't see any exceedingly interesting sets of pins available. I've attached the ifi_aliases.h file if you don't want to bother with the downloads.
Attached Files
File Type: h ifi_aliases.h (11.5 KB, 100 views)
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter