From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Huang Qiang" To: "eCos" Subject: RE: [ECOS] How to create a Bin file for downloading Date: Tue, 24 Apr 2001 03:19:00 -0000 Message-id: References: <3AE5512C.A2D80E5E@redhat.com> X-SW-Source: 2001-04/msg00348.html 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