View previous topic :: View next topic |
Author |
Message |
tcwong3
Joined: 16 Jul 2006 Posts: 7
|
PCWH Compiling Problem |
Posted: Sun Jul 16, 2006 4:58 am |
|
|
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
|
|
Posted: Sun Jul 16, 2006 7:18 am |
|
|
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
|
|
Posted: Sun Jul 16, 2006 10:20 pm |
|
|
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.
|
|
|
tcwong3
Joined: 16 Jul 2006 Posts: 7
|
|
Posted: Mon Jul 17, 2006 1:41 am |
|
|
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: 1907
|
|
Posted: Mon Jul 17, 2006 10:20 am |
|
|
PCW = PIC18 parts
PCM = PIC16 parts
PCB = PIC14 (12?) parts |
|
|
CCS_user Guest
|
Re: PCWH Compiling Problem |
Posted: Wed Jul 19, 2006 1:27 am |
|
|
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
|
|
Posted: Wed Jul 19, 2006 3:57 am |
|
|
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
|
|
Posted: Wed Jul 19, 2006 4:35 am |
|
|
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. |
|
|
|