avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] SRecord can't find "man.config" file


From: Jan-Hinnerk Reichert
Subject: Re: [avrdude-dev] SRecord can't find "man.config" file
Date: Fri, 17 Oct 2003 16:37:28 +0200
User-agent: KMail/1.5.1

On Friday 17 October 2003 03:07, idefixx wrote:
> Hi!
> I now installed the latest verison of WinAVR
> (WinAVR-20030913-bin-install.exe) on my WinXP computer and
> everything works so far except the SRecord program (srec_cat
> version 1.16.D002). If for instance I type srec_cat -help
> I get the error message
>
> H:\WinAVR\bin>srec_cat -help
> /usr/local/lib/man.config: No such file or directory
> Warning: cannot open configuration file /usr/local/lib/man.config
> No manual entry for srec_cat

"srec_cat -?" gives a short description (should work on your system). 
"srec_cat -help" calls "man" to display the manpage (at least under 
Linux). So your problem seems to be outside "srec_cat".

No idea, how to fix it. However, I believe I have a workaround

There is a pdf manual at
http://srecord.sf.net
so there is no need for "-help" ;-)

-------------------

Now a quick start for inserting CRC...

Inserting a CRC over the whole memory into an Intel-Hex-File can be 
done with

srec_cat input.hex -intel -fill 0xff 0x0000 0x1ffe -Big_Endian_CRC16 
0x1ffe -o output.hex -intel

After that the CRC_CCITT over the whole memory is zero.
If your hexfile already contains some values for 0x1ffe or 0x1fff you 
need to remove them first (-crop 0x0000 0x1ffe).
If you want, you can remove the inserted 0xff after calculating the 
checksum. Then your command line looks like this:

srec_cat input.hex -intel -crop 0x0000 0x1ffe -fill 0xff 0x0000 0x1ffe 
-Big_Endian_CRC16 0x1ffe -unfill 0xff 8 -o output.hex -intel

/Jan-Hinnerk





reply via email to

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