EmbeddedRelated.com
Forums

TiniARM Development with Eclipse

Started by lynchzilla July 15, 2004
Forum readers interested in using Eclipse for ARM cross-development
may find the 70 page tutorial "TiniARM Development with Eclipse" very
helpful.

The tutorial explains in great detail how to configure Eclipse, the
CDT plugins, Cygwin and GNUARM compiler suites to create a free and
sophisticated Integrated Development Environment.

While the tutorial is specifically directed towards the New Micros
TiniARM development kit ($95 US), users of other ARM chips may still
find it useful.

New Micros Inc. is graciously hosting the tutorial and you may access
it at:

http://www.newmicros.com/download/appnotes/arm/TiniARM_Dev_Eclipse.pdf

Take a look!



An Engineer's Guide to the LPC2100 Series

WOW! you guys did a great job.

When do you think there will be a tutorial explaining how to use
JTAG to step through code and add break points?

Gus

--- In , "lynchzilla" <lynchzilla@a...> wrote:
> Forum readers interested in using Eclipse for ARM cross-development
> may find the 70 page tutorial "TiniARM Development with Eclipse"
very
> helpful.
>
> The tutorial explains in great detail how to configure Eclipse, the
> CDT plugins, Cygwin and GNUARM compiler suites to create a free and
> sophisticated Integrated Development Environment.
>
> While the tutorial is specifically directed towards the New Micros
> TiniARM development kit ($95 US), users of other ARM chips may
still
> find it useful.
>
> New Micros Inc. is graciously hosting the tutorial and you may
access
> it at: http://www.newmicros.com/download/appnotes/arm/TiniARM_Dev_Eclipse.pd
f
>
> Take a look!





--- In , "Gus" <gus_is_working@y...> wrote:
> WOW! you guys did a great job.
>
> When do you think there will be a tutorial explaining how to use
> JTAG to step through code and add break points?
>
> Gus
>
> --- In , "lynchzilla" <lynchzilla@a...>
wrote:
> > Forum readers interested in using Eclipse for ARM cross-
development
> > may find the 70 page tutorial "TiniARM Development with Eclipse"
> very
> > helpful.
> >
> > The tutorial explains in great detail how to configure Eclipse,
the
> > CDT plugins, Cygwin and GNUARM compiler suites to create a free
and
> > sophisticated Integrated Development Environment.
> >
> > While the tutorial is specifically directed towards the New Micros
> > TiniARM development kit ($95 US), users of other ARM chips may
> still
> > find it useful.
> >
> > New Micros Inc. is graciously hosting the tutorial and you may
> access
> > it at:
> >
> >
>
http://www.newmicros.com/download/appnotes/arm/TiniARM_Dev_Eclipse.pd
> f
> >
> > Take a look!

What am I missing ?
I installed Cyqwin, Eclipse and GNUArm as per instruction.
With a sample project (as per instruction), when I try to
project->build all I have:
Error launching builder (make all )
(Exec error:Launching failed)
There is no make utility. My uderstanding was there should be a
make.exe utility under GnuArm\utils\ or smth. but there is none.
Can someone explain how the make works and/or why it doesn't work for
me?
Jan



At 18:55 2004-07-20, you wrote:

>What am I missing ?
>I installed Cyqwin, Eclipse and GNUArm as per instruction.
>With a sample project (as per instruction), when I try to
>project->build all I have:
>Error launching builder (make all )
>(Exec error:Launching failed)
>There is no make utility. My uderstanding was there should be a
>make.exe utility under GnuArm\utils\ or smth. but there is none.
>Can someone explain how the make works and/or why it doesn't work for
>me?
>Jan

GNUARM doesn't come with make. You should check the 'make' development
package when installing Cygwin. The Cygwin\bin directory must be in your path.

Regards. --
PabloBleyerKocik /"Mama said to get things done
pbleyer2004 / you better not mess with major Tom"
@embedded.cl / -- Ashes to ashes, David Bowie



--- In , Pablo Bleyer Kocik <pbk@e...> wrote:
> At 18:55 2004-07-20, you wrote:
>
> >What am I missing ?
> >I installed Cyqwin, Eclipse and GNUArm as per instruction.
> >With a sample project (as per instruction), when I try to
> >project->build all I have:
> >Error launching builder (make all )
> >(Exec error:Launching failed)
> >There is no make utility. My uderstanding was there should be a
> >make.exe utility under GnuArm\utils\ or smth. but there is none.
> >Can someone explain how the make works and/or why it doesn't work
for
> >me?
> >Jan
>
> GNUARM doesn't come with make. You should check the 'make'
development
> package when installing Cygwin. The Cygwin\bin directory must be in
your path.
>
> Regards. > --
> PabloBleyerKocik /"Mama said to get things done
> pbleyer2004 / you better not mess with major Tom"
> @embedded.cl / -- Ashes to ashes, David Bowie

Thanks for that.
BTW, would the same 'make' (under Cygwin) work for other GNU packages
like MSP430, AVR and Hitachi, as some of them come with make utility
of it's own.
I always had a problem with coexistence of GNU tools for different
micros (MSP430 and H8S).
Jan


--- In , Pablo Bleyer Kocik <pbk@e...> wrote:
> At 18:55 2004-07-20, you wrote:
>
> >What am I missing ?
> >I installed Cyqwin, Eclipse and GNUArm as per instruction.
> >With a sample project (as per instruction), when I try to
> >project->build all I have:
> >Error launching builder (make all )
> >(Exec error:Launching failed)
> >There is no make utility. My uderstanding was there should be a
> >make.exe utility under GnuArm\utils\ or smth. but there is none.
> >Can someone explain how the make works and/or why it doesn't work
for
> >me?
> >Jan
>
> GNUARM doesn't come with make. You should check the 'make'
development
> package when installing Cygwin. The Cygwin\bin directory must be in
your path.
>
> Regards. > --
> PabloBleyerKocik /"Mama said to get things done
> pbleyer2004 / you better not mess with major Tom"
> @embedded.cl / -- Ashes to ashes, David Bowie

Thanks for that.
Would the same 'make' be OK with other GNU packages (MSP430 and
Hitachi) ? I always had a problem with a coexistance of GNU tools for
different micros.
Jan



At 22:45 2004-07-20, you wrote:

>Thanks for that.
>Would the same 'make' be OK with other GNU packages (MSP430 and
>Hitachi) ? I always had a problem with a coexistance of GNU tools for
>different micros.
>Jan

'GNU make' is 'GNU make', if they are the same version they should behave
the same. However, if you are using make for a Cygwin environment, you
should be aware of the directory path translations Cygwin does with the
filesystem (eg /cygdrive/{drive}, /usr/..., mounts, etc.)

Regards. --
PabloBleyerKocik /"Why don't we rewrite it all in assembly
pbleyer2004 / language for processor Mega666?"
@embedded.cl / - The linux-kernel mailing list FAQ



Pablo Bleyer Kocik wrote:

> At 22:45 2004-07-20, you wrote: >>Thanks for that.
>>Would the same 'make' be OK with other GNU packages (MSP430 and
>>Hitachi) ? I always had a problem with a coexistance of GNU tools for
>>different micros.
>>Jan > 'GNU make' is 'GNU make', if they are the same version they should behave
> the same. However, if you are using make for a Cygwin environment, you
> should be aware of the directory path translations Cygwin does with the
> filesystem (eg /cygdrive/{drive}, /usr/..., mounts, etc.)
>
> Regards. > --
> PabloBleyerKocik /"Why don't we rewrite it all in assembly
> pbleyer2004 / language for processor Mega666?"
> @embedded.cl / - The linux-kernel mailing list FAQ
Also, make sure that there are no other Development tools with an own 'make' in
the PATH variable before GNU-make. I ran into that problem when Eclipse instead
of GNU-make found the make utility that came with Borland C++ Builder. That one
didn't work with my makefile and produced an error. If you can't change the
order of entries in the PATH variable (e.g. because then the other tools will
not be able to find their 'make') you could create a symbolic link like
"gnu-make" and tell Eclipse to use that name to call 'make'.

Regards,
Jens




Jens Hildebrandt wrote:

> Pablo Bleyer Kocik wrote:
>
> > At 22:45 2004-07-20, you wrote:
> >
> >
> >>Thanks for that.
> >>Would the same 'make' be OK with other GNU packages (MSP430 and
> >>Hitachi) ? I always had a problem with a coexistance of GNU tools for
> >>different micros.
> >>Jan
> >
> >
> > 'GNU make' is 'GNU make', if they are the same version they should
> behave
> > the same. However, if you are using make for a Cygwin environment, you
> > should be aware of the directory path translations Cygwin does with the
> > filesystem (eg /cygdrive/{drive}, /usr/..., mounts, etc.)
> >
> > Regards.
> >
> >
> > --
> > PabloBleyerKocik /"Why don't we rewrite it all in assembly
> > pbleyer2004 / language for processor Mega666?"
> > @embedded.cl / - The linux-kernel mailing list FAQ
> >
> >
> Also, make sure that there are no other Development tools with an own
> 'make' in
> the PATH variable before GNU-make. I ran into that problem when
> Eclipse instead
> of GNU-make found the make utility that came with Borland C++ Builder.
> That one
> didn't work with my makefile and produced an error. If you can't
> change the
> order of entries in the PATH variable (e.g. because then the other
> tools will
> not be able to find their 'make') you could create a symbolic link like
> "gnu-make" and tell Eclipse to use that name to call 'make'.

Could always do the dodgy old trick of putting a make.bat in the project
directory
pointing to the make and other utils you want to use.

Sometimes its the only way to get around things, especially
if you have a few different versions of gcc and cygwin installed
and multiple make versions.
eg
"normal cygwin"
mingw + msys
gnuarm
winavr
microchip C30 (gcc based)
Macraigor Cygwin
keil
gcc for blackfin etc

Alex


--- In , "Jan Szymanski" <janek@b...> wrote:
> --- In , "Gus" <gus_is_working@y...> wrote:
> > WOW! you guys did a great job.
> >
> > When do you think there will be a tutorial explaining how to use
> > JTAG to step through code and add break points?
> >
> > Gus
> >
> > --- In , "lynchzilla" <lynchzilla@a...>
> wrote:
> > > Forum readers interested in using Eclipse for ARM cross-
> development
> > > may find the 70 page tutorial "TiniARM Development with Eclipse"
> > very
> > > helpful.
> > >
> > > The tutorial explains in great detail how to configure Eclipse,
> the
> > > CDT plugins, Cygwin and GNUARM compiler suites to create a free
> and
> > > sophisticated Integrated Development Environment.
> > >
> > > While the tutorial is specifically directed towards the New Micros
> > > TiniARM development kit ($95 US), users of other ARM chips may
> > still
> > > find it useful.
> > >
> > > New Micros Inc. is graciously hosting the tutorial and you may
> > access
> > > it at:
> > >
> > >
> >
> http://www.newmicros.com/download/appnotes/arm/TiniARM_Dev_Eclipse.pd
> > f
> > >
> > > Take a look!
>
> What am I missing ?
> I installed Cyqwin, Eclipse and GNUArm as per instruction.
> With a sample project (as per instruction), when I try to
> project->build all I have:
> Error launching builder (make all )
> (Exec error:Launching failed)
> There is no make utility. My uderstanding was there should be a
> make.exe utility under GnuArm\utils\ or smth. but there is none.
> Can someone explain how the make works and/or why it doesn't work for
> me?
> Jan


I have followed all the instructions (one per one) like Jan, but When
I want toi build all , the 'build all ' command in greyed in the menu
!!! So I can't go to the next step :(

Yann