Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Piclist | C Compilers, PIC18 Questions

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

C Compilers, PIC18 Questions - tadaosystems - Dec 10 23:55:00 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.





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


RE: C Compilers, PIC18 Questions - Wouter van Ooijen - Dec 11 6:08:00 2003

> 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




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: C Compilers, PIC18 Questions - Gilmar - Dec 11 6:16:00 2003

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


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: C Compilers, PIC18 Questions - Leon Heller - Dec 11 6:28:00 2003


----- 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://www.geocities.com/leon_heller




______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: C Compilers, PIC18 Questions - atomic_ant - Dec 11 10:30:00 2003

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://www.geocities.com/leon_heller
>
> ------------------------ Yahoo! Groups Sponsor
>
> to unsubscribe, go to http://www.yahoogroups.com and
> follow the instructions
>
>

__________________________________





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: C Compilers, PIC18 Questions - mr_gees100_peas - Dec 11 21:08:00 2003

--- 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.




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: C Compilers, PIC18 Questions - Venko Gyokov - Dec 18 22:02:00 2003

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


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: C Compilers, PIC18 Questions - Venko Gyokov - Dec 18 22:02:00 2003

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




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )