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

How to setup CCS C compiler with Microchip's MPLAB IDE 6.xx

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







How to setup CCS C compiler with Microchip's MPLAB IDE 6.xx
PostPosted: Mon Jan 03, 2005 11:38 am     Reply with quote

I have brought a CCS C compiler (PCWH), MPLAB ICD 2, PIC DEM 2 plus board. Does anyone know how to run a compiled program in CCS C compiler, and link the files in MPLAB IDE 6.60 ? This compiled C program uses a PIC 18F452 device. This program is a demo C program from CCS and runs fine in the old MPLAB IDE 5.50, MPLAB-ICD demo board ( this board is Microchip's old demo board) and MPLAb-ICD Module (Microchip's very old ICD module).
ckielstra



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

View user's profile Send private message

PostPosted: Mon Jan 03, 2005 12:11 pm     Reply with quote

- Install CCS
- Install MPLAB (you know v7.00 was released recently?)
- Install CCS plugin for MPLAB (download from CCS website)

In MPLAB:
- Create a new project. Only add a single *.c file and include all your other c-files from within this one.
- In "Project/Select Language Toolsuite..." the default "CCS C compiler" won't work, select "CCS C Compiler for PIC12/14/16/18" instead.
- Make sure "Configure/Select device..." was set to the correct processor.
- Compile your project
Guest








PostPosted: Mon Jan 03, 2005 1:36 pm     Reply with quote

Thanks Laughing
The last two steps below made all the difference . The project works and I am glad it is far simpler than the old days of using MPLAB IDE 5.7 and going through 2-3 more steps to do the c compilation and project build.

In MPLAB:
- Create a new project. Only add a single *.c file and include all your other c-files from within this one.
- In "Project/Select Language Toolsuite..." the default "CCS C compiler" won't work, select "CCS C Compiler for PIC12/14/16/18" instead.
- Make sure "Configure/Select device..." was set to the correct processor.
- Compile your project
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