C compiler for PICs

B

Ben Cook

Guest
Anyone know of a good C compiler for PICs.
I'm looking for something that will support a good range of devices and
provides some sort of simulation. I'm interested in the WIZ-C product from
forest electronics, but thought I'd get a second opinion before I part with
my cash - see:-

http://www.fored.co.uk/html/wiz_c_-__pic_c_compiler.HTM

You're looking at Ł70 + VAT ($125) for the standard version of that.

Any ideas?

Thanks,

Ben.
 
"Ben Cook" <mail@bencook.co.uk> wrote in message
news:_Lqdne55gfnFxPXbnZ2dneKdnZydnZ2d@pipex.net...
Anyone know of a good C compiler for PICs.
I'm looking for something that will support a good range of devices and
provides some sort of simulation. I'm interested in the WIZ-C product from
forest electronics, but thought I'd get a second opinion before I part
with my cash - see:-
I'm really impressed by the CCS compilers we used at work.

http://www.ccsinfo.com/

Though they may be too expensive if you want support for different PIC
series and it's just for hobby purposes. Also note that you have to pay
again just to be able to download bug fix updates for one year.

I know nothing about WIZ-C.

--

Brian Gregory. (In the UK)
ng@bgdsv.co.uk
To email me remove the letter vee.
 
On 2007-06-07, Ben Cook <mail@bencook.co.uk> wrote:

Anyone know of a good C compiler for PICs.
I'm looking for something that will support a good range of devices and
provides some sort of simulation. I'm interested in the WIZ-C product from
forest electronics, but thought I'd get a second opinion before I part with
my cash - see:-
until rwecently PICs didn't have good support for C

You're looking at Ł70 + VAT ($125) for the standard version of that.

Any ideas?
sdcc plus some sort of emulator ?

Bye.
Jasen
 
"Jasen" <jasen@free.net.nz> wrote in message
news:f4b4uv$cun$1@jasen.is-a-geek.org...
until rwecently PICs didn't have good support for C
The C compiler I've used with the older PICs works pretty well (it's CCS
PCM).
It's just not really standard C though. In particular auto variables aren't
on a stack so nothing is re-entrant (no recursion, no using the same
routines in both the main program and interrupt routines).
But I found this to be a pretty minor restriction when programming such
small chips.
I guess it might be a problem if you're intending to reuse existing C code.

--

Brian Gregory. (In the UK)
ng@bgdsv.co.uk
To email me remove the letter vee.
 
Ben Cook wrote:
Anyone know of a good C compiler for PICs.

Have you considered a microcontroller whose architecture isn't C-
hostile?
http://groups.google.com/group/comp.arch.embedded/browse_frm/thread/ce504277b38a232f/88f6809798a78ad5?q=banking+pointers+*-*-general-purpose-*+for-wretched+multiply-*-divide+constants-*-accessed-differently-*-*-*+*-*-single-pointer+no-*-stack+stack-size
http://groups.google.com/group/comp.arch.embedded/browse_frm/thread/dde9a0af5426b4af/42cb70e693d324aa?q=zzz+32-bit-*-arithmetic+floating-point-support+qq+the-C-they-*-can-cope-with+*-*-*-*-*-51-family-*-can't-*-*-*-either+sizes-of-variables-and-functions+the-one-about-recursion

Perhaps an AVR or MSP430?
..
..
To my knowledge, there is no group called rec.electronics.
If it does exist, it doesn't have enough activity for Google to bother
archiving it.
You should also notice that the uC-related posts I linked to
are from comp.arch.embedded.

If you *are* going to use a PIC, you should become familiar with
Piclist.
It is a mailing list. Google has it archived back to June 2003:
http://groups.google.com/group/piclist_archive
 

Welcome to EDABoard.com

Sponsor

Back
Top