[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] crc of program memory

From: Uwe Fechner
Subject: Re: [avr-gcc-list] crc of program memory
Date: Fri, 31 Mar 2006 10:03:05 +0200
User-agent: Mail/News 1.5 (X11/20060311)


Thank you for the hint to srecord.

I tried it with the following command:

srec_cat input.hex -Intel -Little_Endian_CRC32 \
  -max input.hex -Intel -Output out.hex

I get the following warning:

srec_cat: input.hex: 658: warning: no start address record

Line 658 is the last line and has the content:


But the result is not, what I expected:

The length of the resulting file is 61A7h, the length of the input
file is 717dh. (I expected an four byte increase of the file length.)

Any idea?

I am using avr-gcc 3.4.5 and srec_cat version 1.24.


Uwe Fechner

Keith Gudger wrote:
> I use srec_cat to put the CRC anywhere you want.  For example, to put a
> crc32 at the end of the hex file:
> srec_cat in.hex -Intel -Little_Endian_CRC32 -max in.hex -Intel \
>          -Output out.hex
> Keith

reply via email to

[Prev in Thread] Current Thread [Next in Thread]