Go to Post Robotics is better than Football. Robotics > Football !!! - Arkorobotics [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 10-04-2006, 09:24
pagemauck pagemauck is offline
Registered User
#0437
 
Join Date: Oct 2003
Location: richmond, va.
Posts: 25
pagemauck is an unknown quantity at this point
7.20 compiler and 2006 default code

Why am I getting the " version of compiler supports only the PIC18F8520 processor" error when I compile the default code if I'm using the 2006 default code and the 7.20 IDE.

We want everything to work with the new 2006 controller.

The library file I have is the FRC_library_8722.lib file.
  #2   Spotlight this post!  
Unread 10-04-2006, 11:24
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: 7.20 compiler and 2006 default code

7.20 is the IDE version. Go to the command line, and type "mcc18 -v". Mine reports "MPLAB C18 v2.40 Copyright 2000-2004 Microchip Technology Inc."
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #3   Spotlight this post!  
Unread 11-04-2006, 07:48
pagemauck pagemauck is offline
Registered User
#0437
 
Join Date: Oct 2003
Location: richmond, va.
Posts: 25
pagemauck is an unknown quantity at this point
Re: 7.20 compiler and 2006 default code

Quote:
Originally Posted by GW (Greg) Ross
7.20 is the IDE version. Go to the command line, and type "mcc18 -v". Mine reports "MPLAB C18 v2.40 Copyright 2000-2004 Microchip Technology Inc."
I tried this but get 'mcc18' not recognized as a command from command line. ( This is a Win2000 laptop).
Where can I download C18 v2.40 compiler? _- or do I have to hunt down CD we got with kit of parts?

Thanks for your help!
  #4   Spotlight this post!  
Unread 11-04-2006, 09:55
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,571
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: 7.20 compiler and 2006 default code

Quote:
Originally Posted by pagemauck
or do I have to hunt down CD we got with kit of parts?
Unfortunately, that's what you have to do.
  #5   Spotlight this post!  
Unread 11-04-2006, 11:20
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,685
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: 7.20 compiler and 2006 default code

Erm, first go to the command line and make sure you're in the mcc directory before typing "mcc18 -v" if you don't know where it is, search for it on your computer and get the directory that way.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #6   Spotlight this post!  
Unread 11-04-2006, 11:33
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: 7.20 compiler and 2006 default code

It should auto-configure the $PATH variable upon installation, works from any directory for me.

Quote:
Originally Posted by Kevin Sevcik
Erm, first go to the command line and make sure you're in the mcc directory before typing "mcc18 -v" if you don't know where it is, search for it on your computer and get the directory that way.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #7   Spotlight this post!  
Unread 11-04-2006, 13:11
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: 7.20 compiler and 2006 default code

Quote:
Originally Posted by Matt Krass
It should auto-configure the $PATH variable upon installation, works from any directory for me.
I'm not sure, but I believe that was optional. If I remember correctly, on the setup there were check boxes for options like that, but all were unchecked by default.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
  #8   Spotlight this post!  
Unread 11-04-2006, 13:35
ForgottenSalad's Avatar
ForgottenSalad ForgottenSalad is offline
In search of a home...
AKA: Michael Wessler
no team
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Bethlehem, NH
Posts: 136
ForgottenSalad will become famous soon enoughForgottenSalad will become famous soon enough
Send a message via AIM to ForgottenSalad
Re: 7.20 compiler and 2006 default code

Quote:
Originally Posted by Joe Ross
Unfortunately, that's what you have to do.
Isn't there also the student version of the compiler online?
__________________
You start with a bag full of luck and an empty bag of experience. The trick is to fill the bag of experience before you empty the bag of luck.
  #9   Spotlight this post!  
Unread 11-04-2006, 16:10
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,571
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: 7.20 compiler and 2006 default code

Quote:
Originally Posted by ForgottenSalad
Isn't there also the student version of the compiler online?
It's been replaced with a student version of version 3, which isn't compatible.
  #10   Spotlight this post!  
Unread 11-04-2006, 16:57
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: 7.20 compiler and 2006 default code

Quote:
Originally Posted by MattD
I'm not sure, but I believe that was optional. If I remember correctly, on the setup there were check boxes for options like that, but all were unchecked by default.
It is optional
__________________
1139 Alumni
  #11   Spotlight this post!  
Unread 12-04-2006, 09:30
pagemauck pagemauck is offline
Registered User
#0437
 
Join Date: Oct 2003
Location: richmond, va.
Posts: 25
pagemauck is an unknown quantity at this point
Re: 7.20 compiler and 2006 default code

Quote:
Originally Posted by Kevin Sevcik
Erm, first go to the command line and make sure you're in the mcc directory before typing "mcc18 -v" if you don't know where it is, search for it on your computer and get the directory that way.
Went to the mcc18 directory - didn't see an mcc directory - typed command and still got error.

Thanks for your help. I'll have to get a copy of c18 v 2.4 somehow - maybe find it!
  #12   Spotlight this post!  
Unread 12-04-2006, 12:00
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,817
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: 7.20 compiler and 2006 default code

You can also look at the README.C18 text file in the main mcc18 directory to find the compiler version, e.g.,
in C:/mcc18/README.C18
Code:
Release Notes for MPLAB(r) C18, PICmicro 18Cxx C compiler
v2.40
17 November 2004
----------------------------------------------------------------------
Table of Contents
----------------------------------------------------------------------
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #13   Spotlight this post!  
Unread 20-04-2006, 13:51
Alex G Alex G is offline
Registered User
FRC #0201 (FEDS)
Team Role: Programmer
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Rochester
Posts: 8
Alex G is an unknown quantity at this point
Re: 7.20 compiler and 2006 default code

Quote:
Originally Posted by pagemauck
Why am I getting the " version of compiler supports only the PIC18F8520 processor" error when I compile the default code if I'm using the 2006 default code and the 7.20 IDE.

We want everything to work with the new 2006 controller.

The library file I have is the FRC_library_8722.lib file.

We had a similar error when we tried to use WPILib. I fixed this by installing MPLAB 7.31. It works fine with the MCC18 v2.40 compiler.
You can download it here.
http://www.microchip.com/stellent/id...&part=SW007002

I hope this fixes your problem.
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
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
The 8.2 (or 8.3) Battery Voltage Bug eugenebrooks Programming 167 21-02-2008 20:05
2006 CMUcam2 Code Kevin Watson Programming 81 10-02-2007 20:17
Presence of function causes auton to fail??? Kyveck Programming 13 16-02-2006 14:48
missing compiler 2006? Chris.Steimel Programming 10 12-01-2006 13:33


All times are GMT -5. The time now is 00:47.

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