[ECOS] is my SREC correct?

rob.wj.jansen@philips.com rob.wj.jansen@philips.com
Wed Jun 13 00:43:00 GMT 2001


Piteir,

use arm-elf-objcopy -O srec hello.exe hello.srec.

Now if use run the file command on the srec file it will show you:

hello.srec: Motorola S-Record; binary data in text format

my .exe is 1844 kB and the srec file 220 kB, which is normal since
the srec file does not contain any debug info.
Try also arm-elf-size on the exe file, this will show you the actual
size of text and data segments (which in my case total to about 90 kB).

Regards,

	Rob

> Hi,
> I always failed to download hello example in srec
> format the hello example that I compile in cygwin
> size is 1029KB and I create srec format using
> 
> arm-elf-objcopy -O hello.exe hello.srec
> 
> the hello.srec size only 178KB from hello.exe 1029KB
> Is the arm-elf-objcopy produce an error result?


Rob Jansen

Software Engineer
Competence Center Platforms
BU Mobile Communications
Meijhorst 60-10, 6537 KT Nijmegen, The Netherlands
Tel: +31-24-353-6329
Fax: +31-24-353-3613
mailto:Rob.WJ.Jansen@philips.com




More information about the Ecos-discuss mailing list