Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Gnuarm Problems

2004-06-06 by Robert Adsett

At 04:04 PM 6/6/04 +0200, you wrote:
>I got the newset version of the gnuarm toolchain installed under WINXP +
>Cygwin.
>I build the examples and downloaded it to the lpc2006 and it worked.
>
>But if i try to build the examples in another directory with my own
>makefile the
>resulting files are much smaller than the working hex files and they doesnt
>work on the lpc.
>
>I do the following in my makefile:
>
>
>Compiling:
>arm-elf-gcc -mcpu=arm7tdmi -marm -c -o test2.o test2.c
>Linking:
>arm-elf-ld -Tlpc210x.ld -o test2.hex test2.o
>Convert to Intel Hex:
>arm-elf-objcopy -O ihex test2.hex
>Download:
>lpc21isp test2.hex com1 115200 14746

At a guess, given the information you've presented, it sounds like a path 
problem.  You may be linking to the wrong support library or startup.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,
be they legal, genetic, or physical.  If you don't believe me, try to
chew a radio signal. "

                         Kelvin Throop, III

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.