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 support@ccsinfo.com

Adding PCH to MPLAB & PCM

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



Joined: 18 Oct 2004
Posts: 41
Location: Newark, CA

View user's profile Send private message

Adding PCH to MPLAB & PCM
PostPosted: Mon Aug 29, 2005 11:13 am     Reply with quote

I need to use a 18F part for a project and am currently using PCM with MPLAB. I want to mostly stay with 16F parts and PCM with occasional usage of 18F and PCH. Any special tricks or tips for installing and using both PCM & PCH with MPLAB?

1. Do I just buy PCH and install it? The manual has a one sentence installation procedure and isn't clear if it is only for single installations or dual/triple as well. Other theads mention using different directories, but it isn't clear if that is required or desirable in my case.

2. How to select the right compiler in MPLAB? Is it as simple as selecting the PIC chip in the MPLAB Config | Device Select window? I checked the compiler options for a 16F project and it did not include a specific compiler selection option such as +FM.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Mon Aug 29, 2005 11:24 am     Reply with quote

1. Buy it.
2. Install it.
3. Use it

Its that simple. I would install it in the same directory as the PCM compiler. It is probably best to keep both compilers up to date. If you install into separate directories, then you will have to point the tool location to the other directory. Then back again when you want to use the other version. This seems like a big pain so I would opt to install in the same directory and if that means that I have to keep both compilers up to date, then its worth it (I am not saying that you do, but you might). The other option would be to use the legacy toolsuite option to create another version. I posted how to do this sometime back.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 29, 2005 11:28 am     Reply with quote

Quote:
Do I just buy PCH and install it?

Yes.

But, read this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=22931
I eventually got annoyed with having to re-install each time
so I bought the maintenance for PCH -- I already had it for PCM.
(Sorry Mark, I didn't want to risk doing your registry edits).

Quote:
How to select the right compiler in MPLAB?

Just create a separate project for your 18F chip with the MPLAB
project wizard. You just have to specify the CCS compiler
and the PIC chip when asked by the Wizard. You don't have
to select PCM or PCH. The correct compiler will automatically
be used when you compile the project.
Barney



Joined: 18 Oct 2004
Posts: 41
Location: Newark, CA

View user's profile Send private message

PostPosted: Mon Aug 29, 2005 1:20 pm     Reply with quote

I was hoping it was that simple. But.......

The version issue problem described in the thread is unpleasant. I have an older version of PCM (Ver 3.212) and it sounds like installing a new PCH will disable PCM. Having to re-install compilers just to switch from one to the other isn't very customer friendly. I don't mind buying new versions for added features, but I resent being forced to buy a new version just so I don't have to jump thru hoops.

No other workarounds?
Barney



Joined: 18 Oct 2004
Posts: 41
Location: Newark, CA

View user's profile Send private message

PostPosted: Mon Aug 29, 2005 2:51 pm     Reply with quote

I contacted CCS Tech support about the version issue and here is their take:

Quote:
Option 3 is the best. In MPLAB all you need to do to switch is use PROJECT > SET LANGUAGE TOOL LOCATION to set the path to the right directory. I am not sure but this may be save in the project information so you may only need to set it once for each project.


(Option 3 is putting PCH and PCM in separate subdirectories)
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 29, 2005 3:00 pm     Reply with quote

Have they tested this ? Maybe it can now be done, but see this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=21884
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Mon Aug 29, 2005 3:06 pm     Reply with quote

Barney wrote:
I contacted CCS Tech support about the version issue and here is their take:

Quote:
Option 3 is the best. In MPLAB all you need to do to switch is use PROJECT > SET LANGUAGE TOOL LOCATION to set the path to the right directory. I am not sure but this may be save in the project information so you may only need to set it once for each project.


(Option 3 is putting PCH and PCM in separate subdirectories)


Didn't ya read what I told ya
Quote:
If you install into separate directories, then you will have to point the tool location to the other directory. Then back again when you want to use the other version.


And no it not per project. Its global.
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