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

PCWH Compiling Problem

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



Joined: 16 Jul 2006
Posts: 7

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

PCWH Compiling Problem
PostPosted: Sun Jul 16, 2006 4:58 am     Reply with quote

I have a program worked well on MPLAB with existing PCM compiler.

Recently, I purchased a PCWH Windows IDE and plan to migrate the old system from PIC16F to PIC18F.

I created a project in MPLAP and selected the device as 18F8585.
I changed the include file of the old program from "16f627" to "18f8585"

MPLAP prompted me error msg when I compiled it:

Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\PCWH\PICC\Ccsc.exe" Test.c
Error: The selected compiler: "PCM" is not installed on this PC
Halting build on first failed translation as user preferences indicate.
BUILD FAILED: Sun Jul 16 18:37:54 2006


Can anyone tell me how can I fix this problem?
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Sun Jul 16, 2006 7:18 am     Reply with quote

Try installing the compiler in C:\Program Files\PICC instead. I don't know for the more recent compiler versions, but I couldn't get the older versions in combination with MPLAB to work in another directory.
tcwong3



Joined: 16 Jul 2006
Posts: 7

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

PostPosted: Sun Jul 16, 2006 10:20 pm     Reply with quote

Thks for your reply.

It seem to be better after installing it to c:\program\picc.

But the IDE prompted me another message at the bottom status bar:

"Unknow device type -- Try PCM"

And it highlighted line "#device PIC16F877" in the 16f877.h file.

Question
tcwong3



Joined: 16 Jul 2006
Posts: 7

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

PostPosted: Mon Jul 17, 2006 1:41 am     Reply with quote

It become ok after I changing the device to 18F8585.

My PCWH seem to be not supporting PIC16.

The PIC series selection pull-down manu that on the tool bar has only two series for us to select:

Microchip 12 bit & Microchip PIC18.

But as I know PCWH supporting PIC12, 16 & 18 series.
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Mon Jul 17, 2006 10:20 am     Reply with quote

PCW = PIC18 parts
PCM = PIC16 parts
PCB = PIC14 (12?) parts
CCS_user
Guest







Re: PCWH Compiling Problem
PostPosted: Wed Jul 19, 2006 1:27 am     Reply with quote

tcwong3 wrote:
I have a program worked well on MPLAB with existing PCM compiler.

Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\PCWH\PICC\Ccsc.exe" Test.c
Error: The selected compiler: "PCM" is not installed on this PC
Halting build on first failed translation as user preferences indicate.
BUILD FAILED: Sun Jul 16 18:37:54 2006
Can anyone tell me how can I fix this problem?


Can You fix this problem?
Thanks...
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Jul 19, 2006 3:57 am     Reply with quote

newguy wrote:
PCW = PIC18 parts
PCM = PIC16 parts
PCB = PIC14 (12?) parts
In addition to these:
PCWH IDE Compiler: For 12-bit, 14-bit, and PIC18 MCUs (PCB + PCM + PCH + IDE).

So PCWH includes PCM and PIC16 parts should work.
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed Jul 19, 2006 4:35 am     Reply with quote

tcwong3 wrote:
The PIC series selection pull-down manu that on the tool bar has only two series for us to select:

Microchip 12 bit & Microchip PIC18.
Check your PCM registration file, it is missing or invalid. You received three files by email: pcb.crg, pcm.crg, and pch.crg.
Place these files in the same directory as your PCWH compiler.
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