Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Gnuarm Problems

2004-06-06 by capiman@t-online.de

Hello,

i think you are generating an exe-file without startup code.
Please take the example lpc2106_gcc.zip from filesection of this group !
Try if this is working for you and take it as base for your further
development.

Regards,

        Martin

----- Original Message ----- 
From: "Benjamin Wende" <bwende@...>
To: <lpc2000@yahoogroups.com>
Sent: Sunday, June 06, 2004 4:04 PM
Subject: [lpc2000] Gnuarm Problems


> 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.
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

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.