How to setup CCS C compiler with Microchip's MPLAB IDE 6.xx
Posted: Mon Jan 03, 2005 11:38 am
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
Posted: Mon Jan 03, 2005 12:11 pm
- 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
Posted: Mon Jan 03, 2005 1:36 pm
Thanks
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
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