Re: STM32 ARM toolset advice?



In article <81ene4hsatqaphkmp01cikmpk9l7ana9qi@xxxxxxx>,
nobody@xxxxxxxxxxxxxxxx says...
On Tue, 7 Oct 2008 08:01:31 -0700, "John Speth" <johnspeth@xxxxxxxxx>
wrote:

(Not to start a tools war but)

I'm about to start a project that will use the STM32 ARM from ST. IAR and
Keil both supply high quality tool sets for the STM32. I've used both
toolsets' evaluation copies. I believe I'd be satisfied buying any one over
the other.

Can anyone make any comments why one might be better than the other?

At this point, it's a flip of the coin. I'd like to hear some practical
opinions of current users to help tip the scales.


Keil has been bought by ARM, and AFAIK they now use the compiler from
ARM. Apparently this compiler generates the best code for ARM's CPUs.
GCC Generates quite good code for the ARM these days. The biggest
drawback is the use of newlib. Rowley provides a nice IDE with GCC,
and their own library, which removes the one disadvantage of using
GCC. Their product is also available for Windows and Linux.


One of the biggest problems I ran into with GCC-ARM when using the
linux libraries for the TRITON boards, is that floating point operations
are executed as kernel interrupts (Undefined Instruction generating
jumps to a floating point emulator, I think.) I think it turned
out to be several times slower than the IAR floating point library
that runs in user mode.

I suppose it makes a big difference whether your ARM code is going
to run under Linux or on the bare silicon. All my IAR experience
is on ARM7TDMI without an OS, and all my GCC experience is
on a StrongArm chip under linux. I'd love to transition to
an RTOS with either system, but haven't found the free time to
get either MicroC/OSII or FreeRtos running with either set
of hardware.


Mark Borgerson

.



Relevant Pages

  • Re: STM32 ARM toolset advice?
    ... Keil has been bought by ARM, and AFAIK they now use the compiler from ... GCC Generates quite good code for the ARM these days. ... Their product is also available for Windows and Linux. ... linux libraries for the TRITON boards, is that floating point operations ...
    (comp.arch.embedded)
  • Elf loader crash while zero-filling .bss
    ... I am relatively new into kernel hacking and I am trying to get Linux ... running on a ARM based SBC. ... gcc version and compiler are the following: ...
    (Linux-Kernel)
  • Re: Compiler for AT91 ARM processors
    ... I've used the IAR ARM compiler and IDE for several years now. ... there is no source code available for the benchmarks, there are no run-time speeds given, and there is no indication as to the libraries. ...
    (comp.arch.embedded)
  • Re: Atmel ARM AT91SAM7S256 USB Question
    ... we are considering an ARM with a USB interface (Atmel ... Keil == ARM Real view ... Both IAR and Keil have inexpensive but GOOD JTAG-USB debuggers. ... On SAM7 Atmel work closely with IAR (the IAR Jtag is supplied with the ...
    (comp.arch.embedded)
  • Re: Compiler for AT91 ARM processors
    ... processors from Atmel. ... I've used the IAR ARM compiler and IDE for several years now. ... Assuming reduced code size means you can use a cheaper device, ...
    (comp.arch.embedded)