Hello,
first many thanks to ariusdsp for their arm toolchain, seems to be running
fine under cygwin (WinXP)
Already compiled some C code from this newsgroup.
But: Can you tell me how to proceed ?
arm-elf-gcc -S helloworld.c
arm-elf-gcc -mcpu=arm7tdmi -mthumb -O2 -g -c helloworld.c
arm-elf-gcc -mcpu=arm7tdmi -mthumb -o helloworld helloworld.o -lc
arm-elf-objcopy --output-target srec helloworld helloworld.srec
arm-elf-objcopy --output-target ihex helloworld helloworld.hex
arm-elf-objcopy --output-target binary helloworld helloworld.bin
Theoretically i would say i can load the intel binary helloworld.hex ? Is
this correct ?
I think i remember to read something the program start was 0x8000,
and when i call gdb i see that start is 0x8000. But for LPC210x this must be
0x0000 ?
Can someone send me the option again ?
Must i have the startup stub or why can't i directly jump to main ?
Is the stub for initializing the variable & other things ?
Greetings and many thanks for the help,
Martin MaurerMessage
Many thanks to ariusdsp -> how to build application ?
2003-12-16 by capiman@t-online.de
Attachments
- No local attachments were found for this message.