C Compilers, PIC18 Questions

Started by tadaosystems December 11, 2003
I've been lurking here, picking up tips and info as I can for the
last 8 months, ever since I entered the world of PICs. As a side
business I create microcontroller based electronics for paintball
guns, and have sold a few designs to different manufacturers. I've
been able to get by with MPLAB and PICC Lite, but I feel like I need
to start using some of the more feature rich PICs. My biggest
problem is the cost of the full version of PICC.

I'm very interested in moving to the PIC18 series, both for their
features and speed. I imagine programming them in C is almost no
different than using the PIC16s, but what about compilers?

How good is MPLAB C18? It costs about half as much as HT Soft's PICC-
18, but I haven't found too many examples of C code for it online.
How good is the optimization between the two? Although moving to
PIC18s generally offers much larger program space, it's still
important to me.

Any opinions/reviews would be greatly appreciated.



> How good is MPLAB C18? It costs about half as much as

There is a free demo, try it out. Rumours say that when it expires you
can simply re-install it.

IMHO the code density of all 18F C compilers sucks.

Wouter van Ooijen

-- -------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products


Hi,
I have used the PICC-18 from HT soft and I can tell you that It's very
good, I didn't have problem with It.
about the MPLAB C18 I don't know, because I never used this compiler.

I hope It has help you.
Gilmar Ribeiro de Oliveira
Development Engineer ----- Original Message -----
From: "tadaosystems" <>
To: <>
Sent: Thursday, December 11, 2003 2:55 AM
Subject: [piclist] C Compilers, PIC18 Questions > I've been lurking here, picking up tips and info as I can for the
> last 8 months, ever since I entered the world of PICs. As a side
> business I create microcontroller based electronics for paintball
> guns, and have sold a few designs to different manufacturers. I've
> been able to get by with MPLAB and PICC Lite, but I feel like I need
> to start using some of the more feature rich PICs. My biggest
> problem is the cost of the full version of PICC.
>
> I'm very interested in moving to the PIC18 series, both for their
> features and speed. I imagine programming them in C is almost no
> different than using the PIC16s, but what about compilers?
>
> How good is MPLAB C18? It costs about half as much as HT Soft's PICC-
> 18, but I haven't found too many examples of C code for it online.
> How good is the optimization between the two? Although moving to
> PIC18s generally offers much larger program space, it's still
> important to me.
>
> Any opinions/reviews would be greatly appreciated. >
> to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions
>
> ">http://docs.yahoo.com/info/terms/
>





----- Original Message -----
From: "tadaosystems" <>
To: <>
Sent: Thursday, December 11, 2003 4:55 AM
Subject: [piclist] C Compilers, PIC18 Questions > I've been lurking here, picking up tips and info as I can for the
> last 8 months, ever since I entered the world of PICs. As a side
> business I create microcontroller based electronics for paintball
> guns, and have sold a few designs to different manufacturers. I've
> been able to get by with MPLAB and PICC Lite, but I feel like I need
> to start using some of the more feature rich PICs. My biggest
> problem is the cost of the full version of PICC.
>
> I'm very interested in moving to the PIC18 series, both for their
> features and speed. I imagine programming them in C is almost no
> different than using the PIC16s, but what about compilers?
>
> How good is MPLAB C18? It costs about half as much as HT Soft's PICC-
> 18, but I haven't found too many examples of C code for it online.
> How good is the optimization between the two? Although moving to
> PIC18s generally offers much larger program space, it's still
> important to me.


Where I used to work we found the Microchip PIC18 compiler had so many bugs
it was unusable. It might have been improved subsequently. We then got
PICC-18 and had relatively few problems with it.

Leon
--
Leon Heller, G1HSM
Email:
http://webspace.webring.com/people/jl/leon_heller/




optimization is not as good as hitech's.
(They have a working demo 21 day.) The configuration bits are accesed as bitfield, I find
that annoying but it's a matter opinion.

--- Leon Heller <> wrote:
>
> ----- Original Message -----
> From: "tadaosystems" <>
> To: <>
> Sent: Thursday, December 11, 2003 4:55 AM
> Subject: [piclist] C Compilers, PIC18 Questions > > I've been lurking here, picking up tips and info
> as I can for the
> > last 8 months, ever since I entered the world of
> PICs. As a side
> > business I create microcontroller based
> electronics for paintball
> > guns, and have sold a few designs to different
> manufacturers. I've
> > been able to get by with MPLAB and PICC Lite, but
> I feel like I need
> > to start using some of the more feature rich PICs.
> My biggest
> > problem is the cost of the full version of PICC.
> >
> > I'm very interested in moving to the PIC18 series,
> both for their
> > features and speed. I imagine programming them in
> C is almost no
> > different than using the PIC16s, but what about
> compilers?
> >
> > How good is MPLAB C18? It costs about half as
> much as HT Soft's PICC-
> > 18, but I haven't found too many examples of C
> code for it online.
> > How good is the optimization between the two?
> Although moving to
> > PIC18s generally offers much larger program space,
> it's still
> > important to me. > Where I used to work we found the Microchip PIC18
> compiler had so many bugs
> it was unusable. It might have been improved
> subsequently. We then got
> PICC-18 and had relatively few problems with it.
>
> Leon
> --
> Leon Heller, G1HSM
> Email:
> http://webspace.webring.com/people/jl/leon_heller/
>
> ------------------------ Yahoo! Groups Sponsor
>
> to unsubscribe, go to http://www.yahoogroups.com and
> follow the instructions
>
> ">http://docs.yahoo.com/info/terms/


__________________________________



--- In , "tadaosystems" <flipflops67@h...>
wrote:
> I've been lurking here, picking up tips and info as I can for the
> last 8 months, ever since I entered the world of PICs. As a side
> business I create microcontroller based electronics for paintball
> guns, and have sold a few designs to different manufacturers. I've
> been able to get by with MPLAB and PICC Lite, but I feel like I
need
> to start using some of the more feature rich PICs. My biggest
> problem is the cost of the full version of PICC.
>
> I'm very interested in moving to the PIC18 series, both for their
> features and speed. I imagine programming them in C is almost no
> different than using the PIC16s, but what about compilers?
>
> How good is MPLAB C18? It costs about half as much as HT Soft's
PICC-
> 18, but I haven't found too many examples of C code for it online.
> How good is the optimization between the two? Although moving to
> PIC18s generally offers much larger program space, it's still
> important to me.
>
> Any opinions/reviews would be greatly appreciated.

another alternative is the wiz-c compiler. Its suposed to have
support for all pics including the 18 series. The compiler has a
wizard which helps you with the original setup. It has most of the
common thing like LCD, LEDs, interrups, Timers and other functions
already there and its a matter of pointing and clicking. If you like
the old fashion way you can disable the wizard and type everything.
The compiler also has a good simulator and a waveform analyzer as
well as a stimulus files. all for about $170 us dollars for the
profesional version. I don't know about the code optimisation because
thus far for me this hasn't been a concern. Did I mention is a
windows IDE? and that it has a debugger? Anyways, go check it out.
Its worth taking a look. Its definitely cheaper than picbasic pro.


I never use C compilers. I write in assembly. No bugs, free and you
know what you are writing. Code is a few times shorter and faster,
can control everything in real time. I've written a lot in C but
never use it with uC, especially with PICs. No mess, no hassle..

Regards
Venko