EmbeddedRelated.com
Forums
Memfault Beyond the Launch

LPC900/80C51 Compiler Toolchain

Started by Unknown June 20, 2007
Hello,

I am starting a small project on LPC932. There seems to be quite a few
toolchain options out there:
Keil
Rigel
Raisonance
IAR
SDCC (open-source)

Which one would you recommend?
In my case, it is a very small project (I might even fit into the 4K
limited commercial kits), but if SDCC is a decent compiler, it will be
useful if I have future projects on this platform.

Thanks
Eugene

eugenios@gmail.com schrieb:

> I am starting a small project on LPC932. There seems to be quite a few > toolchain options out there: > Keil > Rigel > Raisonance > IAR > SDCC (open-source) > > Which one would you recommend? > In my case, it is a very small project (I might even fit into the 4K > limited commercial kits), but if SDCC is a decent compiler, it will be > useful if I have future projects on this platform.
We are using the Raisonace tools, and are fairly satisfied with it. It has a good price/performance ratio, compared to other brands. You might also have a look at <http://www.wickenhaeuser.de/> for their uC/51 package. It also is rather cheap, and the demo is limited to 8k (which is enough for most LPC900 devices due to their flash sizes). I didn't look at that software deeper yet, however. Tilmann -- http://www.autometer.de - Elektronik nach Ma&#4294967295;.
In article <1182372529.740274.209910@q19g2000prn.googlegroups.com>, 
eugenios@gmail.com writes
>Hello, > >I am starting a small project on LPC932. There seems to be quite a few >toolchain options out there: >Keil >Rigel >Raisonance >IAR >SDCC (open-source) > >Which one would you recommend? >In my case, it is a very small project (I might even fit into the 4K >limited commercial kits), but if SDCC is a decent compiler, it will be >useful if I have future projects on this platform. > >Thanks >Eugene
I would suggest in this order Keil IAR Raisonance Rigel SDCC Keil and IAR are very much more advanced than the rest. Keil particularly can do aggressive data overlaying which is often more crucial than the limit on memory addressing the eval version. Infact I have known the Keil eval compiler to get programs to fit ant run where the full versions of other programs can not. SDCC is not what I would call "decent" It may be unlimited but as I said the lack of optimisation means you will run out of Data space and possibly code space. Also there is a lot more to the 8051 variants than just changing the header files. TO start with the LPC932 has INTERNAL eXternal DATA memory..... The Keil compiler will handle this correctly. Start with the Keil compiler. I would put the SDCC as a last resort. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
On Thu, 21 Jun 2007 08:54:36 +0100, Chris Hills wrote:

> In article <1182372529.740274.209910@q19g2000prn.googlegroups.com>, > eugenios@gmail.com writes
> I would suggest in this order > > Keil > IAR > Raisonance > Rigel > SDCC > > Keil and IAR are very much more advanced than the rest. Keil > particularly can do aggressive data overlaying which is often more > crucial than the limit on memory addressing the eval version.
Anyone got any figures comparing any of these with gcc? Maybe for a bit of open source software? (e.g. Lewin's DOSFS - or a another similar sized project). How big is it when compiled with gcc, and with any of the above compilers. I'm more interested in code size rather than run-time performance. Regards, Paul Taylor.
On Thu, 21 Jun 2007 17:36:48 +0100, Paul Taylor wrote:

> Anyone got any figures comparing any of these with gcc? Maybe for a > bit of open source software? (e.g. Lewin's DOSFS - or a another similar > sized project). How big is it when compiled with gcc, and with any of the > above compilers. I'm more interested in code size rather than run-time > performance.
Doesn't have to be 8051 target.
In article <pan.2007.06.21.16.36.47.443831@tiscali.co.uk>, Paul Taylor 
<paul_ng_pls_rem@tiscali.co.uk> writes
>On Thu, 21 Jun 2007 08:54:36 +0100, Chris Hills wrote: > >> In article <1182372529.740274.209910@q19g2000prn.googlegroups.com>, >> eugenios@gmail.com writes > >> I would suggest in this order >> >> Keil >> IAR >> Raisonance >> Rigel >> SDCC >> >> Keil and IAR are very much more advanced than the rest. Keil >> particularly can do aggressive data overlaying which is often more >> crucial than the limit on memory addressing the eval version. > >Anyone got any figures comparing any of these with gcc? Maybe for a >bit of open source software? (e.g. Lewin's DOSFS - or a another similar >sized project). How big is it when compiled with gcc, and with any of the >above compilers. I'm more interested in code size rather than run-time >performance.
For code size (I assume you mean both Code and Data data usually being the critical one ) the only options are Keil and IAR in that order. GCC is not in the running. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
In article <pan.2007.06.21.16.53.49.548462@tiscali.co.uk>, Paul Taylor 
<paul_ng_pls_rem@tiscali.co.uk> writes
>On Thu, 21 Jun 2007 17:36:48 +0100, Paul Taylor wrote: > >> Anyone got any figures comparing any of these with gcc? Maybe for a >> bit of open source software? (e.g. Lewin's DOSFS - or a another similar >> sized project). How big is it when compiled with gcc, and with any of the >> above compilers. I'm more interested in code size rather than run-time >> performance. > >Doesn't have to be 8051 target.
Then it depends on the target. GCC is closer to commercial performance int he 32 bit areas than the 8 or 16 bit. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
On Thu, 21 Jun 2007 18:09:22 +0100, Chris Hills wrote:
 
> For code size (I assume you mean both Code and Data data usually being > the critical one )
yes
> the only options are Keil and IAR in that order.
> GCC is not in the running.
oops - I haven't used/looked at the 8051 for years, and just assumed that gcc was ported to 8051.
In article <pan.2007.06.21.18.20.07.689574@tiscali.co.uk>, Paul Taylor 
<paul_ng_pls_rem@tiscali.co.uk> writes
>On Thu, 21 Jun 2007 18:09:22 +0100, Chris Hills wrote: > >> For code size (I assume you mean both Code and Data data usually being >> the critical one ) > >yes > >> the only options are Keil and IAR in that order. > >> GCC is not in the running. > >oops - I haven't used/looked at the 8051 for years, and just assumed that >gcc was ported to 8051.
As far as I know it is but It would not be a practical answer. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
On Jun 21, 3:54 am, Chris Hills <c...@phaedsys.org> wrote:
> In article <1182372529.740274.209...@q19g2000prn.googlegroups.com>, > eugen...@gmail.com writes > > > > >Hello, > > >I am starting a small project on LPC932. There seems to be quite a few > >toolchain options out there: > >Keil > >Rigel > >Raisonance > >IAR > >SDCC (open-source) > > >Which one would you recommend? > >In my case, it is a very small project (I might even fit into the 4K > >limited commercial kits), but if SDCC is a decent compiler, it will be > >useful if I have future projects on this platform. > > >Thanks > >Eugene > > I would suggest in this order > > Keil > IAR > Raisonance > Rigel > SDCC > > Keil and IAR are very much more advanced than the rest. Keil > particularly can do aggressive data overlaying which is often more > crucial than the limit on memory addressing the eval version. > > Infact I have known the Keil eval compiler to get programs to fit ant > run where the full versions of other programs can not. > > SDCC is not what I would call "decent" It may be unlimited but as I > said the lack of optimisation means you will run out of Data space and > possibly code space. > > Also there is a lot more to the 8051 variants than just changing the > header files. TO start with the LPC932 has INTERNAL eXternal DATA > memory..... The Keil compiler will handle this correctly. > > Start with the Keil compiler. > I would put the SDCC as a last resort. > > -- > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ > /\/\/ c...@phaedsys.org www.phaedsys.org\/\/\ > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Thanks Chris, that was a very informative answer. I will give Keil a try, and see if my program fits into 4K. All it does is managing I2C, SPI and some GPIO control lines. I think it should be able to do it. Eugene.

Memfault Beyond the Launch