Re: Which PIC18 C Compiler?

From: mark hahn (mhahn_at_hvc.rr.com)
Date: 07/09/04


Date: 9 Jul 2004 05:29:58 -0700


"Talal Itani" <titani@airmail.net> wrote in message news:<cckb50$cl9@library2.airnews.net>...
> Hello,
>
> I currently have an ICD2 from Microchip. I use it to develop PIC16 code
> using the MPLAB debugger and assembler. I need to move to the PIC18 parts
> and C language, but I am struggling figure out the development tools to get.
> Do you have any experience with the CCS compiler running with MPLAB and
> ICD2? ($175 solution)
>
> Thanks,
> Talal

I just finished a pretty large project (15K lines of C on a
PIC18F8720) using the CCS pic18 compiler (PCH). It worked pretty well.
I only found two bugs that could be blamed on CCS. The compiler is not
standard C, but it's close enough that you will be able to get coding
pretty quickly. It helps to look at the code it generates for your
program, and to try to understand why it does some things the way it
does.

If you are not set on using the ICD2, I'd look at the CCS PCW package.
It includes support for their ICD firmware (which you can run on an
old Microchip ICD1, or you can buy an ICD from them for about $75).
The whole package makes for a very nice source level debugger.

PCH seems to generate pretty tight code. When I have some free time
(hah) I'm going to try running my code thru the Microchip C18 compiler
(they have a time-limited trial version) and see which is more
efficient. I'm also curious to see how much I'll have to change my CCS
code to get it to run on C18. Developing a set of macros and defines
that allows development with either compiler would be handy.

I don't have any vested interest in CCS other than being a reasonably
happy customer.

Mark Hahn



Relevant Pages

  • Re: Which PIC18 C Compiler?
    ... > using the MPLAB debugger and assembler. ... If you're going for C on the PIC18, ... solution is the IAR compiler. ...
    (comp.arch.embedded)
  • Re: Which PIC18 C Compiler?
    ... > using the MPLAB debugger and assembler. ... If you're going for C on the PIC18, ... solution is the IAR compiler. ...
    (sci.electronics.design)
  • Re: Which PIC18 C Compiler?
    ... > using the MPLAB debugger and assembler. ... Where I used to work we used the Hi-Tech compiler for the PIC18, ... Leon Heller, G1HSM ...
    (comp.arch.embedded)
  • Re: Which PIC18 C Compiler?
    ... > using the MPLAB debugger and assembler. ... Where I used to work we used the Hi-Tech compiler for the PIC18, ... Leon Heller, G1HSM ...
    (sci.electronics.design)
  • Re: Which PIC18 C Compiler?
    ... > using the MPLAB debugger and assembler. ... PIC18F8720) using the CCS pic18 compiler. ...
    (comp.arch.embedded)