[ECOS] Some issues with arm-elf-objcopy

Andrew Lunn andrew@lunn.ch
Fri Aug 13 07:16:00 GMT 2004


On Thu, Aug 12, 2004 at 02:45:01PM -0700, Robert Allen wrote:
> Thanks Andrew. I looked up at my flash programmer
> documentation, it recognizes only .hex, .elf, and .s19
> files. I think I can convert the elf file to a hex
> file. But the idea is to directly write this file into
> the flash without Redboot or Angel, kind of making it
> a stand alone application. would a .hex file be
> applicable.

Any format that the programmer understands would be suitable. Since
your programmer understands elf i would not even bother to convert it.

        Andrew

> 
> Thanks.
> 
> Rob.
> 
> --- Andrew Lunn <andrew@lunn.ch> wrote:
> 
> > On Thu, Aug 12, 2004 at 01:23:51PM -0700, Robert
> > Allen wrote:
> > > Hi,
> > >   I'm using the sample examples in the ecos
> > directory
> > > for the eb40a board. I guess the executables that
> > I'm
> > > getting are of elf format, right, though it
> > doesn't
> > > have an extension explicitly.
> > 
> > That is normal in the *nix world which does not use
> > extensions on
> > executables.
> > 
> > > I want to convert this
> > > to a bin file and this is what I'm using --
> > > 
> > > arm-elf-objcopy -O binary standalone_serial
> > > standalone_serial.bin
> > > 
> > > am I doing right. 
> > 
> > Yes thats correct.
> > 
> > > I'm asking this because my flash
> > > programmer complains that there is an error in
> > opening
> > > the .bin file.
> > 
> > The flash programmer might want SREC or some other
> > format. What does
> > the documentation say?
> > 
> >         Andrew
> > 
> > -- 
> > Before posting, please read the FAQ:
> > http://ecos.sourceware.org/fom/ecos
> > and search the list archive:
> > http://ecos.sourceware.org/ml/ecos-discuss
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list