View previous topic :: View next topic |
Author |
Message |
topfuel Guest
|
PCM and PCH on the same install |
Posted: Wed Dec 28, 2005 6:34 am |
|
|
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
|
|
Posted: Wed Dec 28, 2005 10:47 am |
|
|
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!!!! |
Posted: Fri Dec 30, 2005 6:09 am |
|
|
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
|
|
Posted: Fri Dec 30, 2005 7:38 am |
|
|
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. |
|
|
|