Yahoo Groups archive

Lpc2000

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

Message

Gnuarm Problems

2004-06-06 by Benjamin Wende

Hallo

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


What is wrong with my build process.


Thanks.

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.