View previous topic :: View next topic |
Author |
Message |
arys
Joined: 09 Mar 2007 Posts: 31
|
Build All Problem |
Posted: Sun Dec 30, 2007 8:42 pm |
|
|
Hi, my problem is after build all. the OUTPUT said " PCM" is not installed on this PC ".
I use third party language. CCS ( IDE, PCM, PCH, PCB Version 4.009).
What else I missed? Hope s'one help me.
Thanks. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Dec 30, 2007 8:45 pm |
|
|
Are you using the free PCB compiler that was included with MPLAB ? |
|
|
arys
Joined: 09 Mar 2007 Posts: 31
|
|
Posted: Sun Dec 30, 2007 8:56 pm |
|
|
Yes...I guess. Because the equipment was bought by my colleague. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Dec 30, 2007 9:29 pm |
|
|
This page shows which PICs are supported by each type of
the CCS compiler. The PCB compiler (included with MPLAB)
only supports the most basic types of PICs.
http://www.ccsinfo.com/devices.php?page=devices |
|
|
arys
Joined: 09 Mar 2007 Posts: 31
|
|
Posted: Mon Dec 31, 2007 12:21 am |
|
|
yes..it support my PIC16f873.
may be the main problem is not that I mentioned before.
here I paste the whole output.
Clean: Deleting intermediary and output files.
Clean Warning: File "D:\........\CSD2145\2145 1.o" doesn't exist.
Clean: Deleted file "D:\..........\CSD2145\2145 1.ERR".
Clean: Done.
Executing: "C:\Program Files\Microchip\Third Party\PICC\CCSC.EXE" +FM "D:\.........\CSD2145\2145 1.c" +DF +LN +T +A +M +Z +Y=9 +EA
Error: The selected compiler: "PCM" is not installed on this PC
Halting build on first failure as requested.
BUILD FAILED: Mon Dec 31 14:15:08 2007 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Dec 31, 2007 5:34 am |
|
|
Are you using MPLAB ? What version ?
Did you install the CCS "plug-in" for MPLAB ?
Is the CCS compiler or MPLAB installed on a Network Drive ? |
|
|
arys
Joined: 09 Mar 2007 Posts: 31
|
|
Posted: Tue Jan 01, 2008 10:11 pm |
|
|
yes..i'm using MPLAB v7.60 and installed CCS plug-in already.
both compiler and MPLAB was installed in my PC.
Please..I don't have any idea to troubleshoot. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Jan 01, 2008 11:35 pm |
|
|
Quote: | Clean Warning: File "D:\........\CSD2145\2145 1.o" doesn't exist.
Clean: Deleted file "D:\..........\CSD2145\2145 1.ERR".
Clean: Done.
Executing: "C:\Program Files\Microchip\Third Party\PICC\CCSC.EXE" +FM "D:\.........\CSD2145\2145 1.c" +DF +LN +T +A +M +Z +Y=9 +EA
Error: The selected compiler: "PCM" is not installed on this PC |
I can only suggest:
Install MPLAB and the CCS compiler on the C drive.
Put the project directory on the C drive.
Put everything on one drive. |
|
|
arys
Joined: 09 Mar 2007 Posts: 31
|
|
Posted: Tue Jan 01, 2008 11:50 pm |
|
|
i'll try. thanks.
I just found out that in Select Device menu, under Language and Design Tools is in the red light which I assume it should be in green light. Correct me if i'm wrong.
thanks |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jan 02, 2008 12:08 am |
|
|
I think you mean that in the window, the word "COMPILER" has a red
light. That refers to Microchip products, not CCS. Microchip doesn't
have a compiler for that PIC. CCS does. Ignore the red light.
Try this:
1. Go to the Project menu in MPLAB and then to "Select Language
Toolsuite". Make sure that the Active Toolsuite is:
Quote: | CCS C Compiler for PIC12/14/16/18 |
2. Go to the Project menu in MPLAB and then to "Select Language
Tool Locations". Find the line where it says:
Quote: | CCS C Compiler for PIC12/14/16/18 |
and click on the little "+" box to expand that section. Then click on
the + box for Executables. Then click on
Quote: | CCS C Compiler (ccsc.exe) |
If you installed everything correctly, the directory should be:
Quote: | C:\Program Files\PICC\Ccsc.exe |
If it isn't, then browse to that directory and locate CCSC.EXE and
then select it as the location.
3. Also look in C:\Program Files\PICC and make sure that you have
the PCM.CRG file in that directory. That's the license file from CCS.
It's needed to run the compiler. You must have it. You get it from
CCS when you buy the compiler. They email it to you. |
|
|
arys
Joined: 09 Mar 2007 Posts: 31
|
|
Posted: Wed Jan 02, 2008 12:45 am |
|
|
I go through the steps you ask. everything is OK but in toolsuite it has
"CCS C Compiler for PIC10/12/14/16/18/24/dsPIC30/dsPIC33" which I think just ignore it.
My windows can not open "pcm.crg" and its icon in 'C:\Program Files\PICC' is in the inappropriate icon which I have to open with some other programs.
All *.c file in 'C:\Program Files\PICC\Example' also in inappropriate icons. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Jan 02, 2008 1:22 am |
|
|
Quote: |
I go through the steps you ask. everything is OK but in toolsuite it has
"CCS C Compiler for PIC10/12/14/16/18/24/dsPIC30/dsPIC33" which I
think just ignore it. |
That line is apparently from the current CCS plugin. There has been
some discussion on this board that not all versions of the "plugin"
work with all versions of the compiler. That might be the problem.
I don't know. |
|
|
|