objcopy question (about srec) - Urgent

Matthew J Fletcher amimjf at connectfree.co.uk
Sat Jun 22 22:24:44 UTC 2002


On Saturday 22 Jun 2002 3:46 am, Daixun Zheng wrote:
> Hi,
>
> How to generate a file Motorola S-record with optional type --S2 record?
>
> With the option '--output-target=srec', I can generate S1 file and with the
> option '--srec-forceS3', I can  get S3 file. However, I need S2 file for my
> flashRAM.
>
> Can anybody give me an example command line?
> Thanks.

the gnu obj tools dont make any differences between srec1 and srec2 files,..
are you really sure you need srec2 ?,.. trying diff'ing the output of objcopy
and whatever commerical toolchain you have around,.. 

yuo may be able to manually make any differences,.

some tips,.. make sure you strip the obj -S, or all hell will break loose

regards

---
Matthew J Fletcher		amimjf at connectfree.co.uk
Software Engineering		Matthew.Fletcher at student.shu.ac.uk
www.amimjf.org			ICQ amimjf 44193496
---
kickass.amimjf.org 2.4.18-14mdk #1 Mon May 6 18:56:23 CEST 2002
---
"No matter where you go, there you are..."
-- Buckaroo Banzai



More information about the users mailing list