This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How to create a Bin file for downloading


Thank you Jonathan.

But...
Can I get the program in ELF format under windows 2000? How to get it?
I used to get a file name a.out. what can I do with this file.

command used to create this file:
arm-elf-gcc -g -I/c/ecos-work/E7T_install/include
led.c -L/c/ecos-work/E7T_install/lib -Ttarget.ld -nostdlib

after that I got a file name: a.out
I used to download it by using Insight 5.0 but now I want to install in in
the target's flash memory by using Redboot.

regards!


-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Jonathan
Larmour
Sent: 24 April 2001 11:11
To: Huang Qiang
Cc: eCos
Subject: Re: [ECOS] How to create a Bin file for downloading


Huang Qiang wrote:
>
> While using eCos configuration tool and the cross compiler and linker how
to
> build a program to be store in the target's flash memory and start it at
the
> startup?

to create a binfile on ARM use:

arm-elf-objcopy -O binary file file.bin

where file is the program in ELF format.

How to get it onto your board is board dependent. For the EB40 I don't know
I'm afraid.

Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]