×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Hex file format for Intel 87C196 microcontroller

Hex file format for Intel 87C196 microcontroller

Hex file format for Intel 87C196 microcontroller

(OP)
Hi folks,
We have an old product which uses the 87C196 microcontroller and I need to program some more blank parts for spares. The problem is I can't be sure of the correct hex file format to setup on our Data I-O 2900 programmer for reading in the file from disk.

The file header looks like this:

:02203800F63F71
:01201800FFC8

which is very similar to Intel Hex-32, but not exactly as the second line seems to be missing two characters for the extended address.

Does anyone out there have any ideas?

RE: Hex file format for Intel 87C196 microcontroller

If I remember correctly, you don't define the address on every line.  Actually, you only need to define it every 5 or 10 lines.  The second line tells you the offset from the last fully defined address.  Therfore, it should increment by the number of bytes.  I would have to look through some of my old spreadsheets to be 100% sure, but I am very confident that this is how it can work (~99.999%).  The advantage of that type of format is that it takes up less space.

RE: Hex file format for Intel 87C196 microcontroller

Try the Intel MSC Hex file format on your DataIO.

RE: Hex file format for Intel 87C196 microcontroller

:AABBBBCCDD...EE

AA = Number of data bytes (DD)
BBBB = Offset from prefix
CC = Prefix load (02 - load prefix, 00 - no load)
DD.. = Data (variable length)
EE = Line checksum

Hopefully, that makes sense....

RE: Hex file format for Intel 87C196 microcontroller

Hi, they are intel hex lines, they are both data records.

RE: Hex file format for Intel 87C196 microcontroller

Exactly.  The first one has 2 data bytes, while the second has 1 data byte.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources