Computer Engineers

 
Home | Fiber / Wireless / Copper Tran | Programming language engineeri | Semiconductor engineering
  Position:HOME>Computer engineering other top>Article Content
Hex file format for Intel 87C196 microcontroller
Source:Internet Author:Unknow Pubdate:2008-04-14  
BrianG (Military) 17 Mar 03 7:05
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?



melone (Electrical) 17 Mar 03 10:08
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. 字串7

melone (Electrical) 17 Mar 03 10:12
Try the Intel MSC Hex file format on your DataIO.

melone (Electrical) 17 Mar 03 11:18
: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....

melone (Electrical) 17 Mar 03 13:04
http://margo.student.utwente.nl/el/misc/intl_hex.htm

cbarn24050 (Industrial) 18 Mar 03 8:22
Hi, they are intel hex lines, they are both data records.

melone (Electrical) 18 Mar 03 9:49
Exactly.  The first one has 2 data bytes, while the second has 1 data byte. 字串4


(Click:

Previous:howto: Simulate a modem or make a virtual modem w/ loopback device?   Next:Computers & Chemical Engineering Journal
[Add TO Favorites] [TOP] [PRINT] [CLOCE WINDOWS]  
  Hot Article
·how to crack a protocol???
·How do you extract data from a
·XP 32 bit on AMD Turion 64x2 -
·Computer hibernation with hard
·Difference ISO8583-87 & IS
·Server MTBF
·French drain for a spring, but
·MII to RMII vhdl code?
·RJ45 port tester
·find electronic visio stencil
·How to Create Plate Girders in
·idf curve/rainfall data
  Related Articles
·Computers & Chemical Engin
·where i can find reports on em
·hp LJ1220 On the network
·The Speed of EPP?
·Windows XP with DOS.
·How to install a software from
·Server MTBF
·Web sites with Front Page
·Verifiying Battery for Portabl
·Modifing the core voltage of a
·CELERON 1.7GHZ VERSES PENTIUM4
·power use of pc's
Power by DedeCms