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 CCS Technical Support

"PCM" not installed on this pc

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



Joined: 27 Jan 2008
Posts: 2
Location: Texas/Oklahoma

View user's profile Send private message

"PCM" not installed on this pc
PostPosted: Sun Jan 27, 2008 5:04 pm     Reply with quote

I am just beginning to learn to program MCUs. I bought the Microchip PICkit2 and installed the CCS plugin. I have tried compiling several different code files including the first timer file on the "code" page and keep getting the same error:

Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Documents and Settings\Boss\Desktop\Microcontroller\Examples\timer.ERR".
Clean Warning: File "C:\Documents and Settings\Boss\Desktop\Microcontroller\Examples\timer.o" doesn't exist.
Clean: Done.
Executing: "C:\Program Files\Microchip\Third Party\PICC\CCSC.EXE" "C:\Documents and Settings\Boss\Desktop\Microcontroller\Examples\timer.c" +FM +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: Sun Jan 27 16:43:06 2008


Has anyone else had this occur? Everything seems to be in order but I don't know what why I keep getting the '"PCM" is not installed' error. I've spent the last seven hours trying to get C to compile. Assembly isn't giving me any problems.

Also, I've seen quite a few books out there that teach C programming for the Microchip MCUs. Does anyone have a recommendation? I'm only finding 4-5 ratings on any of these books, and that's not enough to risk up to $85 on a book.

Thank you,

-Johnny Sad
_________________
-Johnny
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jan 27, 2008 5:16 pm     Reply with quote

Are you trying to use the CCS compiler that comes included with MPLAB ?
I believe that's only the PCB compiler. It's for the older PICs, such as
16C54 and for newer (but low end) PICs such as the 12F509, 12F510, etc.


Here's the Microchip Pickit2 web page:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023805
It says:
Quote:
Features of PICkit 2 Starter Kit
Includes:
20-pin PIC16F690 midrange microcontroller
FREE! HI-TECH PICC™ LITE C Compiler (contained on the MPLAB CD)
FREE! CCS PCB™ Baseline C Compiler (contained on the MPLAB CD)

You can't use the CCS PCB compiler with the 16F690. It looks like they
want you to use the Hi-Tech Picc-Lite compiler with that PIC.
jchan



Joined: 27 Jan 2008
Posts: 2
Location: Texas/Oklahoma

View user's profile Send private message

Hi-Tech
PostPosted: Sun Jan 27, 2008 8:43 pm     Reply with quote

Well that could definitely cause a problem. I went back in MPLAB and set it to Hi-Tech and everything seems to work. I must not understand the context for the hardware configuration used for the timer code I mentioned. Either way I was able to compile and write using MPLAB and read and write using the PICkit2 software.

Thanks a bunch! Razz
_________________
-Johnny
DevilROCKS
Guest







PostPosted: Wed Feb 06, 2008 3:01 pm     Reply with quote

You can use the CCS compiler that comes with the PICkit 2 CD. Note that it installs the PCM compiler into C:\Program Files\PICC\ directory where as the MPLAB installs it to C:\Program Files\Microchip\Third Party\PICC\. So u need to change the location of the compiler in your MPLAB IDE->Project->Select Language Toolsuite.
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