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

MPLAB/CCS

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








MPLAB/CCS
PostPosted: Fri May 30, 2008 4:07 am     Reply with quote

I am trying to run CCS version 4.071 from within MPLAB 8.00.

When I try to build I get an error saying CCS compiler not installed on this machine.

CCS is installed and works fine.

Any ideas?

Best regards,
CCS



Joined: 31 Oct 2005
Posts: 8

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

PostPosted: Fri May 30, 2008 11:07 am     Reply with quote

You need to download and install the MPLAB plug-in. Visit http://www.ccsinfo.com/downloads.php
Guest








MPLAB/CCS
PostPosted: Fri May 30, 2008 12:00 pm     Reply with quote

Thanks for the reply, but I have done what you suggest.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri May 30, 2008 12:07 pm     Reply with quote

Look at the column headings on this table. It lists the different types
of CCS compilers. Which one do you have ? Or do you have the demo ?
http://www.ccsinfo.com/content.php?page=ideoverview
Guest








MPLAB/CCS
PostPosted: Fri May 30, 2008 1:30 pm     Reply with quote

Looking in Help, About I have CCS PCWH version 4.071.

In 'project', 'select language toolsuit' I have C:\Program Files\PICC\Pcw.exe.

Regards
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri May 30, 2008 1:59 pm     Reply with quote

I think that line should look like this:
Quote:
C:\Program Files\PICC\Ccsc.exe


Make sure you read this FAQ article on installing and using CCS
with MPLAB:
http://www.ccsinfo.com/faq.php?page=ccs_mplab

---------------
Here are some more links:

Answer to a recent question to use multiple source files with MPLAB:
http://www.ccsinfo.com/forum/viewtopic.php?t=34046

More detailed information on using multiple files with MPLAB.
Read all the links in this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=32221

How to debug CCS code in MPLAB with the ICD2:
http://www.ccsinfo.com/forum/viewtopic.php?t=33505
Guest








Error : " Unknown device type -- Try PCH"
PostPosted: Tue Sep 16, 2008 9:17 pm     Reply with quote

I am trying to run CCS version 4.038 from within MPLAB 7.50
When I compile code for pic18F2450, appear error: "Unknown device type -- Try PCH"

Then I replace code for pic18f452, appear error: "Unknown device type -- Try PCH" too.

Can you say to me about this problem!
Code:

#include <18F2450.h>
#fuses HS,NOWDT,NOPROTECT,BROWNOUT,PUT,NOLVP
#use delay(clock=20000000)
//=================================
void main()
{
      set_tris_b(0);
      while(1)
      {
         output_low(PIN_B1);
         delay_ms(1000);
         output_high(PIN_B1);
         delay_ms(1000);
      }
}
ckielstra



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

View user's profile Send private message

PostPosted: Wed Sep 17, 2008 5:28 pm     Reply with quote

From the error message it looks like you are using the wrong compiler version.

The CCS compiler comes in different flavours for the different PIC families:
PCB for PIC12
PCM for PIC16
PCH for PIC18
PCD for PIC24 and dsPic
These are all command line tools. The Windows versions have similar names but with the character W added. For a complete overview see: http://www.ccsinfo.com/content.php?page=ideoverview

If you do have the correct compiler version then your mistake was you forgot to tell MPLAB which processor you are using: in MPLAB select 'Configure / Select device ... ' and select here your processor type.
quocloc.pham



Joined: 16 Sep 2008
Posts: 6
Location: Vietnam

View user's profile Send private message Yahoo Messenger

Re: Error : " Unknown device type -- Try PCH"
PostPosted: Wed Sep 17, 2008 7:53 pm     Reply with quote

ckielstra wrote:
From the error message it looks like you are using the wrong compiler version.

The CCS compiler comes in different flavours for the different PIC families:
PCB for PIC12
PCM for PIC16
PCH for PIC18
PCD for PIC24 and dsPic
These are all command line tools. The Windows versions have similar names but with the character W added. For a complete overview see: http://www.ccsinfo.com/content.php?page=ideoverview

If you do have the correct compiler version then your mistake was you forgot to tell MPLAB which processor you are using: in MPLAB select 'Configure / Select device ... ' and select here your processor type.


I don't think so that! because I use CCS PCH compiler (ccsc v4.038)
and I don't forget tell MPLAB which processor I using.
Code:
#include <18F2450.h>
quocloc.pham



Joined: 16 Sep 2008
Posts: 6
Location: Vietnam

View user's profile Send private message Yahoo Messenger

No error " Unknown device type -- Try PCH"
PostPosted: Wed Sep 17, 2008 9:42 pm     Reply with quote

ckielstra wrote:
From the error message it looks like you are using the wrong compiler version.

The CCS compiler comes in different flavours for the different PIC families:
PCB for PIC12
PCM for PIC16
PCH for PIC18
PCD for PIC24 and dsPic
These are all command line tools. The Windows versions have similar names but with the character W added. For a complete overview see: http://www.ccsinfo.com/content.php?page=ideoverview

If you do have the correct compiler version then your mistake was you forgot to tell MPLAB which processor you are using: in MPLAB select 'Configure / Select device ... ' and select here your processor type.

I was configure the same you said, the compiler had already done!

Thanks a lot!!
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