Added -w option for swapping bytes in hex files such as generated by Microchip's MPLAB IDE. Also available for the S19 files.
Corrected bug caused by extra empty lines in hex/S19 files.
Recent bugs fixed. No new features. The options and their arguments must be separated with a space. Ex.: hex2bin -e bin2 mytest.hex
Recent bugs corrected.
Submit your wish list!
Relicensed to BSD
I'm currently adding a submitted feature, and I plan to implement the overlapping records checking. I happen to have some CRC routines done, and it could probably be of use.
Instead of using the LGPL license, Hex2bin will be released with a BSD license along with new feature(s). The release 1.0.9 should be posted soon.
Hex2bin code can be used for commercial applications. I added the LGPL license in this project; current release (1.0.8) can be used as LGPL even if files are specified with GPL. Licensing change will be included in next release.
This release fixes physical address calculation for extended linear address records, and a bug with the ADDRESS_MASK define.
This fixes the crash on 0 byte length data records.
This release fixes option parsing. Some options were ignored when many options were specified. A version compiled for windows is included (hex2bin.exe mot2bin.exe)
hex2bin/mot2bin assume that records don't overlap. If records do overlap, it will be translated without any warnings.
Usually, compilers shouldn't generate overlapping records.
If hex2bin/mot2bin fail while generating binary files over 64K,
try changing this define to an appropriate size, say 4M
This is the allocated memory for the binary file.
(in hex2bin.c, mot2bin.c)
/* size in bytes */
#define MEMORY_SIZE 4096*1024
Added the possibility to put a checksum in a binary file,
corrected many bugs and integrated all patches.
Includes binaries for linux and windows (compiled on windows 98)
Another excellent software for manipulating EPROM files is available here:
It supports more file format than Hex2bin.