Go to Post rumors only beget more rumors - JakeGallagher [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 15-06-2008, 21:12
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Dual C18 Compilers and MPLAB?

I know there has to be someone that has done this as it seems like it could be a common problem.

Here are my needs:
I need MPLAB v7.20 and the C18 Compiler v2.40.
I need MPLAB v8.10 and the C18 Compiler v3.10.

How do I dual install both of these to work.

I'm trying to program VEX robots this week, so I have to use my v7.20 and v2.40 of MPLAB and C18.

I also need to program our FRC robot this week, and we use Kevin's code, and we need MPLAB v8.10 to open the file, and we have been using v3.10 of C18.

Another alternative would be to find VEX code compatible with MPLAB v8.10 and C18 v3.10.

I've tried to install both before, but as anyone can guess, it didn't do so well.

Any help or advice?
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #2   Spotlight this post!  
Unread 15-06-2008, 22:00
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Dual C18 Compilers and MPLAB?

Quote:
Originally Posted by RyanN View Post
I know there has to be someone that has done this as it seems like it could be a common problem.

Here are my needs:
I need MPLAB v7.20 and the C18 Compiler v2.40.
I need MPLAB v8.10 and the C18 Compiler v3.10.



I'm trying to program VEX robots this week, so I have to use my v7.20 and v2.40 of MPLAB and C18.

I also need to program our FRC robot this week, and we use Kevin's code, and we need MPLAB v8.10 to open the file, and we have been using v3.10 of C18.
Yes it is possible. This is exactly how I run my laptop. I use version 2.4 for working with my Vex, and version 3.1 for working with FRC. I learned this little trick from Kevin Watson. It is actually a lot easier than you think. It is as simple as installing version 2.4, then renaming the mcc18 folder to mcc18_2.4. I then install mcc18 version 3.1. Now on my laptop MPLab will run with the compiler version 3.1 for use with FRC. What I want to program my Vex, I renamed the mcc18 folder mcc18_3.1, and rename the folder mcc18_2.4 to mcc18. Then my laptop is ready to use MPLab with version 2.4 of the compiler for use with Vex.
That is all there is to it.

I have been using version 8.1 of MPLab for both Vex and FRC. It works quite nicely in this configuration.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #3   Spotlight this post!  
Unread 15-06-2008, 22:10
Eric24's Avatar
Eric24 Eric24 is offline
Registered User
FRC #1138 (Eagle Engineering)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Northridge, CA
Posts: 30
Eric24 is an unknown quantity at this point
Send a message via AIM to Eric24
Re: Dual C18 Compilers and MPLAB?

I've never heard of that method before, I might have to give that a shot. What I've been doing is running a virtual machine so I have one version of MPLab and the compiler directly on my laptop, and then the other version in a virtual operating system that can run simultaneously with the standard operating system. There are a few programs out there to run virtual machines including, VMWare, Virtual Box, and Microsoft Virtual Machine. That seems to work well for me, especially since for some reason on Vista, IFI loader cannot load anything into the robot so I run a virtual XP and everything loads perfectly.
__________________

  #4   Spotlight this post!  
Unread 15-06-2008, 22:21
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Dual C18 Compilers and MPLAB?

I just have a pair of batch files:
renames mcc18 to mcc18_24 then mcc18_31 to mcc18
renames mcc18 to mcc18_31 then mcc18_24 to mcc18
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 15-06-2008 at 22:23.
  #5   Spotlight this post!  
Unread 15-06-2008, 22:57
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Dual C18 Compilers and MPLAB?

Sounds good, I haven't tried that exactly. I've tried installing MPLAB v7.2 and 8.1 in two different locations and also same with the C18 compiler, I could get nothing to work right even with the libraries located in MPLAB. I'll have to give this a shot tomorrow.

Also... I wonder if v3.2 of the C18 compiler will work... 3.1 disappeared off the website.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 15-06-2008 at 23:00.
  #6   Spotlight this post!  
Unread 15-06-2008, 23:23
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Dual C18 Compilers and MPLAB?

Quote:
Originally Posted by RyanN View Post
Sounds good, I haven't tried that exactly. I've tried installing MPLAB v7.2 and 8.1 in two different locations and also same with the C18 compiler, I could get nothing to work right even with the libraries located in MPLAB. I'll have to give this a shot tomorrow.

Also... I wonder if v3.2 of the C18 compiler will work... 3.1 disappeared off the website.
Why do you want MPLab 7.2 and 8.1? I've been using MPLab 8.x with c18 2.4 and 3.1 without any issues.
__________________
Eric Haskins KC9JVH
  #7   Spotlight this post!  
Unread 15-06-2008, 23:24
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Dual C18 Compilers and MPLAB?

Quote:
Originally Posted by EHaskins View Post
Why do you want MPLab 7.2 and 8.1? I've been using MPLab 8.x with c18 2.4 and 3.1 without any issues.
I was having issues opening the workspaces. It may be related to the C18 compiler though.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #8   Spotlight this post!  
Unread 16-06-2008, 01:09
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Dual C18 Compilers and MPLAB?

Quote:
Originally Posted by RyanN View Post
I was having issues opening the workspaces. It may be related to the C18 compiler though.
If I remember correctly, if you open the project(.mcp) it will open fine, but only if you delete the workspace(.mcw) first. The only thing you loose is the window layout you used in 7.x, but whatever you do in 8.x will be saved/loaded correctly in the future.
__________________
Eric Haskins KC9JVH
  #9   Spotlight this post!  
Unread 19-06-2008, 08:46
steveg's Avatar
steveg steveg is offline
Livin' the Dream
AKA: Stephen Guerrera
no team
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Boston, MA
Posts: 70
steveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to beholdsteveg is a splendid one to behold
Send a message via AIM to steveg
Re: Dual C18 Compilers and MPLAB?

You should be OK if you have them installed in separate directories, and neither install location is added to your path. You'll have to manually specify the tool locations in MPLab, but that should be fine.
__________________
Steve Guerrera

-2003 T.R.I.B.E. 237
2004-2008 Nutrons 125

Boston Regional Mentor
MIT Grad Student
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
New C18 MPLab and IFI Loader? blaxbb Programming 5 06-01-2008 18:25
MPLAB/C18/IFI-utils Licensing Orborde Programming 1 18-12-2007 08:48
MPLab 7.20/C18 2.40 Andy L Programming 2 07-04-2007 20:11
Does the camera code suits to all versions of MPLAB and C18? razer Programming 3 04-01-2007 14:50
MPLAB C18 problem Justyn Programming 0 09-03-2005 11:37


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

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