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. MenckenMessage
Re: [AVR-Chat] hex and intel hex
2005-08-13 by erikc
Attachments
- No local attachments were found for this message.