IntelHex is a Python implementation of Intel HEX file format allows you read, modify, write hex files and convert them to binary form.
The IntelHex library is stable, production quality software.
The Intel HEX file format widely used in microprocessors and microcontrollers area as the de-facto standard for representation of code for programming microelectronic devices.
This work implements a HEX (also known as Intel HEX) file format reader
and convertor to binary form as a python script.
Python package **intelhex** contains implementation of a HEX file reader and convertor as the IntelHex class. Also included are some scripts to do
basic tasks that utilize this package. The "bin2hex.py" script converts
binary data to HEX, and the "hex2bin.py" works the other direction. "hex2dump.py" converts data from HEX to a hexdump, and "hexmerge.py" merges multiple HEX files into one.
Product's homepage
Requirements:
· Python
What's New in This Release: [ read full changelog ]
· New feature: compare 2 hex files using hex dump as string representation. Feature available as worker function diff_dumps() and as command-line utility hexdiff.py (#627924).
· Changes in the codebase suggested by 2to3 tool to provide compatibility with Python3. Now sources can be successfully converted to Python3 with 2to3 utility. See Python 3 notes in README.txt and documentation. (Thanks to Bernhard Leiner for his help)
· Fixed bug #988148: IntelHex16bit should copy all public attributes from source IntelHex 8-bit object. (Thanks to Morgan McClure)