Need compiler recommendation

Nov 07, 2003 20 Replies

I'm looking for a compiler and/or IDE for ARM and Atmel 8051. Suggestions or recommendations?



Thanks,



Sean


In article , Sean writes

formatting link

Keil has the usual uVision ide and simulator on the Gnu compiler. There is a down loadable eval version. As the compiler is GNU there are no restrictions on it.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\ /\/\/ snipped-for-privacy@phaedsys.org

formatting link
\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Rowley Associates:

formatting link
have a reasonably-priced set of ARM tools (based on GNU) with their own IDE. They support the Wiggler JTAG interface and their own new CrossConnect USB JTAG I/F. The tools work fine with an old Atmel EB01 board of mine, apart from a problem with the Wiggler which they are investigating. They will be supporting the new Philips LPC210x ARM MCUs.

Leon

Look at

formatting link
- they have one of the best C-compilers for '51 family and also for ARM (although in beta-phase at the moment). They share the same IDE, which is very useful...

Dejan

"Dejan Durdenic" wrote in news:bog2p9$8hj$ snipped-for-privacy@ls219.htnet.hr:

I'll second the recomendation regarding '51, have not looked at what they have for any other processors.

Richard

For ARM, I like gcc.

-- Grant Edwards grante Yow! Where's th' DAFFY at DUCK EXHIBIT?? visi.com

Gcc is not practical for 8051... The Keil IDE runs both 8051 and ARM compilers. The ARM is GNU.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\ /\/\/ snipped-for-privacy@phaedsys.org

formatting link
\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Suggestions

Anyone here might assume you have a vested interest?

I don't know, he just seems to be a satisfied customer of Keil's...

Nevertheless, GCC *is* not practical for 8051, so this looks like a valid advice to me, especially if the OP really wants a compiler that supports both ARM *and* 8051. Otherwise I would suggest to use GCC for ARM and SDCC (see

formatting link
for the 8051.

Rob

Robert Kaiser email: rkaiser AT sysgo DOT de SYSGO AG http://www.elinos.com Klein-Winternheim / Germany http://www.sysgo.de

In article , Fred writes

No. The poster wanted an IDe for both ARM and 8051 The Keil does that. The other comment was that for ARM GCC was preferred.

I just added that gcc is not practical for 8051 because the 8051 is a very small and awkward architecture that really needs a specialised compiler, not a generic one, to write effective programs.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\ /\/\/ snipped-for-privacy@phaedsys.org

formatting link
\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

In article , Robert Kaiser writes

I don't think that SDCC would be any better than the gcc for 8051. It has got a lot better but....

I am always curious about people who cast doubts on other people whilst hiding behind fake email addresses what do you think "Fred" ? :-)

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\ /\/\/ snipped-for-privacy@phaedsys.org

formatting link
\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Chris Hills wrote in news:ZrFEpPA4h+r$EAt1 @phaedsys.demon.co.uk:

I would agree 100%. You really need a compiler that is tailored to the

8051 if you want to have any reasonable chance at taking advantage of it's capabilities, and working with it's limitations. I'd also agree with the Keil compiler for that, I use it quite a bit myself.

Can't comment on the ARM part yet.

Richard

My post was a tongue in cheek. I assumed however you might have come clean though. Just that if you put into Google "Chris Hills" and Keil you get a number of matches which suggest you are/work for Hitex which sell Keil tools. Other than that I thought your postings were relevant and take this opportunity to compliment you on the help you have given.

formatting link
formatting link

I wouldn't know as I have never used it myself. However the SDCC homepage explicitly claims support for the 8051. It is probably no match for the Keil compiler, but it's price is certainly attractive ;-).

Rob

Robert Kaiser email: rkaiser AT sysgo DOT de SYSGO AG http://www.elinos.com Klein-Winternheim / Germany http://www.sysgo.de

SDCC is definitely a work in progress but with good user feedback it gets better all the time. I thought that gcc did not support the 8051 but I may be wrong.

Ian

In article , Fred writes

Then you missed a few :-)

I do work for Hitex in the UK among other things.

As for coming clean I do not hide. My name, email address and web site are all open and genuine. I also have a monthly column in ESE so I can hardly be said to hide.

I do not, as some do here, simply post adverts for their company at any half excuse. I am posting on my own behalf NOT that of my employer.

I have 20 years programming and electronics experience. I am also on the ISO C and C++ committees and the MISRA-C working group and C.Eng/MIEE I also do a load of technical papers on

formatting link

So, from my own email address I give what I believe is straight forward honest engineering advice that are entirely my own views. (Mind you I do the same at work.)

So Fred, who are you? hiding behind @ snipped-for-privacy@hotmail.com?

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\ /\/\/ snipped-for-privacy@phaedsys.org

formatting link
\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Although haven't tried anything elseexcep Keil I'd suggest Keil, I found it very good for 8051, havem't used ARM yet.

clean

a

this

Yes there were quite a few more links but superfluous for the purpose of the post.

I felt you were pushing the Keil compiler etc rather hard in the first instance and hence my post. It is now apparent that there are few serious

8051 compilers.

I used to add my email address to a post but got cheesed of with the spam. I only use a couple of email addresses and presently I rarely receive spam. I aim to keep it that way.

You never know we may meet one day and I'll remind of these posts!

I've checked several (but admittedly not all) of the US distributors listed on their web site, and not a single one gives cost info. Anyone care to give a ballpark figure on C251 and ARM versions?

Thanks, Tom

To respond by email, replace "somewhere" with "astro" in the return address.

If you have to ask...

Last time I bought Keil (late 90's), DK51 was about US$2k and PK51 was about US$5k. Last time I posted those numbers, Chris said it was cheaper now. I dunno. Maybe dongled versions are cheaper -- Mine were not dongled.

Regards,

-=Dave

Change is inevitable, progress is not.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required