Bug fix release, no new features. This release fixes the long file name bug and the force/check message.
No new features, but minor bug fixes.
The website describes all the options available.
Micros from Texas Instruments (e.g.TMS320F2835, TMS320F28065) are now supported since they use a different data representation from standard Intel Hex. In the record type, data is represented in Word (2 Byte). Thanks to Simone Fratini!
Some rewriting, bug fix-up.
-a for word aligned hex file
-b for batch mode; doesn't ask for files if the file specified is wrong, just exits.
A small modification will be necessary for your batch/script files, since the previous batch mode didn't work the same on Linux and Windows.
In batch or script files, instead of writing:
hex2bin < nul my_file_name.hex
hex2bin -b my_file_name.hex
-Option k is a bit different: see doc/Readme file.
-Code has been a bit rewrited.
-CRC8, 16 and 32 available, configurable with parameters. See test/Makefile for examples.
-Option E (little/big endian) for check methods or forcing a value in a file.
mot2bin has been updated also. The 2 programs compile fine and are currently under tests.
Hex2bin is already modified. Mot2bin is not completed yet.
CRC is implemented in 8-bit, 16-bit and 32-bit, with user specified parameters.
Some example of common CRCs will be provided.
Options were modified a bit so I could understand and simplify the code. They will not be all compatible with the previous version.
Instead of a checksum, a wider variety of check methods will be available.
Added the new options in 1.0.12 and other existing options.
Added "-m" option to set the file size as a multiple of a minimum block size.
Click on 'Create Ticket' in this page: https://sourceforge.net/p/hex2bin/feature-requests/
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)