CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PCM and PCH on the same install

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
topfuel
Guest







PCM and PCH on the same install
PostPosted: Wed Dec 28, 2005 6:34 am     Reply with quote

I have been working with PCH for PIC 16 parts for some time now.

The new project that I am working on requires PIC 18 part so I got PCM.

I installed it with no problems. I upgraded to MPLAP 7.30 as well.

All was well until I went back to a PIC 16 project. It tells me that the compiler files are the wrong version and need to be re-installed. I do so and then the PIC 16 works but the PIC 18 do not.

How do I install both the PCM and PCH on the same machine?

Chris
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Dec 28, 2005 10:47 am     Reply with quote

Quote:

All was well until I went back to a PIC 16 project. It tells me that the
compiler files are the wrong version and need to be re-installed.
I do so and then the PIC 16 works but the PIC 18 do not.
How do I install both the PCM and PCH on the same machine?

Here is a large thread on the topic:
http://www.ccsinfo.com/forum/viewtopic.php?t=21884
topfuel
Guest







No way!!!!
PostPosted: Fri Dec 30, 2005 6:09 am     Reply with quote

I find it very hard to believe that the solution outlined in the post above is the only way to use both PCH and PCM compilers with MPLAB.

I am running MPLAB 7.30 and I do not even see the option called
"other CCS compiler". Is this something that existed in previous versions of MPLAB?

I have several project based on the PCH compiler but we are migrating to the PIC 18 family. As it stands now, I have to reinstall the compiler each time I switch projects.

I really don't feel like hacking my registry. I cannot belive CCS and Microchip do not have a clean solution.

This is a waste of time.
MikeValencia



Joined: 04 Aug 2004
Posts: 238
Location: Chicago

View user's profile Send private message Send e-mail Yahoo Messenger

PostPosted: Fri Dec 30, 2005 7:38 am     Reply with quote

This is what I do, since i use both PCM and PCH. It does become a nuisance since MPLAB will warn you when you alternate between the two, but i've gotten used to this method:

For example, if the current version is 3.230:


Install PCM in:

C:\Program Files\PICC_PCM_3_230\PICC

and install PCH in:
C:\Program Files\PICC_PCH_3_320\PICC

You will need to create the directories first so you have a destination folder when asked during installation.

Now, when you use MPLAB, you will need to change between
C:\Program Files\PICC_PCM_3_230\PICC\ccsc.exe
or
C:\Program Files\PICC_PCH_3_230\PICC\ccsc.exe

In fact, you can install several directories of different versions this way. The only caveat is that you have to closely keep track of what versions you are using in each project.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group