🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics
Article #7482

Re: Looking for extended Intel hex info

#7482
From: Allen J Michielsen
Date: Thu, 27 Sep 1990 14:45
35 lines
2157 bytes
In article <14451@teda.UUCP> ardai@teda.UUCP (Mike Ardai) writes:
>I am looking for information on the extended Intel Hex format.
>Specifically, how does it handle addresses larger than 20 bits?

   The coding of the extended intel hex format is as follows (working in
hex)
:10030000ffffffffffffffffffff00
:10031000ffffffffffffffffffff00

This decodes to (logically) :10 0300 00 data....  00
The first set :10 is the number of data points. (i.e. 10)
   This value may be anything between 00 & FF but is generally like 20 or so.
The second set is the offset address (0300 for example)
   On the second line, the offset increments an amount equal to the number or
   previous data point +10 in this case (0300).
The set 00 is the non end set.  At the end of the file this becomes 01.
The next 20 characters in this case fffffffffffffffffff  are example hex data.
The last set is in this case 00 the checksum for the data line.
   Now the argument can start--  depending on what manufacturers interpretation
of the intel 'standard' is used the following may be true (from my experience,
others are also possible I suppose and just as arbitrary....).
The check sum should (in my opinion) be the hex value required to max the sum
total of the entire line (ignoring the : of course) to the next even multiple
of 100 hex.  Some mfg's do not inlcude the non-data information, and this case
that is 10030000.  The other common change is to use something other than 100
as the divisor.

Hope this helps
al


--
Al. Michielsen, Mechanical & Aerospace Engineering, Syracuse University
 InterNet: amichiel@rodan.acs.syr.edu  amichiel@sunrise.acs.syr.edu
 Bitnet: AMICHIEL@SUNRISE 
Technical Details
Message-ID: <1990Sep27.144531.4937@rodan.acs.syr.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!jarthur!usc!zaphod.mps.ohio-state.edu!rpi!uupsi!rodan.acs.syr.edu!amichiel
References: <14451@teda.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!jarthur!usc!zaphod.mps.ohio-state.edu!rpi!uupsi!rodan.acs.syr.edu!amichiel
From: amichiel@rodan.acs.syr.edu (Allen J Michielsen)
Newsgroups: sci.electronics
Subject: Re: Looking for extended Intel hex info
Message-ID: <1990Sep27.144531.4937@rodan.acs.syr.edu>
Date: 27 Sep 90 14:45:31 GMT
References: <14451@teda.UUCP>
Followup-To: amichiel@rodan.acs.syr.edu
Organization: Syracuse University, Syracuse, NY
Lines: 35