Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] hex and intel hex

2005-08-13 by Javier Fiasche

Don't know if it would work , but what about writing the hex with some hex editor like hexworkshop, saving it as an .bin file ande than translating it with atmel's bit2hex.exe????
Would it work???
Regards.
Javier
----- Original Message -----
From: erikc
Sent: Saturday, August 13, 2005 10:47 AM
Subject: Re: [AVR-Chat] hex and intel hex

Anurag Chugh wrote:
> hi all
> i wanted to know if anyone had hand assembled a program some time in his life?...
> i had this listing (op codes) like as follows:
> C3 00 01 FF FF FF CD 50 01 C3 0A 01 FF FF FF FF
> 4E C3 50 00 CD BF 00 D3 C1 CD BF 00 C3 06 00 FF
>
> i got it from like an article in some very old magazines...
> so i typed it into text file...
>
> and it took me an hour experimenting with microsoft excel to get the intel hex file format:
>
> :10000000C30001FFFFFFCD5001C30A01FFFFFFFF4747
> :100010004EC35000CDBF00D3C1CDBF00C30600FF0B0B
>
> but me and my friends finally figured out the way how to do it using the formula functions in excel...
> thats because we were pretty lazy to write a c/c++ program to open text file containing simple staright ascii hex file
> and convert it to ascii format
>
> (one of us had hand calculated the checksums .. and obviously since the program was so long ... we made errors!!)
>
> so i wanted to know... has any one encountered a program to convert a simple ascii file to intel hex?
>
> thanking all in advance..
>
> cheers!!
>
>
> Anurag
> vu2axc

This might help.

http://www.techedge.com.au/utils/bincvt.htm

also:

http://www.synchrondata.com/pheaven/www/area26.htm



--
erikc
--
"The kind of man who wants the government to adopt and enforce his
ideas is always the kind of man whose ideas are idiotic."
-- H. L. Mencken
Visita www.tutopia.com y comienza a navegar más rápido en Internet.Tutopia es Internet para todos.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.