Go to Post Only two letters and one punctuation mark can describe my feelings about this... NNNOOOOOOOOOOO!!! :( - Qbranch [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-12-2005, 10:13
RedOctober RedOctober is offline
Registered User
FRC #0291
 
Join Date: Dec 2005
Location: Pittsburgh
Posts: 9
RedOctober will become famous soon enoughRedOctober will become famous soon enough
MPLAB Help, programming and compiling

Hello. I am new to the whole mentoring scene and am a college student with a fair amount of microcontroller, assembly and C/C++ programming experience. I am playing around with the MPLAB program and trying to learn the "ropes" of it since I never used it before. I heard that MPLAB can compile C but I can't figure out exactly how to do it. I'd appreciate any help here.

-Dan
  #2   Spotlight this post!  
Unread 23-12-2005, 10:58
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,784
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: MPLAB Help, programming and compiling

Stop me if any of this sounds familiar.
This post might help.

There are 3 parts to programming a FIRST robot.
1) MPLAB v7.2 or earlier (comes with editor, assembler, linker)
2) C18 compiler v2.2 or v2.4 (obtained separately but integrated with MPLAB)
3) IFI_Loader v1.0.10 or 11 (downloads to the Robot Controller)

The current versions of MPLAB and the C18 compiler available on-line do not work with last year's object libraries for the robot controller. See this thread and from IFI :
Quote:
NOTE: To Compile 2004 or 2005 code, use MPLAB ver 7.20 and C18 Compiler ver 2.40 (newer versions can not be used)
In addition, while MPLAB is free, the C18 compiler must be obtained directly from FIRST or purchased separately.

The best way to approach this is to locate your team's FIRST programming CD from this past year. That has all the pieces you need including the licensed C18 compiler v2.2.
There was a separate release of the latest useable (for FIRST purposes) C18 compiler v2.4 in January that your team may have downloaded, but the only source at this point would probably be your team's laptop.

-----
If you already have the C18 compiler then you only have to run:

Make (F10 or Project->Make or the menu button)
or
Build All (Cntl+F10 or Project->Build All or the menu buton)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-12-2005 at 22:43.
  #3   Spotlight this post!  
Unread 23-12-2005, 17:46
RedOctober RedOctober is offline
Registered User
FRC #0291
 
Join Date: Dec 2005
Location: Pittsburgh
Posts: 9
RedOctober will become famous soon enoughRedOctober will become famous soon enough
Re: MPLAB Help, programming and compiling

The C18 is what i was looking for. Thanks alot!
Closed Thread


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
Moody Compiling on certain computers... ConKbot of Doom Programming 4 28-02-2005 18:22
If you're having MPLAB problems, LOOK HERE. Jeremy_Mc Programming 0 20-01-2004 18:06


All times are GMT -5. The time now is 22:29.

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